AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ConfigurationOptionSetting.h
1
6#pragma once
7#include <aws/elasticbeanstalk/ElasticBeanstalk_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace ElasticBeanstalk
22{
23namespace Model
24{
25
36 {
37 public:
38 AWS_ELASTICBEANSTALK_API ConfigurationOptionSetting() = default;
39 AWS_ELASTICBEANSTALK_API ConfigurationOptionSetting(const Aws::Utils::Xml::XmlNode& xmlNode);
40 AWS_ELASTICBEANSTALK_API ConfigurationOptionSetting& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
41
42 AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
43 AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
44
45
47
51 inline const Aws::String& GetResourceName() const { return m_resourceName; }
52 inline bool ResourceNameHasBeenSet() const { return m_resourceNameHasBeenSet; }
53 template<typename ResourceNameT = Aws::String>
54 void SetResourceName(ResourceNameT&& value) { m_resourceNameHasBeenSet = true; m_resourceName = std::forward<ResourceNameT>(value); }
55 template<typename ResourceNameT = Aws::String>
56 ConfigurationOptionSetting& WithResourceName(ResourceNameT&& value) { SetResourceName(std::forward<ResourceNameT>(value)); return *this;}
58
60
63 inline const Aws::String& GetNamespace() const { return m_namespace; }
64 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
65 template<typename NamespaceT = Aws::String>
66 void SetNamespace(NamespaceT&& value) { m_namespaceHasBeenSet = true; m_namespace = std::forward<NamespaceT>(value); }
67 template<typename NamespaceT = Aws::String>
68 ConfigurationOptionSetting& WithNamespace(NamespaceT&& value) { SetNamespace(std::forward<NamespaceT>(value)); return *this;}
70
72
75 inline const Aws::String& GetOptionName() const { return m_optionName; }
76 inline bool OptionNameHasBeenSet() const { return m_optionNameHasBeenSet; }
77 template<typename OptionNameT = Aws::String>
78 void SetOptionName(OptionNameT&& value) { m_optionNameHasBeenSet = true; m_optionName = std::forward<OptionNameT>(value); }
79 template<typename OptionNameT = Aws::String>
80 ConfigurationOptionSetting& WithOptionName(OptionNameT&& value) { SetOptionName(std::forward<OptionNameT>(value)); return *this;}
82
84
87 inline const Aws::String& GetValue() const { return m_value; }
88 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
89 template<typename ValueT = Aws::String>
90 void SetValue(ValueT&& value) { m_valueHasBeenSet = true; m_value = std::forward<ValueT>(value); }
91 template<typename ValueT = Aws::String>
92 ConfigurationOptionSetting& WithValue(ValueT&& value) { SetValue(std::forward<ValueT>(value)); return *this;}
94 private:
95
96 Aws::String m_resourceName;
97 bool m_resourceNameHasBeenSet = false;
98
99 Aws::String m_namespace;
100 bool m_namespaceHasBeenSet = false;
101
102 Aws::String m_optionName;
103 bool m_optionNameHasBeenSet = false;
104
105 Aws::String m_value;
106 bool m_valueHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace ElasticBeanstalk
111} // 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