AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetResourceName(const Aws::String& value) { m_resourceNameHasBeenSet = true; m_resourceName = value; }
54 inline void SetResourceName(Aws::String&& value) { m_resourceNameHasBeenSet = true; m_resourceName = std::move(value); }
55 inline void SetResourceName(const char* value) { m_resourceNameHasBeenSet = true; m_resourceName.assign(value); }
56 inline ConfigurationOptionSetting& WithResourceName(const Aws::String& value) { SetResourceName(value); return *this;}
57 inline ConfigurationOptionSetting& WithResourceName(Aws::String&& value) { SetResourceName(std::move(value)); return *this;}
58 inline ConfigurationOptionSetting& WithResourceName(const char* value) { SetResourceName(value); return *this;}
60
62
65 inline const Aws::String& GetNamespace() const{ return m_namespace; }
66 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
67 inline void SetNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace = value; }
68 inline void SetNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); }
69 inline void SetNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.assign(value); }
70 inline ConfigurationOptionSetting& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;}
71 inline ConfigurationOptionSetting& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;}
72 inline ConfigurationOptionSetting& WithNamespace(const char* value) { SetNamespace(value); return *this;}
74
76
79 inline const Aws::String& GetOptionName() const{ return m_optionName; }
80 inline bool OptionNameHasBeenSet() const { return m_optionNameHasBeenSet; }
81 inline void SetOptionName(const Aws::String& value) { m_optionNameHasBeenSet = true; m_optionName = value; }
82 inline void SetOptionName(Aws::String&& value) { m_optionNameHasBeenSet = true; m_optionName = std::move(value); }
83 inline void SetOptionName(const char* value) { m_optionNameHasBeenSet = true; m_optionName.assign(value); }
84 inline ConfigurationOptionSetting& WithOptionName(const Aws::String& value) { SetOptionName(value); return *this;}
85 inline ConfigurationOptionSetting& WithOptionName(Aws::String&& value) { SetOptionName(std::move(value)); return *this;}
86 inline ConfigurationOptionSetting& WithOptionName(const char* value) { SetOptionName(value); return *this;}
88
90
93 inline const Aws::String& GetValue() const{ return m_value; }
94 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
95 inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
96 inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
97 inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
98 inline ConfigurationOptionSetting& WithValue(const Aws::String& value) { SetValue(value); return *this;}
99 inline ConfigurationOptionSetting& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
100 inline ConfigurationOptionSetting& WithValue(const char* value) { SetValue(value); return *this;}
102 private:
103
104 Aws::String m_resourceName;
105 bool m_resourceNameHasBeenSet = false;
106
107 Aws::String m_namespace;
108 bool m_namespaceHasBeenSet = false;
109
110 Aws::String m_optionName;
111 bool m_optionNameHasBeenSet = false;
112
113 Aws::String m_value;
114 bool m_valueHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace ElasticBeanstalk
119} // namespace Aws
ConfigurationOptionSetting & WithOptionName(const Aws::String &value)
ConfigurationOptionSetting & WithNamespace(const Aws::String &value)
ConfigurationOptionSetting & WithResourceName(Aws::String &&value)
ConfigurationOptionSetting & WithOptionName(Aws::String &&value)
ConfigurationOptionSetting & WithResourceName(const char *value)
ConfigurationOptionSetting & WithOptionName(const char *value)
AWS_ELASTICBEANSTALK_API ConfigurationOptionSetting(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ConfigurationOptionSetting & WithValue(const Aws::String &value)
AWS_ELASTICBEANSTALK_API ConfigurationOptionSetting & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ConfigurationOptionSetting & WithNamespace(const char *value)
ConfigurationOptionSetting & WithValue(Aws::String &&value)
ConfigurationOptionSetting & WithValue(const char *value)
ConfigurationOptionSetting & WithNamespace(Aws::String &&value)
ConfigurationOptionSetting & WithResourceName(const Aws::String &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