AWS SDK for C++  1.9.108
AWS SDK for C++
CreateDestinationRequest.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 "CreateDestination"; }
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 CreateDestinationRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
68 
72  inline CreateDestinationRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
73 
77  inline CreateDestinationRequest& WithName(const char* value) { SetName(value); return *this;}
78 
79 
83  inline const ExpressionType& GetExpressionType() const{ return m_expressionType; }
84 
88  inline bool ExpressionTypeHasBeenSet() const { return m_expressionTypeHasBeenSet; }
89 
93  inline void SetExpressionType(const ExpressionType& value) { m_expressionTypeHasBeenSet = true; m_expressionType = value; }
94 
98  inline void SetExpressionType(ExpressionType&& value) { m_expressionTypeHasBeenSet = true; m_expressionType = std::move(value); }
99 
103  inline CreateDestinationRequest& WithExpressionType(const ExpressionType& value) { SetExpressionType(value); return *this;}
104 
108  inline CreateDestinationRequest& WithExpressionType(ExpressionType&& value) { SetExpressionType(std::move(value)); return *this;}
109 
110 
114  inline const Aws::String& GetExpression() const{ return m_expression; }
115 
119  inline bool ExpressionHasBeenSet() const { return m_expressionHasBeenSet; }
120 
124  inline void SetExpression(const Aws::String& value) { m_expressionHasBeenSet = true; m_expression = value; }
125 
129  inline void SetExpression(Aws::String&& value) { m_expressionHasBeenSet = true; m_expression = std::move(value); }
130 
134  inline void SetExpression(const char* value) { m_expressionHasBeenSet = true; m_expression.assign(value); }
135 
139  inline CreateDestinationRequest& WithExpression(const Aws::String& value) { SetExpression(value); return *this;}
140 
144  inline CreateDestinationRequest& WithExpression(Aws::String&& value) { SetExpression(std::move(value)); return *this;}
145 
149  inline CreateDestinationRequest& WithExpression(const char* value) { SetExpression(value); return *this;}
150 
151 
155  inline const Aws::String& GetDescription() const{ return m_description; }
156 
160  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
161 
165  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
166 
170  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
171 
175  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
176 
180  inline CreateDestinationRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
181 
185  inline CreateDestinationRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
186 
190  inline CreateDestinationRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
191 
192 
196  inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
197 
201  inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
202 
206  inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
207 
211  inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
212 
216  inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
217 
221  inline CreateDestinationRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
222 
226  inline CreateDestinationRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
227 
231  inline CreateDestinationRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
232 
233 
238  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
239 
244  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
245 
250  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
251 
256  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
257 
262  inline CreateDestinationRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
263 
268  inline CreateDestinationRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
269 
274  inline CreateDestinationRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
275 
280  inline CreateDestinationRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
281 
282 
289  inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
290 
297  inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
298 
305  inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
306 
313  inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
314 
321  inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
322 
329  inline CreateDestinationRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;}
330 
337  inline CreateDestinationRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
338 
345  inline CreateDestinationRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
346 
347  private:
348 
349  Aws::String m_name;
350  bool m_nameHasBeenSet;
351 
352  ExpressionType m_expressionType;
353  bool m_expressionTypeHasBeenSet;
354 
355  Aws::String m_expression;
356  bool m_expressionHasBeenSet;
357 
358  Aws::String m_description;
359  bool m_descriptionHasBeenSet;
360 
361  Aws::String m_roleArn;
362  bool m_roleArnHasBeenSet;
363 
364  Aws::Vector<Tag> m_tags;
365  bool m_tagsHasBeenSet;
366 
367  Aws::String m_clientRequestToken;
368  bool m_clientRequestTokenHasBeenSet;
369  };
370 
371 } // namespace Model
372 } // namespace IoTWireless
373 } // namespace Aws
Aws::IoTWireless::Model::CreateDestinationRequest::SetRoleArn
void SetRoleArn(Aws::String &&value)
Definition: CreateDestinationRequest.h:211
Tag.h
AWS_IOTWIRELESS_API
#define AWS_IOTWIRELESS_API
Definition: IoTWireless_EXPORTS.h:28
Aws::IoTWireless::Model::CreateDestinationRequest::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: CreateDestinationRequest.h:238
Aws::IoTWireless::Model::CreateDestinationRequest::WithExpressionType
CreateDestinationRequest & WithExpressionType(const ExpressionType &value)
Definition: CreateDestinationRequest.h:103
Aws::IoTWireless::Model::CreateDestinationRequest::SetExpression
void SetExpression(const char *value)
Definition: CreateDestinationRequest.h:134
Aws::IoTWireless::Model::CreateDestinationRequest::CreateDestinationRequest
CreateDestinationRequest()
Aws::IoTWireless::Model::CreateDestinationRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: CreateDestinationRequest.h:47
Aws::IoTWireless::Model::CreateDestinationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateDestinationRequest.h:34
Aws::IoTWireless::Model::CreateDestinationRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: CreateDestinationRequest.h:160
Aws::IoTWireless::Model::CreateDestinationRequest::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: CreateDestinationRequest.h:250
Aws::IoTWireless::Model::CreateDestinationRequest::SetClientRequestToken
void SetClientRequestToken(const Aws::String &value)
Definition: CreateDestinationRequest.h:305
ExpressionType.h
Aws::IoTWireless::Model::CreateDestinationRequest::WithExpressionType
CreateDestinationRequest & WithExpressionType(ExpressionType &&value)
Definition: CreateDestinationRequest.h:108
Aws::IoTWireless::Model::CreateDestinationRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: CreateDestinationRequest.h:165
Aws::IoTWireless::Model::CreateDestinationRequest::GetDescription
const Aws::String & GetDescription() const
Definition: CreateDestinationRequest.h:155
Aws::IoTWireless::Model::CreateDestinationRequest::AddTags
CreateDestinationRequest & AddTags(const Tag &value)
Definition: CreateDestinationRequest.h:274
Aws::IoTWireless::Model::CreateDestinationRequest::WithDescription
CreateDestinationRequest & WithDescription(const Aws::String &value)
Definition: CreateDestinationRequest.h:180
Aws::IoTWireless::Model::CreateDestinationRequest::ExpressionTypeHasBeenSet
bool ExpressionTypeHasBeenSet() const
Definition: CreateDestinationRequest.h:88
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::IoTWireless::Model::CreateDestinationRequest::SetDescription
void SetDescription(const char *value)
Definition: CreateDestinationRequest.h:175
Aws::IoTWireless::Model::CreateDestinationRequest::GetExpressionType
const ExpressionType & GetExpressionType() const
Definition: CreateDestinationRequest.h:83
IoTWireless_EXPORTS.h
Aws::IoTWireless::Model::CreateDestinationRequest::WithClientRequestToken
CreateDestinationRequest & WithClientRequestToken(Aws::String &&value)
Definition: CreateDestinationRequest.h:337
Aws::IoTWireless::Model::CreateDestinationRequest::SetRoleArn
void SetRoleArn(const char *value)
Definition: CreateDestinationRequest.h:216
AWSVector.h
Aws::IoTWireless::Model::CreateDestinationRequest::ExpressionHasBeenSet
bool ExpressionHasBeenSet() const
Definition: CreateDestinationRequest.h:119
Aws::IoTWireless::Model::CreateDestinationRequest::WithTags
CreateDestinationRequest & WithTags(const Aws::Vector< Tag > &value)
Definition: CreateDestinationRequest.h:262
Aws::IoTWireless::Model::CreateDestinationRequest::RoleArnHasBeenSet
bool RoleArnHasBeenSet() const
Definition: CreateDestinationRequest.h:201
Aws::IoTWireless::Model::CreateDestinationRequest::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: CreateDestinationRequest.h:256
Aws::IoTWireless::Model::CreateDestinationRequest::WithRoleArn
CreateDestinationRequest & WithRoleArn(Aws::String &&value)
Definition: CreateDestinationRequest.h:226
Aws::IoTWireless::Model::CreateDestinationRequest::GetRoleArn
const Aws::String & GetRoleArn() const
Definition: CreateDestinationRequest.h:196
Aws::IoTWireless::Model::CreateDestinationRequest::GetExpression
const Aws::String & GetExpression() const
Definition: CreateDestinationRequest.h:114
Aws::IoTWireless::Model::CreateDestinationRequest::ClientRequestTokenHasBeenSet
bool ClientRequestTokenHasBeenSet() const
Definition: CreateDestinationRequest.h:297
Aws::IoTWireless::Model::CreateDestinationRequest
Definition: CreateDestinationRequest.h:26
Aws::IoTWireless::Model::CreateDestinationRequest::GetClientRequestToken
const Aws::String & GetClientRequestToken() const
Definition: CreateDestinationRequest.h:289
Aws::IoTWireless::Model::CreateDestinationRequest::WithRoleArn
CreateDestinationRequest & WithRoleArn(const char *value)
Definition: CreateDestinationRequest.h:231
Aws::IoTWireless::Model::CreateDestinationRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: CreateDestinationRequest.h:244
Aws::IoTWireless::Model::CreateDestinationRequest::WithClientRequestToken
CreateDestinationRequest & WithClientRequestToken(const Aws::String &value)
Definition: CreateDestinationRequest.h:329
Aws::IoTWireless::Model::CreateDestinationRequest::WithExpression
CreateDestinationRequest & WithExpression(const Aws::String &value)
Definition: CreateDestinationRequest.h:139
Aws::IoTWireless::IoTWirelessRequest
Definition: IoTWirelessRequest.h:17
Aws::IoTWireless::Model::Tag
Definition: Tag.h:33
AWSString.h
Aws::IoTWireless::Model::CreateDestinationRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: CreateDestinationRequest.h:170
Aws::IoTWireless::Model::CreateDestinationRequest::WithTags
CreateDestinationRequest & WithTags(Aws::Vector< Tag > &&value)
Definition: CreateDestinationRequest.h:268
Aws::IoTWireless::Model::CreateDestinationRequest::SetName
void SetName(const Aws::String &value)
Definition: CreateDestinationRequest.h:52
Aws::IoTWireless::Model::CreateDestinationRequest::SetExpressionType
void SetExpressionType(ExpressionType &&value)
Definition: CreateDestinationRequest.h:98
Aws::IoTWireless::Model::CreateDestinationRequest::SetName
void SetName(Aws::String &&value)
Definition: CreateDestinationRequest.h:57
Aws::IoTWireless::Model::CreateDestinationRequest::GetName
const Aws::String & GetName() const
Definition: CreateDestinationRequest.h:42
Aws::IoTWireless::Model::CreateDestinationRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IoTWireless::Model::CreateDestinationRequest::WithExpression
CreateDestinationRequest & WithExpression(Aws::String &&value)
Definition: CreateDestinationRequest.h:144
Aws::IoTWireless::Model::CreateDestinationRequest::SetClientRequestToken
void SetClientRequestToken(Aws::String &&value)
Definition: CreateDestinationRequest.h:313
Aws::IoTWireless::Model::CreateDestinationRequest::SetExpressionType
void SetExpressionType(const ExpressionType &value)
Definition: CreateDestinationRequest.h:93
Aws::IoTWireless::Model::CreateDestinationRequest::WithClientRequestToken
CreateDestinationRequest & WithClientRequestToken(const char *value)
Definition: CreateDestinationRequest.h:345
Aws::IoTWireless::Model::CreateDestinationRequest::SetClientRequestToken
void SetClientRequestToken(const char *value)
Definition: CreateDestinationRequest.h:321
Aws::IoTWireless::Model::CreateDestinationRequest::SetName
void SetName(const char *value)
Definition: CreateDestinationRequest.h:62
Aws
Definition: AccessManagementClient.h:15
IoTWirelessRequest.h
Aws::IoTWireless::Model::CreateDestinationRequest::WithDescription
CreateDestinationRequest & WithDescription(const char *value)
Definition: CreateDestinationRequest.h:190
Aws::IoTWireless::Model::CreateDestinationRequest::WithExpression
CreateDestinationRequest & WithExpression(const char *value)
Definition: CreateDestinationRequest.h:149
Aws::IoTWireless::Model::CreateDestinationRequest::WithRoleArn
CreateDestinationRequest & WithRoleArn(const Aws::String &value)
Definition: CreateDestinationRequest.h:221
Aws::IoTWireless::Model::CreateDestinationRequest::SetExpression
void SetExpression(const Aws::String &value)
Definition: CreateDestinationRequest.h:124
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTWireless::Model::CreateDestinationRequest::SetRoleArn
void SetRoleArn(const Aws::String &value)
Definition: CreateDestinationRequest.h:206
Aws::IoTWireless::Model::CreateDestinationRequest::WithName
CreateDestinationRequest & WithName(const Aws::String &value)
Definition: CreateDestinationRequest.h:67
Aws::IoTWireless::Model::CreateDestinationRequest::SetExpression
void SetExpression(Aws::String &&value)
Definition: CreateDestinationRequest.h:129
Aws::IoTWireless::Model::CreateDestinationRequest::WithName
CreateDestinationRequest & WithName(Aws::String &&value)
Definition: CreateDestinationRequest.h:72
UUID.h
Aws::IoTWireless::Model::CreateDestinationRequest::AddTags
CreateDestinationRequest & AddTags(Tag &&value)
Definition: CreateDestinationRequest.h:280
Aws::IoTWireless::Model::ExpressionType
ExpressionType
Definition: ExpressionType.h:17
Aws::IoTWireless::Model::CreateDestinationRequest::WithName
CreateDestinationRequest & WithName(const char *value)
Definition: CreateDestinationRequest.h:77
Aws::IoTWireless::Model::CreateDestinationRequest::WithDescription
CreateDestinationRequest & WithDescription(Aws::String &&value)
Definition: CreateDestinationRequest.h:185