AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
54 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
55 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
56 inline StreamingDistributionSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
57 inline StreamingDistributionSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
58 inline StreamingDistributionSummary& WithId(const char* value) { SetId(value); return *this;}
60
62
67 inline const Aws::String& GetARN() const{ return m_aRN; }
68 inline bool ARNHasBeenSet() const { return m_aRNHasBeenSet; }
69 inline void SetARN(const Aws::String& value) { m_aRNHasBeenSet = true; m_aRN = value; }
70 inline void SetARN(Aws::String&& value) { m_aRNHasBeenSet = true; m_aRN = std::move(value); }
71 inline void SetARN(const char* value) { m_aRNHasBeenSet = true; m_aRN.assign(value); }
72 inline StreamingDistributionSummary& WithARN(const Aws::String& value) { SetARN(value); return *this;}
73 inline StreamingDistributionSummary& WithARN(Aws::String&& value) { SetARN(std::move(value)); return *this;}
74 inline StreamingDistributionSummary& WithARN(const char* value) { SetARN(value); return *this;}
76
78
83 inline const Aws::String& GetStatus() const{ return m_status; }
84 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
85 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
86 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
87 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
88 inline StreamingDistributionSummary& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
89 inline StreamingDistributionSummary& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
90 inline StreamingDistributionSummary& WithStatus(const char* value) { SetStatus(value); return *this;}
92
94
97 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
98 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
99 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
100 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
104
106
110 inline const Aws::String& GetDomainName() const{ return m_domainName; }
111 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
112 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
113 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
114 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
115 inline StreamingDistributionSummary& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
116 inline StreamingDistributionSummary& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
117 inline StreamingDistributionSummary& WithDomainName(const char* value) { SetDomainName(value); return *this;}
119
121
125 inline const S3Origin& GetS3Origin() const{ return m_s3Origin; }
126 inline bool S3OriginHasBeenSet() const { return m_s3OriginHasBeenSet; }
127 inline void SetS3Origin(const S3Origin& value) { m_s3OriginHasBeenSet = true; m_s3Origin = value; }
128 inline void SetS3Origin(S3Origin&& value) { m_s3OriginHasBeenSet = true; m_s3Origin = std::move(value); }
129 inline StreamingDistributionSummary& WithS3Origin(const S3Origin& value) { SetS3Origin(value); return *this;}
130 inline StreamingDistributionSummary& WithS3Origin(S3Origin&& value) { SetS3Origin(std::move(value)); return *this;}
132
134
138 inline const Aliases& GetAliases() const{ return m_aliases; }
139 inline bool AliasesHasBeenSet() const { return m_aliasesHasBeenSet; }
140 inline void SetAliases(const Aliases& value) { m_aliasesHasBeenSet = true; m_aliases = value; }
141 inline void SetAliases(Aliases&& value) { m_aliasesHasBeenSet = true; m_aliases = std::move(value); }
142 inline StreamingDistributionSummary& WithAliases(const Aliases& value) { SetAliases(value); return *this;}
143 inline StreamingDistributionSummary& WithAliases(Aliases&& value) { SetAliases(std::move(value)); return *this;}
145
147
165 inline const TrustedSigners& GetTrustedSigners() const{ return m_trustedSigners; }
166 inline bool TrustedSignersHasBeenSet() const { return m_trustedSignersHasBeenSet; }
167 inline void SetTrustedSigners(const TrustedSigners& value) { m_trustedSignersHasBeenSet = true; m_trustedSigners = value; }
168 inline void SetTrustedSigners(TrustedSigners&& value) { m_trustedSignersHasBeenSet = true; m_trustedSigners = std::move(value); }
170 inline StreamingDistributionSummary& WithTrustedSigners(TrustedSigners&& value) { SetTrustedSigners(std::move(value)); return *this;}
172
174
177 inline const Aws::String& GetComment() const{ return m_comment; }
178 inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; }
179 inline void SetComment(const Aws::String& value) { m_commentHasBeenSet = true; m_comment = value; }
180 inline void SetComment(Aws::String&& value) { m_commentHasBeenSet = true; m_comment = std::move(value); }
181 inline void SetComment(const char* value) { m_commentHasBeenSet = true; m_comment.assign(value); }
182 inline StreamingDistributionSummary& WithComment(const Aws::String& value) { SetComment(value); return *this;}
183 inline StreamingDistributionSummary& WithComment(Aws::String&& value) { SetComment(std::move(value)); return *this;}
184 inline StreamingDistributionSummary& WithComment(const char* value) { SetComment(value); return *this;}
186
188
192 inline const PriceClass& GetPriceClass() const{ return m_priceClass; }
193 inline bool PriceClassHasBeenSet() const { return m_priceClassHasBeenSet; }
194 inline void SetPriceClass(const PriceClass& value) { m_priceClassHasBeenSet = true; m_priceClass = value; }
195 inline void SetPriceClass(PriceClass&& value) { m_priceClassHasBeenSet = true; m_priceClass = std::move(value); }
196 inline StreamingDistributionSummary& WithPriceClass(const PriceClass& value) { SetPriceClass(value); return *this;}
197 inline StreamingDistributionSummary& WithPriceClass(PriceClass&& value) { SetPriceClass(std::move(value)); return *this;}
199
201
205 inline bool GetEnabled() const{ return m_enabled; }
206 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
207 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
208 inline StreamingDistributionSummary& WithEnabled(bool value) { SetEnabled(value); return *this;}
210 private:
211
212 Aws::String m_id;
213 bool m_idHasBeenSet = false;
214
215 Aws::String m_aRN;
216 bool m_aRNHasBeenSet = false;
217
218 Aws::String m_status;
219 bool m_statusHasBeenSet = false;
220
221 Aws::Utils::DateTime m_lastModifiedTime;
222 bool m_lastModifiedTimeHasBeenSet = false;
223
224 Aws::String m_domainName;
225 bool m_domainNameHasBeenSet = false;
226
227 S3Origin m_s3Origin;
228 bool m_s3OriginHasBeenSet = false;
229
230 Aliases m_aliases;
231 bool m_aliasesHasBeenSet = false;
232
233 TrustedSigners m_trustedSigners;
234 bool m_trustedSignersHasBeenSet = false;
235
236 Aws::String m_comment;
237 bool m_commentHasBeenSet = false;
238
239 PriceClass m_priceClass;
240 bool m_priceClassHasBeenSet = false;
241
242 bool m_enabled;
243 bool m_enabledHasBeenSet = false;
244 };
245
246} // namespace Model
247} // namespace CloudFront
248} // namespace Aws
StreamingDistributionSummary & WithS3Origin(const S3Origin &value)
StreamingDistributionSummary & WithPriceClass(PriceClass &&value)
StreamingDistributionSummary & WithId(const Aws::String &value)
StreamingDistributionSummary & WithTrustedSigners(const TrustedSigners &value)
StreamingDistributionSummary & WithId(Aws::String &&value)
StreamingDistributionSummary & WithComment(Aws::String &&value)
StreamingDistributionSummary & WithARN(const Aws::String &value)
StreamingDistributionSummary & WithStatus(const Aws::String &value)
StreamingDistributionSummary & WithARN(Aws::String &&value)
StreamingDistributionSummary & WithTrustedSigners(TrustedSigners &&value)
StreamingDistributionSummary & WithStatus(Aws::String &&value)
StreamingDistributionSummary & WithARN(const char *value)
StreamingDistributionSummary & WithStatus(const char *value)
StreamingDistributionSummary & WithLastModifiedTime(const Aws::Utils::DateTime &value)
StreamingDistributionSummary & WithDomainName(const char *value)
StreamingDistributionSummary & WithComment(const Aws::String &value)
StreamingDistributionSummary & WithS3Origin(S3Origin &&value)
AWS_CLOUDFRONT_API StreamingDistributionSummary & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
StreamingDistributionSummary & WithPriceClass(const PriceClass &value)
StreamingDistributionSummary & WithComment(const char *value)
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
StreamingDistributionSummary & WithId(const char *value)
StreamingDistributionSummary & WithDomainName(Aws::String &&value)
StreamingDistributionSummary & WithAliases(const Aliases &value)
StreamingDistributionSummary & WithDomainName(const Aws::String &value)
StreamingDistributionSummary & WithAliases(Aliases &&value)
StreamingDistributionSummary & WithLastModifiedTime(Aws::Utils::DateTime &&value)
AWS_CLOUDFRONT_API StreamingDistributionSummary(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String