7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/apigateway/APIGatewayRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
45 template<
typename RestApiIdT = Aws::String>
46 void SetRestApiId(RestApiIdT&& value) { m_restApiIdHasBeenSet =
true; m_restApiId = std::forward<RestApiIdT>(value); }
47 template<
typename RestApiIdT = Aws::String>
57 template<
typename NameT = Aws::String>
58 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
59 template<
typename NameT = Aws::String>
69 template<
typename DescriptionT = Aws::String>
70 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
71 template<
typename DescriptionT = Aws::String>
83 template<
typename SchemaT = Aws::String>
84 void SetSchema(SchemaT&& value) { m_schemaHasBeenSet =
true; m_schema = std::forward<SchemaT>(value); }
85 template<
typename SchemaT = Aws::String>
95 template<
typename ContentTypeT = Aws::String>
96 void SetContentType(ContentTypeT&& value) { m_contentTypeHasBeenSet =
true; m_contentType = std::forward<ContentTypeT>(value); }
97 template<
typename ContentTypeT = Aws::String>
103 bool m_restApiIdHasBeenSet =
false;
106 bool m_nameHasBeenSet =
false;
109 bool m_descriptionHasBeenSet =
false;
112 bool m_schemaHasBeenSet =
false;
115 bool m_contentTypeHasBeenSet =
false;
const Aws::String & GetRestApiId() const
bool ContentTypeHasBeenSet() const
AWS_APIGATEWAY_API Aws::String SerializePayload() const override
CreateModelRequest & WithSchema(SchemaT &&value)
AWS_APIGATEWAY_API CreateModelRequest()=default
const Aws::String & GetContentType() const
void SetContentType(ContentTypeT &&value)
const Aws::String & GetName() const
const Aws::String & GetSchema() const
void SetSchema(SchemaT &&value)
CreateModelRequest & WithContentType(ContentTypeT &&value)
bool NameHasBeenSet() const
bool DescriptionHasBeenSet() const
void SetRestApiId(RestApiIdT &&value)
void SetName(NameT &&value)
CreateModelRequest & WithName(NameT &&value)
CreateModelRequest & WithDescription(DescriptionT &&value)
virtual const char * GetServiceRequestName() const override
bool RestApiIdHasBeenSet() const
CreateModelRequest & WithRestApiId(RestApiIdT &&value)
void SetDescription(DescriptionT &&value)
const Aws::String & GetDescription() const
bool SchemaHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String