AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
StreamingDistributionSummary.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 <aws/cloudfront/model/S3Origin.h>
11#include <aws/cloudfront/model/Aliases.h>
12#include <aws/cloudfront/model/TrustedSigners.h>
13#include <aws/cloudfront/model/PriceClass.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Xml
21{
22 class XmlNode;
23} // namespace Xml
24} // namespace Utils
25namespace CloudFront
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_CLOUDFRONT_API StreamingDistributionSummary() = default;
40 AWS_CLOUDFRONT_API StreamingDistributionSummary(const Aws::Utils::Xml::XmlNode& xmlNode);
42
43 AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
44
45
47
51 inline const Aws::String& GetId() const { return m_id; }
52 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
53 template<typename IdT = Aws::String>
54 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
55 template<typename IdT = Aws::String>
56 StreamingDistributionSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
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) { m_aRNHasBeenSet = true; m_aRN = std::forward<ARNT>(value); }
69 template<typename ARNT = Aws::String>
70 StreamingDistributionSummary& WithARN(ARNT&& value) { SetARN(std::forward<ARNT>(value)); return *this;}
72
74
79 inline const Aws::String& GetStatus() const { return m_status; }
80 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
81 template<typename StatusT = Aws::String>
82 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
83 template<typename StatusT = Aws::String>
84 StreamingDistributionSummary& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
86
88
91 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
92 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
93 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
94 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
95 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
96 StreamingDistributionSummary& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
98
100
104 inline const Aws::String& GetDomainName() const { return m_domainName; }
105 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
106 template<typename DomainNameT = Aws::String>
107 void SetDomainName(DomainNameT&& value) { m_domainNameHasBeenSet = true; m_domainName = std::forward<DomainNameT>(value); }
108 template<typename DomainNameT = Aws::String>
109 StreamingDistributionSummary& WithDomainName(DomainNameT&& value) { SetDomainName(std::forward<DomainNameT>(value)); return *this;}
111
113
117 inline const S3Origin& GetS3Origin() const { return m_s3Origin; }
118 inline bool S3OriginHasBeenSet() const { return m_s3OriginHasBeenSet; }
119 template<typename S3OriginT = S3Origin>
120 void SetS3Origin(S3OriginT&& value) { m_s3OriginHasBeenSet = true; m_s3Origin = std::forward<S3OriginT>(value); }
121 template<typename S3OriginT = S3Origin>
122 StreamingDistributionSummary& WithS3Origin(S3OriginT&& value) { SetS3Origin(std::forward<S3OriginT>(value)); return *this;}
124
126
130 inline const Aliases& GetAliases() const { return m_aliases; }
131 inline bool AliasesHasBeenSet() const { return m_aliasesHasBeenSet; }
132 template<typename AliasesT = Aliases>
133 void SetAliases(AliasesT&& value) { m_aliasesHasBeenSet = true; m_aliases = std::forward<AliasesT>(value); }
134 template<typename AliasesT = Aliases>
135 StreamingDistributionSummary& WithAliases(AliasesT&& value) { SetAliases(std::forward<AliasesT>(value)); return *this;}
137
139
157 inline const TrustedSigners& GetTrustedSigners() const { return m_trustedSigners; }
158 inline bool TrustedSignersHasBeenSet() const { return m_trustedSignersHasBeenSet; }
159 template<typename TrustedSignersT = TrustedSigners>
160 void SetTrustedSigners(TrustedSignersT&& value) { m_trustedSignersHasBeenSet = true; m_trustedSigners = std::forward<TrustedSignersT>(value); }
161 template<typename TrustedSignersT = TrustedSigners>
162 StreamingDistributionSummary& WithTrustedSigners(TrustedSignersT&& value) { SetTrustedSigners(std::forward<TrustedSignersT>(value)); return *this;}
164
166
169 inline const Aws::String& GetComment() const { return m_comment; }
170 inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; }
171 template<typename CommentT = Aws::String>
172 void SetComment(CommentT&& value) { m_commentHasBeenSet = true; m_comment = std::forward<CommentT>(value); }
173 template<typename CommentT = Aws::String>
174 StreamingDistributionSummary& WithComment(CommentT&& value) { SetComment(std::forward<CommentT>(value)); return *this;}
176
178
182 inline PriceClass GetPriceClass() const { return m_priceClass; }
183 inline bool PriceClassHasBeenSet() const { return m_priceClassHasBeenSet; }
184 inline void SetPriceClass(PriceClass value) { m_priceClassHasBeenSet = true; m_priceClass = value; }
187
189
193 inline bool GetEnabled() const { return m_enabled; }
194 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
195 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
196 inline StreamingDistributionSummary& WithEnabled(bool value) { SetEnabled(value); return *this;}
198 private:
199
200 Aws::String m_id;
201 bool m_idHasBeenSet = false;
202
203 Aws::String m_aRN;
204 bool m_aRNHasBeenSet = false;
205
206 Aws::String m_status;
207 bool m_statusHasBeenSet = false;
208
209 Aws::Utils::DateTime m_lastModifiedTime{};
210 bool m_lastModifiedTimeHasBeenSet = false;
211
212 Aws::String m_domainName;
213 bool m_domainNameHasBeenSet = false;
214
215 S3Origin m_s3Origin;
216 bool m_s3OriginHasBeenSet = false;
217
218 Aliases m_aliases;
219 bool m_aliasesHasBeenSet = false;
220
221 TrustedSigners m_trustedSigners;
222 bool m_trustedSignersHasBeenSet = false;
223
224 Aws::String m_comment;
225 bool m_commentHasBeenSet = false;
226
227 PriceClass m_priceClass{PriceClass::NOT_SET};
228 bool m_priceClassHasBeenSet = false;
229
230 bool m_enabled{false};
231 bool m_enabledHasBeenSet = false;
232 };
233
234} // namespace Model
235} // namespace CloudFront
236} // 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