AWS SDK for C++  1.9.161
AWS SDK for C++
GetModelResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace APIGateway
24 {
25 namespace Model
26 {
42  {
43  public:
47 
48 
52  inline const Aws::String& GetId() const{ return m_id; }
53 
57  inline void SetId(const Aws::String& value) { m_id = value; }
58 
62  inline void SetId(Aws::String&& value) { m_id = std::move(value); }
63 
67  inline void SetId(const char* value) { m_id.assign(value); }
68 
72  inline GetModelResult& WithId(const Aws::String& value) { SetId(value); return *this;}
73 
77  inline GetModelResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
78 
82  inline GetModelResult& WithId(const char* value) { SetId(value); return *this;}
83 
84 
88  inline const Aws::String& GetName() const{ return m_name; }
89 
93  inline void SetName(const Aws::String& value) { m_name = value; }
94 
98  inline void SetName(Aws::String&& value) { m_name = std::move(value); }
99 
103  inline void SetName(const char* value) { m_name.assign(value); }
104 
108  inline GetModelResult& WithName(const Aws::String& value) { SetName(value); return *this;}
109 
113  inline GetModelResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
114 
118  inline GetModelResult& WithName(const char* value) { SetName(value); return *this;}
119 
120 
124  inline const Aws::String& GetDescription() const{ return m_description; }
125 
129  inline void SetDescription(const Aws::String& value) { m_description = value; }
130 
134  inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
135 
139  inline void SetDescription(const char* value) { m_description.assign(value); }
140 
144  inline GetModelResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
145 
149  inline GetModelResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
150 
154  inline GetModelResult& WithDescription(const char* value) { SetDescription(value); return *this;}
155 
156 
166  inline const Aws::String& GetSchema() const{ return m_schema; }
167 
177  inline void SetSchema(const Aws::String& value) { m_schema = value; }
178 
188  inline void SetSchema(Aws::String&& value) { m_schema = std::move(value); }
189 
199  inline void SetSchema(const char* value) { m_schema.assign(value); }
200 
210  inline GetModelResult& WithSchema(const Aws::String& value) { SetSchema(value); return *this;}
211 
221  inline GetModelResult& WithSchema(Aws::String&& value) { SetSchema(std::move(value)); return *this;}
222 
232  inline GetModelResult& WithSchema(const char* value) { SetSchema(value); return *this;}
233 
234 
238  inline const Aws::String& GetContentType() const{ return m_contentType; }
239 
243  inline void SetContentType(const Aws::String& value) { m_contentType = value; }
244 
248  inline void SetContentType(Aws::String&& value) { m_contentType = std::move(value); }
249 
253  inline void SetContentType(const char* value) { m_contentType.assign(value); }
254 
258  inline GetModelResult& WithContentType(const Aws::String& value) { SetContentType(value); return *this;}
259 
263  inline GetModelResult& WithContentType(Aws::String&& value) { SetContentType(std::move(value)); return *this;}
264 
268  inline GetModelResult& WithContentType(const char* value) { SetContentType(value); return *this;}
269 
270  private:
271 
272  Aws::String m_id;
273 
274  Aws::String m_name;
275 
276  Aws::String m_description;
277 
278  Aws::String m_schema;
279 
280  Aws::String m_contentType;
281  };
282 
283 } // namespace Model
284 } // namespace APIGateway
285 } // namespace Aws
Aws::APIGateway::Model::GetModelResult::SetContentType
void SetContentType(Aws::String &&value)
Definition: GetModelResult.h:248
Aws::APIGateway::Model::GetModelResult::SetName
void SetName(const Aws::String &value)
Definition: GetModelResult.h:93
Aws::APIGateway::Model::GetModelResult::SetDescription
void SetDescription(const Aws::String &value)
Definition: GetModelResult.h:129
Aws::APIGateway::Model::GetModelResult::WithSchema
GetModelResult & WithSchema(const char *value)
Definition: GetModelResult.h:232
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
AWS_APIGATEWAY_API
#define AWS_APIGATEWAY_API
Definition: APIGateway_EXPORTS.h:28
Aws::APIGateway::Model::GetModelResult::SetDescription
void SetDescription(Aws::String &&value)
Definition: GetModelResult.h:134
Aws::APIGateway::Model::GetModelResult::WithId
GetModelResult & WithId(Aws::String &&value)
Definition: GetModelResult.h:77
Aws::APIGateway::Model::GetModelResult::GetModelResult
GetModelResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::APIGateway::Model::GetModelResult::operator=
GetModelResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::APIGateway::Model::GetModelResult::SetId
void SetId(const Aws::String &value)
Definition: GetModelResult.h:57
Aws::APIGateway::Model::GetModelResult::GetDescription
const Aws::String & GetDescription() const
Definition: GetModelResult.h:124
Aws::APIGateway::Model::GetModelResult::SetId
void SetId(Aws::String &&value)
Definition: GetModelResult.h:62
APIGateway_EXPORTS.h
Aws::APIGateway::Model::GetModelResult
Definition: GetModelResult.h:42
Aws::APIGateway::Model::GetModelResult::SetName
void SetName(const char *value)
Definition: GetModelResult.h:103
Aws::APIGateway::Model::GetModelResult::WithName
GetModelResult & WithName(Aws::String &&value)
Definition: GetModelResult.h:113
Aws::APIGateway::Model::GetModelResult::SetContentType
void SetContentType(const char *value)
Definition: GetModelResult.h:253
Aws::APIGateway::Model::GetModelResult::GetContentType
const Aws::String & GetContentType() const
Definition: GetModelResult.h:238
Aws::APIGateway::Model::GetModelResult::SetId
void SetId(const char *value)
Definition: GetModelResult.h:67
Aws::APIGateway::Model::GetModelResult::SetContentType
void SetContentType(const Aws::String &value)
Definition: GetModelResult.h:243
Aws::APIGateway::Model::GetModelResult::SetSchema
void SetSchema(const Aws::String &value)
Definition: GetModelResult.h:177
Aws::APIGateway::Model::GetModelResult::SetDescription
void SetDescription(const char *value)
Definition: GetModelResult.h:139
AWSString.h
Aws::APIGateway::Model::GetModelResult::WithContentType
GetModelResult & WithContentType(const Aws::String &value)
Definition: GetModelResult.h:258
Aws::APIGateway::Model::GetModelResult::WithDescription
GetModelResult & WithDescription(const Aws::String &value)
Definition: GetModelResult.h:144
Aws::APIGateway::Model::GetModelResult::SetSchema
void SetSchema(Aws::String &&value)
Definition: GetModelResult.h:188
Aws::APIGateway::Model::GetModelResult::WithId
GetModelResult & WithId(const char *value)
Definition: GetModelResult.h:82
Aws::APIGateway::Model::GetModelResult::WithDescription
GetModelResult & WithDescription(const char *value)
Definition: GetModelResult.h:154
Aws::APIGateway::Model::GetModelResult::WithSchema
GetModelResult & WithSchema(Aws::String &&value)
Definition: GetModelResult.h:221
Aws::APIGateway::Model::GetModelResult::SetSchema
void SetSchema(const char *value)
Definition: GetModelResult.h:199
Aws::APIGateway::Model::GetModelResult::WithContentType
GetModelResult & WithContentType(Aws::String &&value)
Definition: GetModelResult.h:263
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::APIGateway::Model::GetModelResult::GetId
const Aws::String & GetId() const
Definition: GetModelResult.h:52
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::APIGateway::Model::GetModelResult::GetName
const Aws::String & GetName() const
Definition: GetModelResult.h:88
Aws::APIGateway::Model::GetModelResult::WithContentType
GetModelResult & WithContentType(const char *value)
Definition: GetModelResult.h:268
Aws::APIGateway::Model::GetModelResult::GetModelResult
GetModelResult()
Aws::APIGateway::Model::GetModelResult::WithName
GetModelResult & WithName(const Aws::String &value)
Definition: GetModelResult.h:108
Aws::APIGateway::Model::GetModelResult::GetSchema
const Aws::String & GetSchema() const
Definition: GetModelResult.h:166
Aws::APIGateway::Model::GetModelResult::WithDescription
GetModelResult & WithDescription(Aws::String &&value)
Definition: GetModelResult.h:149
Aws::APIGateway::Model::GetModelResult::WithName
GetModelResult & WithName(const char *value)
Definition: GetModelResult.h:118
Aws::APIGateway::Model::GetModelResult::WithId
GetModelResult & WithId(const Aws::String &value)
Definition: GetModelResult.h:72
Aws::APIGateway::Model::GetModelResult::SetName
void SetName(Aws::String &&value)
Definition: GetModelResult.h:98
Aws::APIGateway::Model::GetModelResult::WithSchema
GetModelResult & WithSchema(const Aws::String &value)
Definition: GetModelResult.h:210