AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TopicRuleDestinationSummary.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot/model/TopicRuleDestinationStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/iot/model/HttpUrlDestinationSummary.h>
12#include <aws/iot/model/VpcDestinationSummary.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace IoT
26{
27namespace Model
28{
29
36 {
37 public:
42
43
45
48 inline const Aws::String& GetArn() const{ return m_arn; }
49 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
50 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
51 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
52 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
53 inline TopicRuleDestinationSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
54 inline TopicRuleDestinationSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
55 inline TopicRuleDestinationSummary& WithArn(const char* value) { SetArn(value); return *this;}
57
59
79 inline const TopicRuleDestinationStatus& GetStatus() const{ return m_status; }
80 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
81 inline void SetStatus(const TopicRuleDestinationStatus& value) { m_statusHasBeenSet = true; m_status = value; }
82 inline void SetStatus(TopicRuleDestinationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
83 inline TopicRuleDestinationSummary& WithStatus(const TopicRuleDestinationStatus& value) { SetStatus(value); return *this;}
84 inline TopicRuleDestinationSummary& WithStatus(TopicRuleDestinationStatus&& value) { SetStatus(std::move(value)); return *this;}
86
88
91 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
92 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
93 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
94 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
95 inline TopicRuleDestinationSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
96 inline TopicRuleDestinationSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
98
100
103 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
104 inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
105 inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = value; }
106 inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::move(value); }
108 inline TopicRuleDestinationSummary& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;}
110
112
115 inline const Aws::String& GetStatusReason() const{ return m_statusReason; }
116 inline bool StatusReasonHasBeenSet() const { return m_statusReasonHasBeenSet; }
117 inline void SetStatusReason(const Aws::String& value) { m_statusReasonHasBeenSet = true; m_statusReason = value; }
118 inline void SetStatusReason(Aws::String&& value) { m_statusReasonHasBeenSet = true; m_statusReason = std::move(value); }
119 inline void SetStatusReason(const char* value) { m_statusReasonHasBeenSet = true; m_statusReason.assign(value); }
120 inline TopicRuleDestinationSummary& WithStatusReason(const Aws::String& value) { SetStatusReason(value); return *this;}
121 inline TopicRuleDestinationSummary& WithStatusReason(Aws::String&& value) { SetStatusReason(std::move(value)); return *this;}
122 inline TopicRuleDestinationSummary& WithStatusReason(const char* value) { SetStatusReason(value); return *this;}
124
126
129 inline const HttpUrlDestinationSummary& GetHttpUrlSummary() const{ return m_httpUrlSummary; }
130 inline bool HttpUrlSummaryHasBeenSet() const { return m_httpUrlSummaryHasBeenSet; }
131 inline void SetHttpUrlSummary(const HttpUrlDestinationSummary& value) { m_httpUrlSummaryHasBeenSet = true; m_httpUrlSummary = value; }
132 inline void SetHttpUrlSummary(HttpUrlDestinationSummary&& value) { m_httpUrlSummaryHasBeenSet = true; m_httpUrlSummary = std::move(value); }
136
138
141 inline const VpcDestinationSummary& GetVpcDestinationSummary() const{ return m_vpcDestinationSummary; }
142 inline bool VpcDestinationSummaryHasBeenSet() const { return m_vpcDestinationSummaryHasBeenSet; }
143 inline void SetVpcDestinationSummary(const VpcDestinationSummary& value) { m_vpcDestinationSummaryHasBeenSet = true; m_vpcDestinationSummary = value; }
144 inline void SetVpcDestinationSummary(VpcDestinationSummary&& value) { m_vpcDestinationSummaryHasBeenSet = true; m_vpcDestinationSummary = std::move(value); }
148 private:
149
150 Aws::String m_arn;
151 bool m_arnHasBeenSet = false;
152
154 bool m_statusHasBeenSet = false;
155
156 Aws::Utils::DateTime m_createdAt;
157 bool m_createdAtHasBeenSet = false;
158
159 Aws::Utils::DateTime m_lastUpdatedAt;
160 bool m_lastUpdatedAtHasBeenSet = false;
161
162 Aws::String m_statusReason;
163 bool m_statusReasonHasBeenSet = false;
164
165 HttpUrlDestinationSummary m_httpUrlSummary;
166 bool m_httpUrlSummaryHasBeenSet = false;
167
168 VpcDestinationSummary m_vpcDestinationSummary;
169 bool m_vpcDestinationSummaryHasBeenSet = false;
170 };
171
172} // namespace Model
173} // namespace IoT
174} // namespace Aws
TopicRuleDestinationSummary & WithArn(const char *value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetLastUpdatedAt(const Aws::Utils::DateTime &value)
TopicRuleDestinationSummary & WithStatusReason(Aws::String &&value)
void SetHttpUrlSummary(HttpUrlDestinationSummary &&value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
TopicRuleDestinationSummary & WithStatus(const TopicRuleDestinationStatus &value)
TopicRuleDestinationSummary & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
const VpcDestinationSummary & GetVpcDestinationSummary() const
TopicRuleDestinationSummary & WithStatus(TopicRuleDestinationStatus &&value)
TopicRuleDestinationSummary & WithHttpUrlSummary(HttpUrlDestinationSummary &&value)
TopicRuleDestinationSummary & WithArn(Aws::String &&value)
void SetStatus(const TopicRuleDestinationStatus &value)
AWS_IOT_API TopicRuleDestinationSummary(Aws::Utils::Json::JsonView jsonValue)
TopicRuleDestinationSummary & WithVpcDestinationSummary(VpcDestinationSummary &&value)
TopicRuleDestinationSummary & WithStatusReason(const char *value)
TopicRuleDestinationSummary & WithArn(const Aws::String &value)
void SetHttpUrlSummary(const HttpUrlDestinationSummary &value)
TopicRuleDestinationSummary & WithHttpUrlSummary(const HttpUrlDestinationSummary &value)
const TopicRuleDestinationStatus & GetStatus() const
void SetVpcDestinationSummary(VpcDestinationSummary &&value)
TopicRuleDestinationSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
TopicRuleDestinationSummary & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
TopicRuleDestinationSummary & WithVpcDestinationSummary(const VpcDestinationSummary &value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
void SetStatus(TopicRuleDestinationStatus &&value)
AWS_IOT_API TopicRuleDestinationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const HttpUrlDestinationSummary & GetHttpUrlSummary() const
const Aws::Utils::DateTime & GetCreatedAt() const
TopicRuleDestinationSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
void SetVpcDestinationSummary(const VpcDestinationSummary &value)
TopicRuleDestinationSummary & WithStatusReason(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue