AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ConnectionGroupSummary.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
33 {
34 public:
35 AWS_CLOUDFRONT_API ConnectionGroupSummary() = default;
36 AWS_CLOUDFRONT_API ConnectionGroupSummary(const Aws::Utils::Xml::XmlNode& xmlNode);
37 AWS_CLOUDFRONT_API ConnectionGroupSummary& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
40
41
43
46 inline const Aws::String& GetId() const { return m_id; }
47 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
48 template<typename IdT = Aws::String>
49 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
50 template<typename IdT = Aws::String>
51 ConnectionGroupSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
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) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
62 template<typename NameT = Aws::String>
63 ConnectionGroupSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
65
67
70 inline const Aws::String& GetArn() const { return m_arn; }
71 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
72 template<typename ArnT = Aws::String>
73 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
74 template<typename ArnT = Aws::String>
75 ConnectionGroupSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
77
79
83 inline const Aws::String& GetRoutingEndpoint() const { return m_routingEndpoint; }
84 inline bool RoutingEndpointHasBeenSet() const { return m_routingEndpointHasBeenSet; }
85 template<typename RoutingEndpointT = Aws::String>
86 void SetRoutingEndpoint(RoutingEndpointT&& value) { m_routingEndpointHasBeenSet = true; m_routingEndpoint = std::forward<RoutingEndpointT>(value); }
87 template<typename RoutingEndpointT = Aws::String>
88 ConnectionGroupSummary& WithRoutingEndpoint(RoutingEndpointT&& value) { SetRoutingEndpoint(std::forward<RoutingEndpointT>(value)); return *this;}
90
92
95 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
96 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
97 template<typename CreatedTimeT = Aws::Utils::DateTime>
98 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::forward<CreatedTimeT>(value); }
99 template<typename CreatedTimeT = Aws::Utils::DateTime>
100 ConnectionGroupSummary& WithCreatedTime(CreatedTimeT&& value) { SetCreatedTime(std::forward<CreatedTimeT>(value)); return *this;}
102
104
107 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
108 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
109 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
110 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
111 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
112 ConnectionGroupSummary& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
114
116
119 inline const Aws::String& GetETag() const { return m_eTag; }
120 inline bool ETagHasBeenSet() const { return m_eTagHasBeenSet; }
121 template<typename ETagT = Aws::String>
122 void SetETag(ETagT&& value) { m_eTagHasBeenSet = true; m_eTag = std::forward<ETagT>(value); }
123 template<typename ETagT = Aws::String>
124 ConnectionGroupSummary& WithETag(ETagT&& value) { SetETag(std::forward<ETagT>(value)); return *this;}
126
128
131 inline const Aws::String& GetAnycastIpListId() const { return m_anycastIpListId; }
132 inline bool AnycastIpListIdHasBeenSet() const { return m_anycastIpListIdHasBeenSet; }
133 template<typename AnycastIpListIdT = Aws::String>
134 void SetAnycastIpListId(AnycastIpListIdT&& value) { m_anycastIpListIdHasBeenSet = true; m_anycastIpListId = std::forward<AnycastIpListIdT>(value); }
135 template<typename AnycastIpListIdT = Aws::String>
136 ConnectionGroupSummary& WithAnycastIpListId(AnycastIpListIdT&& value) { SetAnycastIpListId(std::forward<AnycastIpListIdT>(value)); return *this;}
138
140
143 inline bool GetEnabled() const { return m_enabled; }
144 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
145 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
146 inline ConnectionGroupSummary& WithEnabled(bool value) { SetEnabled(value); return *this;}
148
150
153 inline const Aws::String& GetStatus() const { return m_status; }
154 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
155 template<typename StatusT = Aws::String>
156 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
157 template<typename StatusT = Aws::String>
158 ConnectionGroupSummary& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
160
162
166 inline bool GetIsDefault() const { return m_isDefault; }
167 inline bool IsDefaultHasBeenSet() const { return m_isDefaultHasBeenSet; }
168 inline void SetIsDefault(bool value) { m_isDefaultHasBeenSet = true; m_isDefault = value; }
169 inline ConnectionGroupSummary& WithIsDefault(bool value) { SetIsDefault(value); return *this;}
171 private:
172
173 Aws::String m_id;
174 bool m_idHasBeenSet = false;
175
176 Aws::String m_name;
177 bool m_nameHasBeenSet = false;
178
179 Aws::String m_arn;
180 bool m_arnHasBeenSet = false;
181
182 Aws::String m_routingEndpoint;
183 bool m_routingEndpointHasBeenSet = false;
184
185 Aws::Utils::DateTime m_createdTime{};
186 bool m_createdTimeHasBeenSet = false;
187
188 Aws::Utils::DateTime m_lastModifiedTime{};
189 bool m_lastModifiedTimeHasBeenSet = false;
190
191 Aws::String m_eTag;
192 bool m_eTagHasBeenSet = false;
193
194 Aws::String m_anycastIpListId;
195 bool m_anycastIpListIdHasBeenSet = false;
196
197 bool m_enabled{false};
198 bool m_enabledHasBeenSet = false;
199
200 Aws::String m_status;
201 bool m_statusHasBeenSet = false;
202
203 bool m_isDefault{false};
204 bool m_isDefaultHasBeenSet = false;
205 };
206
207} // namespace Model
208} // namespace CloudFront
209} // 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