AWS SDK for C++  1.9.105
AWS SDK for C++
UpdateDestinationRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace IoTWireless
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "UpdateDestination"; }
32 
33  Aws::String SerializePayload() const override;
34 
35 
39  inline const Aws::String& GetName() const{ return m_name; }
40 
44  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
45 
49  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
50 
54  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
55 
59  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
60 
64  inline UpdateDestinationRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
65 
69  inline UpdateDestinationRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
70 
74  inline UpdateDestinationRequest& WithName(const char* value) { SetName(value); return *this;}
75 
76 
80  inline const ExpressionType& GetExpressionType() const{ return m_expressionType; }
81 
85  inline bool ExpressionTypeHasBeenSet() const { return m_expressionTypeHasBeenSet; }
86 
90  inline void SetExpressionType(const ExpressionType& value) { m_expressionTypeHasBeenSet = true; m_expressionType = value; }
91 
95  inline void SetExpressionType(ExpressionType&& value) { m_expressionTypeHasBeenSet = true; m_expressionType = std::move(value); }
96 
100  inline UpdateDestinationRequest& WithExpressionType(const ExpressionType& value) { SetExpressionType(value); return *this;}
101 
105  inline UpdateDestinationRequest& WithExpressionType(ExpressionType&& value) { SetExpressionType(std::move(value)); return *this;}
106 
107 
111  inline const Aws::String& GetExpression() const{ return m_expression; }
112 
116  inline bool ExpressionHasBeenSet() const { return m_expressionHasBeenSet; }
117 
121  inline void SetExpression(const Aws::String& value) { m_expressionHasBeenSet = true; m_expression = value; }
122 
126  inline void SetExpression(Aws::String&& value) { m_expressionHasBeenSet = true; m_expression = std::move(value); }
127 
131  inline void SetExpression(const char* value) { m_expressionHasBeenSet = true; m_expression.assign(value); }
132 
136  inline UpdateDestinationRequest& WithExpression(const Aws::String& value) { SetExpression(value); return *this;}
137 
141  inline UpdateDestinationRequest& WithExpression(Aws::String&& value) { SetExpression(std::move(value)); return *this;}
142 
146  inline UpdateDestinationRequest& WithExpression(const char* value) { SetExpression(value); return *this;}
147 
148 
152  inline const Aws::String& GetDescription() const{ return m_description; }
153 
157  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
158 
162  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
163 
167  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
168 
172  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
173 
177  inline UpdateDestinationRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
178 
182  inline UpdateDestinationRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
183 
187  inline UpdateDestinationRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
188 
189 
193  inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
194 
198  inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
199 
203  inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
204 
208  inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
209 
213  inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
214 
218  inline UpdateDestinationRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
219 
223  inline UpdateDestinationRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
224 
228  inline UpdateDestinationRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
229 
230  private:
231 
232  Aws::String m_name;
233  bool m_nameHasBeenSet;
234 
235  ExpressionType m_expressionType;
236  bool m_expressionTypeHasBeenSet;
237 
238  Aws::String m_expression;
239  bool m_expressionHasBeenSet;
240 
241  Aws::String m_description;
242  bool m_descriptionHasBeenSet;
243 
244  Aws::String m_roleArn;
245  bool m_roleArnHasBeenSet;
246  };
247 
248 } // namespace Model
249 } // namespace IoTWireless
250 } // namespace Aws
AWS_IOTWIRELESS_API
#define AWS_IOTWIRELESS_API
Definition: IoTWireless_EXPORTS.h:28
Aws::IoTWireless::Model::UpdateDestinationRequest::ExpressionTypeHasBeenSet
bool ExpressionTypeHasBeenSet() const
Definition: UpdateDestinationRequest.h:85
Aws::IoTWireless::Model::UpdateDestinationRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: UpdateDestinationRequest.h:167
Aws::IoTWireless::Model::UpdateDestinationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateDestinationRequest.h:31
Aws::IoTWireless::Model::UpdateDestinationRequest::SetExpression
void SetExpression(const char *value)
Definition: UpdateDestinationRequest.h:131
ExpressionType.h
Aws::IoTWireless::Model::UpdateDestinationRequest::WithExpressionType
UpdateDestinationRequest & WithExpressionType(const ExpressionType &value)
Definition: UpdateDestinationRequest.h:100
Aws::IoTWireless::Model::UpdateDestinationRequest::WithDescription
UpdateDestinationRequest & WithDescription(const char *value)
Definition: UpdateDestinationRequest.h:187
Aws::IoTWireless::Model::UpdateDestinationRequest::GetRoleArn
const Aws::String & GetRoleArn() const
Definition: UpdateDestinationRequest.h:193
Aws::IoTWireless::Model::UpdateDestinationRequest::SetRoleArn
void SetRoleArn(const char *value)
Definition: UpdateDestinationRequest.h:213
Aws::IoTWireless::Model::UpdateDestinationRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: UpdateDestinationRequest.h:44
Aws::IoTWireless::Model::UpdateDestinationRequest::WithName
UpdateDestinationRequest & WithName(Aws::String &&value)
Definition: UpdateDestinationRequest.h:69
IoTWireless_EXPORTS.h
Aws::IoTWireless::Model::UpdateDestinationRequest::WithRoleArn
UpdateDestinationRequest & WithRoleArn(const Aws::String &value)
Definition: UpdateDestinationRequest.h:218
Aws::IoTWireless::Model::UpdateDestinationRequest::RoleArnHasBeenSet
bool RoleArnHasBeenSet() const
Definition: UpdateDestinationRequest.h:198
Aws::IoTWireless::Model::UpdateDestinationRequest::SetRoleArn
void SetRoleArn(Aws::String &&value)
Definition: UpdateDestinationRequest.h:208
Aws::IoTWireless::Model::UpdateDestinationRequest::WithExpression
UpdateDestinationRequest & WithExpression(const char *value)
Definition: UpdateDestinationRequest.h:146
Aws::IoTWireless::Model::UpdateDestinationRequest::UpdateDestinationRequest
UpdateDestinationRequest()
Aws::IoTWireless::Model::UpdateDestinationRequest::WithExpression
UpdateDestinationRequest & WithExpression(Aws::String &&value)
Definition: UpdateDestinationRequest.h:141
Aws::IoTWireless::Model::UpdateDestinationRequest::SetName
void SetName(const char *value)
Definition: UpdateDestinationRequest.h:59
Aws::IoTWireless::IoTWirelessRequest
Definition: IoTWirelessRequest.h:17
AWSString.h
Aws::IoTWireless::Model::UpdateDestinationRequest::WithRoleArn
UpdateDestinationRequest & WithRoleArn(Aws::String &&value)
Definition: UpdateDestinationRequest.h:223
Aws::IoTWireless::Model::UpdateDestinationRequest::GetDescription
const Aws::String & GetDescription() const
Definition: UpdateDestinationRequest.h:152
Aws::IoTWireless::Model::UpdateDestinationRequest::GetName
const Aws::String & GetName() const
Definition: UpdateDestinationRequest.h:39
Aws::IoTWireless::Model::UpdateDestinationRequest::SetDescription
void SetDescription(const char *value)
Definition: UpdateDestinationRequest.h:172
Aws::IoTWireless::Model::UpdateDestinationRequest::ExpressionHasBeenSet
bool ExpressionHasBeenSet() const
Definition: UpdateDestinationRequest.h:116
Aws
Definition: AccessManagementClient.h:15
IoTWirelessRequest.h
Aws::IoTWireless::Model::UpdateDestinationRequest::SetRoleArn
void SetRoleArn(const Aws::String &value)
Definition: UpdateDestinationRequest.h:203
Aws::IoTWireless::Model::UpdateDestinationRequest::WithRoleArn
UpdateDestinationRequest & WithRoleArn(const char *value)
Definition: UpdateDestinationRequest.h:228
Aws::IoTWireless::Model::UpdateDestinationRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: UpdateDestinationRequest.h:162
Aws::IoTWireless::Model::UpdateDestinationRequest::WithDescription
UpdateDestinationRequest & WithDescription(const Aws::String &value)
Definition: UpdateDestinationRequest.h:177
Aws::IoTWireless::Model::UpdateDestinationRequest
Definition: UpdateDestinationRequest.h:23
Aws::IoTWireless::Model::UpdateDestinationRequest::WithDescription
UpdateDestinationRequest & WithDescription(Aws::String &&value)
Definition: UpdateDestinationRequest.h:182
Aws::IoTWireless::Model::UpdateDestinationRequest::WithExpression
UpdateDestinationRequest & WithExpression(const Aws::String &value)
Definition: UpdateDestinationRequest.h:136
Aws::IoTWireless::Model::UpdateDestinationRequest::WithExpressionType
UpdateDestinationRequest & WithExpressionType(ExpressionType &&value)
Definition: UpdateDestinationRequest.h:105
Aws::IoTWireless::Model::UpdateDestinationRequest::SetExpressionType
void SetExpressionType(const ExpressionType &value)
Definition: UpdateDestinationRequest.h:90
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTWireless::Model::UpdateDestinationRequest::SetExpression
void SetExpression(const Aws::String &value)
Definition: UpdateDestinationRequest.h:121
Aws::IoTWireless::Model::UpdateDestinationRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: UpdateDestinationRequest.h:157
Aws::IoTWireless::Model::UpdateDestinationRequest::SetName
void SetName(const Aws::String &value)
Definition: UpdateDestinationRequest.h:49
Aws::IoTWireless::Model::UpdateDestinationRequest::GetExpressionType
const ExpressionType & GetExpressionType() const
Definition: UpdateDestinationRequest.h:80
Aws::IoTWireless::Model::UpdateDestinationRequest::GetExpression
const Aws::String & GetExpression() const
Definition: UpdateDestinationRequest.h:111
Aws::IoTWireless::Model::UpdateDestinationRequest::WithName
UpdateDestinationRequest & WithName(const char *value)
Definition: UpdateDestinationRequest.h:74
Aws::IoTWireless::Model::UpdateDestinationRequest::SetName
void SetName(Aws::String &&value)
Definition: UpdateDestinationRequest.h:54
Aws::IoTWireless::Model::UpdateDestinationRequest::WithName
UpdateDestinationRequest & WithName(const Aws::String &value)
Definition: UpdateDestinationRequest.h:64
Aws::IoTWireless::Model::UpdateDestinationRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IoTWireless::Model::UpdateDestinationRequest::SetExpression
void SetExpression(Aws::String &&value)
Definition: UpdateDestinationRequest.h:126
Aws::IoTWireless::Model::ExpressionType
ExpressionType
Definition: ExpressionType.h:17
Aws::IoTWireless::Model::UpdateDestinationRequest::SetExpressionType
void SetExpressionType(ExpressionType &&value)
Definition: UpdateDestinationRequest.h:95