AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OptionSpecification.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
33 {
34 public:
35 AWS_ELASTICBEANSTALK_API OptionSpecification();
36 AWS_ELASTICBEANSTALK_API OptionSpecification(const Aws::Utils::Xml::XmlNode& xmlNode);
37 AWS_ELASTICBEANSTALK_API OptionSpecification& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
41
42
44
47 inline const Aws::String& GetResourceName() const{ return m_resourceName; }
48 inline bool ResourceNameHasBeenSet() const { return m_resourceNameHasBeenSet; }
49 inline void SetResourceName(const Aws::String& value) { m_resourceNameHasBeenSet = true; m_resourceName = value; }
50 inline void SetResourceName(Aws::String&& value) { m_resourceNameHasBeenSet = true; m_resourceName = std::move(value); }
51 inline void SetResourceName(const char* value) { m_resourceNameHasBeenSet = true; m_resourceName.assign(value); }
52 inline OptionSpecification& WithResourceName(const Aws::String& value) { SetResourceName(value); return *this;}
53 inline OptionSpecification& WithResourceName(Aws::String&& value) { SetResourceName(std::move(value)); return *this;}
54 inline OptionSpecification& WithResourceName(const char* value) { SetResourceName(value); return *this;}
56
58
61 inline const Aws::String& GetNamespace() const{ return m_namespace; }
62 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
63 inline void SetNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace = value; }
64 inline void SetNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); }
65 inline void SetNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.assign(value); }
66 inline OptionSpecification& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;}
67 inline OptionSpecification& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;}
68 inline OptionSpecification& WithNamespace(const char* value) { SetNamespace(value); return *this;}
70
72
75 inline const Aws::String& GetOptionName() const{ return m_optionName; }
76 inline bool OptionNameHasBeenSet() const { return m_optionNameHasBeenSet; }
77 inline void SetOptionName(const Aws::String& value) { m_optionNameHasBeenSet = true; m_optionName = value; }
78 inline void SetOptionName(Aws::String&& value) { m_optionNameHasBeenSet = true; m_optionName = std::move(value); }
79 inline void SetOptionName(const char* value) { m_optionNameHasBeenSet = true; m_optionName.assign(value); }
80 inline OptionSpecification& WithOptionName(const Aws::String& value) { SetOptionName(value); return *this;}
81 inline OptionSpecification& WithOptionName(Aws::String&& value) { SetOptionName(std::move(value)); return *this;}
82 inline OptionSpecification& WithOptionName(const char* value) { SetOptionName(value); return *this;}
84 private:
85
86 Aws::String m_resourceName;
87 bool m_resourceNameHasBeenSet = false;
88
89 Aws::String m_namespace;
90 bool m_namespaceHasBeenSet = false;
91
92 Aws::String m_optionName;
93 bool m_optionNameHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace ElasticBeanstalk
98} // namespace Aws
OptionSpecification & WithNamespace(Aws::String &&value)
OptionSpecification & WithNamespace(const Aws::String &value)
OptionSpecification & WithResourceName(Aws::String &&value)
OptionSpecification & WithNamespace(const char *value)
AWS_ELASTICBEANSTALK_API OptionSpecification & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
OptionSpecification & WithResourceName(const Aws::String &value)
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &oStream, const char *location) const
OptionSpecification & WithOptionName(const char *value)
OptionSpecification & WithOptionName(const Aws::String &value)
AWS_ELASTICBEANSTALK_API OptionSpecification(const Aws::Utils::Xml::XmlNode &xmlNode)
OptionSpecification & WithResourceName(const char *value)
OptionSpecification & WithOptionName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream