7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/cloudfront/model/TrustedSigners.h>
10#include <aws/cloudfront/model/TrustedKeyGroups.h>
11#include <aws/cloudfront/model/ViewerProtocolPolicy.h>
12#include <aws/cloudfront/model/AllowedMethods.h>
13#include <aws/cloudfront/model/LambdaFunctionAssociations.h>
14#include <aws/cloudfront/model/FunctionAssociations.h>
89 inline void SetPathPattern(
const char* value) { m_pathPatternHasBeenSet =
true; m_pathPattern.assign(value); }
104 inline void SetTargetOriginId(
const char* value) { m_targetOriginIdHasBeenSet =
true; m_targetOriginId.assign(value); }
206 inline void SetSmoothStreaming(
bool value) { m_smoothStreamingHasBeenSet =
true; m_smoothStreaming = value; }
220 inline void SetCompress(
bool value) { m_compressHasBeenSet =
true; m_compress = value; }
261 inline void SetFieldLevelEncryptionId(
const char* value) { m_fieldLevelEncryptionIdHasBeenSet =
true; m_fieldLevelEncryptionId.assign(value); }
278 inline void SetRealtimeLogConfigArn(
const char* value) { m_realtimeLogConfigArnHasBeenSet =
true; m_realtimeLogConfigArn.assign(value); }
300 inline void SetCachePolicyId(
const char* value) { m_cachePolicyIdHasBeenSet =
true; m_cachePolicyId.assign(value); }
320 inline void SetOriginRequestPolicyId(
const char* value) { m_originRequestPolicyIdHasBeenSet =
true; m_originRequestPolicyId.assign(value); }
334 inline void SetResponseHeadersPolicyId(
const char* value) { m_responseHeadersPolicyIdHasBeenSet =
true; m_responseHeadersPolicyId.assign(value); }
342 bool m_pathPatternHasBeenSet =
false;
345 bool m_targetOriginIdHasBeenSet =
false;
348 bool m_trustedSignersHasBeenSet =
false;
351 bool m_trustedKeyGroupsHasBeenSet =
false;
354 bool m_viewerProtocolPolicyHasBeenSet =
false;
357 bool m_allowedMethodsHasBeenSet =
false;
359 bool m_smoothStreaming;
360 bool m_smoothStreamingHasBeenSet =
false;
363 bool m_compressHasBeenSet =
false;
366 bool m_lambdaFunctionAssociationsHasBeenSet =
false;
369 bool m_functionAssociationsHasBeenSet =
false;
372 bool m_fieldLevelEncryptionIdHasBeenSet =
false;
375 bool m_realtimeLogConfigArnHasBeenSet =
false;
378 bool m_cachePolicyIdHasBeenSet =
false;
381 bool m_originRequestPolicyIdHasBeenSet =
false;
384 bool m_responseHeadersPolicyIdHasBeenSet =
false;
const AllowedMethods & GetAllowedMethods() const
CacheBehavior & WithAllowedMethods(const AllowedMethods &value)
CacheBehavior & WithRealtimeLogConfigArn(Aws::String &&value)
void SetViewerProtocolPolicy(const ViewerProtocolPolicy &value)
CacheBehavior & WithFieldLevelEncryptionId(Aws::String &&value)
bool TrustedKeyGroupsHasBeenSet() const
CacheBehavior & WithSmoothStreaming(bool value)
void SetFieldLevelEncryptionId(const char *value)
void SetPathPattern(Aws::String &&value)
CacheBehavior & WithLambdaFunctionAssociations(const LambdaFunctionAssociations &value)
void SetFunctionAssociations(FunctionAssociations &&value)
void SetTargetOriginId(Aws::String &&value)
void SetLambdaFunctionAssociations(LambdaFunctionAssociations &&value)
bool ViewerProtocolPolicyHasBeenSet() const
bool LambdaFunctionAssociationsHasBeenSet() const
void SetResponseHeadersPolicyId(const Aws::String &value)
CacheBehavior & WithTargetOriginId(const Aws::String &value)
CacheBehavior & WithOriginRequestPolicyId(Aws::String &&value)
void SetTrustedKeyGroups(const TrustedKeyGroups &value)
CacheBehavior & WithCachePolicyId(const char *value)
void SetResponseHeadersPolicyId(Aws::String &&value)
bool TargetOriginIdHasBeenSet() const
bool ResponseHeadersPolicyIdHasBeenSet() const
bool AllowedMethodsHasBeenSet() const
CacheBehavior & WithOriginRequestPolicyId(const char *value)
bool SmoothStreamingHasBeenSet() const
CacheBehavior & WithFieldLevelEncryptionId(const char *value)
CacheBehavior & WithCachePolicyId(const Aws::String &value)
void SetCachePolicyId(const char *value)
CacheBehavior & WithViewerProtocolPolicy(ViewerProtocolPolicy &&value)
void SetTargetOriginId(const char *value)
CacheBehavior & WithFunctionAssociations(FunctionAssociations &&value)
CacheBehavior & WithLambdaFunctionAssociations(LambdaFunctionAssociations &&value)
void SetSmoothStreaming(bool value)
void SetFieldLevelEncryptionId(const Aws::String &value)
void SetFunctionAssociations(const FunctionAssociations &value)
void SetOriginRequestPolicyId(const Aws::String &value)
CacheBehavior & WithFieldLevelEncryptionId(const Aws::String &value)
const Aws::String & GetResponseHeadersPolicyId() const
void SetCachePolicyId(const Aws::String &value)
void SetCachePolicyId(Aws::String &&value)
const Aws::String & GetRealtimeLogConfigArn() const
CacheBehavior & WithTrustedSigners(const TrustedSigners &value)
CacheBehavior & WithAllowedMethods(AllowedMethods &&value)
bool FunctionAssociationsHasBeenSet() const
CacheBehavior & WithTrustedSigners(TrustedSigners &&value)
bool CachePolicyIdHasBeenSet() const
void SetTrustedKeyGroups(TrustedKeyGroups &&value)
void SetCompress(bool value)
const Aws::String & GetCachePolicyId() const
CacheBehavior & WithResponseHeadersPolicyId(const char *value)
const Aws::String & GetFieldLevelEncryptionId() const
bool CompressHasBeenSet() const
void SetLambdaFunctionAssociations(const LambdaFunctionAssociations &value)
void SetPathPattern(const char *value)
CacheBehavior & WithPathPattern(const Aws::String &value)
CacheBehavior & WithTargetOriginId(Aws::String &&value)
const Aws::String & GetTargetOriginId() const
CacheBehavior & WithViewerProtocolPolicy(const ViewerProtocolPolicy &value)
void SetTrustedSigners(const TrustedSigners &value)
void SetViewerProtocolPolicy(ViewerProtocolPolicy &&value)
bool RealtimeLogConfigArnHasBeenSet() const
void SetRealtimeLogConfigArn(const char *value)
bool OriginRequestPolicyIdHasBeenSet() const
bool FieldLevelEncryptionIdHasBeenSet() const
AWS_CLOUDFRONT_API CacheBehavior()
const Aws::String & GetPathPattern() const
AWS_CLOUDFRONT_API CacheBehavior(const Aws::Utils::Xml::XmlNode &xmlNode)
bool PathPatternHasBeenSet() const
void SetResponseHeadersPolicyId(const char *value)
bool GetSmoothStreaming() const
void SetTrustedSigners(TrustedSigners &&value)
const FunctionAssociations & GetFunctionAssociations() const
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
CacheBehavior & WithRealtimeLogConfigArn(const char *value)
const LambdaFunctionAssociations & GetLambdaFunctionAssociations() const
CacheBehavior & WithPathPattern(Aws::String &&value)
void SetOriginRequestPolicyId(Aws::String &&value)
const TrustedKeyGroups & GetTrustedKeyGroups() const
CacheBehavior & WithPathPattern(const char *value)
const Aws::String & GetOriginRequestPolicyId() const
void SetPathPattern(const Aws::String &value)
CacheBehavior & WithCompress(bool value)
void SetAllowedMethods(const AllowedMethods &value)
const TrustedSigners & GetTrustedSigners() const
CacheBehavior & WithFunctionAssociations(const FunctionAssociations &value)
CacheBehavior & WithResponseHeadersPolicyId(Aws::String &&value)
bool TrustedSignersHasBeenSet() const
void SetTargetOriginId(const Aws::String &value)
CacheBehavior & WithRealtimeLogConfigArn(const Aws::String &value)
void SetOriginRequestPolicyId(const char *value)
void SetFieldLevelEncryptionId(Aws::String &&value)
CacheBehavior & WithTrustedKeyGroups(TrustedKeyGroups &&value)
void SetAllowedMethods(AllowedMethods &&value)
CacheBehavior & WithResponseHeadersPolicyId(const Aws::String &value)
void SetRealtimeLogConfigArn(const Aws::String &value)
CacheBehavior & WithTargetOriginId(const char *value)
CacheBehavior & WithTrustedKeyGroups(const TrustedKeyGroups &value)
CacheBehavior & WithCachePolicyId(Aws::String &&value)
AWS_CLOUDFRONT_API CacheBehavior & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
CacheBehavior & WithOriginRequestPolicyId(const Aws::String &value)
void SetRealtimeLogConfigArn(Aws::String &&value)
const ViewerProtocolPolicy & GetViewerProtocolPolicy() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String