77 inline void SetTargetOriginId(
const char* value) { m_targetOriginIdHasBeenSet =
true; m_targetOriginId.assign(value); }
272 inline void SetMinTTL(
long long value) { m_minTTLHasBeenSet =
true; m_minTTL = value; }
308 inline void SetSmoothStreaming(
bool value) { m_smoothStreamingHasBeenSet =
true; m_smoothStreaming = value; }
337 inline void SetDefaultTTL(
long long value) { m_defaultTTLHasBeenSet =
true; m_defaultTTL = value; }
368 inline void SetMaxTTL(
long long value) { m_maxTTLHasBeenSet =
true; m_maxTTL = value; }
418 inline void SetCompress(
bool value) { m_compressHasBeenSet =
true; m_compress = value; }
442 bool m_targetOriginIdHasBeenSet;
444 bool m_forwardedValuesHasBeenSet;
446 bool m_trustedSignersHasBeenSet;
448 bool m_viewerProtocolPolicyHasBeenSet;
450 bool m_minTTLHasBeenSet;
452 bool m_allowedMethodsHasBeenSet;
453 bool m_smoothStreaming;
454 bool m_smoothStreamingHasBeenSet;
455 long long m_defaultTTL;
456 bool m_defaultTTLHasBeenSet;
458 bool m_maxTTLHasBeenSet;
460 bool m_compressHasBeenSet;
DefaultCacheBehavior & WithTargetOriginId(const char *value)
DefaultCacheBehavior & WithTrustedSigners(TrustedSigners &&value)
void SetTargetOriginId(const Aws::String &value)
void SetForwardedValues(const ForwardedValues &value)
void SetSmoothStreaming(bool value)
DefaultCacheBehavior & WithMinTTL(long long value)
DefaultCacheBehavior & WithSmoothStreaming(bool value)
void SetViewerProtocolPolicy(const ViewerProtocolPolicy &value)
bool GetSmoothStreaming() const
long long GetDefaultTTL() const
DefaultCacheBehavior & WithTargetOriginId(Aws::String &&value)
long long GetMaxTTL() const
const ViewerProtocolPolicy & GetViewerProtocolPolicy() const
void SetTargetOriginId(const char *value)
DefaultCacheBehavior & WithViewerProtocolPolicy(ViewerProtocolPolicy &&value)
void SetTargetOriginId(Aws::String &&value)
DefaultCacheBehavior & WithForwardedValues(ForwardedValues &&value)
DefaultCacheBehavior & WithDefaultTTL(long long value)
DefaultCacheBehavior & WithMaxTTL(long long value)
DefaultCacheBehavior & WithForwardedValues(const ForwardedValues &value)
const ForwardedValues & GetForwardedValues() const
void SetMinTTL(long long value)
#define AWS_CLOUDFRONT_API
DefaultCacheBehavior & WithTrustedSigners(const TrustedSigners &value)
DefaultCacheBehavior & WithAllowedMethods(AllowedMethods &&value)
const Aws::String & GetTargetOriginId() const
long long GetMinTTL() const
void SetAllowedMethods(AllowedMethods &&value)
void SetViewerProtocolPolicy(ViewerProtocolPolicy &&value)
const TrustedSigners & GetTrustedSigners() const
DefaultCacheBehavior & WithTargetOriginId(const Aws::String &value)
void SetTrustedSigners(TrustedSigners &&value)
void SetTrustedSigners(const TrustedSigners &value)
void SetCompress(bool value)
void SetAllowedMethods(const AllowedMethods &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
DefaultCacheBehavior & WithViewerProtocolPolicy(const ViewerProtocolPolicy &value)
void SetMaxTTL(long long value)
void SetDefaultTTL(long long value)
const AllowedMethods & GetAllowedMethods() const
DefaultCacheBehavior & WithAllowedMethods(const AllowedMethods &value)
JSON (JavaScript Object Notation).
void SetForwardedValues(ForwardedValues &&value)
DefaultCacheBehavior & WithCompress(bool value)