AWS SDK for C++

AWS SDK for C++ Version 1.11.754

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
64 inline const Aws::String& GetNamespace() const { return m_namespace; }
65 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
66 template <typename NamespaceT = Aws::String>
67 void SetNamespace(NamespaceT&& value) {
68 m_namespaceHasBeenSet = true;
69 m_namespace = std::forward<NamespaceT>(value);
70 }
71 template <typename NamespaceT = Aws::String>
73 SetNamespace(std::forward<NamespaceT>(value));
74 return *this;
75 }
77
79
82 inline const Aws::String& GetOptionName() const { return m_optionName; }
83 inline bool OptionNameHasBeenSet() const { return m_optionNameHasBeenSet; }
84 template <typename OptionNameT = Aws::String>
85 void SetOptionName(OptionNameT&& value) {
86 m_optionNameHasBeenSet = true;
87 m_optionName = std::forward<OptionNameT>(value);
88 }
89 template <typename OptionNameT = Aws::String>
91 SetOptionName(std::forward<OptionNameT>(value));
92 return *this;
93 }
95
97
100 inline const Aws::String& GetValue() const { return m_value; }
101 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
102 template <typename ValueT = Aws::String>
103 void SetValue(ValueT&& value) {
104 m_valueHasBeenSet = true;
105 m_value = std::forward<ValueT>(value);
106 }
107 template <typename ValueT = Aws::String>
109 SetValue(std::forward<ValueT>(value));
110 return *this;
111 }
113 private:
114 Aws::String m_resourceName;
115
116 Aws::String m_namespace;
117
118 Aws::String m_optionName;
119
120 Aws::String m_value;
121 bool m_resourceNameHasBeenSet = false;
122 bool m_namespaceHasBeenSet = false;
123 bool m_optionNameHasBeenSet = false;
124 bool m_valueHasBeenSet = false;
125};
126
127} // namespace Model
128} // namespace ElasticBeanstalk
129} // 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