AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeConfigurationOptionsResult.h
1
6#pragma once
7#include <aws/elasticbeanstalk/ElasticBeanstalk_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/elasticbeanstalk/model/ResponseMetadata.h>
11#include <aws/elasticbeanstalk/model/ConfigurationOptionDescription.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Xml
22{
23 class XmlDocument;
24} // namespace Xml
25} // namespace Utils
26namespace ElasticBeanstalk
27{
28namespace Model
29{
37 {
38 public:
39 AWS_ELASTICBEANSTALK_API DescribeConfigurationOptionsResult() = default;
42
43
45
48 inline const Aws::String& GetSolutionStackName() const { return m_solutionStackName; }
49 template<typename SolutionStackNameT = Aws::String>
50 void SetSolutionStackName(SolutionStackNameT&& value) { m_solutionStackNameHasBeenSet = true; m_solutionStackName = std::forward<SolutionStackNameT>(value); }
51 template<typename SolutionStackNameT = Aws::String>
52 DescribeConfigurationOptionsResult& WithSolutionStackName(SolutionStackNameT&& value) { SetSolutionStackName(std::forward<SolutionStackNameT>(value)); return *this;}
54
56
59 inline const Aws::String& GetPlatformArn() const { return m_platformArn; }
60 template<typename PlatformArnT = Aws::String>
61 void SetPlatformArn(PlatformArnT&& value) { m_platformArnHasBeenSet = true; m_platformArn = std::forward<PlatformArnT>(value); }
62 template<typename PlatformArnT = Aws::String>
63 DescribeConfigurationOptionsResult& WithPlatformArn(PlatformArnT&& value) { SetPlatformArn(std::forward<PlatformArnT>(value)); return *this;}
65
67
70 inline const Aws::Vector<ConfigurationOptionDescription>& GetOptions() const { return m_options; }
71 template<typename OptionsT = Aws::Vector<ConfigurationOptionDescription>>
72 void SetOptions(OptionsT&& value) { m_optionsHasBeenSet = true; m_options = std::forward<OptionsT>(value); }
73 template<typename OptionsT = Aws::Vector<ConfigurationOptionDescription>>
74 DescribeConfigurationOptionsResult& WithOptions(OptionsT&& value) { SetOptions(std::forward<OptionsT>(value)); return *this;}
75 template<typename OptionsT = ConfigurationOptionDescription>
76 DescribeConfigurationOptionsResult& AddOptions(OptionsT&& value) { m_optionsHasBeenSet = true; m_options.emplace_back(std::forward<OptionsT>(value)); return *this; }
78
80
81 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
82 template<typename ResponseMetadataT = ResponseMetadata>
83 void SetResponseMetadata(ResponseMetadataT&& value) { m_responseMetadataHasBeenSet = true; m_responseMetadata = std::forward<ResponseMetadataT>(value); }
84 template<typename ResponseMetadataT = ResponseMetadata>
85 DescribeConfigurationOptionsResult& WithResponseMetadata(ResponseMetadataT&& value) { SetResponseMetadata(std::forward<ResponseMetadataT>(value)); return *this;}
87 private:
88
89 Aws::String m_solutionStackName;
90 bool m_solutionStackNameHasBeenSet = false;
91
92 Aws::String m_platformArn;
93 bool m_platformArnHasBeenSet = false;
94
96 bool m_optionsHasBeenSet = false;
97
98 ResponseMetadata m_responseMetadata;
99 bool m_responseMetadataHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace ElasticBeanstalk
104} // 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