AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ResponseHeadersPolicyContentSecurityPolicy.h
1
6#pragma once
7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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
36 {
37 public:
41
42 AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
43
44
46
51 inline bool GetOverride() const{ return m_override; }
52 inline bool OverrideHasBeenSet() const { return m_overrideHasBeenSet; }
53 inline void SetOverride(bool value) { m_overrideHasBeenSet = true; m_override = value; }
54 inline ResponseHeadersPolicyContentSecurityPolicy& WithOverride(bool value) { SetOverride(value); return *this;}
56
58
62 inline const Aws::String& GetContentSecurityPolicy() const{ return m_contentSecurityPolicy; }
63 inline bool ContentSecurityPolicyHasBeenSet() const { return m_contentSecurityPolicyHasBeenSet; }
64 inline void SetContentSecurityPolicy(const Aws::String& value) { m_contentSecurityPolicyHasBeenSet = true; m_contentSecurityPolicy = value; }
65 inline void SetContentSecurityPolicy(Aws::String&& value) { m_contentSecurityPolicyHasBeenSet = true; m_contentSecurityPolicy = std::move(value); }
66 inline void SetContentSecurityPolicy(const char* value) { m_contentSecurityPolicyHasBeenSet = true; m_contentSecurityPolicy.assign(value); }
71 private:
72
73 bool m_override;
74 bool m_overrideHasBeenSet = false;
75
76 Aws::String m_contentSecurityPolicy;
77 bool m_contentSecurityPolicyHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace CloudFront
82} // namespace Aws
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
ResponseHeadersPolicyContentSecurityPolicy & WithContentSecurityPolicy(const char *value)
ResponseHeadersPolicyContentSecurityPolicy & WithContentSecurityPolicy(Aws::String &&value)
AWS_CLOUDFRONT_API ResponseHeadersPolicyContentSecurityPolicy(const Aws::Utils::Xml::XmlNode &xmlNode)
ResponseHeadersPolicyContentSecurityPolicy & WithContentSecurityPolicy(const Aws::String &value)
AWS_CLOUDFRONT_API ResponseHeadersPolicyContentSecurityPolicy & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String