AWS SDK for C++  1.9.14
AWS SDK for C++
CreateModelResult.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 CreateModelResult& WithId(const Aws::String& value) { SetId(value); return *this;}
73 
77  inline CreateModelResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
78 
82  inline CreateModelResult& 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 CreateModelResult& WithName(const Aws::String& value) { SetName(value); return *this;}
109 
113  inline CreateModelResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
114 
118  inline CreateModelResult& 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 CreateModelResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
145 
149  inline CreateModelResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
150 
154  inline CreateModelResult& 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 CreateModelResult& WithSchema(const Aws::String& value) { SetSchema(value); return *this;}
211 
221  inline CreateModelResult& WithSchema(Aws::String&& value) { SetSchema(std::move(value)); return *this;}
222 
232  inline CreateModelResult& 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 CreateModelResult& WithContentType(const Aws::String& value) { SetContentType(value); return *this;}
259 
263  inline CreateModelResult& WithContentType(Aws::String&& value) { SetContentType(std::move(value)); return *this;}
264 
268  inline CreateModelResult& 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::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
AWS_APIGATEWAY_API
#define AWS_APIGATEWAY_API
Definition: APIGateway_EXPORTS.h:28
Aws::APIGateway::Model::CreateModelResult::WithSchema
CreateModelResult & WithSchema(const Aws::String &value)
Definition: CreateModelResult.h:210
Aws::APIGateway::Model::CreateModelResult::WithContentType
CreateModelResult & WithContentType(const char *value)
Definition: CreateModelResult.h:268
Aws::APIGateway::Model::CreateModelResult::SetId
void SetId(const char *value)
Definition: CreateModelResult.h:67
Aws::APIGateway::Model::CreateModelResult::WithDescription
CreateModelResult & WithDescription(const char *value)
Definition: CreateModelResult.h:154
Aws::APIGateway::Model::CreateModelResult::SetContentType
void SetContentType(const char *value)
Definition: CreateModelResult.h:253
Aws::APIGateway::Model::CreateModelResult::SetDescription
void SetDescription(const char *value)
Definition: CreateModelResult.h:139
Aws::APIGateway::Model::CreateModelResult::WithId
CreateModelResult & WithId(const Aws::String &value)
Definition: CreateModelResult.h:72
Aws::APIGateway::Model::CreateModelResult::SetName
void SetName(Aws::String &&value)
Definition: CreateModelResult.h:98
APIGateway_EXPORTS.h
Aws::APIGateway::Model::CreateModelResult::WithName
CreateModelResult & WithName(const Aws::String &value)
Definition: CreateModelResult.h:108
Aws::APIGateway::Model::CreateModelResult::SetContentType
void SetContentType(Aws::String &&value)
Definition: CreateModelResult.h:248
Aws::APIGateway::Model::CreateModelResult::SetContentType
void SetContentType(const Aws::String &value)
Definition: CreateModelResult.h:243
Aws::APIGateway::Model::CreateModelResult::GetContentType
const Aws::String & GetContentType() const
Definition: CreateModelResult.h:238
Aws::APIGateway::Model::CreateModelResult::WithDescription
CreateModelResult & WithDescription(Aws::String &&value)
Definition: CreateModelResult.h:149
Aws::APIGateway::Model::CreateModelResult::SetSchema
void SetSchema(const Aws::String &value)
Definition: CreateModelResult.h:177
Aws::APIGateway::Model::CreateModelResult::WithSchema
CreateModelResult & WithSchema(const char *value)
Definition: CreateModelResult.h:232
Aws::APIGateway::Model::CreateModelResult::GetId
const Aws::String & GetId() const
Definition: CreateModelResult.h:52
Aws::APIGateway::Model::CreateModelResult::SetDescription
void SetDescription(Aws::String &&value)
Definition: CreateModelResult.h:134
Aws::APIGateway::Model::CreateModelResult::SetDescription
void SetDescription(const Aws::String &value)
Definition: CreateModelResult.h:129
Aws::APIGateway::Model::CreateModelResult::SetId
void SetId(const Aws::String &value)
Definition: CreateModelResult.h:57
Aws::APIGateway::Model::CreateModelResult::CreateModelResult
CreateModelResult()
Aws::APIGateway::Model::CreateModelResult::SetSchema
void SetSchema(const char *value)
Definition: CreateModelResult.h:199
AWSString.h
Aws::APIGateway::Model::CreateModelResult::WithContentType
CreateModelResult & WithContentType(Aws::String &&value)
Definition: CreateModelResult.h:263
Aws::APIGateway::Model::CreateModelResult::GetSchema
const Aws::String & GetSchema() const
Definition: CreateModelResult.h:166
Aws::APIGateway::Model::CreateModelResult::SetSchema
void SetSchema(Aws::String &&value)
Definition: CreateModelResult.h:188
Aws::APIGateway::Model::CreateModelResult::GetName
const Aws::String & GetName() const
Definition: CreateModelResult.h:88
Aws::APIGateway::Model::CreateModelResult::operator=
CreateModelResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::APIGateway::Model::CreateModelResult::GetDescription
const Aws::String & GetDescription() const
Definition: CreateModelResult.h:124
Aws::APIGateway::Model::CreateModelResult::CreateModelResult
CreateModelResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::APIGateway::Model::CreateModelResult::WithId
CreateModelResult & WithId(Aws::String &&value)
Definition: CreateModelResult.h:77
Aws
Definition: AccessManagementClient.h:15
Aws::APIGateway::Model::CreateModelResult::WithName
CreateModelResult & WithName(Aws::String &&value)
Definition: CreateModelResult.h:113
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::APIGateway::Model::CreateModelResult::SetName
void SetName(const char *value)
Definition: CreateModelResult.h:103
Aws::APIGateway::Model::CreateModelResult::SetName
void SetName(const Aws::String &value)
Definition: CreateModelResult.h:93
Aws::APIGateway::Model::CreateModelResult::WithDescription
CreateModelResult & WithDescription(const Aws::String &value)
Definition: CreateModelResult.h:144
Aws::APIGateway::Model::CreateModelResult
Definition: CreateModelResult.h:42
Aws::APIGateway::Model::CreateModelResult::WithSchema
CreateModelResult & WithSchema(Aws::String &&value)
Definition: CreateModelResult.h:221
Aws::APIGateway::Model::CreateModelResult::WithId
CreateModelResult & WithId(const char *value)
Definition: CreateModelResult.h:82
Aws::APIGateway::Model::CreateModelResult::WithName
CreateModelResult & WithName(const char *value)
Definition: CreateModelResult.h:118
Aws::APIGateway::Model::CreateModelResult::SetId
void SetId(Aws::String &&value)
Definition: CreateModelResult.h:62
Aws::APIGateway::Model::CreateModelResult::WithContentType
CreateModelResult & WithContentType(const Aws::String &value)
Definition: CreateModelResult.h:258