AWS SDK for C++  0.12.9
AWS SDK for C++
CreateModelResult.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 CreateModelResult& WithId(const Aws::String& value) { SetId(value); return *this;}
69 
73  inline CreateModelResult& WithId(Aws::String&& value) { SetId(value); return *this;}
74 
78  inline CreateModelResult& 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 CreateModelResult& WithName(const Aws::String& value) { SetName(value); return *this;}
104 
108  inline CreateModelResult& WithName(Aws::String&& value) { SetName(value); return *this;}
109 
113  inline CreateModelResult& 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 CreateModelResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
139 
143  inline CreateModelResult& WithDescription(Aws::String&& value) { SetDescription(value); return *this;}
144 
148  inline CreateModelResult& 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 CreateModelResult& WithSchema(const Aws::String& value) { SetSchema(value); return *this;}
184 
190  inline CreateModelResult& WithSchema(Aws::String&& value) { SetSchema(value); return *this;}
191 
197  inline CreateModelResult& 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 CreateModelResult& WithContentType(const Aws::String& value) { SetContentType(value); return *this;}
223 
227  inline CreateModelResult& WithContentType(Aws::String&& value) { SetContentType(value); return *this;}
228 
232  inline CreateModelResult& 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
void SetName(const Aws::String &value)
void SetSchema(const Aws::String &value)
CreateModelResult & WithDescription(Aws::String &&value)
CreateModelResult & WithSchema(Aws::String &&value)
const Aws::String & GetContentType() const
CreateModelResult & WithId(const char *value)
void SetDescription(const Aws::String &value)
CreateModelResult & WithDescription(const char *value)
void SetId(const Aws::String &value)
const Aws::String & GetDescription() const
CreateModelResult & WithContentType(const char *value)
CreateModelResult & WithName(const Aws::String &value)
CreateModelResult & WithId(Aws::String &&value)
CreateModelResult & WithContentType(Aws::String &&value)
CreateModelResult & WithName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
void SetContentType(const Aws::String &value)
CreateModelResult & WithSchema(const char *value)
#define AWS_APIGATEWAY_API
const Aws::String & GetName() const
CreateModelResult & WithContentType(const Aws::String &value)
CreateModelResult & WithId(const Aws::String &value)
CreateModelResult & WithDescription(const Aws::String &value)
CreateModelResult & WithName(const char *value)
CreateModelResult & WithSchema(const Aws::String &value)
const Aws::String & GetSchema() const
JSON (JavaScript Object Notation).