105 inline void SetPathPattern(
const char* value) { m_pathPatternHasBeenSet =
true; m_pathPattern.assign(value); }
166 inline void SetTargetOriginId(
const char* value) { m_targetOriginIdHasBeenSet =
true; m_targetOriginId.assign(value); }
361 inline void SetMinTTL(
long long value) { m_minTTLHasBeenSet =
true; m_minTTL = value; }
397 inline void SetSmoothStreaming(
bool value) { m_smoothStreamingHasBeenSet =
true; m_smoothStreaming = value; }
426 inline void SetDefaultTTL(
long long value) { m_defaultTTLHasBeenSet =
true; m_defaultTTL = value; }
457 inline void SetMaxTTL(
long long value) { m_maxTTLHasBeenSet =
true; m_maxTTL = value; }
507 inline void SetCompress(
bool value) { m_compressHasBeenSet =
true; m_compress = value; }
531 bool m_pathPatternHasBeenSet;
533 bool m_targetOriginIdHasBeenSet;
535 bool m_forwardedValuesHasBeenSet;
537 bool m_trustedSignersHasBeenSet;
539 bool m_viewerProtocolPolicyHasBeenSet;
541 bool m_minTTLHasBeenSet;
543 bool m_allowedMethodsHasBeenSet;
544 bool m_smoothStreaming;
545 bool m_smoothStreamingHasBeenSet;
546 long long m_defaultTTL;
547 bool m_defaultTTLHasBeenSet;
549 bool m_maxTTLHasBeenSet;
551 bool m_compressHasBeenSet;
void SetForwardedValues(const ForwardedValues &value)
CacheBehavior & WithTargetOriginId(const char *value)
void SetViewerProtocolPolicy(const ViewerProtocolPolicy &value)
CacheBehavior & WithPathPattern(Aws::String &&value)
void SetPathPattern(Aws::String &&value)
const AllowedMethods & GetAllowedMethods() const
const ViewerProtocolPolicy & GetViewerProtocolPolicy() const
void SetPathPattern(const char *value)
void SetForwardedValues(ForwardedValues &&value)
void SetAllowedMethods(const AllowedMethods &value)
const Aws::String & GetPathPattern() const
CacheBehavior & WithSmoothStreaming(bool value)
CacheBehavior & WithTargetOriginId(Aws::String &&value)
void SetAllowedMethods(AllowedMethods &&value)
CacheBehavior & WithPathPattern(const char *value)
long long GetMinTTL() const
CacheBehavior & WithAllowedMethods(AllowedMethods &&value)
void SetMinTTL(long long value)
long long GetMaxTTL() const
void SetViewerProtocolPolicy(ViewerProtocolPolicy &&value)
#define AWS_CLOUDFRONT_API
CacheBehavior & WithViewerProtocolPolicy(ViewerProtocolPolicy &&value)
CacheBehavior & WithTrustedSigners(TrustedSigners &&value)
void SetTargetOriginId(const char *value)
void SetTargetOriginId(Aws::String &&value)
CacheBehavior & WithPathPattern(const Aws::String &value)
void SetDefaultTTL(long long value)
void SetTrustedSigners(TrustedSigners &&value)
CacheBehavior & WithTrustedSigners(const TrustedSigners &value)
CacheBehavior & WithCompress(bool value)
const TrustedSigners & GetTrustedSigners() const
CacheBehavior & WithDefaultTTL(long long value)
void SetTargetOriginId(const Aws::String &value)
CacheBehavior & WithMaxTTL(long long value)
long long GetDefaultTTL() const
bool GetSmoothStreaming() const
void SetCompress(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
CacheBehavior & WithTargetOriginId(const Aws::String &value)
void SetSmoothStreaming(bool value)
void SetPathPattern(const Aws::String &value)
void SetMaxTTL(long long value)
void SetTrustedSigners(const TrustedSigners &value)
const ForwardedValues & GetForwardedValues() const
const Aws::String & GetTargetOriginId() const
CacheBehavior & WithAllowedMethods(const AllowedMethods &value)
CacheBehavior & WithViewerProtocolPolicy(const ViewerProtocolPolicy &value)
CacheBehavior & WithMinTTL(long long value)
CacheBehavior & WithForwardedValues(ForwardedValues &&value)
JSON (JavaScript Object Notation).
CacheBehavior & WithForwardedValues(const ForwardedValues &value)