AWS SDK for C++  1.9.107
AWS SDK for C++
CreateWirelessGatewayTaskDefinitionRequest.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 "CreateWirelessGatewayTaskDefinition"; }
35 
36  Aws::String SerializePayload() const override;
37 
38 
44  inline bool GetAutoCreateTasks() const{ return m_autoCreateTasks; }
45 
51  inline bool AutoCreateTasksHasBeenSet() const { return m_autoCreateTasksHasBeenSet; }
52 
58  inline void SetAutoCreateTasks(bool value) { m_autoCreateTasksHasBeenSet = true; m_autoCreateTasks = value; }
59 
65  inline CreateWirelessGatewayTaskDefinitionRequest& WithAutoCreateTasks(bool value) { SetAutoCreateTasks(value); return *this;}
66 
67 
71  inline const Aws::String& GetName() const{ return m_name; }
72 
76  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
77 
81  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
82 
86  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
87 
91  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
92 
96  inline CreateWirelessGatewayTaskDefinitionRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
97 
101  inline CreateWirelessGatewayTaskDefinitionRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
102 
106  inline CreateWirelessGatewayTaskDefinitionRequest& WithName(const char* value) { SetName(value); return *this;}
107 
108 
112  inline const UpdateWirelessGatewayTaskCreate& GetUpdate() const{ return m_update; }
113 
117  inline bool UpdateHasBeenSet() const { return m_updateHasBeenSet; }
118 
122  inline void SetUpdate(const UpdateWirelessGatewayTaskCreate& value) { m_updateHasBeenSet = true; m_update = value; }
123 
127  inline void SetUpdate(UpdateWirelessGatewayTaskCreate&& value) { m_updateHasBeenSet = true; m_update = std::move(value); }
128 
132  inline CreateWirelessGatewayTaskDefinitionRequest& WithUpdate(const UpdateWirelessGatewayTaskCreate& value) { SetUpdate(value); return *this;}
133 
137  inline CreateWirelessGatewayTaskDefinitionRequest& WithUpdate(UpdateWirelessGatewayTaskCreate&& value) { SetUpdate(std::move(value)); return *this;}
138 
139 
146  inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
147 
154  inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
155 
162  inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
163 
170  inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
171 
178  inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
179 
186  inline CreateWirelessGatewayTaskDefinitionRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;}
187 
194  inline CreateWirelessGatewayTaskDefinitionRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
195 
202  inline CreateWirelessGatewayTaskDefinitionRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
203 
204 
209  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
210 
215  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
216 
221  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
222 
227  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
228 
233  inline CreateWirelessGatewayTaskDefinitionRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
234 
239  inline CreateWirelessGatewayTaskDefinitionRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
240 
245  inline CreateWirelessGatewayTaskDefinitionRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
246 
251  inline CreateWirelessGatewayTaskDefinitionRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
252 
253  private:
254 
255  bool m_autoCreateTasks;
256  bool m_autoCreateTasksHasBeenSet;
257 
258  Aws::String m_name;
259  bool m_nameHasBeenSet;
260 
262  bool m_updateHasBeenSet;
263 
264  Aws::String m_clientRequestToken;
265  bool m_clientRequestTokenHasBeenSet;
266 
267  Aws::Vector<Tag> m_tags;
268  bool m_tagsHasBeenSet;
269  };
270 
271 } // namespace Model
272 } // namespace IoTWireless
273 } // namespace Aws
Tag.h
Aws::IoTWireless::Model::CreateWirelessGatewayTaskDefinitionRequest::SetClientRequestToken
void SetClientRequestToken(Aws::String &&value)
Definition: CreateWirelessGatewayTaskDefinitionRequest.h:170
AWS_IOTWIRELESS_API
#define AWS_IOTWIRELESS_API
Definition: IoTWireless_EXPORTS.h:28
Aws::IoTWireless::Model::CreateWirelessGatewayTaskDefinitionRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: CreateWirelessGatewayTaskDefinitionRequest.h:76
Aws::IoTWireless::Model::CreateWirelessGatewayTaskDefinitionRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IoTWireless::Model::CreateWirelessGatewayTaskDefinitionRequest::WithAutoCreateTasks
CreateWirelessGatewayTaskDefinitionRequest & WithAutoCreateTasks(bool value)
Definition: CreateWirelessGatewayTaskDefinitionRequest.h:65
Aws::IoTWireless::Model::CreateWirelessGatewayTaskDefinitionRequest::GetUpdate
const UpdateWirelessGatewayTaskCreate & GetUpdate() const
Definition: CreateWirelessGatewayTaskDefinitionRequest.h:112
Aws::IoTWireless::Model::CreateWirelessGatewayTaskDefinitionRequest::SetClientRequestToken
void SetClientRequestToken(const Aws::String &value)
Definition: CreateWirelessGatewayTaskDefinitionRequest.h:162
Aws::IoTWireless::Model::CreateWirelessGatewayTaskDefinitionRequest::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: CreateWirelessGatewayTaskDefinitionRequest.h:209
Aws::IoTWireless::Model::CreateWirelessGatewayTaskDefinitionRequest
Definition: CreateWirelessGatewayTaskDefinitionRequest.h:26
Aws::IoTWireless::Model::CreateWirelessGatewayTaskDefinitionRequest::SetAutoCreateTasks
void SetAutoCreateTasks(bool value)
Definition: CreateWirelessGatewayTaskDefinitionRequest.h:58
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::IoTWireless::Model::CreateWirelessGatewayTaskDefinitionRequest::ClientRequestTokenHasBeenSet
bool ClientRequestTokenHasBeenSet() const
Definition: CreateWirelessGatewayTaskDefinitionRequest.h:154
Aws::IoTWireless::Model::UpdateWirelessGatewayTaskCreate
Definition: UpdateWirelessGatewayTaskCreate.h:33
IoTWireless_EXPORTS.h
Aws::IoTWireless::Model::CreateWirelessGatewayTaskDefinitionRequest::WithTags
CreateWirelessGatewayTaskDefinitionRequest & WithTags(Aws::Vector< Tag > &&value)
Definition: CreateWirelessGatewayTaskDefinitionRequest.h:239
Aws::IoTWireless::Model::CreateWirelessGatewayTaskDefinitionRequest::WithName
CreateWirelessGatewayTaskDefinitionRequest & WithName(const Aws::String &value)
Definition: CreateWirelessGatewayTaskDefinitionRequest.h:96
AWSVector.h
Aws::IoTWireless::Model::CreateWirelessGatewayTaskDefinitionRequest::SetUpdate
void SetUpdate(const UpdateWirelessGatewayTaskCreate &value)
Definition: CreateWirelessGatewayTaskDefinitionRequest.h:122
Aws::IoTWireless::Model::CreateWirelessGatewayTaskDefinitionRequest::GetAutoCreateTasks
bool GetAutoCreateTasks() const
Definition: CreateWirelessGatewayTaskDefinitionRequest.h:44
Aws::IoTWireless::Model::CreateWirelessGatewayTaskDefinitionRequest::WithTags
CreateWirelessGatewayTaskDefinitionRequest & WithTags(const Aws::Vector< Tag > &value)
Definition: CreateWirelessGatewayTaskDefinitionRequest.h:233
Aws::IoTWireless::Model::CreateWirelessGatewayTaskDefinitionRequest::GetName
const Aws::String & GetName() const
Definition: CreateWirelessGatewayTaskDefinitionRequest.h:71
UpdateWirelessGatewayTaskCreate.h
Aws::IoTWireless::Model::CreateWirelessGatewayTaskDefinitionRequest::WithUpdate
CreateWirelessGatewayTaskDefinitionRequest & WithUpdate(const UpdateWirelessGatewayTaskCreate &value)
Definition: CreateWirelessGatewayTaskDefinitionRequest.h:132
Aws::IoTWireless::Model::CreateWirelessGatewayTaskDefinitionRequest::CreateWirelessGatewayTaskDefinitionRequest
CreateWirelessGatewayTaskDefinitionRequest()
Aws::IoTWireless::Model::CreateWirelessGatewayTaskDefinitionRequest::WithName
CreateWirelessGatewayTaskDefinitionRequest & WithName(const char *value)
Definition: CreateWirelessGatewayTaskDefinitionRequest.h:106
Aws::IoTWireless::Model::CreateWirelessGatewayTaskDefinitionRequest::SetUpdate
void SetUpdate(UpdateWirelessGatewayTaskCreate &&value)
Definition: CreateWirelessGatewayTaskDefinitionRequest.h:127
Aws::IoTWireless::Model::CreateWirelessGatewayTaskDefinitionRequest::SetName
void SetName(const Aws::String &value)
Definition: CreateWirelessGatewayTaskDefinitionRequest.h:81
Aws::IoTWireless::Model::CreateWirelessGatewayTaskDefinitionRequest::WithUpdate
CreateWirelessGatewayTaskDefinitionRequest & WithUpdate(UpdateWirelessGatewayTaskCreate &&value)
Definition: CreateWirelessGatewayTaskDefinitionRequest.h:137
Aws::IoTWireless::Model::CreateWirelessGatewayTaskDefinitionRequest::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: CreateWirelessGatewayTaskDefinitionRequest.h:221
Aws::IoTWireless::IoTWirelessRequest
Definition: IoTWirelessRequest.h:17
Aws::IoTWireless::Model::CreateWirelessGatewayTaskDefinitionRequest::SetName
void SetName(Aws::String &&value)
Definition: CreateWirelessGatewayTaskDefinitionRequest.h:86
Aws::IoTWireless::Model::Tag
Definition: Tag.h:33
AWSString.h
Aws::IoTWireless::Model::CreateWirelessGatewayTaskDefinitionRequest::GetClientRequestToken
const Aws::String & GetClientRequestToken() const
Definition: CreateWirelessGatewayTaskDefinitionRequest.h:146
Aws::IoTWireless::Model::CreateWirelessGatewayTaskDefinitionRequest::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: CreateWirelessGatewayTaskDefinitionRequest.h:227
Aws::IoTWireless::Model::CreateWirelessGatewayTaskDefinitionRequest::WithClientRequestToken
CreateWirelessGatewayTaskDefinitionRequest & WithClientRequestToken(Aws::String &&value)
Definition: CreateWirelessGatewayTaskDefinitionRequest.h:194
Aws::IoTWireless::Model::CreateWirelessGatewayTaskDefinitionRequest::AddTags
CreateWirelessGatewayTaskDefinitionRequest & AddTags(const Tag &value)
Definition: CreateWirelessGatewayTaskDefinitionRequest.h:245
Aws
Definition: AccessManagementClient.h:15
IoTWirelessRequest.h
Aws::IoTWireless::Model::CreateWirelessGatewayTaskDefinitionRequest::UpdateHasBeenSet
bool UpdateHasBeenSet() const
Definition: CreateWirelessGatewayTaskDefinitionRequest.h:117
Aws::IoTWireless::Model::CreateWirelessGatewayTaskDefinitionRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: CreateWirelessGatewayTaskDefinitionRequest.h:215
Aws::IoTWireless::Model::CreateWirelessGatewayTaskDefinitionRequest::WithClientRequestToken
CreateWirelessGatewayTaskDefinitionRequest & WithClientRequestToken(const char *value)
Definition: CreateWirelessGatewayTaskDefinitionRequest.h:202
Aws::IoTWireless::Model::CreateWirelessGatewayTaskDefinitionRequest::AutoCreateTasksHasBeenSet
bool AutoCreateTasksHasBeenSet() const
Definition: CreateWirelessGatewayTaskDefinitionRequest.h:51
Aws::IoTWireless::Model::CreateWirelessGatewayTaskDefinitionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateWirelessGatewayTaskDefinitionRequest.h:34
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTWireless::Model::CreateWirelessGatewayTaskDefinitionRequest::WithClientRequestToken
CreateWirelessGatewayTaskDefinitionRequest & WithClientRequestToken(const Aws::String &value)
Definition: CreateWirelessGatewayTaskDefinitionRequest.h:186
Aws::IoTWireless::Model::CreateWirelessGatewayTaskDefinitionRequest::AddTags
CreateWirelessGatewayTaskDefinitionRequest & AddTags(Tag &&value)
Definition: CreateWirelessGatewayTaskDefinitionRequest.h:251
Aws::IoTWireless::Model::CreateWirelessGatewayTaskDefinitionRequest::SetName
void SetName(const char *value)
Definition: CreateWirelessGatewayTaskDefinitionRequest.h:91
Aws::IoTWireless::Model::CreateWirelessGatewayTaskDefinitionRequest::SetClientRequestToken
void SetClientRequestToken(const char *value)
Definition: CreateWirelessGatewayTaskDefinitionRequest.h:178
UUID.h
Aws::IoTWireless::Model::CreateWirelessGatewayTaskDefinitionRequest::WithName
CreateWirelessGatewayTaskDefinitionRequest & WithName(Aws::String &&value)
Definition: CreateWirelessGatewayTaskDefinitionRequest.h:101