AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AnycastIpListSummary.h
1
6#pragma once
7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace CloudFront
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_CLOUDFRONT_API AnycastIpListSummary() = default;
37 AWS_CLOUDFRONT_API AnycastIpListSummary(const Aws::Utils::Xml::XmlNode& xmlNode);
38 AWS_CLOUDFRONT_API AnycastIpListSummary& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
39
40 AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
41
42
44
47 inline const Aws::String& GetId() const { return m_id; }
48 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
49 template<typename IdT = Aws::String>
50 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
51 template<typename IdT = Aws::String>
52 AnycastIpListSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
54
56
59 inline const Aws::String& GetName() const { return m_name; }
60 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
61 template<typename NameT = Aws::String>
62 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
63 template<typename NameT = Aws::String>
64 AnycastIpListSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
66
68
72 inline const Aws::String& GetStatus() const { return m_status; }
73 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
74 template<typename StatusT = Aws::String>
75 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
76 template<typename StatusT = Aws::String>
77 AnycastIpListSummary& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
79
81
84 inline const Aws::String& GetArn() const { return m_arn; }
85 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
86 template<typename ArnT = Aws::String>
87 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
88 template<typename ArnT = Aws::String>
89 AnycastIpListSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
91
93
96 inline int GetIpCount() const { return m_ipCount; }
97 inline bool IpCountHasBeenSet() const { return m_ipCountHasBeenSet; }
98 inline void SetIpCount(int value) { m_ipCountHasBeenSet = true; m_ipCount = value; }
99 inline AnycastIpListSummary& WithIpCount(int value) { SetIpCount(value); return *this;}
101
103
106 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
107 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
108 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
109 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
110 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
111 AnycastIpListSummary& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
113 private:
114
115 Aws::String m_id;
116 bool m_idHasBeenSet = false;
117
118 Aws::String m_name;
119 bool m_nameHasBeenSet = false;
120
121 Aws::String m_status;
122 bool m_statusHasBeenSet = false;
123
124 Aws::String m_arn;
125 bool m_arnHasBeenSet = false;
126
127 int m_ipCount{0};
128 bool m_ipCountHasBeenSet = false;
129
130 Aws::Utils::DateTime m_lastModifiedTime{};
131 bool m_lastModifiedTimeHasBeenSet = false;
132 };
133
134} // namespace Model
135} // namespace CloudFront
136} // namespace Aws
AnycastIpListSummary & WithId(IdT &&value)
AnycastIpListSummary & WithStatus(StatusT &&value)
AnycastIpListSummary & WithLastModifiedTime(LastModifiedTimeT &&value)
AWS_CLOUDFRONT_API AnycastIpListSummary(const Aws::Utils::Xml::XmlNode &xmlNode)
AnycastIpListSummary & WithName(NameT &&value)
AnycastIpListSummary & WithIpCount(int value)
AnycastIpListSummary & WithArn(ArnT &&value)
AWS_CLOUDFRONT_API AnycastIpListSummary & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
void SetLastModifiedTime(LastModifiedTimeT &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
AWS_CLOUDFRONT_API AnycastIpListSummary()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String