AWS SDK for C++  1.9.159
AWS SDK for C++
GetSdkTypeResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace APIGateway
26 {
27 namespace Model
28 {
35  {
36  public:
40 
41 
45  inline const Aws::String& GetId() const{ return m_id; }
46 
50  inline void SetId(const Aws::String& value) { m_id = value; }
51 
55  inline void SetId(Aws::String&& value) { m_id = std::move(value); }
56 
60  inline void SetId(const char* value) { m_id.assign(value); }
61 
65  inline GetSdkTypeResult& WithId(const Aws::String& value) { SetId(value); return *this;}
66 
70  inline GetSdkTypeResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
71 
75  inline GetSdkTypeResult& WithId(const char* value) { SetId(value); return *this;}
76 
77 
81  inline const Aws::String& GetFriendlyName() const{ return m_friendlyName; }
82 
86  inline void SetFriendlyName(const Aws::String& value) { m_friendlyName = value; }
87 
91  inline void SetFriendlyName(Aws::String&& value) { m_friendlyName = std::move(value); }
92 
96  inline void SetFriendlyName(const char* value) { m_friendlyName.assign(value); }
97 
101  inline GetSdkTypeResult& WithFriendlyName(const Aws::String& value) { SetFriendlyName(value); return *this;}
102 
106  inline GetSdkTypeResult& WithFriendlyName(Aws::String&& value) { SetFriendlyName(std::move(value)); return *this;}
107 
111  inline GetSdkTypeResult& WithFriendlyName(const char* value) { SetFriendlyName(value); return *this;}
112 
113 
117  inline const Aws::String& GetDescription() const{ return m_description; }
118 
122  inline void SetDescription(const Aws::String& value) { m_description = value; }
123 
127  inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
128 
132  inline void SetDescription(const char* value) { m_description.assign(value); }
133 
137  inline GetSdkTypeResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
138 
142  inline GetSdkTypeResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
143 
147  inline GetSdkTypeResult& WithDescription(const char* value) { SetDescription(value); return *this;}
148 
149 
153  inline const Aws::Vector<SdkConfigurationProperty>& GetConfigurationProperties() const{ return m_configurationProperties; }
154 
158  inline void SetConfigurationProperties(const Aws::Vector<SdkConfigurationProperty>& value) { m_configurationProperties = value; }
159 
163  inline void SetConfigurationProperties(Aws::Vector<SdkConfigurationProperty>&& value) { m_configurationProperties = std::move(value); }
164 
168  inline GetSdkTypeResult& WithConfigurationProperties(const Aws::Vector<SdkConfigurationProperty>& value) { SetConfigurationProperties(value); return *this;}
169 
173  inline GetSdkTypeResult& WithConfigurationProperties(Aws::Vector<SdkConfigurationProperty>&& value) { SetConfigurationProperties(std::move(value)); return *this;}
174 
178  inline GetSdkTypeResult& AddConfigurationProperties(const SdkConfigurationProperty& value) { m_configurationProperties.push_back(value); return *this; }
179 
183  inline GetSdkTypeResult& AddConfigurationProperties(SdkConfigurationProperty&& value) { m_configurationProperties.push_back(std::move(value)); return *this; }
184 
185  private:
186 
187  Aws::String m_id;
188 
189  Aws::String m_friendlyName;
190 
191  Aws::String m_description;
192 
193  Aws::Vector<SdkConfigurationProperty> m_configurationProperties;
194  };
195 
196 } // namespace Model
197 } // namespace APIGateway
198 } // namespace Aws
Aws::APIGateway::Model::GetSdkTypeResult::WithId
GetSdkTypeResult & WithId(const char *value)
Definition: GetSdkTypeResult.h:75
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::APIGateway::Model::GetSdkTypeResult::WithId
GetSdkTypeResult & WithId(const Aws::String &value)
Definition: GetSdkTypeResult.h:65
AWS_APIGATEWAY_API
#define AWS_APIGATEWAY_API
Definition: APIGateway_EXPORTS.h:28
Aws::APIGateway::Model::GetSdkTypeResult::GetSdkTypeResult
GetSdkTypeResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::APIGateway::Model::GetSdkTypeResult::SetFriendlyName
void SetFriendlyName(Aws::String &&value)
Definition: GetSdkTypeResult.h:91
Aws::APIGateway::Model::GetSdkTypeResult::AddConfigurationProperties
GetSdkTypeResult & AddConfigurationProperties(SdkConfigurationProperty &&value)
Definition: GetSdkTypeResult.h:183
SdkConfigurationProperty.h
Aws::APIGateway::Model::GetSdkTypeResult::SetFriendlyName
void SetFriendlyName(const char *value)
Definition: GetSdkTypeResult.h:96
Aws::APIGateway::Model::GetSdkTypeResult::SetConfigurationProperties
void SetConfigurationProperties(Aws::Vector< SdkConfigurationProperty > &&value)
Definition: GetSdkTypeResult.h:163
Aws::APIGateway::Model::GetSdkTypeResult::AddConfigurationProperties
GetSdkTypeResult & AddConfigurationProperties(const SdkConfigurationProperty &value)
Definition: GetSdkTypeResult.h:178
Aws::APIGateway::Model::GetSdkTypeResult::GetSdkTypeResult
GetSdkTypeResult()
APIGateway_EXPORTS.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::APIGateway::Model::GetSdkTypeResult::GetId
const Aws::String & GetId() const
Definition: GetSdkTypeResult.h:45
Aws::APIGateway::Model::GetSdkTypeResult::WithConfigurationProperties
GetSdkTypeResult & WithConfigurationProperties(const Aws::Vector< SdkConfigurationProperty > &value)
Definition: GetSdkTypeResult.h:168
Aws::APIGateway::Model::GetSdkTypeResult::GetFriendlyName
const Aws::String & GetFriendlyName() const
Definition: GetSdkTypeResult.h:81
AWSVector.h
Aws::APIGateway::Model::GetSdkTypeResult::WithDescription
GetSdkTypeResult & WithDescription(Aws::String &&value)
Definition: GetSdkTypeResult.h:142
Aws::APIGateway::Model::GetSdkTypeResult::WithId
GetSdkTypeResult & WithId(Aws::String &&value)
Definition: GetSdkTypeResult.h:70
Aws::APIGateway::Model::GetSdkTypeResult::WithFriendlyName
GetSdkTypeResult & WithFriendlyName(const char *value)
Definition: GetSdkTypeResult.h:111
Aws::APIGateway::Model::GetSdkTypeResult::WithConfigurationProperties
GetSdkTypeResult & WithConfigurationProperties(Aws::Vector< SdkConfigurationProperty > &&value)
Definition: GetSdkTypeResult.h:173
Aws::APIGateway::Model::GetSdkTypeResult::operator=
GetSdkTypeResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::APIGateway::Model::GetSdkTypeResult::SetDescription
void SetDescription(Aws::String &&value)
Definition: GetSdkTypeResult.h:127
Aws::APIGateway::Model::GetSdkTypeResult::WithFriendlyName
GetSdkTypeResult & WithFriendlyName(const Aws::String &value)
Definition: GetSdkTypeResult.h:101
AWSString.h
Aws::APIGateway::Model::GetSdkTypeResult::SetDescription
void SetDescription(const char *value)
Definition: GetSdkTypeResult.h:132
Aws::APIGateway::Model::GetSdkTypeResult::SetId
void SetId(Aws::String &&value)
Definition: GetSdkTypeResult.h:55
Aws::APIGateway::Model::GetSdkTypeResult::WithDescription
GetSdkTypeResult & WithDescription(const char *value)
Definition: GetSdkTypeResult.h:147
Aws::APIGateway::Model::GetSdkTypeResult::SetDescription
void SetDescription(const Aws::String &value)
Definition: GetSdkTypeResult.h:122
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::APIGateway::Model::GetSdkTypeResult::WithDescription
GetSdkTypeResult & WithDescription(const Aws::String &value)
Definition: GetSdkTypeResult.h:137
Aws::APIGateway::Model::GetSdkTypeResult::WithFriendlyName
GetSdkTypeResult & WithFriendlyName(Aws::String &&value)
Definition: GetSdkTypeResult.h:106
Aws::APIGateway::Model::GetSdkTypeResult::SetConfigurationProperties
void SetConfigurationProperties(const Aws::Vector< SdkConfigurationProperty > &value)
Definition: GetSdkTypeResult.h:158
Aws::APIGateway::Model::GetSdkTypeResult::SetId
void SetId(const Aws::String &value)
Definition: GetSdkTypeResult.h:50
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::APIGateway::Model::SdkConfigurationProperty
Definition: SdkConfigurationProperty.h:32
Aws::APIGateway::Model::GetSdkTypeResult::GetDescription
const Aws::String & GetDescription() const
Definition: GetSdkTypeResult.h:117
Aws::APIGateway::Model::GetSdkTypeResult::GetConfigurationProperties
const Aws::Vector< SdkConfigurationProperty > & GetConfigurationProperties() const
Definition: GetSdkTypeResult.h:153
Aws::APIGateway::Model::GetSdkTypeResult
Definition: GetSdkTypeResult.h:35
Aws::APIGateway::Model::GetSdkTypeResult::SetId
void SetId(const char *value)
Definition: GetSdkTypeResult.h:60
Aws::APIGateway::Model::GetSdkTypeResult::SetFriendlyName
void SetFriendlyName(const Aws::String &value)
Definition: GetSdkTypeResult.h:86