/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Determines whether CloudFront includes the For more information about the
* X-Frame-Options
HTTP
* response header and the header's value.X-Frame-Options
HTTP response header, see X-Frame-Options
* in the MDN Web Docs.See Also:
AWS
* API Reference
A Boolean that determines whether CloudFront overrides the
* X-Frame-Options
HTTP response header received from the origin with
* the one specified in this response headers policy.
A Boolean that determines whether CloudFront overrides the
* X-Frame-Options
HTTP response header received from the origin with
* the one specified in this response headers policy.
A Boolean that determines whether CloudFront overrides the
* X-Frame-Options
HTTP response header received from the origin with
* the one specified in this response headers policy.
A Boolean that determines whether CloudFront overrides the
* X-Frame-Options
HTTP response header received from the origin with
* the one specified in this response headers policy.
The value of the X-Frame-Options
HTTP response header. Valid
* values are DENY
and SAMEORIGIN
.
For more * information about these values, see X-Frame-Options * in the MDN Web Docs.
*/ inline const FrameOptionsList& GetFrameOption() const{ return m_frameOption; } /** *The value of the X-Frame-Options
HTTP response header. Valid
* values are DENY
and SAMEORIGIN
.
For more * information about these values, see X-Frame-Options * in the MDN Web Docs.
*/ inline bool FrameOptionHasBeenSet() const { return m_frameOptionHasBeenSet; } /** *The value of the X-Frame-Options
HTTP response header. Valid
* values are DENY
and SAMEORIGIN
.
For more * information about these values, see X-Frame-Options * in the MDN Web Docs.
*/ inline void SetFrameOption(const FrameOptionsList& value) { m_frameOptionHasBeenSet = true; m_frameOption = value; } /** *The value of the X-Frame-Options
HTTP response header. Valid
* values are DENY
and SAMEORIGIN
.
For more * information about these values, see X-Frame-Options * in the MDN Web Docs.
*/ inline void SetFrameOption(FrameOptionsList&& value) { m_frameOptionHasBeenSet = true; m_frameOption = std::move(value); } /** *The value of the X-Frame-Options
HTTP response header. Valid
* values are DENY
and SAMEORIGIN
.
For more * information about these values, see X-Frame-Options * in the MDN Web Docs.
*/ inline ResponseHeadersPolicyFrameOptions& WithFrameOption(const FrameOptionsList& value) { SetFrameOption(value); return *this;} /** *The value of the X-Frame-Options
HTTP response header. Valid
* values are DENY
and SAMEORIGIN
.
For more * information about these values, see X-Frame-Options * in the MDN Web Docs.
*/ inline ResponseHeadersPolicyFrameOptions& WithFrameOption(FrameOptionsList&& value) { SetFrameOption(std::move(value)); return *this;} private: bool m_override; bool m_overrideHasBeenSet = false; FrameOptionsList m_frameOption; bool m_frameOptionHasBeenSet = false; }; } // namespace Model } // namespace CloudFront } // namespace Aws