AWS SDK for C++  1.9.175
AWS SDK for C++
ListAvailableSolutionStacksResult.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 template<typename RESULT_TYPE>
17 class AmazonWebServiceResult;
18 
19 namespace Utils
20 {
21 namespace Xml
22 {
23  class XmlDocument;
24 } // namespace Xml
25 } // namespace Utils
26 namespace ElasticBeanstalk
27 {
28 namespace Model
29 {
37  {
38  public:
42 
43 
47  inline const Aws::Vector<Aws::String>& GetSolutionStacks() const{ return m_solutionStacks; }
48 
52  inline void SetSolutionStacks(const Aws::Vector<Aws::String>& value) { m_solutionStacks = value; }
53 
57  inline void SetSolutionStacks(Aws::Vector<Aws::String>&& value) { m_solutionStacks = std::move(value); }
58 
62  inline ListAvailableSolutionStacksResult& WithSolutionStacks(const Aws::Vector<Aws::String>& value) { SetSolutionStacks(value); return *this;}
63 
67  inline ListAvailableSolutionStacksResult& WithSolutionStacks(Aws::Vector<Aws::String>&& value) { SetSolutionStacks(std::move(value)); return *this;}
68 
72  inline ListAvailableSolutionStacksResult& AddSolutionStacks(const Aws::String& value) { m_solutionStacks.push_back(value); return *this; }
73 
77  inline ListAvailableSolutionStacksResult& AddSolutionStacks(Aws::String&& value) { m_solutionStacks.push_back(std::move(value)); return *this; }
78 
82  inline ListAvailableSolutionStacksResult& AddSolutionStacks(const char* value) { m_solutionStacks.push_back(value); return *this; }
83 
84 
89  inline const Aws::Vector<SolutionStackDescription>& GetSolutionStackDetails() const{ return m_solutionStackDetails; }
90 
95  inline void SetSolutionStackDetails(const Aws::Vector<SolutionStackDescription>& value) { m_solutionStackDetails = value; }
96 
101  inline void SetSolutionStackDetails(Aws::Vector<SolutionStackDescription>&& value) { m_solutionStackDetails = std::move(value); }
102 
107  inline ListAvailableSolutionStacksResult& WithSolutionStackDetails(const Aws::Vector<SolutionStackDescription>& value) { SetSolutionStackDetails(value); return *this;}
108 
113  inline ListAvailableSolutionStacksResult& WithSolutionStackDetails(Aws::Vector<SolutionStackDescription>&& value) { SetSolutionStackDetails(std::move(value)); return *this;}
114 
119  inline ListAvailableSolutionStacksResult& AddSolutionStackDetails(const SolutionStackDescription& value) { m_solutionStackDetails.push_back(value); return *this; }
120 
125  inline ListAvailableSolutionStacksResult& AddSolutionStackDetails(SolutionStackDescription&& value) { m_solutionStackDetails.push_back(std::move(value)); return *this; }
126 
127 
128 
129  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
130 
131 
132  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
133 
134 
135  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
136 
137 
138  inline ListAvailableSolutionStacksResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
139 
140 
141  inline ListAvailableSolutionStacksResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
142 
143  private:
144 
145  Aws::Vector<Aws::String> m_solutionStacks;
146 
147  Aws::Vector<SolutionStackDescription> m_solutionStackDetails;
148 
149  ResponseMetadata m_responseMetadata;
150  };
151 
152 } // namespace Model
153 } // namespace ElasticBeanstalk
154 } // namespace Aws
SolutionStackDescription.h
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::ElasticBeanstalk::Model::ListAvailableSolutionStacksResult::WithSolutionStackDetails
ListAvailableSolutionStacksResult & WithSolutionStackDetails(Aws::Vector< SolutionStackDescription > &&value)
Definition: ListAvailableSolutionStacksResult.h:113
AWS_ELASTICBEANSTALK_API
#define AWS_ELASTICBEANSTALK_API
Definition: ElasticBeanstalk_EXPORTS.h:28
Aws::ElasticBeanstalk::Model::ListAvailableSolutionStacksResult::WithResponseMetadata
ListAvailableSolutionStacksResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: ListAvailableSolutionStacksResult.h:138
Aws::ElasticBeanstalk::Model::ListAvailableSolutionStacksResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: ListAvailableSolutionStacksResult.h:129
Aws::ElasticBeanstalk::Model::ListAvailableSolutionStacksResult::GetSolutionStackDetails
const Aws::Vector< SolutionStackDescription > & GetSolutionStackDetails() const
Definition: ListAvailableSolutionStacksResult.h:89
Aws::ElasticBeanstalk::Model::ListAvailableSolutionStacksResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: ListAvailableSolutionStacksResult.h:135
Aws::ElasticBeanstalk::Model::ListAvailableSolutionStacksResult::WithResponseMetadata
ListAvailableSolutionStacksResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: ListAvailableSolutionStacksResult.h:141
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::ElasticBeanstalk::Model::ListAvailableSolutionStacksResult::SetSolutionStackDetails
void SetSolutionStackDetails(const Aws::Vector< SolutionStackDescription > &value)
Definition: ListAvailableSolutionStacksResult.h:95
Aws::ElasticBeanstalk::Model::SolutionStackDescription
Definition: SolutionStackDescription.h:33
AWSVector.h
Aws::ElasticBeanstalk::Model::ListAvailableSolutionStacksResult::ListAvailableSolutionStacksResult
ListAvailableSolutionStacksResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::ElasticBeanstalk::Model::ListAvailableSolutionStacksResult::AddSolutionStackDetails
ListAvailableSolutionStacksResult & AddSolutionStackDetails(SolutionStackDescription &&value)
Definition: ListAvailableSolutionStacksResult.h:125
Aws::ElasticBeanstalk::Model::ListAvailableSolutionStacksResult::AddSolutionStacks
ListAvailableSolutionStacksResult & AddSolutionStacks(const char *value)
Definition: ListAvailableSolutionStacksResult.h:82
Aws::ElasticBeanstalk::Model::ListAvailableSolutionStacksResult::AddSolutionStacks
ListAvailableSolutionStacksResult & AddSolutionStacks(const Aws::String &value)
Definition: ListAvailableSolutionStacksResult.h:72
AWSString.h
Aws::ElasticBeanstalk::Model::ListAvailableSolutionStacksResult::AddSolutionStacks
ListAvailableSolutionStacksResult & AddSolutionStacks(Aws::String &&value)
Definition: ListAvailableSolutionStacksResult.h:77
ResponseMetadata.h
Aws::ElasticBeanstalk::Model::ListAvailableSolutionStacksResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: ListAvailableSolutionStacksResult.h:132
Aws::ElasticBeanstalk::Model::ListAvailableSolutionStacksResult::WithSolutionStacks
ListAvailableSolutionStacksResult & WithSolutionStacks(const Aws::Vector< Aws::String > &value)
Definition: ListAvailableSolutionStacksResult.h:62
ElasticBeanstalk_EXPORTS.h
Aws::ElasticBeanstalk::Model::ListAvailableSolutionStacksResult
Definition: ListAvailableSolutionStacksResult.h:37
Aws::ElasticBeanstalk::Model::ListAvailableSolutionStacksResult::WithSolutionStackDetails
ListAvailableSolutionStacksResult & WithSolutionStackDetails(const Aws::Vector< SolutionStackDescription > &value)
Definition: ListAvailableSolutionStacksResult.h:107
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticBeanstalk::Model::ListAvailableSolutionStacksResult::ListAvailableSolutionStacksResult
ListAvailableSolutionStacksResult()
Aws::ElasticBeanstalk::Model::ListAvailableSolutionStacksResult::SetSolutionStackDetails
void SetSolutionStackDetails(Aws::Vector< SolutionStackDescription > &&value)
Definition: ListAvailableSolutionStacksResult.h:101
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ElasticBeanstalk::Model::ListAvailableSolutionStacksResult::AddSolutionStackDetails
ListAvailableSolutionStacksResult & AddSolutionStackDetails(const SolutionStackDescription &value)
Definition: ListAvailableSolutionStacksResult.h:119
Aws::ElasticBeanstalk::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::ElasticBeanstalk::Model::ListAvailableSolutionStacksResult::SetSolutionStacks
void SetSolutionStacks(Aws::Vector< Aws::String > &&value)
Definition: ListAvailableSolutionStacksResult.h:57
Aws::ElasticBeanstalk::Model::ListAvailableSolutionStacksResult::SetSolutionStacks
void SetSolutionStacks(const Aws::Vector< Aws::String > &value)
Definition: ListAvailableSolutionStacksResult.h:52
Aws::ElasticBeanstalk::Model::ListAvailableSolutionStacksResult::WithSolutionStacks
ListAvailableSolutionStacksResult & WithSolutionStacks(Aws::Vector< Aws::String > &&value)
Definition: ListAvailableSolutionStacksResult.h:67
Aws::ElasticBeanstalk::Model::ListAvailableSolutionStacksResult::operator=
ListAvailableSolutionStacksResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::ElasticBeanstalk::Model::ListAvailableSolutionStacksResult::GetSolutionStacks
const Aws::Vector< Aws::String > & GetSolutionStacks() const
Definition: ListAvailableSolutionStacksResult.h:47