AWS SDK for C++  1.9.132
AWS SDK for C++
TopicRuleDestinationSummary.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 TopicRuleDestinationSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
73 
77  inline TopicRuleDestinationSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
78 
82  inline TopicRuleDestinationSummary& 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 TopicRuleDestinationSummary& WithStatus(const TopicRuleDestinationStatus& value) { SetStatus(value); return *this;}
194 
215  inline TopicRuleDestinationSummary& 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 TopicRuleDestinationSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
242 
246  inline TopicRuleDestinationSummary& 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 TopicRuleDestinationSummary& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;}
273 
277  inline TopicRuleDestinationSummary& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;}
278 
279 
283  inline const Aws::String& GetStatusReason() const{ return m_statusReason; }
284 
288  inline bool StatusReasonHasBeenSet() const { return m_statusReasonHasBeenSet; }
289 
293  inline void SetStatusReason(const Aws::String& value) { m_statusReasonHasBeenSet = true; m_statusReason = value; }
294 
298  inline void SetStatusReason(Aws::String&& value) { m_statusReasonHasBeenSet = true; m_statusReason = std::move(value); }
299 
303  inline void SetStatusReason(const char* value) { m_statusReasonHasBeenSet = true; m_statusReason.assign(value); }
304 
308  inline TopicRuleDestinationSummary& WithStatusReason(const Aws::String& value) { SetStatusReason(value); return *this;}
309 
313  inline TopicRuleDestinationSummary& WithStatusReason(Aws::String&& value) { SetStatusReason(std::move(value)); return *this;}
314 
318  inline TopicRuleDestinationSummary& WithStatusReason(const char* value) { SetStatusReason(value); return *this;}
319 
320 
324  inline const HttpUrlDestinationSummary& GetHttpUrlSummary() const{ return m_httpUrlSummary; }
325 
329  inline bool HttpUrlSummaryHasBeenSet() const { return m_httpUrlSummaryHasBeenSet; }
330 
334  inline void SetHttpUrlSummary(const HttpUrlDestinationSummary& value) { m_httpUrlSummaryHasBeenSet = true; m_httpUrlSummary = value; }
335 
339  inline void SetHttpUrlSummary(HttpUrlDestinationSummary&& value) { m_httpUrlSummaryHasBeenSet = true; m_httpUrlSummary = std::move(value); }
340 
344  inline TopicRuleDestinationSummary& WithHttpUrlSummary(const HttpUrlDestinationSummary& value) { SetHttpUrlSummary(value); return *this;}
345 
349  inline TopicRuleDestinationSummary& WithHttpUrlSummary(HttpUrlDestinationSummary&& value) { SetHttpUrlSummary(std::move(value)); return *this;}
350 
351 
355  inline const VpcDestinationSummary& GetVpcDestinationSummary() const{ return m_vpcDestinationSummary; }
356 
360  inline bool VpcDestinationSummaryHasBeenSet() const { return m_vpcDestinationSummaryHasBeenSet; }
361 
365  inline void SetVpcDestinationSummary(const VpcDestinationSummary& value) { m_vpcDestinationSummaryHasBeenSet = true; m_vpcDestinationSummary = value; }
366 
370  inline void SetVpcDestinationSummary(VpcDestinationSummary&& value) { m_vpcDestinationSummaryHasBeenSet = true; m_vpcDestinationSummary = std::move(value); }
371 
375  inline TopicRuleDestinationSummary& WithVpcDestinationSummary(const VpcDestinationSummary& value) { SetVpcDestinationSummary(value); return *this;}
376 
380  inline TopicRuleDestinationSummary& WithVpcDestinationSummary(VpcDestinationSummary&& value) { SetVpcDestinationSummary(std::move(value)); return *this;}
381 
382  private:
383 
384  Aws::String m_arn;
385  bool m_arnHasBeenSet;
386 
388  bool m_statusHasBeenSet;
389 
390  Aws::Utils::DateTime m_createdAt;
391  bool m_createdAtHasBeenSet;
392 
393  Aws::Utils::DateTime m_lastUpdatedAt;
394  bool m_lastUpdatedAtHasBeenSet;
395 
396  Aws::String m_statusReason;
397  bool m_statusReasonHasBeenSet;
398 
399  HttpUrlDestinationSummary m_httpUrlSummary;
400  bool m_httpUrlSummaryHasBeenSet;
401 
402  VpcDestinationSummary m_vpcDestinationSummary;
403  bool m_vpcDestinationSummaryHasBeenSet;
404  };
405 
406 } // namespace Model
407 } // namespace IoT
408 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::IoT::Model::TopicRuleDestinationStatus
TopicRuleDestinationStatus
Definition: TopicRuleDestinationStatus.h:17
Aws::IoT::Model::TopicRuleDestinationSummary::WithStatusReason
TopicRuleDestinationSummary & WithStatusReason(const Aws::String &value)
Definition: TopicRuleDestinationSummary.h:308
Aws::IoT::Model::TopicRuleDestinationSummary::GetVpcDestinationSummary
const VpcDestinationSummary & GetVpcDestinationSummary() const
Definition: TopicRuleDestinationSummary.h:355
Aws::IoT::Model::TopicRuleDestinationSummary::SetLastUpdatedAt
void SetLastUpdatedAt(const Aws::Utils::DateTime &value)
Definition: TopicRuleDestinationSummary.h:262
Aws::IoT::Model::TopicRuleDestinationSummary::SetVpcDestinationSummary
void SetVpcDestinationSummary(VpcDestinationSummary &&value)
Definition: TopicRuleDestinationSummary.h:370
Aws::IoT::Model::TopicRuleDestinationSummary::WithHttpUrlSummary
TopicRuleDestinationSummary & WithHttpUrlSummary(HttpUrlDestinationSummary &&value)
Definition: TopicRuleDestinationSummary.h:349
Aws::IoT::Model::TopicRuleDestinationSummary::WithCreatedAt
TopicRuleDestinationSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition: TopicRuleDestinationSummary.h:241
Aws::IoT::Model::TopicRuleDestinationSummary::GetStatusReason
const Aws::String & GetStatusReason() const
Definition: TopicRuleDestinationSummary.h:283
Aws::IoT::Model::HttpUrlDestinationSummary
Definition: HttpUrlDestinationSummary.h:32
Aws::IoT::Model::TopicRuleDestinationSummary
Definition: TopicRuleDestinationSummary.h:36
Aws::IoT::Model::TopicRuleDestinationSummary::WithVpcDestinationSummary
TopicRuleDestinationSummary & WithVpcDestinationSummary(const VpcDestinationSummary &value)
Definition: TopicRuleDestinationSummary.h:375
Aws::IoT::Model::TopicRuleDestinationSummary::WithArn
TopicRuleDestinationSummary & WithArn(const Aws::String &value)
Definition: TopicRuleDestinationSummary.h:72
Aws::IoT::Model::TopicRuleDestinationSummary::SetArn
void SetArn(const Aws::String &value)
Definition: TopicRuleDestinationSummary.h:57
Aws::IoT::Model::TopicRuleDestinationSummary::SetVpcDestinationSummary
void SetVpcDestinationSummary(const VpcDestinationSummary &value)
Definition: TopicRuleDestinationSummary.h:365
Aws::IoT::Model::TopicRuleDestinationSummary::SetStatus
void SetStatus(TopicRuleDestinationStatus &&value)
Definition: TopicRuleDestinationSummary.h:171
Aws::IoT::Model::TopicRuleDestinationSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
VpcDestinationSummary.h
Aws::IoT::Model::TopicRuleDestinationSummary::WithArn
TopicRuleDestinationSummary & WithArn(const char *value)
Definition: TopicRuleDestinationSummary.h:82
DateTime.h
Aws::IoT::Model::TopicRuleDestinationSummary::WithCreatedAt
TopicRuleDestinationSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
Definition: TopicRuleDestinationSummary.h:246
Aws::IoT::Model::TopicRuleDestinationSummary::SetStatusReason
void SetStatusReason(const char *value)
Definition: TopicRuleDestinationSummary.h:303
Aws::IoT::Model::TopicRuleDestinationSummary::GetHttpUrlSummary
const HttpUrlDestinationSummary & GetHttpUrlSummary() const
Definition: TopicRuleDestinationSummary.h:324
Aws::IoT::Model::TopicRuleDestinationSummary::WithHttpUrlSummary
TopicRuleDestinationSummary & WithHttpUrlSummary(const HttpUrlDestinationSummary &value)
Definition: TopicRuleDestinationSummary.h:344
Aws::IoT::Model::TopicRuleDestinationSummary::SetCreatedAt
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition: TopicRuleDestinationSummary.h:236
Aws::IoT::Model::TopicRuleDestinationSummary::SetStatus
void SetStatus(const TopicRuleDestinationStatus &value)
Definition: TopicRuleDestinationSummary.h:149
Aws::IoT::Model::TopicRuleDestinationSummary::SetCreatedAt
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition: TopicRuleDestinationSummary.h:231
Aws::IoT::Model::TopicRuleDestinationSummary::SetHttpUrlSummary
void SetHttpUrlSummary(HttpUrlDestinationSummary &&value)
Definition: TopicRuleDestinationSummary.h:339
Aws::IoT::Model::TopicRuleDestinationSummary::StatusReasonHasBeenSet
bool StatusReasonHasBeenSet() const
Definition: TopicRuleDestinationSummary.h:288
Aws::IoT::Model::TopicRuleDestinationSummary::GetArn
const Aws::String & GetArn() const
Definition: TopicRuleDestinationSummary.h:47
Aws::IoT::Model::TopicRuleDestinationSummary::operator=
TopicRuleDestinationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::TopicRuleDestinationSummary::SetHttpUrlSummary
void SetHttpUrlSummary(const HttpUrlDestinationSummary &value)
Definition: TopicRuleDestinationSummary.h:334
Aws::IoT::Model::TopicRuleDestinationSummary::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: TopicRuleDestinationSummary.h:52
Aws::IoT::Model::TopicRuleDestinationSummary::CreatedAtHasBeenSet
bool CreatedAtHasBeenSet() const
Definition: TopicRuleDestinationSummary.h:226
Aws::IoT::Model::TopicRuleDestinationSummary::WithLastUpdatedAt
TopicRuleDestinationSummary & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
Definition: TopicRuleDestinationSummary.h:272
Aws::IoT::Model::TopicRuleDestinationSummary::GetStatus
const TopicRuleDestinationStatus & GetStatus() const
Definition: TopicRuleDestinationSummary.h:105
Aws::IoT::Model::TopicRuleDestinationSummary::SetArn
void SetArn(const char *value)
Definition: TopicRuleDestinationSummary.h:67
TopicRuleDestinationStatus.h
Aws::IoT::Model::TopicRuleDestinationSummary::SetArn
void SetArn(Aws::String &&value)
Definition: TopicRuleDestinationSummary.h:62
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoT::Model::TopicRuleDestinationSummary::WithStatusReason
TopicRuleDestinationSummary & WithStatusReason(Aws::String &&value)
Definition: TopicRuleDestinationSummary.h:313
Aws::IoT::Model::TopicRuleDestinationSummary::LastUpdatedAtHasBeenSet
bool LastUpdatedAtHasBeenSet() const
Definition: TopicRuleDestinationSummary.h:257
Aws::IoT::Model::TopicRuleDestinationSummary::WithArn
TopicRuleDestinationSummary & WithArn(Aws::String &&value)
Definition: TopicRuleDestinationSummary.h:77
Aws::IoT::Model::TopicRuleDestinationSummary::TopicRuleDestinationSummary
TopicRuleDestinationSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::TopicRuleDestinationSummary::SetStatusReason
void SetStatusReason(Aws::String &&value)
Definition: TopicRuleDestinationSummary.h:298
Aws::IoT::Model::TopicRuleDestinationSummary::GetCreatedAt
const Aws::Utils::DateTime & GetCreatedAt() const
Definition: TopicRuleDestinationSummary.h:221
Aws::IoT::Model::VpcDestinationSummary
Definition: VpcDestinationSummary.h:34
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::TopicRuleDestinationSummary::SetLastUpdatedAt
void SetLastUpdatedAt(Aws::Utils::DateTime &&value)
Definition: TopicRuleDestinationSummary.h:267
Aws::IoT::Model::TopicRuleDestinationSummary::TopicRuleDestinationSummary
TopicRuleDestinationSummary()
Aws::IoT::Model::TopicRuleDestinationSummary::VpcDestinationSummaryHasBeenSet
bool VpcDestinationSummaryHasBeenSet() const
Definition: TopicRuleDestinationSummary.h:360
Aws::IoT::Model::TopicRuleDestinationSummary::WithVpcDestinationSummary
TopicRuleDestinationSummary & WithVpcDestinationSummary(VpcDestinationSummary &&value)
Definition: TopicRuleDestinationSummary.h:380
Aws::IoT::Model::TopicRuleDestinationSummary::HttpUrlSummaryHasBeenSet
bool HttpUrlSummaryHasBeenSet() const
Definition: TopicRuleDestinationSummary.h:329
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::TopicRuleDestinationSummary::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: TopicRuleDestinationSummary.h:127
Aws::IoT::Model::TopicRuleDestinationSummary::WithStatus
TopicRuleDestinationSummary & WithStatus(const TopicRuleDestinationStatus &value)
Definition: TopicRuleDestinationSummary.h:193
HttpUrlDestinationSummary.h
Aws::IoT::Model::TopicRuleDestinationSummary::WithLastUpdatedAt
TopicRuleDestinationSummary & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
Definition: TopicRuleDestinationSummary.h:277
Aws::IoT::Model::TopicRuleDestinationSummary::GetLastUpdatedAt
const Aws::Utils::DateTime & GetLastUpdatedAt() const
Definition: TopicRuleDestinationSummary.h:252
Aws::IoT::Model::TopicRuleDestinationSummary::SetStatusReason
void SetStatusReason(const Aws::String &value)
Definition: TopicRuleDestinationSummary.h:293
Aws::IoT::Model::TopicRuleDestinationSummary::WithStatus
TopicRuleDestinationSummary & WithStatus(TopicRuleDestinationStatus &&value)
Definition: TopicRuleDestinationSummary.h:215
Aws::IoT::Model::TopicRuleDestinationSummary::WithStatusReason
TopicRuleDestinationSummary & WithStatusReason(const char *value)
Definition: TopicRuleDestinationSummary.h:318
IoT_EXPORTS.h