7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/cloudfront/model/ResponseHeadersPolicyXSSProtection.h>
9#include <aws/cloudfront/model/ResponseHeadersPolicyFrameOptions.h>
10#include <aws/cloudfront/model/ResponseHeadersPolicyReferrerPolicy.h>
11#include <aws/cloudfront/model/ResponseHeadersPolicyContentSecurityPolicy.h>
12#include <aws/cloudfront/model/ResponseHeadersPolicyContentTypeOptions.h>
13#include <aws/cloudfront/model/ResponseHeadersPolicyStrictTransportSecurity.h>
58 template<
typename XSSProtectionT = ResponseHeadersPolicyXSSProtection>
59 void SetXSSProtection(XSSProtectionT&& value) { m_xSSProtectionHasBeenSet =
true; m_xSSProtection = std::forward<XSSProtectionT>(value); }
60 template<
typename XSSProtectionT = ResponseHeadersPolicyXSSProtection>
74 template<
typename FrameOptionsT = ResponseHeadersPolicyFrameOptions>
75 void SetFrameOptions(FrameOptionsT&& value) { m_frameOptionsHasBeenSet =
true; m_frameOptions = std::forward<FrameOptionsT>(value); }
76 template<
typename FrameOptionsT = ResponseHeadersPolicyFrameOptions>
90 template<
typename ReferrerPolicyT = ResponseHeadersPolicyReferrerPolicy>
91 void SetReferrerPolicy(ReferrerPolicyT&& value) { m_referrerPolicyHasBeenSet =
true; m_referrerPolicy = std::forward<ReferrerPolicyT>(value); }
92 template<
typename ReferrerPolicyT = ResponseHeadersPolicyReferrerPolicy>
107 template<
typename ContentSecurityPolicyT = ResponseHeadersPolicyContentSecurityPolicy>
108 void SetContentSecurityPolicy(ContentSecurityPolicyT&& value) { m_contentSecurityPolicyHasBeenSet =
true; m_contentSecurityPolicy = std::forward<ContentSecurityPolicyT>(value); }
109 template<
typename ContentSecurityPolicyT = ResponseHeadersPolicyContentSecurityPolicy>
124 template<
typename ContentTypeOptionsT = ResponseHeadersPolicyContentTypeOptions>
125 void SetContentTypeOptions(ContentTypeOptionsT&& value) { m_contentTypeOptionsHasBeenSet =
true; m_contentTypeOptions = std::forward<ContentTypeOptionsT>(value); }
126 template<
typename ContentTypeOptionsT = ResponseHeadersPolicyContentTypeOptions>
143 template<
typename StrictTransportSecurityT = ResponseHeadersPolicyStrictTransportSecurity>
144 void SetStrictTransportSecurity(StrictTransportSecurityT&& value) { m_strictTransportSecurityHasBeenSet =
true; m_strictTransportSecurity = std::forward<StrictTransportSecurityT>(value); }
145 template<
typename StrictTransportSecurityT = ResponseHeadersPolicyStrictTransportSecurity>
151 bool m_xSSProtectionHasBeenSet =
false;
154 bool m_frameOptionsHasBeenSet =
false;
157 bool m_referrerPolicyHasBeenSet =
false;
160 bool m_contentSecurityPolicyHasBeenSet =
false;
163 bool m_contentTypeOptionsHasBeenSet =
false;
166 bool m_strictTransportSecurityHasBeenSet =
false;