7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
35 AWS_APIGATEWAY_API
Model() =
default;
47 template<
typename IdT = Aws::String>
48 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
49 template<
typename IdT = Aws::String>
59 template<
typename NameT = Aws::String>
60 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
61 template<
typename NameT = Aws::String>
71 template<
typename DescriptionT = Aws::String>
72 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
73 template<
typename DescriptionT = Aws::String>
88 template<
typename SchemaT = Aws::String>
89 void SetSchema(SchemaT&& value) { m_schemaHasBeenSet =
true; m_schema = std::forward<SchemaT>(value); }
90 template<
typename SchemaT = Aws::String>
100 template<
typename ContentTypeT = Aws::String>
101 void SetContentType(ContentTypeT&& value) { m_contentTypeHasBeenSet =
true; m_contentType = std::forward<ContentTypeT>(value); }
102 template<
typename ContentTypeT = Aws::String>
110 template<
typename RequestIdT = Aws::String>
111 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
112 template<
typename RequestIdT = Aws::String>
118 bool m_idHasBeenSet =
false;
121 bool m_nameHasBeenSet =
false;
124 bool m_descriptionHasBeenSet =
false;
127 bool m_schemaHasBeenSet =
false;
130 bool m_contentTypeHasBeenSet =
false;
133 bool m_requestIdHasBeenSet =
false;
bool NameHasBeenSet() const
Model & WithName(NameT &&value)
Model & WithSchema(SchemaT &&value)
bool RequestIdHasBeenSet() const
void SetRequestId(RequestIdT &&value)
Model & WithId(IdT &&value)
Model & WithRequestId(RequestIdT &&value)
bool ContentTypeHasBeenSet() const
AWS_APIGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDescription(DescriptionT &&value)
void SetName(NameT &&value)
void SetContentType(ContentTypeT &&value)
const Aws::String & GetId() const
AWS_APIGATEWAY_API Model(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
const Aws::String & GetSchema() const
bool SchemaHasBeenSet() const
AWS_APIGATEWAY_API Model & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSchema(SchemaT &&value)
Model & WithDescription(DescriptionT &&value)
const Aws::String & GetDescription() const
bool IdHasBeenSet() const
const Aws::String & GetRequestId() const
const Aws::String & GetContentType() const
AWS_APIGATEWAY_API Model()=default
bool DescriptionHasBeenSet() const
Model & WithContentType(ContentTypeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue