AWS SDK for C++

AWS SDK for C++ Version 1.11.909

Loading...
Searching...
No Matches
ConfigurationOptionSetting.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/elasticbeanstalk/ElasticBeanstalk_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Xml {
16class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace ElasticBeanstalk {
20namespace Model {
21
32 public:
33 AWS_ELASTICBEANSTALK_API ConfigurationOptionSetting() = default;
34 AWS_ELASTICBEANSTALK_API ConfigurationOptionSetting(const Aws::Utils::Xml::XmlNode& xmlNode);
35 AWS_ELASTICBEANSTALK_API ConfigurationOptionSetting& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
36
37 AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index,
38 const char* locationValue) const;
39 AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
40
42
46 inline const Aws::String& GetResourceName() const { return m_resourceName; }
47 inline bool ResourceNameHasBeenSet() const { return m_resourceNameHasBeenSet; }
48 template <typename ResourceNameT = Aws::String>
49 void SetResourceName(ResourceNameT&& value) {
50 m_resourceNameHasBeenSet = true;
51 m_resourceName = std::forward<ResourceNameT>(value);
52 }
53 template <typename ResourceNameT = Aws::String>
55 SetResourceName(std::forward<ResourceNameT>(value));
56 return *this;
57 }
59
61
65 inline const Aws::String& GetNamespace() const { return m_namespace; }
66 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
67 template <typename NamespaceT = Aws::String>
68 void SetNamespace(NamespaceT&& value) {
69 m_namespaceHasBeenSet = true;
70 m_namespace = std::forward<NamespaceT>(value);
71 }
72 template <typename NamespaceT = Aws::String>
74 SetNamespace(std::forward<NamespaceT>(value));
75 return *this;
76 }
78
80
83 inline const Aws::String& GetOptionName() const { return m_optionName; }
84 inline bool OptionNameHasBeenSet() const { return m_optionNameHasBeenSet; }
85 template <typename OptionNameT = Aws::String>
86 void SetOptionName(OptionNameT&& value) {
87 m_optionNameHasBeenSet = true;
88 m_optionName = std::forward<OptionNameT>(value);
89 }
90 template <typename OptionNameT = Aws::String>
92 SetOptionName(std::forward<OptionNameT>(value));
93 return *this;
94 }
96
98
101 inline const Aws::String& GetValue() const { return m_value; }
102 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
103 template <typename ValueT = Aws::String>
104 void SetValue(ValueT&& value) {
105 m_valueHasBeenSet = true;
106 m_value = std::forward<ValueT>(value);
107 }
108 template <typename ValueT = Aws::String>
110 SetValue(std::forward<ValueT>(value));
111 return *this;
112 }
114 private:
115 Aws::String m_resourceName;
116
117 Aws::String m_namespace;
118
119 Aws::String m_optionName;
120
121 Aws::String m_value;
122 bool m_resourceNameHasBeenSet = false;
123 bool m_namespaceHasBeenSet = false;
124 bool m_optionNameHasBeenSet = false;
125 bool m_valueHasBeenSet = false;
126};
127
128} // namespace Model
129} // namespace ElasticBeanstalk
130} // namespace Aws
AWS_ELASTICBEANSTALK_API ConfigurationOptionSetting(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICBEANSTALK_API ConfigurationOptionSetting()=default
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_ELASTICBEANSTALK_API ConfigurationOptionSetting & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ConfigurationOptionSetting & WithOptionName(OptionNameT &&value)
ConfigurationOptionSetting & WithResourceName(ResourceNameT &&value)
ConfigurationOptionSetting & WithNamespace(NamespaceT &&value)
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &oStream, const char *location) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream