AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
DescribeConfigurationOptionsResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/elasticbeanstalk/ElasticBeanstalk_EXPORTS.h>
11#include <aws/elasticbeanstalk/model/ConfigurationOptionDescription.h>
12#include <aws/elasticbeanstalk/model/ResponseMetadata.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Xml {
22class XmlDocument;
23} // namespace Xml
24} // namespace Utils
25namespace ElasticBeanstalk {
26namespace Model {
34 public:
35 AWS_ELASTICBEANSTALK_API DescribeConfigurationOptionsResult() = default;
39
41
44 inline const Aws::String& GetSolutionStackName() const { return m_solutionStackName; }
45 template <typename SolutionStackNameT = Aws::String>
46 void SetSolutionStackName(SolutionStackNameT&& value) {
47 m_solutionStackNameHasBeenSet = true;
48 m_solutionStackName = std::forward<SolutionStackNameT>(value);
49 }
50 template <typename SolutionStackNameT = Aws::String>
52 SetSolutionStackName(std::forward<SolutionStackNameT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetPlatformArn() const { return m_platformArn; }
62 template <typename PlatformArnT = Aws::String>
63 void SetPlatformArn(PlatformArnT&& value) {
64 m_platformArnHasBeenSet = true;
65 m_platformArn = std::forward<PlatformArnT>(value);
66 }
67 template <typename PlatformArnT = Aws::String>
69 SetPlatformArn(std::forward<PlatformArnT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::Vector<ConfigurationOptionDescription>& GetOptions() const { return m_options; }
79 template <typename OptionsT = Aws::Vector<ConfigurationOptionDescription>>
80 void SetOptions(OptionsT&& value) {
81 m_optionsHasBeenSet = true;
82 m_options = std::forward<OptionsT>(value);
83 }
84 template <typename OptionsT = Aws::Vector<ConfigurationOptionDescription>>
86 SetOptions(std::forward<OptionsT>(value));
87 return *this;
88 }
89 template <typename OptionsT = ConfigurationOptionDescription>
91 m_optionsHasBeenSet = true;
92 m_options.emplace_back(std::forward<OptionsT>(value));
93 return *this;
94 }
96
98
99 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
100 template <typename ResponseMetadataT = ResponseMetadata>
101 void SetResponseMetadata(ResponseMetadataT&& value) {
102 m_responseMetadataHasBeenSet = true;
103 m_responseMetadata = std::forward<ResponseMetadataT>(value);
104 }
105 template <typename ResponseMetadataT = ResponseMetadata>
107 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
108 return *this;
109 }
111 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
112
113 private:
114 Aws::String m_solutionStackName;
115
116 Aws::String m_platformArn;
117
119
120 ResponseMetadata m_responseMetadata;
121 Aws::Http::HttpResponseCode m_HttpResponseCode;
122 bool m_solutionStackNameHasBeenSet = false;
123 bool m_platformArnHasBeenSet = false;
124 bool m_optionsHasBeenSet = false;
125 bool m_responseMetadataHasBeenSet = false;
126};
127
128} // namespace Model
129} // namespace ElasticBeanstalk
130} // namespace Aws
AWS_ELASTICBEANSTALK_API DescribeConfigurationOptionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeConfigurationOptionsResult & WithResponseMetadata(ResponseMetadataT &&value)
DescribeConfigurationOptionsResult & WithPlatformArn(PlatformArnT &&value)
DescribeConfigurationOptionsResult & WithSolutionStackName(SolutionStackNameT &&value)
const Aws::Vector< ConfigurationOptionDescription > & GetOptions() const
AWS_ELASTICBEANSTALK_API DescribeConfigurationOptionsResult()=default
AWS_ELASTICBEANSTALK_API DescribeConfigurationOptionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument