AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ResponseHeadersPolicyFrameOptions.h
1
6#pragma once
7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/cloudfront/model/FrameOptionsList.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Xml
16{
17 class XmlNode;
18} // namespace Xml
19} // namespace Utils
20namespace CloudFront
21{
22namespace Model
23{
24
35 {
36 public:
40
41 AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
42
43
45
50 inline bool GetOverride() const{ return m_override; }
51 inline bool OverrideHasBeenSet() const { return m_overrideHasBeenSet; }
52 inline void SetOverride(bool value) { m_overrideHasBeenSet = true; m_override = value; }
53 inline ResponseHeadersPolicyFrameOptions& WithOverride(bool value) { SetOverride(value); return *this;}
55
57
64 inline const FrameOptionsList& GetFrameOption() const{ return m_frameOption; }
65 inline bool FrameOptionHasBeenSet() const { return m_frameOptionHasBeenSet; }
66 inline void SetFrameOption(const FrameOptionsList& value) { m_frameOptionHasBeenSet = true; m_frameOption = value; }
67 inline void SetFrameOption(FrameOptionsList&& value) { m_frameOptionHasBeenSet = true; m_frameOption = std::move(value); }
69 inline ResponseHeadersPolicyFrameOptions& WithFrameOption(FrameOptionsList&& value) { SetFrameOption(std::move(value)); return *this;}
71 private:
72
73 bool m_override;
74 bool m_overrideHasBeenSet = false;
75
76 FrameOptionsList m_frameOption;
77 bool m_frameOptionHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace CloudFront
82} // namespace Aws
ResponseHeadersPolicyFrameOptions & WithFrameOption(FrameOptionsList &&value)
AWS_CLOUDFRONT_API ResponseHeadersPolicyFrameOptions(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AWS_CLOUDFRONT_API ResponseHeadersPolicyFrameOptions & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ResponseHeadersPolicyFrameOptions & WithFrameOption(const FrameOptionsList &value)