AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StreamingDistributionConfig.h
1
6#pragma once
7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/cloudfront/model/S3Origin.h>
10#include <aws/cloudfront/model/Aliases.h>
11#include <aws/cloudfront/model/StreamingLoggingConfig.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 StreamingDistributionConfig();
40 AWS_CLOUDFRONT_API StreamingDistributionConfig(const Aws::Utils::Xml::XmlNode& xmlNode);
42
43 AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
44
45
47
56 inline const Aws::String& GetCallerReference() const{ return m_callerReference; }
57 inline bool CallerReferenceHasBeenSet() const { return m_callerReferenceHasBeenSet; }
58 inline void SetCallerReference(const Aws::String& value) { m_callerReferenceHasBeenSet = true; m_callerReference = value; }
59 inline void SetCallerReference(Aws::String&& value) { m_callerReferenceHasBeenSet = true; m_callerReference = std::move(value); }
60 inline void SetCallerReference(const char* value) { m_callerReferenceHasBeenSet = true; m_callerReference.assign(value); }
62 inline StreamingDistributionConfig& WithCallerReference(Aws::String&& value) { SetCallerReference(std::move(value)); return *this;}
63 inline StreamingDistributionConfig& WithCallerReference(const char* value) { SetCallerReference(value); return *this;}
65
67
71 inline const S3Origin& GetS3Origin() const{ return m_s3Origin; }
72 inline bool S3OriginHasBeenSet() const { return m_s3OriginHasBeenSet; }
73 inline void SetS3Origin(const S3Origin& value) { m_s3OriginHasBeenSet = true; m_s3Origin = value; }
74 inline void SetS3Origin(S3Origin&& value) { m_s3OriginHasBeenSet = true; m_s3Origin = std::move(value); }
75 inline StreamingDistributionConfig& WithS3Origin(const S3Origin& value) { SetS3Origin(value); return *this;}
76 inline StreamingDistributionConfig& WithS3Origin(S3Origin&& value) { SetS3Origin(std::move(value)); return *this;}
78
80
84 inline const Aliases& GetAliases() const{ return m_aliases; }
85 inline bool AliasesHasBeenSet() const { return m_aliasesHasBeenSet; }
86 inline void SetAliases(const Aliases& value) { m_aliasesHasBeenSet = true; m_aliases = value; }
87 inline void SetAliases(Aliases&& value) { m_aliasesHasBeenSet = true; m_aliases = std::move(value); }
88 inline StreamingDistributionConfig& WithAliases(const Aliases& value) { SetAliases(value); return *this;}
89 inline StreamingDistributionConfig& WithAliases(Aliases&& value) { SetAliases(std::move(value)); return *this;}
91
93
96 inline const Aws::String& GetComment() const{ return m_comment; }
97 inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; }
98 inline void SetComment(const Aws::String& value) { m_commentHasBeenSet = true; m_comment = value; }
99 inline void SetComment(Aws::String&& value) { m_commentHasBeenSet = true; m_comment = std::move(value); }
100 inline void SetComment(const char* value) { m_commentHasBeenSet = true; m_comment.assign(value); }
101 inline StreamingDistributionConfig& WithComment(const Aws::String& value) { SetComment(value); return *this;}
102 inline StreamingDistributionConfig& WithComment(Aws::String&& value) { SetComment(std::move(value)); return *this;}
103 inline StreamingDistributionConfig& WithComment(const char* value) { SetComment(value); return *this;}
105
107
111 inline const StreamingLoggingConfig& GetLogging() const{ return m_logging; }
112 inline bool LoggingHasBeenSet() const { return m_loggingHasBeenSet; }
113 inline void SetLogging(const StreamingLoggingConfig& value) { m_loggingHasBeenSet = true; m_logging = value; }
114 inline void SetLogging(StreamingLoggingConfig&& value) { m_loggingHasBeenSet = true; m_logging = std::move(value); }
115 inline StreamingDistributionConfig& WithLogging(const StreamingLoggingConfig& value) { SetLogging(value); return *this;}
116 inline StreamingDistributionConfig& WithLogging(StreamingLoggingConfig&& value) { SetLogging(std::move(value)); return *this;}
118
120
130 inline const TrustedSigners& GetTrustedSigners() const{ return m_trustedSigners; }
131 inline bool TrustedSignersHasBeenSet() const { return m_trustedSignersHasBeenSet; }
132 inline void SetTrustedSigners(const TrustedSigners& value) { m_trustedSignersHasBeenSet = true; m_trustedSigners = value; }
133 inline void SetTrustedSigners(TrustedSigners&& value) { m_trustedSignersHasBeenSet = true; m_trustedSigners = std::move(value); }
135 inline StreamingDistributionConfig& WithTrustedSigners(TrustedSigners&& value) { SetTrustedSigners(std::move(value)); return *this;}
137
139
143 inline const PriceClass& GetPriceClass() const{ return m_priceClass; }
144 inline bool PriceClassHasBeenSet() const { return m_priceClassHasBeenSet; }
145 inline void SetPriceClass(const PriceClass& value) { m_priceClassHasBeenSet = true; m_priceClass = value; }
146 inline void SetPriceClass(PriceClass&& value) { m_priceClassHasBeenSet = true; m_priceClass = std::move(value); }
147 inline StreamingDistributionConfig& WithPriceClass(const PriceClass& value) { SetPriceClass(value); return *this;}
148 inline StreamingDistributionConfig& WithPriceClass(PriceClass&& value) { SetPriceClass(std::move(value)); return *this;}
150
152
156 inline bool GetEnabled() const{ return m_enabled; }
157 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
158 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
159 inline StreamingDistributionConfig& WithEnabled(bool value) { SetEnabled(value); return *this;}
161 private:
162
163 Aws::String m_callerReference;
164 bool m_callerReferenceHasBeenSet = false;
165
166 S3Origin m_s3Origin;
167 bool m_s3OriginHasBeenSet = false;
168
169 Aliases m_aliases;
170 bool m_aliasesHasBeenSet = false;
171
172 Aws::String m_comment;
173 bool m_commentHasBeenSet = false;
174
175 StreamingLoggingConfig m_logging;
176 bool m_loggingHasBeenSet = false;
177
178 TrustedSigners m_trustedSigners;
179 bool m_trustedSignersHasBeenSet = false;
180
181 PriceClass m_priceClass;
182 bool m_priceClassHasBeenSet = false;
183
184 bool m_enabled;
185 bool m_enabledHasBeenSet = false;
186 };
187
188} // namespace Model
189} // namespace CloudFront
190} // namespace Aws
StreamingDistributionConfig & WithComment(const Aws::String &value)
StreamingDistributionConfig & WithComment(Aws::String &&value)
StreamingDistributionConfig & WithPriceClass(const PriceClass &value)
StreamingDistributionConfig & WithCallerReference(const Aws::String &value)
StreamingDistributionConfig & WithTrustedSigners(const TrustedSigners &value)
StreamingDistributionConfig & WithCallerReference(const char *value)
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
StreamingDistributionConfig & WithS3Origin(const S3Origin &value)
StreamingDistributionConfig & WithLogging(const StreamingLoggingConfig &value)
StreamingDistributionConfig & WithCallerReference(Aws::String &&value)
StreamingDistributionConfig & WithLogging(StreamingLoggingConfig &&value)
StreamingDistributionConfig & WithAliases(Aliases &&value)
StreamingDistributionConfig & WithPriceClass(PriceClass &&value)
StreamingDistributionConfig & WithAliases(const Aliases &value)
AWS_CLOUDFRONT_API StreamingDistributionConfig & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
StreamingDistributionConfig & WithComment(const char *value)
AWS_CLOUDFRONT_API StreamingDistributionConfig(const Aws::Utils::Xml::XmlNode &xmlNode)
StreamingDistributionConfig & WithTrustedSigners(TrustedSigners &&value)
StreamingDistributionConfig & WithS3Origin(S3Origin &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String