7#include <aws/apigatewayv2/ApiGatewayV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
19namespace ApiGatewayV2 {
32 AWS_APIGATEWAYV2_API
Model() =
default;
43 template <
typename ContentTypeT = Aws::String>
45 m_contentTypeHasBeenSet =
true;
46 m_contentType = std::forward<ContentTypeT>(value);
48 template <
typename ContentTypeT = Aws::String>
61 template <
typename DescriptionT = Aws::String>
63 m_descriptionHasBeenSet =
true;
64 m_description = std::forward<DescriptionT>(value);
66 template <
typename DescriptionT = Aws::String>
79 template <
typename ModelIdT = Aws::String>
81 m_modelIdHasBeenSet =
true;
82 m_modelId = std::forward<ModelIdT>(value);
84 template <
typename ModelIdT = Aws::String>
97 template <
typename NameT = Aws::String>
99 m_nameHasBeenSet =
true;
100 m_name = std::forward<NameT>(value);
102 template <
typename NameT = Aws::String>
104 SetName(std::forward<NameT>(value));
116 template <
typename SchemaT = Aws::String>
118 m_schemaHasBeenSet =
true;
119 m_schema = std::forward<SchemaT>(value);
121 template <
typename SchemaT = Aws::String>
137 bool m_contentTypeHasBeenSet =
false;
138 bool m_descriptionHasBeenSet =
false;
139 bool m_modelIdHasBeenSet =
false;
140 bool m_nameHasBeenSet =
false;
141 bool m_schemaHasBeenSet =
false;
bool ContentTypeHasBeenSet() const
AWS_APIGATEWAYV2_API Model(Aws::Utils::Json::JsonView jsonValue)
bool ModelIdHasBeenSet() const
Model & WithName(NameT &&value)
AWS_APIGATEWAYV2_API Model()=default
bool NameHasBeenSet() const
bool SchemaHasBeenSet() const
const Aws::String & GetModelId() const
Model & WithSchema(SchemaT &&value)
void SetSchema(SchemaT &&value)
const Aws::String & GetContentType() const
const Aws::String & GetSchema() const
Model & WithContentType(ContentTypeT &&value)
const Aws::String & GetName() const
const Aws::String & GetDescription() const
Model & WithModelId(ModelIdT &&value)
void SetModelId(ModelIdT &&value)
AWS_APIGATEWAYV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APIGATEWAYV2_API Model & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(NameT &&value)
bool DescriptionHasBeenSet() const
Model & WithDescription(DescriptionT &&value)
void SetDescription(DescriptionT &&value)
void SetContentType(ContentTypeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue