AWS SDK for C++  1.9.108
AWS SDK for C++
GetDestinationResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace IoTWireless
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
39  inline const Aws::String& GetArn() const{ return m_arn; }
40 
44  inline void SetArn(const Aws::String& value) { m_arn = value; }
45 
49  inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
50 
54  inline void SetArn(const char* value) { m_arn.assign(value); }
55 
59  inline GetDestinationResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
60 
64  inline GetDestinationResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
65 
69  inline GetDestinationResult& WithArn(const char* value) { SetArn(value); return *this;}
70 
71 
75  inline const Aws::String& GetName() const{ return m_name; }
76 
80  inline void SetName(const Aws::String& value) { m_name = value; }
81 
85  inline void SetName(Aws::String&& value) { m_name = std::move(value); }
86 
90  inline void SetName(const char* value) { m_name.assign(value); }
91 
95  inline GetDestinationResult& WithName(const Aws::String& value) { SetName(value); return *this;}
96 
100  inline GetDestinationResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
101 
105  inline GetDestinationResult& WithName(const char* value) { SetName(value); return *this;}
106 
107 
111  inline const Aws::String& GetExpression() const{ return m_expression; }
112 
116  inline void SetExpression(const Aws::String& value) { m_expression = value; }
117 
121  inline void SetExpression(Aws::String&& value) { m_expression = std::move(value); }
122 
126  inline void SetExpression(const char* value) { m_expression.assign(value); }
127 
131  inline GetDestinationResult& WithExpression(const Aws::String& value) { SetExpression(value); return *this;}
132 
136  inline GetDestinationResult& WithExpression(Aws::String&& value) { SetExpression(std::move(value)); return *this;}
137 
141  inline GetDestinationResult& WithExpression(const char* value) { SetExpression(value); return *this;}
142 
143 
147  inline const ExpressionType& GetExpressionType() const{ return m_expressionType; }
148 
152  inline void SetExpressionType(const ExpressionType& value) { m_expressionType = value; }
153 
157  inline void SetExpressionType(ExpressionType&& value) { m_expressionType = std::move(value); }
158 
162  inline GetDestinationResult& WithExpressionType(const ExpressionType& value) { SetExpressionType(value); return *this;}
163 
167  inline GetDestinationResult& WithExpressionType(ExpressionType&& value) { SetExpressionType(std::move(value)); return *this;}
168 
169 
173  inline const Aws::String& GetDescription() const{ return m_description; }
174 
178  inline void SetDescription(const Aws::String& value) { m_description = value; }
179 
183  inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
184 
188  inline void SetDescription(const char* value) { m_description.assign(value); }
189 
193  inline GetDestinationResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
194 
198  inline GetDestinationResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
199 
203  inline GetDestinationResult& WithDescription(const char* value) { SetDescription(value); return *this;}
204 
205 
209  inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
210 
214  inline void SetRoleArn(const Aws::String& value) { m_roleArn = value; }
215 
219  inline void SetRoleArn(Aws::String&& value) { m_roleArn = std::move(value); }
220 
224  inline void SetRoleArn(const char* value) { m_roleArn.assign(value); }
225 
229  inline GetDestinationResult& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
230 
234  inline GetDestinationResult& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
235 
239  inline GetDestinationResult& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
240 
241  private:
242 
243  Aws::String m_arn;
244 
245  Aws::String m_name;
246 
247  Aws::String m_expression;
248 
249  ExpressionType m_expressionType;
250 
251  Aws::String m_description;
252 
253  Aws::String m_roleArn;
254  };
255 
256 } // namespace Model
257 } // namespace IoTWireless
258 } // namespace Aws
Aws::IoTWireless::Model::GetDestinationResult::GetName
const Aws::String & GetName() const
Definition: GetDestinationResult.h:75
Aws::IoTWireless::Model::GetDestinationResult::WithName
GetDestinationResult & WithName(Aws::String &&value)
Definition: GetDestinationResult.h:100
AWS_IOTWIRELESS_API
#define AWS_IOTWIRELESS_API
Definition: IoTWireless_EXPORTS.h:28
Aws::IoTWireless::Model::GetDestinationResult::WithRoleArn
GetDestinationResult & WithRoleArn(const Aws::String &value)
Definition: GetDestinationResult.h:229
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoTWireless::Model::GetDestinationResult::SetExpression
void SetExpression(const char *value)
Definition: GetDestinationResult.h:126
Aws::IoTWireless::Model::GetDestinationResult::SetRoleArn
void SetRoleArn(const char *value)
Definition: GetDestinationResult.h:224
Aws::IoTWireless::Model::GetDestinationResult::SetName
void SetName(const char *value)
Definition: GetDestinationResult.h:90
Aws::IoTWireless::Model::GetDestinationResult::GetExpressionType
const ExpressionType & GetExpressionType() const
Definition: GetDestinationResult.h:147
Aws::IoTWireless::Model::GetDestinationResult::GetDescription
const Aws::String & GetDescription() const
Definition: GetDestinationResult.h:173
Aws::IoTWireless::Model::GetDestinationResult::SetName
void SetName(Aws::String &&value)
Definition: GetDestinationResult.h:85
Aws::IoTWireless::Model::GetDestinationResult::WithArn
GetDestinationResult & WithArn(Aws::String &&value)
Definition: GetDestinationResult.h:64
Aws::IoTWireless::Model::GetDestinationResult::WithExpression
GetDestinationResult & WithExpression(const Aws::String &value)
Definition: GetDestinationResult.h:131
ExpressionType.h
Aws::IoTWireless::Model::GetDestinationResult::SetDescription
void SetDescription(const Aws::String &value)
Definition: GetDestinationResult.h:178
Aws::IoTWireless::Model::GetDestinationResult::SetName
void SetName(const Aws::String &value)
Definition: GetDestinationResult.h:80
Aws::IoTWireless::Model::GetDestinationResult::SetArn
void SetArn(const char *value)
Definition: GetDestinationResult.h:54
Aws::IoTWireless::Model::GetDestinationResult::WithDescription
GetDestinationResult & WithDescription(Aws::String &&value)
Definition: GetDestinationResult.h:198
Aws::IoTWireless::Model::GetDestinationResult::WithRoleArn
GetDestinationResult & WithRoleArn(const char *value)
Definition: GetDestinationResult.h:239
Aws::IoTWireless::Model::GetDestinationResult::WithRoleArn
GetDestinationResult & WithRoleArn(Aws::String &&value)
Definition: GetDestinationResult.h:234
Aws::IoTWireless::Model::GetDestinationResult::WithDescription
GetDestinationResult & WithDescription(const Aws::String &value)
Definition: GetDestinationResult.h:193
Aws::IoTWireless::Model::GetDestinationResult::WithName
GetDestinationResult & WithName(const char *value)
Definition: GetDestinationResult.h:105
IoTWireless_EXPORTS.h
Aws::IoTWireless::Model::GetDestinationResult::GetDestinationResult
GetDestinationResult()
Aws::IoTWireless::Model::GetDestinationResult
Definition: GetDestinationResult.h:29
Aws::IoTWireless::Model::GetDestinationResult::SetExpressionType
void SetExpressionType(const ExpressionType &value)
Definition: GetDestinationResult.h:152
Aws::IoTWireless::Model::GetDestinationResult::SetDescription
void SetDescription(const char *value)
Definition: GetDestinationResult.h:188
Aws::IoTWireless::Model::GetDestinationResult::GetExpression
const Aws::String & GetExpression() const
Definition: GetDestinationResult.h:111
Aws::IoTWireless::Model::GetDestinationResult::WithExpressionType
GetDestinationResult & WithExpressionType(ExpressionType &&value)
Definition: GetDestinationResult.h:167
Aws::IoTWireless::Model::GetDestinationResult::SetExpression
void SetExpression(const Aws::String &value)
Definition: GetDestinationResult.h:116
Aws::IoTWireless::Model::GetDestinationResult::SetRoleArn
void SetRoleArn(const Aws::String &value)
Definition: GetDestinationResult.h:214
Aws::IoTWireless::Model::GetDestinationResult::SetExpressionType
void SetExpressionType(ExpressionType &&value)
Definition: GetDestinationResult.h:157
Aws::IoTWireless::Model::GetDestinationResult::SetArn
void SetArn(const Aws::String &value)
Definition: GetDestinationResult.h:44
Aws::IoTWireless::Model::GetDestinationResult::GetRoleArn
const Aws::String & GetRoleArn() const
Definition: GetDestinationResult.h:209
Aws::IoTWireless::Model::GetDestinationResult::SetArn
void SetArn(Aws::String &&value)
Definition: GetDestinationResult.h:49
Aws::IoTWireless::Model::GetDestinationResult::SetExpression
void SetExpression(Aws::String &&value)
Definition: GetDestinationResult.h:121
AWSString.h
Aws::IoTWireless::Model::GetDestinationResult::WithExpression
GetDestinationResult & WithExpression(const char *value)
Definition: GetDestinationResult.h:141
Aws::IoTWireless::Model::GetDestinationResult::WithArn
GetDestinationResult & WithArn(const Aws::String &value)
Definition: GetDestinationResult.h:59
Aws::IoTWireless::Model::GetDestinationResult::GetArn
const Aws::String & GetArn() const
Definition: GetDestinationResult.h:39
Aws::IoTWireless::Model::GetDestinationResult::WithExpressionType
GetDestinationResult & WithExpressionType(const ExpressionType &value)
Definition: GetDestinationResult.h:162
Aws::IoTWireless::Model::GetDestinationResult::SetDescription
void SetDescription(Aws::String &&value)
Definition: GetDestinationResult.h:183
Aws::IoTWireless::Model::GetDestinationResult::WithDescription
GetDestinationResult & WithDescription(const char *value)
Definition: GetDestinationResult.h:203
Aws::IoTWireless::Model::GetDestinationResult::WithArn
GetDestinationResult & WithArn(const char *value)
Definition: GetDestinationResult.h:69
Aws
Definition: AccessManagementClient.h:15
Aws::IoTWireless::Model::GetDestinationResult::GetDestinationResult
GetDestinationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTWireless::Model::GetDestinationResult::operator=
GetDestinationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoTWireless::Model::GetDestinationResult::WithName
GetDestinationResult & WithName(const Aws::String &value)
Definition: GetDestinationResult.h:95
Aws::IoTWireless::Model::GetDestinationResult::WithExpression
GetDestinationResult & WithExpression(Aws::String &&value)
Definition: GetDestinationResult.h:136
Aws::IoTWireless::Model::GetDestinationResult::SetRoleArn
void SetRoleArn(Aws::String &&value)
Definition: GetDestinationResult.h:219
Aws::IoTWireless::Model::ExpressionType
ExpressionType
Definition: ExpressionType.h:17