AWS SDK for C++  1.9.105
AWS SDK for C++
Destinations.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace IoTWireless
23 {
24 namespace Model
25 {
26 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetArn() const{ return m_arn; }
45 
49  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
50 
54  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
55 
59  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
60 
64  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
65 
69  inline Destinations& WithArn(const Aws::String& value) { SetArn(value); return *this;}
70 
74  inline Destinations& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
75 
79  inline Destinations& WithArn(const char* value) { SetArn(value); return *this;}
80 
81 
85  inline const Aws::String& GetName() const{ return m_name; }
86 
90  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
91 
95  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
96 
100  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
101 
105  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
106 
110  inline Destinations& WithName(const Aws::String& value) { SetName(value); return *this;}
111 
115  inline Destinations& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
116 
120  inline Destinations& WithName(const char* value) { SetName(value); return *this;}
121 
122 
126  inline const ExpressionType& GetExpressionType() const{ return m_expressionType; }
127 
131  inline bool ExpressionTypeHasBeenSet() const { return m_expressionTypeHasBeenSet; }
132 
136  inline void SetExpressionType(const ExpressionType& value) { m_expressionTypeHasBeenSet = true; m_expressionType = value; }
137 
141  inline void SetExpressionType(ExpressionType&& value) { m_expressionTypeHasBeenSet = true; m_expressionType = std::move(value); }
142 
146  inline Destinations& WithExpressionType(const ExpressionType& value) { SetExpressionType(value); return *this;}
147 
151  inline Destinations& WithExpressionType(ExpressionType&& value) { SetExpressionType(std::move(value)); return *this;}
152 
153 
157  inline const Aws::String& GetExpression() const{ return m_expression; }
158 
162  inline bool ExpressionHasBeenSet() const { return m_expressionHasBeenSet; }
163 
167  inline void SetExpression(const Aws::String& value) { m_expressionHasBeenSet = true; m_expression = value; }
168 
172  inline void SetExpression(Aws::String&& value) { m_expressionHasBeenSet = true; m_expression = std::move(value); }
173 
177  inline void SetExpression(const char* value) { m_expressionHasBeenSet = true; m_expression.assign(value); }
178 
182  inline Destinations& WithExpression(const Aws::String& value) { SetExpression(value); return *this;}
183 
187  inline Destinations& WithExpression(Aws::String&& value) { SetExpression(std::move(value)); return *this;}
188 
192  inline Destinations& WithExpression(const char* value) { SetExpression(value); return *this;}
193 
194 
198  inline const Aws::String& GetDescription() const{ return m_description; }
199 
203  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
204 
208  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
209 
213  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
214 
218  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
219 
223  inline Destinations& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
224 
228  inline Destinations& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
229 
233  inline Destinations& WithDescription(const char* value) { SetDescription(value); return *this;}
234 
235 
239  inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
240 
244  inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
245 
249  inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
250 
254  inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
255 
259  inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
260 
264  inline Destinations& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
265 
269  inline Destinations& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
270 
274  inline Destinations& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
275 
276  private:
277 
278  Aws::String m_arn;
279  bool m_arnHasBeenSet;
280 
281  Aws::String m_name;
282  bool m_nameHasBeenSet;
283 
284  ExpressionType m_expressionType;
285  bool m_expressionTypeHasBeenSet;
286 
287  Aws::String m_expression;
288  bool m_expressionHasBeenSet;
289 
290  Aws::String m_description;
291  bool m_descriptionHasBeenSet;
292 
293  Aws::String m_roleArn;
294  bool m_roleArnHasBeenSet;
295  };
296 
297 } // namespace Model
298 } // namespace IoTWireless
299 } // namespace Aws
Aws::IoTWireless::Model::Destinations::WithArn
Destinations & WithArn(const Aws::String &value)
Definition: Destinations.h:69
Aws::IoTWireless::Model::Destinations::WithArn
Destinations & WithArn(Aws::String &&value)
Definition: Destinations.h:74
AWS_IOTWIRELESS_API
#define AWS_IOTWIRELESS_API
Definition: IoTWireless_EXPORTS.h:28
Aws::IoTWireless::Model::Destinations::SetDescription
void SetDescription(const char *value)
Definition: Destinations.h:218
Aws::IoTWireless::Model::Destinations::SetRoleArn
void SetRoleArn(const Aws::String &value)
Definition: Destinations.h:249
Aws::IoTWireless::Model::Destinations::SetExpression
void SetExpression(Aws::String &&value)
Definition: Destinations.h:172
Aws::IoTWireless::Model::Destinations::ExpressionHasBeenSet
bool ExpressionHasBeenSet() const
Definition: Destinations.h:162
Aws::IoTWireless::Model::Destinations::SetDescription
void SetDescription(const Aws::String &value)
Definition: Destinations.h:208
Aws::IoTWireless::Model::Destinations::WithRoleArn
Destinations & WithRoleArn(Aws::String &&value)
Definition: Destinations.h:269
Aws::IoTWireless::Model::Destinations::GetExpression
const Aws::String & GetExpression() const
Definition: Destinations.h:157
Aws::IoTWireless::Model::Destinations::NameHasBeenSet
bool NameHasBeenSet() const
Definition: Destinations.h:90
Aws::IoTWireless::Model::Destinations::operator=
Destinations & operator=(Aws::Utils::Json::JsonView jsonValue)
ExpressionType.h
Aws::IoTWireless::Model::Destinations::Destinations
Destinations(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTWireless::Model::Destinations::WithArn
Destinations & WithArn(const char *value)
Definition: Destinations.h:79
Aws::IoTWireless::Model::Destinations::SetArn
void SetArn(Aws::String &&value)
Definition: Destinations.h:59
Aws::IoTWireless::Model::Destinations
Definition: Destinations.h:33
Aws::IoTWireless::Model::Destinations::Destinations
Destinations()
Aws::IoTWireless::Model::Destinations::WithExpression
Destinations & WithExpression(const Aws::String &value)
Definition: Destinations.h:182
IoTWireless_EXPORTS.h
Aws::IoTWireless::Model::Destinations::SetName
void SetName(const char *value)
Definition: Destinations.h:105
Aws::IoTWireless::Model::Destinations::WithExpression
Destinations & WithExpression(const char *value)
Definition: Destinations.h:192
Aws::IoTWireless::Model::Destinations::SetExpression
void SetExpression(const Aws::String &value)
Definition: Destinations.h:167
Aws::IoTWireless::Model::Destinations::SetRoleArn
void SetRoleArn(const char *value)
Definition: Destinations.h:259
Aws::IoTWireless::Model::Destinations::WithRoleArn
Destinations & WithRoleArn(const char *value)
Definition: Destinations.h:274
Aws::IoTWireless::Model::Destinations::SetName
void SetName(const Aws::String &value)
Definition: Destinations.h:95
Aws::IoTWireless::Model::Destinations::WithExpression
Destinations & WithExpression(Aws::String &&value)
Definition: Destinations.h:187
Aws::IoTWireless::Model::Destinations::GetRoleArn
const Aws::String & GetRoleArn() const
Definition: Destinations.h:239
Aws::IoTWireless::Model::Destinations::SetName
void SetName(Aws::String &&value)
Definition: Destinations.h:100
Aws::IoTWireless::Model::Destinations::WithDescription
Destinations & WithDescription(const Aws::String &value)
Definition: Destinations.h:223
Aws::IoTWireless::Model::Destinations::GetExpressionType
const ExpressionType & GetExpressionType() const
Definition: Destinations.h:126
Aws::IoTWireless::Model::Destinations::SetRoleArn
void SetRoleArn(Aws::String &&value)
Definition: Destinations.h:254
Aws::IoTWireless::Model::Destinations::WithExpressionType
Destinations & WithExpressionType(const ExpressionType &value)
Definition: Destinations.h:146
Aws::IoTWireless::Model::Destinations::GetArn
const Aws::String & GetArn() const
Definition: Destinations.h:44
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoTWireless::Model::Destinations::GetName
const Aws::String & GetName() const
Definition: Destinations.h:85
Aws::IoTWireless::Model::Destinations::ExpressionTypeHasBeenSet
bool ExpressionTypeHasBeenSet() const
Definition: Destinations.h:131
Aws::IoTWireless::Model::Destinations::WithName
Destinations & WithName(Aws::String &&value)
Definition: Destinations.h:115
Aws::IoTWireless::Model::Destinations::SetExpression
void SetExpression(const char *value)
Definition: Destinations.h:177
Aws::IoTWireless::Model::Destinations::WithDescription
Destinations & WithDescription(Aws::String &&value)
Definition: Destinations.h:228
Aws::IoTWireless::Model::Destinations::WithName
Destinations & WithName(const Aws::String &value)
Definition: Destinations.h:110
Aws::IoTWireless::Model::Destinations::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoTWireless::Model::Destinations::WithExpressionType
Destinations & WithExpressionType(ExpressionType &&value)
Definition: Destinations.h:151
Aws::IoTWireless::Model::Destinations::WithRoleArn
Destinations & WithRoleArn(const Aws::String &value)
Definition: Destinations.h:264
Aws
Definition: AccessManagementClient.h:15
Aws::IoTWireless::Model::Destinations::SetArn
void SetArn(const Aws::String &value)
Definition: Destinations.h:54
Aws::IoTWireless::Model::Destinations::WithDescription
Destinations & WithDescription(const char *value)
Definition: Destinations.h:233
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTWireless::Model::Destinations::WithName
Destinations & WithName(const char *value)
Definition: Destinations.h:120
Aws::IoTWireless::Model::Destinations::SetArn
void SetArn(const char *value)
Definition: Destinations.h:64
Aws::IoTWireless::Model::Destinations::RoleArnHasBeenSet
bool RoleArnHasBeenSet() const
Definition: Destinations.h:244
Aws::IoTWireless::Model::Destinations::SetDescription
void SetDescription(Aws::String &&value)
Definition: Destinations.h:213
Aws::IoTWireless::Model::Destinations::GetDescription
const Aws::String & GetDescription() const
Definition: Destinations.h:198
Aws::IoTWireless::Model::Destinations::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: Destinations.h:49
Aws::IoTWireless::Model::ExpressionType
ExpressionType
Definition: ExpressionType.h:17
Aws::IoTWireless::Model::Destinations::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: Destinations.h:203
Aws::IoTWireless::Model::Destinations::SetExpressionType
void SetExpressionType(ExpressionType &&value)
Definition: Destinations.h:141
Aws::IoTWireless::Model::Destinations::SetExpressionType
void SetExpressionType(const ExpressionType &value)
Definition: Destinations.h:136