AWS SDK for C++  1.9.124
AWS SDK for C++
TopicRuleDestination.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22  class JsonView;
23 } // namespace Json
24 } // namespace Utils
25 namespace IoT
26 {
27 namespace Model
28 {
29 
36  {
37  public:
42 
43 
47  inline const Aws::String& GetArn() const{ return m_arn; }
48 
52  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
53 
57  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
58 
62  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
63 
67  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
68 
72  inline TopicRuleDestination& WithArn(const Aws::String& value) { SetArn(value); return *this;}
73 
77  inline TopicRuleDestination& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
78 
82  inline TopicRuleDestination& WithArn(const char* value) { SetArn(value); return *this;}
83 
84 
105  inline const TopicRuleDestinationStatus& GetStatus() const{ return m_status; }
106 
127  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
128 
149  inline void SetStatus(const TopicRuleDestinationStatus& value) { m_statusHasBeenSet = true; m_status = value; }
150 
171  inline void SetStatus(TopicRuleDestinationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
172 
193  inline TopicRuleDestination& WithStatus(const TopicRuleDestinationStatus& value) { SetStatus(value); return *this;}
194 
215  inline TopicRuleDestination& WithStatus(TopicRuleDestinationStatus&& value) { SetStatus(std::move(value)); return *this;}
216 
217 
221  inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
222 
226  inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
227 
231  inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
232 
236  inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
237 
241  inline TopicRuleDestination& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
242 
246  inline TopicRuleDestination& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
247 
248 
252  inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
253 
257  inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
258 
262  inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = value; }
263 
267  inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::move(value); }
268 
272  inline TopicRuleDestination& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;}
273 
277  inline TopicRuleDestination& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;}
278 
279 
284  inline const Aws::String& GetStatusReason() const{ return m_statusReason; }
285 
290  inline bool StatusReasonHasBeenSet() const { return m_statusReasonHasBeenSet; }
291 
296  inline void SetStatusReason(const Aws::String& value) { m_statusReasonHasBeenSet = true; m_statusReason = value; }
297 
302  inline void SetStatusReason(Aws::String&& value) { m_statusReasonHasBeenSet = true; m_statusReason = std::move(value); }
303 
308  inline void SetStatusReason(const char* value) { m_statusReasonHasBeenSet = true; m_statusReason.assign(value); }
309 
314  inline TopicRuleDestination& WithStatusReason(const Aws::String& value) { SetStatusReason(value); return *this;}
315 
320  inline TopicRuleDestination& WithStatusReason(Aws::String&& value) { SetStatusReason(std::move(value)); return *this;}
321 
326  inline TopicRuleDestination& WithStatusReason(const char* value) { SetStatusReason(value); return *this;}
327 
328 
332  inline const HttpUrlDestinationProperties& GetHttpUrlProperties() const{ return m_httpUrlProperties; }
333 
337  inline bool HttpUrlPropertiesHasBeenSet() const { return m_httpUrlPropertiesHasBeenSet; }
338 
342  inline void SetHttpUrlProperties(const HttpUrlDestinationProperties& value) { m_httpUrlPropertiesHasBeenSet = true; m_httpUrlProperties = value; }
343 
347  inline void SetHttpUrlProperties(HttpUrlDestinationProperties&& value) { m_httpUrlPropertiesHasBeenSet = true; m_httpUrlProperties = std::move(value); }
348 
352  inline TopicRuleDestination& WithHttpUrlProperties(const HttpUrlDestinationProperties& value) { SetHttpUrlProperties(value); return *this;}
353 
357  inline TopicRuleDestination& WithHttpUrlProperties(HttpUrlDestinationProperties&& value) { SetHttpUrlProperties(std::move(value)); return *this;}
358 
359 
363  inline const VpcDestinationProperties& GetVpcProperties() const{ return m_vpcProperties; }
364 
368  inline bool VpcPropertiesHasBeenSet() const { return m_vpcPropertiesHasBeenSet; }
369 
373  inline void SetVpcProperties(const VpcDestinationProperties& value) { m_vpcPropertiesHasBeenSet = true; m_vpcProperties = value; }
374 
378  inline void SetVpcProperties(VpcDestinationProperties&& value) { m_vpcPropertiesHasBeenSet = true; m_vpcProperties = std::move(value); }
379 
383  inline TopicRuleDestination& WithVpcProperties(const VpcDestinationProperties& value) { SetVpcProperties(value); return *this;}
384 
388  inline TopicRuleDestination& WithVpcProperties(VpcDestinationProperties&& value) { SetVpcProperties(std::move(value)); return *this;}
389 
390  private:
391 
392  Aws::String m_arn;
393  bool m_arnHasBeenSet;
394 
396  bool m_statusHasBeenSet;
397 
398  Aws::Utils::DateTime m_createdAt;
399  bool m_createdAtHasBeenSet;
400 
401  Aws::Utils::DateTime m_lastUpdatedAt;
402  bool m_lastUpdatedAtHasBeenSet;
403 
404  Aws::String m_statusReason;
405  bool m_statusReasonHasBeenSet;
406 
407  HttpUrlDestinationProperties m_httpUrlProperties;
408  bool m_httpUrlPropertiesHasBeenSet;
409 
410  VpcDestinationProperties m_vpcProperties;
411  bool m_vpcPropertiesHasBeenSet;
412  };
413 
414 } // namespace Model
415 } // namespace IoT
416 } // namespace Aws
Aws::IoT::Model::TopicRuleDestination::WithCreatedAt
TopicRuleDestination & WithCreatedAt(Aws::Utils::DateTime &&value)
Definition: TopicRuleDestination.h:246
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::IoT::Model::TopicRuleDestinationStatus
TopicRuleDestinationStatus
Definition: TopicRuleDestinationStatus.h:17
Aws::IoT::Model::TopicRuleDestination::WithArn
TopicRuleDestination & WithArn(const Aws::String &value)
Definition: TopicRuleDestination.h:72
Aws::IoT::Model::TopicRuleDestination::SetVpcProperties
void SetVpcProperties(const VpcDestinationProperties &value)
Definition: TopicRuleDestination.h:373
Aws::IoT::Model::TopicRuleDestination::WithStatus
TopicRuleDestination & WithStatus(const TopicRuleDestinationStatus &value)
Definition: TopicRuleDestination.h:193
Aws::IoT::Model::TopicRuleDestination::WithVpcProperties
TopicRuleDestination & WithVpcProperties(const VpcDestinationProperties &value)
Definition: TopicRuleDestination.h:383
Aws::IoT::Model::TopicRuleDestination::SetCreatedAt
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition: TopicRuleDestination.h:231
Aws::IoT::Model::TopicRuleDestination::SetStatus
void SetStatus(const TopicRuleDestinationStatus &value)
Definition: TopicRuleDestination.h:149
Aws::IoT::Model::TopicRuleDestination::VpcPropertiesHasBeenSet
bool VpcPropertiesHasBeenSet() const
Definition: TopicRuleDestination.h:368
Aws::IoT::Model::TopicRuleDestination::WithStatusReason
TopicRuleDestination & WithStatusReason(Aws::String &&value)
Definition: TopicRuleDestination.h:320
DateTime.h
Aws::IoT::Model::TopicRuleDestination::WithCreatedAt
TopicRuleDestination & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition: TopicRuleDestination.h:241
Aws::IoT::Model::TopicRuleDestination::GetLastUpdatedAt
const Aws::Utils::DateTime & GetLastUpdatedAt() const
Definition: TopicRuleDestination.h:252
Aws::IoT::Model::TopicRuleDestination::GetStatusReason
const Aws::String & GetStatusReason() const
Definition: TopicRuleDestination.h:284
Aws::IoT::Model::TopicRuleDestination::HttpUrlPropertiesHasBeenSet
bool HttpUrlPropertiesHasBeenSet() const
Definition: TopicRuleDestination.h:337
Aws::IoT::Model::TopicRuleDestination::SetHttpUrlProperties
void SetHttpUrlProperties(const HttpUrlDestinationProperties &value)
Definition: TopicRuleDestination.h:342
Aws::IoT::Model::TopicRuleDestination::SetStatusReason
void SetStatusReason(const char *value)
Definition: TopicRuleDestination.h:308
Aws::IoT::Model::TopicRuleDestination::CreatedAtHasBeenSet
bool CreatedAtHasBeenSet() const
Definition: TopicRuleDestination.h:226
Aws::IoT::Model::TopicRuleDestination::StatusReasonHasBeenSet
bool StatusReasonHasBeenSet() const
Definition: TopicRuleDestination.h:290
Aws::IoT::Model::TopicRuleDestination::SetCreatedAt
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition: TopicRuleDestination.h:236
Aws::IoT::Model::TopicRuleDestination::SetVpcProperties
void SetVpcProperties(VpcDestinationProperties &&value)
Definition: TopicRuleDestination.h:378
Aws::IoT::Model::TopicRuleDestination::SetStatusReason
void SetStatusReason(Aws::String &&value)
Definition: TopicRuleDestination.h:302
Aws::IoT::Model::TopicRuleDestination::TopicRuleDestination
TopicRuleDestination(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::TopicRuleDestination::TopicRuleDestination
TopicRuleDestination()
Aws::IoT::Model::TopicRuleDestination::WithLastUpdatedAt
TopicRuleDestination & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
Definition: TopicRuleDestination.h:277
Aws::IoT::Model::TopicRuleDestination::GetStatus
const TopicRuleDestinationStatus & GetStatus() const
Definition: TopicRuleDestination.h:105
Aws::IoT::Model::TopicRuleDestination::WithHttpUrlProperties
TopicRuleDestination & WithHttpUrlProperties(const HttpUrlDestinationProperties &value)
Definition: TopicRuleDestination.h:352
Aws::IoT::Model::TopicRuleDestination::GetCreatedAt
const Aws::Utils::DateTime & GetCreatedAt() const
Definition: TopicRuleDestination.h:221
Aws::IoT::Model::TopicRuleDestination::WithArn
TopicRuleDestination & WithArn(const char *value)
Definition: TopicRuleDestination.h:82
Aws::IoT::Model::TopicRuleDestination
Definition: TopicRuleDestination.h:36
TopicRuleDestinationStatus.h
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoT::Model::TopicRuleDestination::GetVpcProperties
const VpcDestinationProperties & GetVpcProperties() const
Definition: TopicRuleDestination.h:363
Aws::IoT::Model::TopicRuleDestination::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoT::Model::TopicRuleDestination::operator=
TopicRuleDestination & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::TopicRuleDestination::SetStatus
void SetStatus(TopicRuleDestinationStatus &&value)
Definition: TopicRuleDestination.h:171
Aws::IoT::Model::TopicRuleDestination::WithStatusReason
TopicRuleDestination & WithStatusReason(const char *value)
Definition: TopicRuleDestination.h:326
Aws::IoT::Model::TopicRuleDestination::GetHttpUrlProperties
const HttpUrlDestinationProperties & GetHttpUrlProperties() const
Definition: TopicRuleDestination.h:332
Aws::IoT::Model::TopicRuleDestination::SetLastUpdatedAt
void SetLastUpdatedAt(Aws::Utils::DateTime &&value)
Definition: TopicRuleDestination.h:267
Aws::IoT::Model::TopicRuleDestination::GetArn
const Aws::String & GetArn() const
Definition: TopicRuleDestination.h:47
Aws::IoT::Model::TopicRuleDestination::SetStatusReason
void SetStatusReason(const Aws::String &value)
Definition: TopicRuleDestination.h:296
Aws::IoT::Model::TopicRuleDestination::LastUpdatedAtHasBeenSet
bool LastUpdatedAtHasBeenSet() const
Definition: TopicRuleDestination.h:257
Aws::IoT::Model::TopicRuleDestination::WithStatusReason
TopicRuleDestination & WithStatusReason(const Aws::String &value)
Definition: TopicRuleDestination.h:314
Aws::IoT::Model::TopicRuleDestination::SetArn
void SetArn(const char *value)
Definition: TopicRuleDestination.h:67
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::TopicRuleDestination::WithStatus
TopicRuleDestination & WithStatus(TopicRuleDestinationStatus &&value)
Definition: TopicRuleDestination.h:215
Aws::IoT::Model::TopicRuleDestination::SetArn
void SetArn(Aws::String &&value)
Definition: TopicRuleDestination.h:62
Aws::IoT::Model::TopicRuleDestination::SetArn
void SetArn(const Aws::String &value)
Definition: TopicRuleDestination.h:57
Aws::IoT::Model::TopicRuleDestination::WithVpcProperties
TopicRuleDestination & WithVpcProperties(VpcDestinationProperties &&value)
Definition: TopicRuleDestination.h:388
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::TopicRuleDestination::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: TopicRuleDestination.h:127
Aws::IoT::Model::TopicRuleDestination::SetHttpUrlProperties
void SetHttpUrlProperties(HttpUrlDestinationProperties &&value)
Definition: TopicRuleDestination.h:347
HttpUrlDestinationProperties.h
Aws::IoT::Model::TopicRuleDestination::WithArn
TopicRuleDestination & WithArn(Aws::String &&value)
Definition: TopicRuleDestination.h:77
Aws::IoT::Model::HttpUrlDestinationProperties
Definition: HttpUrlDestinationProperties.h:32
Aws::IoT::Model::TopicRuleDestination::WithLastUpdatedAt
TopicRuleDestination & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
Definition: TopicRuleDestination.h:272
Aws::IoT::Model::TopicRuleDestination::SetLastUpdatedAt
void SetLastUpdatedAt(const Aws::Utils::DateTime &value)
Definition: TopicRuleDestination.h:262
Aws::IoT::Model::TopicRuleDestination::WithHttpUrlProperties
TopicRuleDestination & WithHttpUrlProperties(HttpUrlDestinationProperties &&value)
Definition: TopicRuleDestination.h:357
Aws::IoT::Model::TopicRuleDestination::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: TopicRuleDestination.h:52
Aws::IoT::Model::VpcDestinationProperties
Definition: VpcDestinationProperties.h:34
VpcDestinationProperties.h
IoT_EXPORTS.h