/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Updates a Model.See Also:
AWS
* API Reference
The API identifier.
*/ inline const Aws::String& GetApiId() const{ return m_apiId; } /** *The API identifier.
*/ inline bool ApiIdHasBeenSet() const { return m_apiIdHasBeenSet; } /** *The API identifier.
*/ inline void SetApiId(const Aws::String& value) { m_apiIdHasBeenSet = true; m_apiId = value; } /** *The API identifier.
*/ inline void SetApiId(Aws::String&& value) { m_apiIdHasBeenSet = true; m_apiId = std::move(value); } /** *The API identifier.
*/ inline void SetApiId(const char* value) { m_apiIdHasBeenSet = true; m_apiId.assign(value); } /** *The API identifier.
*/ inline UpdateModelRequest& WithApiId(const Aws::String& value) { SetApiId(value); return *this;} /** *The API identifier.
*/ inline UpdateModelRequest& WithApiId(Aws::String&& value) { SetApiId(std::move(value)); return *this;} /** *The API identifier.
*/ inline UpdateModelRequest& WithApiId(const char* value) { SetApiId(value); return *this;} /** *The content-type for the model, for example, "application/json".
*/ inline const Aws::String& GetContentType() const{ return m_contentType; } /** *The content-type for the model, for example, "application/json".
*/ inline bool ContentTypeHasBeenSet() const { return m_contentTypeHasBeenSet; } /** *The content-type for the model, for example, "application/json".
*/ inline void SetContentType(const Aws::String& value) { m_contentTypeHasBeenSet = true; m_contentType = value; } /** *The content-type for the model, for example, "application/json".
*/ inline void SetContentType(Aws::String&& value) { m_contentTypeHasBeenSet = true; m_contentType = std::move(value); } /** *The content-type for the model, for example, "application/json".
*/ inline void SetContentType(const char* value) { m_contentTypeHasBeenSet = true; m_contentType.assign(value); } /** *The content-type for the model, for example, "application/json".
*/ inline UpdateModelRequest& WithContentType(const Aws::String& value) { SetContentType(value); return *this;} /** *The content-type for the model, for example, "application/json".
*/ inline UpdateModelRequest& WithContentType(Aws::String&& value) { SetContentType(std::move(value)); return *this;} /** *The content-type for the model, for example, "application/json".
*/ inline UpdateModelRequest& WithContentType(const char* value) { SetContentType(value); return *this;} /** *The description of the model.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *The description of the model.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *The description of the model.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *The description of the model.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *The description of the model.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *The description of the model.
*/ inline UpdateModelRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *The description of the model.
*/ inline UpdateModelRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *The description of the model.
*/ inline UpdateModelRequest& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The model ID.
*/ inline const Aws::String& GetModelId() const{ return m_modelId; } /** *The model ID.
*/ inline bool ModelIdHasBeenSet() const { return m_modelIdHasBeenSet; } /** *The model ID.
*/ inline void SetModelId(const Aws::String& value) { m_modelIdHasBeenSet = true; m_modelId = value; } /** *The model ID.
*/ inline void SetModelId(Aws::String&& value) { m_modelIdHasBeenSet = true; m_modelId = std::move(value); } /** *The model ID.
*/ inline void SetModelId(const char* value) { m_modelIdHasBeenSet = true; m_modelId.assign(value); } /** *The model ID.
*/ inline UpdateModelRequest& WithModelId(const Aws::String& value) { SetModelId(value); return *this;} /** *The model ID.
*/ inline UpdateModelRequest& WithModelId(Aws::String&& value) { SetModelId(std::move(value)); return *this;} /** *The model ID.
*/ inline UpdateModelRequest& WithModelId(const char* value) { SetModelId(value); return *this;} /** *The name of the model.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the model.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the model.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the model.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the model.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the model.
*/ inline UpdateModelRequest& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the model.
*/ inline UpdateModelRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the model.
*/ inline UpdateModelRequest& WithName(const char* value) { SetName(value); return *this;} /** *The schema for the model. For application/json models, this should be JSON * schema draft 4 model.
*/ inline const Aws::String& GetSchema() const{ return m_schema; } /** *The schema for the model. For application/json models, this should be JSON * schema draft 4 model.
*/ inline bool SchemaHasBeenSet() const { return m_schemaHasBeenSet; } /** *The schema for the model. For application/json models, this should be JSON * schema draft 4 model.
*/ inline void SetSchema(const Aws::String& value) { m_schemaHasBeenSet = true; m_schema = value; } /** *The schema for the model. For application/json models, this should be JSON * schema draft 4 model.
*/ inline void SetSchema(Aws::String&& value) { m_schemaHasBeenSet = true; m_schema = std::move(value); } /** *The schema for the model. For application/json models, this should be JSON * schema draft 4 model.
*/ inline void SetSchema(const char* value) { m_schemaHasBeenSet = true; m_schema.assign(value); } /** *The schema for the model. For application/json models, this should be JSON * schema draft 4 model.
*/ inline UpdateModelRequest& WithSchema(const Aws::String& value) { SetSchema(value); return *this;} /** *The schema for the model. For application/json models, this should be JSON * schema draft 4 model.
*/ inline UpdateModelRequest& WithSchema(Aws::String&& value) { SetSchema(std::move(value)); return *this;} /** *The schema for the model. For application/json models, this should be JSON * schema draft 4 model.
*/ inline UpdateModelRequest& WithSchema(const char* value) { SetSchema(value); return *this;} private: Aws::String m_apiId; bool m_apiIdHasBeenSet = false; Aws::String m_contentType; bool m_contentTypeHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_modelId; bool m_modelIdHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_schema; bool m_schemaHasBeenSet = false; }; } // namespace Model } // namespace ApiGatewayV2 } // namespace Aws