AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
ConnectionGroupSummary.h
1
6#pragma once
7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Xml {
16class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace CloudFront {
20namespace Model {
21
29 public:
30 AWS_CLOUDFRONT_API ConnectionGroupSummary() = default;
31 AWS_CLOUDFRONT_API ConnectionGroupSummary(const Aws::Utils::Xml::XmlNode& xmlNode);
32 AWS_CLOUDFRONT_API ConnectionGroupSummary& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
33
34 AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
35
37
40 inline const Aws::String& GetId() const { return m_id; }
41 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
42 template <typename IdT = Aws::String>
43 void SetId(IdT&& value) {
44 m_idHasBeenSet = true;
45 m_id = std::forward<IdT>(value);
46 }
47 template <typename IdT = Aws::String>
49 SetId(std::forward<IdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetName() const { return m_name; }
59 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
60 template <typename NameT = Aws::String>
61 void SetName(NameT&& value) {
62 m_nameHasBeenSet = true;
63 m_name = std::forward<NameT>(value);
64 }
65 template <typename NameT = Aws::String>
67 SetName(std::forward<NameT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetArn() const { return m_arn; }
77 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
78 template <typename ArnT = Aws::String>
79 void SetArn(ArnT&& value) {
80 m_arnHasBeenSet = true;
81 m_arn = std::forward<ArnT>(value);
82 }
83 template <typename ArnT = Aws::String>
85 SetArn(std::forward<ArnT>(value));
86 return *this;
87 }
89
91
95 inline const Aws::String& GetRoutingEndpoint() const { return m_routingEndpoint; }
96 inline bool RoutingEndpointHasBeenSet() const { return m_routingEndpointHasBeenSet; }
97 template <typename RoutingEndpointT = Aws::String>
98 void SetRoutingEndpoint(RoutingEndpointT&& value) {
99 m_routingEndpointHasBeenSet = true;
100 m_routingEndpoint = std::forward<RoutingEndpointT>(value);
101 }
102 template <typename RoutingEndpointT = Aws::String>
103 ConnectionGroupSummary& WithRoutingEndpoint(RoutingEndpointT&& value) {
104 SetRoutingEndpoint(std::forward<RoutingEndpointT>(value));
105 return *this;
106 }
108
110
113 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
114 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
115 template <typename CreatedTimeT = Aws::Utils::DateTime>
116 void SetCreatedTime(CreatedTimeT&& value) {
117 m_createdTimeHasBeenSet = true;
118 m_createdTime = std::forward<CreatedTimeT>(value);
119 }
120 template <typename CreatedTimeT = Aws::Utils::DateTime>
122 SetCreatedTime(std::forward<CreatedTimeT>(value));
123 return *this;
124 }
126
128
131 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
132 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
133 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
134 void SetLastModifiedTime(LastModifiedTimeT&& value) {
135 m_lastModifiedTimeHasBeenSet = true;
136 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
137 }
138 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
139 ConnectionGroupSummary& WithLastModifiedTime(LastModifiedTimeT&& value) {
140 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
141 return *this;
142 }
144
146
149 inline const Aws::String& GetETag() const { return m_eTag; }
150 inline bool ETagHasBeenSet() const { return m_eTagHasBeenSet; }
151 template <typename ETagT = Aws::String>
152 void SetETag(ETagT&& value) {
153 m_eTagHasBeenSet = true;
154 m_eTag = std::forward<ETagT>(value);
155 }
156 template <typename ETagT = Aws::String>
158 SetETag(std::forward<ETagT>(value));
159 return *this;
160 }
162
164
167 inline const Aws::String& GetAnycastIpListId() const { return m_anycastIpListId; }
168 inline bool AnycastIpListIdHasBeenSet() const { return m_anycastIpListIdHasBeenSet; }
169 template <typename AnycastIpListIdT = Aws::String>
170 void SetAnycastIpListId(AnycastIpListIdT&& value) {
171 m_anycastIpListIdHasBeenSet = true;
172 m_anycastIpListId = std::forward<AnycastIpListIdT>(value);
173 }
174 template <typename AnycastIpListIdT = Aws::String>
175 ConnectionGroupSummary& WithAnycastIpListId(AnycastIpListIdT&& value) {
176 SetAnycastIpListId(std::forward<AnycastIpListIdT>(value));
177 return *this;
178 }
180
182
185 inline bool GetEnabled() const { return m_enabled; }
186 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
187 inline void SetEnabled(bool value) {
188 m_enabledHasBeenSet = true;
189 m_enabled = value;
190 }
192 SetEnabled(value);
193 return *this;
194 }
196
198
201 inline const Aws::String& GetStatus() const { return m_status; }
202 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
203 template <typename StatusT = Aws::String>
204 void SetStatus(StatusT&& value) {
205 m_statusHasBeenSet = true;
206 m_status = std::forward<StatusT>(value);
207 }
208 template <typename StatusT = Aws::String>
210 SetStatus(std::forward<StatusT>(value));
211 return *this;
212 }
214
216
220 inline bool GetIsDefault() const { return m_isDefault; }
221 inline bool IsDefaultHasBeenSet() const { return m_isDefaultHasBeenSet; }
222 inline void SetIsDefault(bool value) {
223 m_isDefaultHasBeenSet = true;
224 m_isDefault = value;
225 }
227 SetIsDefault(value);
228 return *this;
229 }
231 private:
232 Aws::String m_id;
233
234 Aws::String m_name;
235
236 Aws::String m_arn;
237
238 Aws::String m_routingEndpoint;
239
240 Aws::Utils::DateTime m_createdTime{};
241
242 Aws::Utils::DateTime m_lastModifiedTime{};
243
244 Aws::String m_eTag;
245
246 Aws::String m_anycastIpListId;
247
248 bool m_enabled{false};
249
250 Aws::String m_status;
251
252 bool m_isDefault{false};
253 bool m_idHasBeenSet = false;
254 bool m_nameHasBeenSet = false;
255 bool m_arnHasBeenSet = false;
256 bool m_routingEndpointHasBeenSet = false;
257 bool m_createdTimeHasBeenSet = false;
258 bool m_lastModifiedTimeHasBeenSet = false;
259 bool m_eTagHasBeenSet = false;
260 bool m_anycastIpListIdHasBeenSet = false;
261 bool m_enabledHasBeenSet = false;
262 bool m_statusHasBeenSet = false;
263 bool m_isDefaultHasBeenSet = false;
264};
265
266} // namespace Model
267} // namespace CloudFront
268} // namespace Aws
ConnectionGroupSummary & WithLastModifiedTime(LastModifiedTimeT &&value)
const Aws::Utils::DateTime & GetCreatedTime() const
ConnectionGroupSummary & WithRoutingEndpoint(RoutingEndpointT &&value)
ConnectionGroupSummary & WithEnabled(bool value)
ConnectionGroupSummary & WithStatus(StatusT &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
ConnectionGroupSummary & WithAnycastIpListId(AnycastIpListIdT &&value)
AWS_CLOUDFRONT_API ConnectionGroupSummary()=default
ConnectionGroupSummary & WithId(IdT &&value)
AWS_CLOUDFRONT_API ConnectionGroupSummary(const Aws::Utils::Xml::XmlNode &xmlNode)
ConnectionGroupSummary & WithArn(ArnT &&value)
ConnectionGroupSummary & WithIsDefault(bool value)
ConnectionGroupSummary & WithCreatedTime(CreatedTimeT &&value)
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AWS_CLOUDFRONT_API ConnectionGroupSummary & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ConnectionGroupSummary & WithName(NameT &&value)
ConnectionGroupSummary & WithETag(ETagT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String