AWS SDK for C++  1.9.40
AWS SDK for C++
CreateWirelessGatewayRequest.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 #include <aws/core/utils/UUID.h>
15 
16 namespace Aws
17 {
18 namespace IoTWireless
19 {
20 namespace Model
21 {
22 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "CreateWirelessGateway"; }
35 
36  Aws::String SerializePayload() const override;
37 
38 
42  inline const Aws::String& GetName() const{ return m_name; }
43 
47  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 
52  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
53 
57  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
58 
62  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
63 
67  inline CreateWirelessGatewayRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
68 
72  inline CreateWirelessGatewayRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
73 
77  inline CreateWirelessGatewayRequest& WithName(const char* value) { SetName(value); return *this;}
78 
79 
83  inline const Aws::String& GetDescription() const{ return m_description; }
84 
88  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
89 
93  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
94 
98  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
99 
103  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
104 
108  inline CreateWirelessGatewayRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
109 
113  inline CreateWirelessGatewayRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
114 
118  inline CreateWirelessGatewayRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
119 
120 
125  inline const LoRaWANGateway& GetLoRaWAN() const{ return m_loRaWAN; }
126 
131  inline bool LoRaWANHasBeenSet() const { return m_loRaWANHasBeenSet; }
132 
137  inline void SetLoRaWAN(const LoRaWANGateway& value) { m_loRaWANHasBeenSet = true; m_loRaWAN = value; }
138 
143  inline void SetLoRaWAN(LoRaWANGateway&& value) { m_loRaWANHasBeenSet = true; m_loRaWAN = std::move(value); }
144 
149  inline CreateWirelessGatewayRequest& WithLoRaWAN(const LoRaWANGateway& value) { SetLoRaWAN(value); return *this;}
150 
155  inline CreateWirelessGatewayRequest& WithLoRaWAN(LoRaWANGateway&& value) { SetLoRaWAN(std::move(value)); return *this;}
156 
157 
162  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
163 
168  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
169 
174  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
175 
180  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
181 
186  inline CreateWirelessGatewayRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
187 
192  inline CreateWirelessGatewayRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
193 
198  inline CreateWirelessGatewayRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
199 
204  inline CreateWirelessGatewayRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
205 
206 
213  inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
214 
221  inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
222 
229  inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
230 
237  inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
238 
245  inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
246 
253  inline CreateWirelessGatewayRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;}
254 
261  inline CreateWirelessGatewayRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
262 
269  inline CreateWirelessGatewayRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
270 
271  private:
272 
273  Aws::String m_name;
274  bool m_nameHasBeenSet;
275 
276  Aws::String m_description;
277  bool m_descriptionHasBeenSet;
278 
279  LoRaWANGateway m_loRaWAN;
280  bool m_loRaWANHasBeenSet;
281 
282  Aws::Vector<Tag> m_tags;
283  bool m_tagsHasBeenSet;
284 
285  Aws::String m_clientRequestToken;
286  bool m_clientRequestTokenHasBeenSet;
287  };
288 
289 } // namespace Model
290 } // namespace IoTWireless
291 } // namespace Aws
Aws::IoTWireless::Model::CreateWirelessGatewayRequest::SetClientRequestToken
void SetClientRequestToken(Aws::String &&value)
Definition: CreateWirelessGatewayRequest.h:237
Aws::IoTWireless::Model::CreateWirelessGatewayRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: CreateWirelessGatewayRequest.h:47
Tag.h
Aws::IoTWireless::Model::CreateWirelessGatewayRequest::SetClientRequestToken
void SetClientRequestToken(const char *value)
Definition: CreateWirelessGatewayRequest.h:245
AWS_IOTWIRELESS_API
#define AWS_IOTWIRELESS_API
Definition: IoTWireless_EXPORTS.h:28
Aws::IoTWireless::Model::CreateWirelessGatewayRequest::WithClientRequestToken
CreateWirelessGatewayRequest & WithClientRequestToken(const Aws::String &value)
Definition: CreateWirelessGatewayRequest.h:253
Aws::IoTWireless::Model::CreateWirelessGatewayRequest::GetClientRequestToken
const Aws::String & GetClientRequestToken() const
Definition: CreateWirelessGatewayRequest.h:213
Aws::IoTWireless::Model::CreateWirelessGatewayRequest::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: CreateWirelessGatewayRequest.h:174
Aws::IoTWireless::Model::CreateWirelessGatewayRequest::WithDescription
CreateWirelessGatewayRequest & WithDescription(Aws::String &&value)
Definition: CreateWirelessGatewayRequest.h:113
Aws::IoTWireless::Model::CreateWirelessGatewayRequest::GetLoRaWAN
const LoRaWANGateway & GetLoRaWAN() const
Definition: CreateWirelessGatewayRequest.h:125
Aws::IoTWireless::Model::LoRaWANGateway
Definition: LoRaWANGateway.h:33
Aws::IoTWireless::Model::CreateWirelessGatewayRequest::WithClientRequestToken
CreateWirelessGatewayRequest & WithClientRequestToken(Aws::String &&value)
Definition: CreateWirelessGatewayRequest.h:261
Aws::IoTWireless::Model::CreateWirelessGatewayRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: CreateWirelessGatewayRequest.h:98
Aws::IoTWireless::Model::CreateWirelessGatewayRequest::AddTags
CreateWirelessGatewayRequest & AddTags(Tag &&value)
Definition: CreateWirelessGatewayRequest.h:204
Aws::IoTWireless::Model::CreateWirelessGatewayRequest::WithName
CreateWirelessGatewayRequest & WithName(Aws::String &&value)
Definition: CreateWirelessGatewayRequest.h:72
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::IoTWireless::Model::CreateWirelessGatewayRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateWirelessGatewayRequest.h:34
IoTWireless_EXPORTS.h
Aws::IoTWireless::Model::CreateWirelessGatewayRequest::WithClientRequestToken
CreateWirelessGatewayRequest & WithClientRequestToken(const char *value)
Definition: CreateWirelessGatewayRequest.h:269
Aws::IoTWireless::Model::CreateWirelessGatewayRequest::SetName
void SetName(const char *value)
Definition: CreateWirelessGatewayRequest.h:62
AWSVector.h
Aws::IoTWireless::Model::CreateWirelessGatewayRequest
Definition: CreateWirelessGatewayRequest.h:26
Aws::IoTWireless::Model::CreateWirelessGatewayRequest::WithName
CreateWirelessGatewayRequest & WithName(const Aws::String &value)
Definition: CreateWirelessGatewayRequest.h:67
Aws::IoTWireless::Model::CreateWirelessGatewayRequest::GetName
const Aws::String & GetName() const
Definition: CreateWirelessGatewayRequest.h:42
Aws::IoTWireless::Model::CreateWirelessGatewayRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IoTWireless::Model::CreateWirelessGatewayRequest::CreateWirelessGatewayRequest
CreateWirelessGatewayRequest()
Aws::IoTWireless::Model::CreateWirelessGatewayRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: CreateWirelessGatewayRequest.h:93
Aws::IoTWireless::Model::CreateWirelessGatewayRequest::SetName
void SetName(const Aws::String &value)
Definition: CreateWirelessGatewayRequest.h:52
Aws::IoTWireless::Model::CreateWirelessGatewayRequest::LoRaWANHasBeenSet
bool LoRaWANHasBeenSet() const
Definition: CreateWirelessGatewayRequest.h:131
Aws::IoTWireless::Model::CreateWirelessGatewayRequest::WithLoRaWAN
CreateWirelessGatewayRequest & WithLoRaWAN(LoRaWANGateway &&value)
Definition: CreateWirelessGatewayRequest.h:155
Aws::IoTWireless::Model::CreateWirelessGatewayRequest::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: CreateWirelessGatewayRequest.h:180
Aws::IoTWireless::Model::CreateWirelessGatewayRequest::AddTags
CreateWirelessGatewayRequest & AddTags(const Tag &value)
Definition: CreateWirelessGatewayRequest.h:198
Aws::IoTWireless::Model::CreateWirelessGatewayRequest::WithTags
CreateWirelessGatewayRequest & WithTags(Aws::Vector< Tag > &&value)
Definition: CreateWirelessGatewayRequest.h:192
Aws::IoTWireless::IoTWirelessRequest
Definition: IoTWirelessRequest.h:17
Aws::IoTWireless::Model::CreateWirelessGatewayRequest::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: CreateWirelessGatewayRequest.h:162
Aws::IoTWireless::Model::Tag
Definition: Tag.h:33
AWSString.h
Aws::IoTWireless::Model::CreateWirelessGatewayRequest::WithDescription
CreateWirelessGatewayRequest & WithDescription(const char *value)
Definition: CreateWirelessGatewayRequest.h:118
Aws::IoTWireless::Model::CreateWirelessGatewayRequest::WithTags
CreateWirelessGatewayRequest & WithTags(const Aws::Vector< Tag > &value)
Definition: CreateWirelessGatewayRequest.h:186
Aws::IoTWireless::Model::CreateWirelessGatewayRequest::WithName
CreateWirelessGatewayRequest & WithName(const char *value)
Definition: CreateWirelessGatewayRequest.h:77
Aws::IoTWireless::Model::CreateWirelessGatewayRequest::SetLoRaWAN
void SetLoRaWAN(LoRaWANGateway &&value)
Definition: CreateWirelessGatewayRequest.h:143
Aws::IoTWireless::Model::CreateWirelessGatewayRequest::SetDescription
void SetDescription(const char *value)
Definition: CreateWirelessGatewayRequest.h:103
Aws::IoTWireless::Model::CreateWirelessGatewayRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: CreateWirelessGatewayRequest.h:88
Aws
Definition: AccessManagementClient.h:15
Aws::IoTWireless::Model::CreateWirelessGatewayRequest::SetLoRaWAN
void SetLoRaWAN(const LoRaWANGateway &value)
Definition: CreateWirelessGatewayRequest.h:137
IoTWirelessRequest.h
Aws::IoTWireless::Model::CreateWirelessGatewayRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: CreateWirelessGatewayRequest.h:168
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTWireless::Model::CreateWirelessGatewayRequest::WithLoRaWAN
CreateWirelessGatewayRequest & WithLoRaWAN(const LoRaWANGateway &value)
Definition: CreateWirelessGatewayRequest.h:149
Aws::IoTWireless::Model::CreateWirelessGatewayRequest::SetName
void SetName(Aws::String &&value)
Definition: CreateWirelessGatewayRequest.h:57
LoRaWANGateway.h
Aws::IoTWireless::Model::CreateWirelessGatewayRequest::GetDescription
const Aws::String & GetDescription() const
Definition: CreateWirelessGatewayRequest.h:83
Aws::IoTWireless::Model::CreateWirelessGatewayRequest::WithDescription
CreateWirelessGatewayRequest & WithDescription(const Aws::String &value)
Definition: CreateWirelessGatewayRequest.h:108
UUID.h
Aws::IoTWireless::Model::CreateWirelessGatewayRequest::ClientRequestTokenHasBeenSet
bool ClientRequestTokenHasBeenSet() const
Definition: CreateWirelessGatewayRequest.h:221
Aws::IoTWireless::Model::CreateWirelessGatewayRequest::SetClientRequestToken
void SetClientRequestToken(const Aws::String &value)
Definition: CreateWirelessGatewayRequest.h:229