AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ContinuousDeploymentSingleHeaderConfig.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
34 {
35 public:
39
40 AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
41
42
44
48 inline const Aws::String& GetHeader() const{ return m_header; }
49 inline bool HeaderHasBeenSet() const { return m_headerHasBeenSet; }
50 inline void SetHeader(const Aws::String& value) { m_headerHasBeenSet = true; m_header = value; }
51 inline void SetHeader(Aws::String&& value) { m_headerHasBeenSet = true; m_header = std::move(value); }
52 inline void SetHeader(const char* value) { m_headerHasBeenSet = true; m_header.assign(value); }
53 inline ContinuousDeploymentSingleHeaderConfig& WithHeader(const Aws::String& value) { SetHeader(value); return *this;}
54 inline ContinuousDeploymentSingleHeaderConfig& WithHeader(Aws::String&& value) { SetHeader(std::move(value)); return *this;}
55 inline ContinuousDeploymentSingleHeaderConfig& WithHeader(const char* value) { SetHeader(value); return *this;}
57
59
62 inline const Aws::String& GetValue() const{ return m_value; }
63 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
64 inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
65 inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
66 inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
67 inline ContinuousDeploymentSingleHeaderConfig& WithValue(const Aws::String& value) { SetValue(value); return *this;}
68 inline ContinuousDeploymentSingleHeaderConfig& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
69 inline ContinuousDeploymentSingleHeaderConfig& WithValue(const char* value) { SetValue(value); return *this;}
71 private:
72
73 Aws::String m_header;
74 bool m_headerHasBeenSet = false;
75
76 Aws::String m_value;
77 bool m_valueHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace CloudFront
82} // namespace Aws
ContinuousDeploymentSingleHeaderConfig & WithValue(const char *value)
ContinuousDeploymentSingleHeaderConfig & WithValue(const Aws::String &value)
ContinuousDeploymentSingleHeaderConfig & WithHeader(const char *value)
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AWS_CLOUDFRONT_API ContinuousDeploymentSingleHeaderConfig & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ContinuousDeploymentSingleHeaderConfig & WithHeader(Aws::String &&value)
ContinuousDeploymentSingleHeaderConfig & WithValue(Aws::String &&value)
ContinuousDeploymentSingleHeaderConfig & WithHeader(const Aws::String &value)
AWS_CLOUDFRONT_API ContinuousDeploymentSingleHeaderConfig(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String