AWS SDK for C++

AWS SDK for C++ Version 1.11.747

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