AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
GetModelResult.h
1
6#pragma once
7#include <aws/apigatewayv2/ApiGatewayV2_EXPORTS.h>
8#include <aws/core/http/HttpResponse.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace ApiGatewayV2 {
23namespace Model {
25 public:
26 AWS_APIGATEWAYV2_API GetModelResult() = default;
29
31
34 inline const Aws::String& GetContentType() const { return m_contentType; }
35 template <typename ContentTypeT = Aws::String>
36 void SetContentType(ContentTypeT&& value) {
37 m_contentTypeHasBeenSet = true;
38 m_contentType = std::forward<ContentTypeT>(value);
39 }
40 template <typename ContentTypeT = Aws::String>
41 GetModelResult& WithContentType(ContentTypeT&& value) {
42 SetContentType(std::forward<ContentTypeT>(value));
43 return *this;
44 }
46
48
51 inline const Aws::String& GetDescription() const { return m_description; }
52 template <typename DescriptionT = Aws::String>
53 void SetDescription(DescriptionT&& value) {
54 m_descriptionHasBeenSet = true;
55 m_description = std::forward<DescriptionT>(value);
56 }
57 template <typename DescriptionT = Aws::String>
58 GetModelResult& WithDescription(DescriptionT&& value) {
59 SetDescription(std::forward<DescriptionT>(value));
60 return *this;
61 }
63
65
68 inline const Aws::String& GetModelId() const { return m_modelId; }
69 template <typename ModelIdT = Aws::String>
70 void SetModelId(ModelIdT&& value) {
71 m_modelIdHasBeenSet = true;
72 m_modelId = std::forward<ModelIdT>(value);
73 }
74 template <typename ModelIdT = Aws::String>
75 GetModelResult& WithModelId(ModelIdT&& value) {
76 SetModelId(std::forward<ModelIdT>(value));
77 return *this;
78 }
80
82
85 inline const Aws::String& GetName() const { return m_name; }
86 template <typename NameT = Aws::String>
87 void SetName(NameT&& value) {
88 m_nameHasBeenSet = true;
89 m_name = std::forward<NameT>(value);
90 }
91 template <typename NameT = Aws::String>
92 GetModelResult& WithName(NameT&& value) {
93 SetName(std::forward<NameT>(value));
94 return *this;
95 }
97
99
103 inline const Aws::String& GetSchema() const { return m_schema; }
104 template <typename SchemaT = Aws::String>
105 void SetSchema(SchemaT&& value) {
106 m_schemaHasBeenSet = true;
107 m_schema = std::forward<SchemaT>(value);
108 }
109 template <typename SchemaT = Aws::String>
110 GetModelResult& WithSchema(SchemaT&& value) {
111 SetSchema(std::forward<SchemaT>(value));
112 return *this;
113 }
115
117
118 inline const Aws::String& GetRequestId() const { return m_requestId; }
119 template <typename RequestIdT = Aws::String>
120 void SetRequestId(RequestIdT&& value) {
121 m_requestIdHasBeenSet = true;
122 m_requestId = std::forward<RequestIdT>(value);
123 }
124 template <typename RequestIdT = Aws::String>
125 GetModelResult& WithRequestId(RequestIdT&& value) {
126 SetRequestId(std::forward<RequestIdT>(value));
127 return *this;
128 }
130 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
131
132 private:
133 Aws::String m_contentType;
134
135 Aws::String m_description;
136
137 Aws::String m_modelId;
138
139 Aws::String m_name;
140
141 Aws::String m_schema;
142
143 Aws::String m_requestId;
144 Aws::Http::HttpResponseCode m_HttpResponseCode;
145 bool m_contentTypeHasBeenSet = false;
146 bool m_descriptionHasBeenSet = false;
147 bool m_modelIdHasBeenSet = false;
148 bool m_nameHasBeenSet = false;
149 bool m_schemaHasBeenSet = false;
150 bool m_requestIdHasBeenSet = false;
151};
152
153} // namespace Model
154} // namespace ApiGatewayV2
155} // namespace Aws
AWS_APIGATEWAYV2_API GetModelResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetName() const
AWS_APIGATEWAYV2_API GetModelResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetContentType(ContentTypeT &&value)
const Aws::String & GetSchema() const
AWS_APIGATEWAYV2_API GetModelResult()=default
GetModelResult & WithSchema(SchemaT &&value)
GetModelResult & WithDescription(DescriptionT &&value)
const Aws::String & GetModelId() const
GetModelResult & WithContentType(ContentTypeT &&value)
GetModelResult & WithRequestId(RequestIdT &&value)
GetModelResult & WithName(NameT &&value)
GetModelResult & WithModelId(ModelIdT &&value)
void SetDescription(DescriptionT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::String & GetContentType() const
const Aws::String & GetDescription() const
const Aws::String & GetRequestId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue