AWS SDK for C++  0.12.9
AWS SDK for C++
DescribeConfigurationOptionsResult.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
21 
22 namespace Aws
23 {
24 template<typename RESULT_TYPE>
25 class AmazonWebServiceResult;
26 
27 namespace Utils
28 {
29 namespace Xml
30 {
31  class XmlDocument;
32 } // namespace Xml
33 } // namespace Utils
34 namespace ElasticBeanstalk
35 {
36 namespace Model
37 {
42  {
43  public:
47 
51  inline const Aws::String& GetSolutionStackName() const{ return m_solutionStackName; }
52 
56  inline void SetSolutionStackName(const Aws::String& value) { m_solutionStackName = value; }
57 
61  inline void SetSolutionStackName(Aws::String&& value) { m_solutionStackName = value; }
62 
66  inline void SetSolutionStackName(const char* value) { m_solutionStackName.assign(value); }
67 
71  inline DescribeConfigurationOptionsResult& WithSolutionStackName(const Aws::String& value) { SetSolutionStackName(value); return *this;}
72 
76  inline DescribeConfigurationOptionsResult& WithSolutionStackName(Aws::String&& value) { SetSolutionStackName(value); return *this;}
77 
81  inline DescribeConfigurationOptionsResult& WithSolutionStackName(const char* value) { SetSolutionStackName(value); return *this;}
82 
86  inline const Aws::Vector<ConfigurationOptionDescription>& GetOptions() const{ return m_options; }
87 
91  inline void SetOptions(const Aws::Vector<ConfigurationOptionDescription>& value) { m_options = value; }
92 
96  inline void SetOptions(Aws::Vector<ConfigurationOptionDescription>&& value) { m_options = value; }
97 
101  inline DescribeConfigurationOptionsResult& WithOptions(const Aws::Vector<ConfigurationOptionDescription>& value) { SetOptions(value); return *this;}
102 
107 
111  inline DescribeConfigurationOptionsResult& AddOptions(const ConfigurationOptionDescription& value) { m_options.push_back(value); return *this; }
112 
116  inline DescribeConfigurationOptionsResult& AddOptions(ConfigurationOptionDescription&& value) { m_options.push_back(value); return *this; }
117 
118 
119  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
120 
121 
122  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
123 
124 
125  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = value; }
126 
127 
128  inline DescribeConfigurationOptionsResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
129 
130 
131  inline DescribeConfigurationOptionsResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(value); return *this;}
132 
133  private:
134  Aws::String m_solutionStackName;
136  ResponseMetadata m_responseMetadata;
137  };
138 
139 } // namespace Model
140 } // namespace ElasticBeanstalk
141 } // namespace Aws
DescribeConfigurationOptionsResult & AddOptions(ConfigurationOptionDescription &&value)
const Aws::Vector< ConfigurationOptionDescription > & GetOptions() const
DescribeConfigurationOptionsResult & WithOptions(const Aws::Vector< ConfigurationOptionDescription > &value)
DescribeConfigurationOptionsResult & WithSolutionStackName(const Aws::String &value)
#define AWS_ELASTICBEANSTALK_API
DescribeConfigurationOptionsResult & WithSolutionStackName(Aws::String &&value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
DescribeConfigurationOptionsResult & WithOptions(Aws::Vector< ConfigurationOptionDescription > &&value)
DescribeConfigurationOptionsResult & AddOptions(const ConfigurationOptionDescription &value)
void SetOptions(Aws::Vector< ConfigurationOptionDescription > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DescribeConfigurationOptionsResult & WithResponseMetadata(const ResponseMetadata &value)
void SetOptions(const Aws::Vector< ConfigurationOptionDescription > &value)
DescribeConfigurationOptionsResult & WithSolutionStackName(const char *value)
DescribeConfigurationOptionsResult & WithResponseMetadata(ResponseMetadata &&value)
JSON (JavaScript Object Notation).