7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/apigateway/APIGatewayRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
47 inline void SetRestApiId(
const char* value) { m_restApiIdHasBeenSet =
true; m_restApiId.assign(value); }
61 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
75 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
91 inline void SetSchema(
const char* value) { m_schemaHasBeenSet =
true; m_schema.assign(value); }
105 inline void SetContentType(
const char* value) { m_contentTypeHasBeenSet =
true; m_contentType.assign(value); }
113 bool m_restApiIdHasBeenSet =
false;
116 bool m_nameHasBeenSet =
false;
119 bool m_descriptionHasBeenSet =
false;
122 bool m_schemaHasBeenSet =
false;
125 bool m_contentTypeHasBeenSet =
false;
CreateModelRequest & WithSchema(const Aws::String &value)
CreateModelRequest & WithSchema(Aws::String &&value)
const Aws::String & GetRestApiId() const
void SetName(Aws::String &&value)
bool ContentTypeHasBeenSet() const
AWS_APIGATEWAY_API Aws::String SerializePayload() const override
void SetRestApiId(const char *value)
void SetSchema(const Aws::String &value)
void SetName(const Aws::String &value)
const Aws::String & GetContentType() const
void SetSchema(const char *value)
CreateModelRequest & WithDescription(Aws::String &&value)
const Aws::String & GetName() const
const Aws::String & GetSchema() const
CreateModelRequest & WithName(Aws::String &&value)
CreateModelRequest & WithContentType(Aws::String &&value)
void SetName(const char *value)
void SetContentType(const Aws::String &value)
CreateModelRequest & WithDescription(const Aws::String &value)
bool NameHasBeenSet() const
bool DescriptionHasBeenSet() const
CreateModelRequest & WithRestApiId(Aws::String &&value)
void SetRestApiId(const Aws::String &value)
CreateModelRequest & WithDescription(const char *value)
void SetContentType(Aws::String &&value)
void SetContentType(const char *value)
AWS_APIGATEWAY_API CreateModelRequest()
CreateModelRequest & WithRestApiId(const char *value)
virtual const char * GetServiceRequestName() const override
void SetDescription(const Aws::String &value)
bool RestApiIdHasBeenSet() const
CreateModelRequest & WithName(const char *value)
CreateModelRequest & WithSchema(const char *value)
void SetDescription(Aws::String &&value)
CreateModelRequest & WithName(const Aws::String &value)
void SetDescription(const char *value)
CreateModelRequest & WithContentType(const Aws::String &value)
void SetRestApiId(Aws::String &&value)
const Aws::String & GetDescription() const
CreateModelRequest & WithRestApiId(const Aws::String &value)
bool SchemaHasBeenSet() const
CreateModelRequest & WithContentType(const char *value)
void SetSchema(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String