AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateModelResult.h
1
6#pragma once
7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace APIGateway
24{
25namespace Model
26{
34 {
35 public:
36 AWS_APIGATEWAY_API CreateModelResult();
39
40
42
45 inline const Aws::String& GetId() const{ return m_id; }
46 inline void SetId(const Aws::String& value) { m_id = value; }
47 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
48 inline void SetId(const char* value) { m_id.assign(value); }
49 inline CreateModelResult& WithId(const Aws::String& value) { SetId(value); return *this;}
50 inline CreateModelResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
51 inline CreateModelResult& WithId(const char* value) { SetId(value); return *this;}
53
55
58 inline const Aws::String& GetName() const{ return m_name; }
59 inline void SetName(const Aws::String& value) { m_name = value; }
60 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
61 inline void SetName(const char* value) { m_name.assign(value); }
62 inline CreateModelResult& WithName(const Aws::String& value) { SetName(value); return *this;}
63 inline CreateModelResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
64 inline CreateModelResult& WithName(const char* value) { SetName(value); return *this;}
66
68
71 inline const Aws::String& GetDescription() const{ return m_description; }
72 inline void SetDescription(const Aws::String& value) { m_description = value; }
73 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
74 inline void SetDescription(const char* value) { m_description.assign(value); }
75 inline CreateModelResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
76 inline CreateModelResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
77 inline CreateModelResult& WithDescription(const char* value) { SetDescription(value); return *this;}
79
81
89 inline const Aws::String& GetSchema() const{ return m_schema; }
90 inline void SetSchema(const Aws::String& value) { m_schema = value; }
91 inline void SetSchema(Aws::String&& value) { m_schema = std::move(value); }
92 inline void SetSchema(const char* value) { m_schema.assign(value); }
93 inline CreateModelResult& WithSchema(const Aws::String& value) { SetSchema(value); return *this;}
94 inline CreateModelResult& WithSchema(Aws::String&& value) { SetSchema(std::move(value)); return *this;}
95 inline CreateModelResult& WithSchema(const char* value) { SetSchema(value); return *this;}
97
99
102 inline const Aws::String& GetContentType() const{ return m_contentType; }
103 inline void SetContentType(const Aws::String& value) { m_contentType = value; }
104 inline void SetContentType(Aws::String&& value) { m_contentType = std::move(value); }
105 inline void SetContentType(const char* value) { m_contentType.assign(value); }
106 inline CreateModelResult& WithContentType(const Aws::String& value) { SetContentType(value); return *this;}
107 inline CreateModelResult& WithContentType(Aws::String&& value) { SetContentType(std::move(value)); return *this;}
108 inline CreateModelResult& WithContentType(const char* value) { SetContentType(value); return *this;}
110
112
113 inline const Aws::String& GetRequestId() const{ return m_requestId; }
114 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
115 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
116 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
117 inline CreateModelResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
118 inline CreateModelResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
119 inline CreateModelResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
121 private:
122
123 Aws::String m_id;
124
125 Aws::String m_name;
126
127 Aws::String m_description;
128
129 Aws::String m_schema;
130
131 Aws::String m_contentType;
132
133 Aws::String m_requestId;
134 };
135
136} // namespace Model
137} // namespace APIGateway
138} // namespace Aws
CreateModelResult & WithName(const Aws::String &value)
AWS_APIGATEWAY_API CreateModelResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetId(const Aws::String &value)
CreateModelResult & WithName(const char *value)
CreateModelResult & WithContentType(const Aws::String &value)
const Aws::String & GetDescription() const
AWS_APIGATEWAY_API CreateModelResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateModelResult & WithId(const char *value)
CreateModelResult & WithSchema(const Aws::String &value)
CreateModelResult & WithId(const Aws::String &value)
void SetRequestId(const Aws::String &value)
CreateModelResult & WithId(Aws::String &&value)
void SetContentType(const Aws::String &value)
CreateModelResult & WithRequestId(const Aws::String &value)
CreateModelResult & WithDescription(Aws::String &&value)
CreateModelResult & WithDescription(const char *value)
CreateModelResult & WithName(Aws::String &&value)
CreateModelResult & WithRequestId(Aws::String &&value)
CreateModelResult & WithSchema(Aws::String &&value)
void SetName(const Aws::String &value)
void SetSchema(const Aws::String &value)
CreateModelResult & WithSchema(const char *value)
CreateModelResult & WithRequestId(const char *value)
CreateModelResult & WithDescription(const Aws::String &value)
void SetDescription(const Aws::String &value)
CreateModelResult & WithContentType(const char *value)
CreateModelResult & WithContentType(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue