AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
StreamingDistributionSummary.h
1
6#pragma once
7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/cloudfront/model/Aliases.h>
9#include <aws/cloudfront/model/PriceClass.h>
10#include <aws/cloudfront/model/S3Origin.h>
11#include <aws/cloudfront/model/TrustedSigners.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14
15#include <utility>
16
17namespace Aws {
18namespace Utils {
19namespace Xml {
20class XmlNode;
21} // namespace Xml
22} // namespace Utils
23namespace CloudFront {
24namespace Model {
25
33 public:
34 AWS_CLOUDFRONT_API StreamingDistributionSummary() = default;
35 AWS_CLOUDFRONT_API StreamingDistributionSummary(const Aws::Utils::Xml::XmlNode& xmlNode);
37
38 AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
39
41
45 inline const Aws::String& GetId() const { return m_id; }
46 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
47 template <typename IdT = Aws::String>
48 void SetId(IdT&& value) {
49 m_idHasBeenSet = true;
50 m_id = std::forward<IdT>(value);
51 }
52 template <typename IdT = Aws::String>
54 SetId(std::forward<IdT>(value));
55 return *this;
56 }
58
60
65 inline const Aws::String& GetARN() const { return m_aRN; }
66 inline bool ARNHasBeenSet() const { return m_aRNHasBeenSet; }
67 template <typename ARNT = Aws::String>
68 void SetARN(ARNT&& value) {
69 m_aRNHasBeenSet = true;
70 m_aRN = std::forward<ARNT>(value);
71 }
72 template <typename ARNT = Aws::String>
74 SetARN(std::forward<ARNT>(value));
75 return *this;
76 }
78
80
85 inline const Aws::String& GetStatus() const { return m_status; }
86 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
87 template <typename StatusT = Aws::String>
88 void SetStatus(StatusT&& value) {
89 m_statusHasBeenSet = true;
90 m_status = std::forward<StatusT>(value);
91 }
92 template <typename StatusT = Aws::String>
94 SetStatus(std::forward<StatusT>(value));
95 return *this;
96 }
98
100
103 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
104 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
105 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
106 void SetLastModifiedTime(LastModifiedTimeT&& value) {
107 m_lastModifiedTimeHasBeenSet = true;
108 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
109 }
110 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
112 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
113 return *this;
114 }
116
118
122 inline const Aws::String& GetDomainName() const { return m_domainName; }
123 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
124 template <typename DomainNameT = Aws::String>
125 void SetDomainName(DomainNameT&& value) {
126 m_domainNameHasBeenSet = true;
127 m_domainName = std::forward<DomainNameT>(value);
128 }
129 template <typename DomainNameT = Aws::String>
131 SetDomainName(std::forward<DomainNameT>(value));
132 return *this;
133 }
135
137
141 inline const S3Origin& GetS3Origin() const { return m_s3Origin; }
142 inline bool S3OriginHasBeenSet() const { return m_s3OriginHasBeenSet; }
143 template <typename S3OriginT = S3Origin>
144 void SetS3Origin(S3OriginT&& value) {
145 m_s3OriginHasBeenSet = true;
146 m_s3Origin = std::forward<S3OriginT>(value);
147 }
148 template <typename S3OriginT = S3Origin>
150 SetS3Origin(std::forward<S3OriginT>(value));
151 return *this;
152 }
154
156
160 inline const Aliases& GetAliases() const { return m_aliases; }
161 inline bool AliasesHasBeenSet() const { return m_aliasesHasBeenSet; }
162 template <typename AliasesT = Aliases>
163 void SetAliases(AliasesT&& value) {
164 m_aliasesHasBeenSet = true;
165 m_aliases = std::forward<AliasesT>(value);
166 }
167 template <typename AliasesT = Aliases>
169 SetAliases(std::forward<AliasesT>(value));
170 return *this;
171 }
173
175
193 inline const TrustedSigners& GetTrustedSigners() const { return m_trustedSigners; }
194 inline bool TrustedSignersHasBeenSet() const { return m_trustedSignersHasBeenSet; }
195 template <typename TrustedSignersT = TrustedSigners>
196 void SetTrustedSigners(TrustedSignersT&& value) {
197 m_trustedSignersHasBeenSet = true;
198 m_trustedSigners = std::forward<TrustedSignersT>(value);
199 }
200 template <typename TrustedSignersT = TrustedSigners>
202 SetTrustedSigners(std::forward<TrustedSignersT>(value));
203 return *this;
204 }
206
208
211 inline const Aws::String& GetComment() const { return m_comment; }
212 inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; }
213 template <typename CommentT = Aws::String>
214 void SetComment(CommentT&& value) {
215 m_commentHasBeenSet = true;
216 m_comment = std::forward<CommentT>(value);
217 }
218 template <typename CommentT = Aws::String>
220 SetComment(std::forward<CommentT>(value));
221 return *this;
222 }
224
226
230 inline PriceClass GetPriceClass() const { return m_priceClass; }
231 inline bool PriceClassHasBeenSet() const { return m_priceClassHasBeenSet; }
232 inline void SetPriceClass(PriceClass value) {
233 m_priceClassHasBeenSet = true;
234 m_priceClass = value;
235 }
237 SetPriceClass(value);
238 return *this;
239 }
241
243
247 inline bool GetEnabled() const { return m_enabled; }
248 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
249 inline void SetEnabled(bool value) {
250 m_enabledHasBeenSet = true;
251 m_enabled = value;
252 }
254 SetEnabled(value);
255 return *this;
256 }
258 private:
259 Aws::String m_id;
260
261 Aws::String m_aRN;
262
263 Aws::String m_status;
264
265 Aws::Utils::DateTime m_lastModifiedTime{};
266
267 Aws::String m_domainName;
268
269 S3Origin m_s3Origin;
270
271 Aliases m_aliases;
272
273 TrustedSigners m_trustedSigners;
274
275 Aws::String m_comment;
276
277 PriceClass m_priceClass{PriceClass::NOT_SET};
278
279 bool m_enabled{false};
280 bool m_idHasBeenSet = false;
281 bool m_aRNHasBeenSet = false;
282 bool m_statusHasBeenSet = false;
283 bool m_lastModifiedTimeHasBeenSet = false;
284 bool m_domainNameHasBeenSet = false;
285 bool m_s3OriginHasBeenSet = false;
286 bool m_aliasesHasBeenSet = false;
287 bool m_trustedSignersHasBeenSet = false;
288 bool m_commentHasBeenSet = false;
289 bool m_priceClassHasBeenSet = false;
290 bool m_enabledHasBeenSet = false;
291};
292
293} // namespace Model
294} // namespace CloudFront
295} // namespace Aws
StreamingDistributionSummary & WithS3Origin(S3OriginT &&value)
StreamingDistributionSummary & WithStatus(StatusT &&value)
StreamingDistributionSummary & WithPriceClass(PriceClass value)
StreamingDistributionSummary & WithARN(ARNT &&value)
StreamingDistributionSummary & WithLastModifiedTime(LastModifiedTimeT &&value)
AWS_CLOUDFRONT_API StreamingDistributionSummary()=default
StreamingDistributionSummary & WithTrustedSigners(TrustedSignersT &&value)
StreamingDistributionSummary & WithDomainName(DomainNameT &&value)
StreamingDistributionSummary & WithAliases(AliasesT &&value)
AWS_CLOUDFRONT_API StreamingDistributionSummary & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
StreamingDistributionSummary & WithComment(CommentT &&value)
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AWS_CLOUDFRONT_API StreamingDistributionSummary(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String