AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ResponseHeadersPolicyRemoveHeader.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
33 {
34 public:
38
39 AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
40
41
43
46 inline const Aws::String& GetHeader() const{ return m_header; }
47 inline bool HeaderHasBeenSet() const { return m_headerHasBeenSet; }
48 inline void SetHeader(const Aws::String& value) { m_headerHasBeenSet = true; m_header = value; }
49 inline void SetHeader(Aws::String&& value) { m_headerHasBeenSet = true; m_header = std::move(value); }
50 inline void SetHeader(const char* value) { m_headerHasBeenSet = true; m_header.assign(value); }
51 inline ResponseHeadersPolicyRemoveHeader& WithHeader(const Aws::String& value) { SetHeader(value); return *this;}
52 inline ResponseHeadersPolicyRemoveHeader& WithHeader(Aws::String&& value) { SetHeader(std::move(value)); return *this;}
53 inline ResponseHeadersPolicyRemoveHeader& WithHeader(const char* value) { SetHeader(value); return *this;}
55 private:
56
57 Aws::String m_header;
58 bool m_headerHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace CloudFront
63} // namespace Aws
ResponseHeadersPolicyRemoveHeader & WithHeader(const char *value)
AWS_CLOUDFRONT_API ResponseHeadersPolicyRemoveHeader & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ResponseHeadersPolicyRemoveHeader & WithHeader(Aws::String &&value)
ResponseHeadersPolicyRemoveHeader & WithHeader(const Aws::String &value)
AWS_CLOUDFRONT_API ResponseHeadersPolicyRemoveHeader(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String