7#include <aws/apigatewayv2/ApiGatewayV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
37 AWS_APIGATEWAYV2_API
Model() =
default;
49 template<
typename ContentTypeT = Aws::String>
50 void SetContentType(ContentTypeT&& value) { m_contentTypeHasBeenSet =
true; m_contentType = std::forward<ContentTypeT>(value); }
51 template<
typename ContentTypeT = Aws::String>
61 template<
typename DescriptionT = Aws::String>
62 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
63 template<
typename DescriptionT = Aws::String>
73 template<
typename ModelIdT = Aws::String>
74 void SetModelId(ModelIdT&& value) { m_modelIdHasBeenSet =
true; m_modelId = std::forward<ModelIdT>(value); }
75 template<
typename ModelIdT = Aws::String>
85 template<
typename NameT = Aws::String>
86 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
87 template<
typename NameT = Aws::String>
98 template<
typename SchemaT = Aws::String>
99 void SetSchema(SchemaT&& value) { m_schemaHasBeenSet =
true; m_schema = std::forward<SchemaT>(value); }
100 template<
typename SchemaT = Aws::String>
106 bool m_contentTypeHasBeenSet =
false;
109 bool m_descriptionHasBeenSet =
false;
112 bool m_modelIdHasBeenSet =
false;
115 bool m_nameHasBeenSet =
false;
118 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