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>
58 template<
typename CallerReferenceT = Aws::String>
59 void SetCallerReference(CallerReferenceT&& value) { m_callerReferenceHasBeenSet =
true; m_callerReference = std::forward<CallerReferenceT>(value); }
60 template<
typename CallerReferenceT = Aws::String>
71 template<
typename S3OriginT = S3Origin>
72 void SetS3Origin(S3OriginT&& value) { m_s3OriginHasBeenSet =
true; m_s3Origin = std::forward<S3OriginT>(value); }
73 template<
typename S3OriginT = S3Origin>
84 template<
typename AliasesT = Aliases>
85 void SetAliases(AliasesT&& value) { m_aliasesHasBeenSet =
true; m_aliases = std::forward<AliasesT>(value); }
86 template<
typename AliasesT = Aliases>
96 template<
typename CommentT = Aws::String>
97 void SetComment(CommentT&& value) { m_commentHasBeenSet =
true; m_comment = std::forward<CommentT>(value); }
98 template<
typename CommentT = Aws::String>
109 template<
typename LoggingT = StreamingLoggingConfig>
110 void SetLogging(LoggingT&& value) { m_loggingHasBeenSet =
true; m_logging = std::forward<LoggingT>(value); }
111 template<
typename LoggingT = StreamingLoggingConfig>
128 template<
typename TrustedSignersT = TrustedSigners>
129 void SetTrustedSigners(TrustedSignersT&& value) { m_trustedSignersHasBeenSet =
true; m_trustedSigners = std::forward<TrustedSignersT>(value); }
130 template<
typename TrustedSignersT = TrustedSigners>
152 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
158 bool m_callerReferenceHasBeenSet =
false;
161 bool m_s3OriginHasBeenSet =
false;
164 bool m_aliasesHasBeenSet =
false;
167 bool m_commentHasBeenSet =
false;
170 bool m_loggingHasBeenSet =
false;
173 bool m_trustedSignersHasBeenSet =
false;
176 bool m_priceClassHasBeenSet =
false;
178 bool m_enabled{
false};
179 bool m_enabledHasBeenSet =
false;
void SetCallerReference(CallerReferenceT &&value)
bool S3OriginHasBeenSet() const
bool PriceClassHasBeenSet() const
void SetTrustedSigners(TrustedSignersT &&value)
StreamingDistributionConfig & WithAliases(AliasesT &&value)
AWS_CLOUDFRONT_API StreamingDistributionConfig()=default
void SetS3Origin(S3OriginT &&value)
bool LoggingHasBeenSet() const
StreamingDistributionConfig & WithComment(CommentT &&value)
StreamingDistributionConfig & WithCallerReference(CallerReferenceT &&value)
const StreamingLoggingConfig & GetLogging() const
bool TrustedSignersHasBeenSet() const
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
void SetLogging(LoggingT &&value)
bool EnabledHasBeenSet() const
const TrustedSigners & GetTrustedSigners() const
StreamingDistributionConfig & WithS3Origin(S3OriginT &&value)
PriceClass GetPriceClass() const
StreamingDistributionConfig & WithEnabled(bool value)
bool CallerReferenceHasBeenSet() const
StreamingDistributionConfig & WithLogging(LoggingT &&value)
const Aws::String & GetComment() const
StreamingDistributionConfig & WithTrustedSigners(TrustedSignersT &&value)
void SetComment(CommentT &&value)
const Aliases & GetAliases() const
AWS_CLOUDFRONT_API StreamingDistributionConfig & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const S3Origin & GetS3Origin() const
StreamingDistributionConfig & WithPriceClass(PriceClass value)
bool AliasesHasBeenSet() const
AWS_CLOUDFRONT_API StreamingDistributionConfig(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetEnabled(bool value)
bool CommentHasBeenSet() const
void SetAliases(AliasesT &&value)
const Aws::String & GetCallerReference() const
void SetPriceClass(PriceClass value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String