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>
58 inline void SetTargetOriginId(
const char* value) { m_targetOriginIdHasBeenSet =
true; m_targetOriginId.assign(value); }
160 inline void SetSmoothStreaming(
bool value) { m_smoothStreamingHasBeenSet =
true; m_smoothStreaming = value; }
174 inline void SetCompress(
bool value) { m_compressHasBeenSet =
true; m_compress = value; }
215 inline void SetFieldLevelEncryptionId(
const char* value) { m_fieldLevelEncryptionIdHasBeenSet =
true; m_fieldLevelEncryptionId.assign(value); }
232 inline void SetRealtimeLogConfigArn(
const char* value) { m_realtimeLogConfigArnHasBeenSet =
true; m_realtimeLogConfigArn.assign(value); }
254 inline void SetCachePolicyId(
const char* value) { m_cachePolicyIdHasBeenSet =
true; m_cachePolicyId.assign(value); }
274 inline void SetOriginRequestPolicyId(
const char* value) { m_originRequestPolicyIdHasBeenSet =
true; m_originRequestPolicyId.assign(value); }
288 inline void SetResponseHeadersPolicyId(
const char* value) { m_responseHeadersPolicyIdHasBeenSet =
true; m_responseHeadersPolicyId.assign(value); }
296 bool m_targetOriginIdHasBeenSet =
false;
299 bool m_trustedSignersHasBeenSet =
false;
302 bool m_trustedKeyGroupsHasBeenSet =
false;
305 bool m_viewerProtocolPolicyHasBeenSet =
false;
308 bool m_allowedMethodsHasBeenSet =
false;
310 bool m_smoothStreaming;
311 bool m_smoothStreamingHasBeenSet =
false;
314 bool m_compressHasBeenSet =
false;
317 bool m_lambdaFunctionAssociationsHasBeenSet =
false;
320 bool m_functionAssociationsHasBeenSet =
false;
323 bool m_fieldLevelEncryptionIdHasBeenSet =
false;
326 bool m_realtimeLogConfigArnHasBeenSet =
false;
329 bool m_cachePolicyIdHasBeenSet =
false;
332 bool m_originRequestPolicyIdHasBeenSet =
false;
335 bool m_responseHeadersPolicyIdHasBeenSet =
false;
bool OriginRequestPolicyIdHasBeenSet() const
DefaultCacheBehavior & WithViewerProtocolPolicy(ViewerProtocolPolicy &&value)
DefaultCacheBehavior & WithFieldLevelEncryptionId(const char *value)
DefaultCacheBehavior & WithLambdaFunctionAssociations(LambdaFunctionAssociations &&value)
bool TrustedSignersHasBeenSet() const
DefaultCacheBehavior & WithOriginRequestPolicyId(const char *value)
bool CompressHasBeenSet() const
void SetViewerProtocolPolicy(ViewerProtocolPolicy &&value)
void SetLambdaFunctionAssociations(LambdaFunctionAssociations &&value)
DefaultCacheBehavior & WithCachePolicyId(Aws::String &&value)
const FunctionAssociations & GetFunctionAssociations() const
DefaultCacheBehavior & WithResponseHeadersPolicyId(const Aws::String &value)
bool GetSmoothStreaming() const
DefaultCacheBehavior & WithTrustedKeyGroups(TrustedKeyGroups &&value)
DefaultCacheBehavior & WithRealtimeLogConfigArn(const char *value)
void SetRealtimeLogConfigArn(const char *value)
DefaultCacheBehavior & WithFieldLevelEncryptionId(Aws::String &&value)
void SetTrustedSigners(const TrustedSigners &value)
DefaultCacheBehavior & WithOriginRequestPolicyId(const Aws::String &value)
void SetFieldLevelEncryptionId(const char *value)
DefaultCacheBehavior & WithRealtimeLogConfigArn(Aws::String &&value)
void SetOriginRequestPolicyId(Aws::String &&value)
bool CachePolicyIdHasBeenSet() const
const Aws::String & GetResponseHeadersPolicyId() const
DefaultCacheBehavior & WithResponseHeadersPolicyId(Aws::String &&value)
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
bool FunctionAssociationsHasBeenSet() const
bool AllowedMethodsHasBeenSet() const
DefaultCacheBehavior & WithRealtimeLogConfigArn(const Aws::String &value)
DefaultCacheBehavior & WithViewerProtocolPolicy(const ViewerProtocolPolicy &value)
void SetTargetOriginId(Aws::String &&value)
bool TargetOriginIdHasBeenSet() const
bool RealtimeLogConfigArnHasBeenSet() const
void SetRealtimeLogConfigArn(const Aws::String &value)
const Aws::String & GetRealtimeLogConfigArn() const
DefaultCacheBehavior & WithTargetOriginId(const char *value)
bool ResponseHeadersPolicyIdHasBeenSet() const
const Aws::String & GetFieldLevelEncryptionId() const
const Aws::String & GetOriginRequestPolicyId() const
void SetFieldLevelEncryptionId(const Aws::String &value)
void SetTargetOriginId(const Aws::String &value)
DefaultCacheBehavior & WithTrustedSigners(const TrustedSigners &value)
DefaultCacheBehavior & WithTargetOriginId(Aws::String &&value)
DefaultCacheBehavior & WithLambdaFunctionAssociations(const LambdaFunctionAssociations &value)
void SetFunctionAssociations(const FunctionAssociations &value)
void SetCachePolicyId(const Aws::String &value)
void SetAllowedMethods(const AllowedMethods &value)
DefaultCacheBehavior & WithTargetOriginId(const Aws::String &value)
DefaultCacheBehavior & WithSmoothStreaming(bool value)
void SetCachePolicyId(Aws::String &&value)
const ViewerProtocolPolicy & GetViewerProtocolPolicy() const
DefaultCacheBehavior & WithTrustedKeyGroups(const TrustedKeyGroups &value)
void SetLambdaFunctionAssociations(const LambdaFunctionAssociations &value)
const Aws::String & GetTargetOriginId() const
bool ViewerProtocolPolicyHasBeenSet() const
DefaultCacheBehavior & WithResponseHeadersPolicyId(const char *value)
DefaultCacheBehavior & WithFunctionAssociations(FunctionAssociations &&value)
void SetResponseHeadersPolicyId(const Aws::String &value)
DefaultCacheBehavior & WithCachePolicyId(const char *value)
void SetViewerProtocolPolicy(const ViewerProtocolPolicy &value)
const TrustedKeyGroups & GetTrustedKeyGroups() const
DefaultCacheBehavior & WithTrustedSigners(TrustedSigners &&value)
DefaultCacheBehavior & WithAllowedMethods(const AllowedMethods &value)
void SetTrustedKeyGroups(const TrustedKeyGroups &value)
void SetCachePolicyId(const char *value)
bool TrustedKeyGroupsHasBeenSet() const
void SetSmoothStreaming(bool value)
void SetFunctionAssociations(FunctionAssociations &&value)
void SetTrustedKeyGroups(TrustedKeyGroups &&value)
bool LambdaFunctionAssociationsHasBeenSet() const
void SetTrustedSigners(TrustedSigners &&value)
void SetOriginRequestPolicyId(const char *value)
DefaultCacheBehavior & WithFunctionAssociations(const FunctionAssociations &value)
AWS_CLOUDFRONT_API DefaultCacheBehavior & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool SmoothStreamingHasBeenSet() const
const TrustedSigners & GetTrustedSigners() const
void SetTargetOriginId(const char *value)
void SetOriginRequestPolicyId(const Aws::String &value)
void SetAllowedMethods(AllowedMethods &&value)
const AllowedMethods & GetAllowedMethods() const
DefaultCacheBehavior & WithFieldLevelEncryptionId(const Aws::String &value)
AWS_CLOUDFRONT_API DefaultCacheBehavior(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetResponseHeadersPolicyId(const char *value)
void SetFieldLevelEncryptionId(Aws::String &&value)
DefaultCacheBehavior & WithAllowedMethods(AllowedMethods &&value)
void SetResponseHeadersPolicyId(Aws::String &&value)
const LambdaFunctionAssociations & GetLambdaFunctionAssociations() const
DefaultCacheBehavior & WithCachePolicyId(const Aws::String &value)
void SetCompress(bool value)
const Aws::String & GetCachePolicyId() const
DefaultCacheBehavior & WithCompress(bool value)
AWS_CLOUDFRONT_API DefaultCacheBehavior()
DefaultCacheBehavior & WithOriginRequestPolicyId(Aws::String &&value)
void SetRealtimeLogConfigArn(Aws::String &&value)
bool FieldLevelEncryptionIdHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String