AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename ResourceNameT = Aws::String>
50 void SetResourceName(ResourceNameT&& value) { m_resourceNameHasBeenSet = true; m_resourceName = std::forward<ResourceNameT>(value); }
51 template<typename ResourceNameT = Aws::String>
52 OptionSpecification& WithResourceName(ResourceNameT&& value) { SetResourceName(std::forward<ResourceNameT>(value)); return *this;}
54
56
59 inline const Aws::String& GetNamespace() const { return m_namespace; }
60 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
61 template<typename NamespaceT = Aws::String>
62 void SetNamespace(NamespaceT&& value) { m_namespaceHasBeenSet = true; m_namespace = std::forward<NamespaceT>(value); }
63 template<typename NamespaceT = Aws::String>
64 OptionSpecification& WithNamespace(NamespaceT&& value) { SetNamespace(std::forward<NamespaceT>(value)); return *this;}
66
68
71 inline const Aws::String& GetOptionName() const { return m_optionName; }
72 inline bool OptionNameHasBeenSet() const { return m_optionNameHasBeenSet; }
73 template<typename OptionNameT = Aws::String>
74 void SetOptionName(OptionNameT&& value) { m_optionNameHasBeenSet = true; m_optionName = std::forward<OptionNameT>(value); }
75 template<typename OptionNameT = Aws::String>
76 OptionSpecification& WithOptionName(OptionNameT&& value) { SetOptionName(std::forward<OptionNameT>(value)); return *this;}
78 private:
79
80 Aws::String m_resourceName;
81 bool m_resourceNameHasBeenSet = false;
82
83 Aws::String m_namespace;
84 bool m_namespaceHasBeenSet = false;
85
86 Aws::String m_optionName;
87 bool m_optionNameHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace ElasticBeanstalk
92} // namespace Aws
OptionSpecification & WithResourceName(ResourceNameT &&value)
AWS_ELASTICBEANSTALK_API OptionSpecification()=default
AWS_ELASTICBEANSTALK_API OptionSpecification & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
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 & WithNamespace(NamespaceT &&value)
AWS_ELASTICBEANSTALK_API OptionSpecification(const Aws::Utils::Xml::XmlNode &xmlNode)
OptionSpecification & WithOptionName(OptionNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream