AWS SDK for C++  0.12.9
AWS SDK for C++
GetModelResult.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
18 
19 namespace Aws
20 {
21 template<typename RESULT_TYPE>
22 class AmazonWebServiceResult;
23 
24 namespace Utils
25 {
26 namespace Json
27 {
28  class JsonValue;
29 } // namespace Json
30 } // namespace Utils
31 namespace APIGateway
32 {
33 namespace Model
34 {
39  {
40  public:
44 
48  inline const Aws::String& GetId() const{ return m_id; }
49 
53  inline void SetId(const Aws::String& value) { m_id = value; }
54 
58  inline void SetId(Aws::String&& value) { m_id = value; }
59 
63  inline void SetId(const char* value) { m_id.assign(value); }
64 
68  inline GetModelResult& WithId(const Aws::String& value) { SetId(value); return *this;}
69 
73  inline GetModelResult& WithId(Aws::String&& value) { SetId(value); return *this;}
74 
78  inline GetModelResult& WithId(const char* value) { SetId(value); return *this;}
79 
83  inline const Aws::String& GetName() const{ return m_name; }
84 
88  inline void SetName(const Aws::String& value) { m_name = value; }
89 
93  inline void SetName(Aws::String&& value) { m_name = value; }
94 
98  inline void SetName(const char* value) { m_name.assign(value); }
99 
103  inline GetModelResult& WithName(const Aws::String& value) { SetName(value); return *this;}
104 
108  inline GetModelResult& WithName(Aws::String&& value) { SetName(value); return *this;}
109 
113  inline GetModelResult& WithName(const char* value) { SetName(value); return *this;}
114 
118  inline const Aws::String& GetDescription() const{ return m_description; }
119 
123  inline void SetDescription(const Aws::String& value) { m_description = value; }
124 
128  inline void SetDescription(Aws::String&& value) { m_description = value; }
129 
133  inline void SetDescription(const char* value) { m_description.assign(value); }
134 
138  inline GetModelResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
139 
143  inline GetModelResult& WithDescription(Aws::String&& value) { SetDescription(value); return *this;}
144 
148  inline GetModelResult& WithDescription(const char* value) { SetDescription(value); return *this;}
149 
155  inline const Aws::String& GetSchema() const{ return m_schema; }
156 
162  inline void SetSchema(const Aws::String& value) { m_schema = value; }
163 
169  inline void SetSchema(Aws::String&& value) { m_schema = value; }
170 
176  inline void SetSchema(const char* value) { m_schema.assign(value); }
177 
183  inline GetModelResult& WithSchema(const Aws::String& value) { SetSchema(value); return *this;}
184 
190  inline GetModelResult& WithSchema(Aws::String&& value) { SetSchema(value); return *this;}
191 
197  inline GetModelResult& WithSchema(const char* value) { SetSchema(value); return *this;}
198 
202  inline const Aws::String& GetContentType() const{ return m_contentType; }
203 
207  inline void SetContentType(const Aws::String& value) { m_contentType = value; }
208 
212  inline void SetContentType(Aws::String&& value) { m_contentType = value; }
213 
217  inline void SetContentType(const char* value) { m_contentType.assign(value); }
218 
222  inline GetModelResult& WithContentType(const Aws::String& value) { SetContentType(value); return *this;}
223 
227  inline GetModelResult& WithContentType(Aws::String&& value) { SetContentType(value); return *this;}
228 
232  inline GetModelResult& WithContentType(const char* value) { SetContentType(value); return *this;}
233 
234  private:
235  Aws::String m_id;
236  Aws::String m_name;
237  Aws::String m_description;
238  Aws::String m_schema;
239  Aws::String m_contentType;
240  };
241 
242 } // namespace Model
243 } // namespace APIGateway
244 } // namespace Aws
GetModelResult & WithDescription(const char *value)
void SetDescription(const Aws::String &value)
GetModelResult & WithContentType(Aws::String &&value)
GetModelResult & WithContentType(const char *value)
GetModelResult & WithId(const Aws::String &value)
const Aws::String & GetDescription() const
void SetName(const Aws::String &value)
GetModelResult & WithDescription(Aws::String &&value)
void SetName(Aws::String &&value)
void SetId(Aws::String &&value)
void SetContentType(Aws::String &&value)
void SetDescription(Aws::String &&value)
GetModelResult & WithName(const char *value)
void SetSchema(Aws::String &&value)
void SetDescription(const char *value)
GetModelResult & WithSchema(Aws::String &&value)
const Aws::String & GetContentType() const
GetModelResult & WithName(Aws::String &&value)
const Aws::String & GetSchema() const
GetModelResult & WithId(const char *value)
const Aws::String & GetId() const
void SetContentType(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
const Aws::String & GetName() const
GetModelResult & WithSchema(const char *value)
void SetSchema(const Aws::String &value)
void SetId(const Aws::String &value)
#define AWS_APIGATEWAY_API
GetModelResult & WithSchema(const Aws::String &value)
GetModelResult & WithContentType(const Aws::String &value)
void SetContentType(const Aws::String &value)
GetModelResult & WithDescription(const Aws::String &value)
JSON (JavaScript Object Notation).
GetModelResult & WithId(Aws::String &&value)
GetModelResult & WithName(const Aws::String &value)