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