AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
UpdateWirelessGatewayTaskCreate.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iotwireless/IoTWireless_EXPORTS.h>
9#include <aws/iotwireless/model/LoRaWANUpdateGatewayTaskCreate.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace IoTWireless {
21namespace Model {
22
29 public:
30 AWS_IOTWIRELESS_API UpdateWirelessGatewayTaskCreate() = default;
33 AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetUpdateDataSource() const { return m_updateDataSource; }
40 inline bool UpdateDataSourceHasBeenSet() const { return m_updateDataSourceHasBeenSet; }
41 template <typename UpdateDataSourceT = Aws::String>
42 void SetUpdateDataSource(UpdateDataSourceT&& value) {
43 m_updateDataSourceHasBeenSet = true;
44 m_updateDataSource = std::forward<UpdateDataSourceT>(value);
45 }
46 template <typename UpdateDataSourceT = Aws::String>
48 SetUpdateDataSource(std::forward<UpdateDataSourceT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetUpdateDataRole() const { return m_updateDataRole; }
58 inline bool UpdateDataRoleHasBeenSet() const { return m_updateDataRoleHasBeenSet; }
59 template <typename UpdateDataRoleT = Aws::String>
60 void SetUpdateDataRole(UpdateDataRoleT&& value) {
61 m_updateDataRoleHasBeenSet = true;
62 m_updateDataRole = std::forward<UpdateDataRoleT>(value);
63 }
64 template <typename UpdateDataRoleT = Aws::String>
66 SetUpdateDataRole(std::forward<UpdateDataRoleT>(value));
67 return *this;
68 }
70
72
75 inline const LoRaWANUpdateGatewayTaskCreate& GetLoRaWAN() const { return m_loRaWAN; }
76 inline bool LoRaWANHasBeenSet() const { return m_loRaWANHasBeenSet; }
77 template <typename LoRaWANT = LoRaWANUpdateGatewayTaskCreate>
78 void SetLoRaWAN(LoRaWANT&& value) {
79 m_loRaWANHasBeenSet = true;
80 m_loRaWAN = std::forward<LoRaWANT>(value);
81 }
82 template <typename LoRaWANT = LoRaWANUpdateGatewayTaskCreate>
84 SetLoRaWAN(std::forward<LoRaWANT>(value));
85 return *this;
86 }
88 private:
89 Aws::String m_updateDataSource;
90
91 Aws::String m_updateDataRole;
92
94 bool m_updateDataSourceHasBeenSet = false;
95 bool m_updateDataRoleHasBeenSet = false;
96 bool m_loRaWANHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace IoTWireless
101} // namespace Aws
AWS_IOTWIRELESS_API UpdateWirelessGatewayTaskCreate()=default
UpdateWirelessGatewayTaskCreate & WithUpdateDataSource(UpdateDataSourceT &&value)
AWS_IOTWIRELESS_API UpdateWirelessGatewayTaskCreate(Aws::Utils::Json::JsonView jsonValue)
UpdateWirelessGatewayTaskCreate & WithUpdateDataRole(UpdateDataRoleT &&value)
AWS_IOTWIRELESS_API UpdateWirelessGatewayTaskCreate & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const
UpdateWirelessGatewayTaskCreate & WithLoRaWAN(LoRaWANT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue