/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Request to update an existing model in an existing RestApi
* resource.See Also:
AWS
* API Reference
[Required] The string identifier of the associated RestApi.
*/ inline const Aws::String& GetRestApiId() const{ return m_restApiId; } /** *[Required] The string identifier of the associated RestApi.
*/ inline bool RestApiIdHasBeenSet() const { return m_restApiIdHasBeenSet; } /** *[Required] The string identifier of the associated RestApi.
*/ inline void SetRestApiId(const Aws::String& value) { m_restApiIdHasBeenSet = true; m_restApiId = value; } /** *[Required] The string identifier of the associated RestApi.
*/ inline void SetRestApiId(Aws::String&& value) { m_restApiIdHasBeenSet = true; m_restApiId = std::move(value); } /** *[Required] The string identifier of the associated RestApi.
*/ inline void SetRestApiId(const char* value) { m_restApiIdHasBeenSet = true; m_restApiId.assign(value); } /** *[Required] The string identifier of the associated RestApi.
*/ inline UpdateModelRequest& WithRestApiId(const Aws::String& value) { SetRestApiId(value); return *this;} /** *[Required] The string identifier of the associated RestApi.
*/ inline UpdateModelRequest& WithRestApiId(Aws::String&& value) { SetRestApiId(std::move(value)); return *this;} /** *[Required] The string identifier of the associated RestApi.
*/ inline UpdateModelRequest& WithRestApiId(const char* value) { SetRestApiId(value); return *this;} /** *[Required] The name of the model to update.
*/ inline const Aws::String& GetModelName() const{ return m_modelName; } /** *[Required] The name of the model to update.
*/ inline bool ModelNameHasBeenSet() const { return m_modelNameHasBeenSet; } /** *[Required] The name of the model to update.
*/ inline void SetModelName(const Aws::String& value) { m_modelNameHasBeenSet = true; m_modelName = value; } /** *[Required] The name of the model to update.
*/ inline void SetModelName(Aws::String&& value) { m_modelNameHasBeenSet = true; m_modelName = std::move(value); } /** *[Required] The name of the model to update.
*/ inline void SetModelName(const char* value) { m_modelNameHasBeenSet = true; m_modelName.assign(value); } /** *[Required] The name of the model to update.
*/ inline UpdateModelRequest& WithModelName(const Aws::String& value) { SetModelName(value); return *this;} /** *[Required] The name of the model to update.
*/ inline UpdateModelRequest& WithModelName(Aws::String&& value) { SetModelName(std::move(value)); return *this;} /** *[Required] The name of the model to update.
*/ inline UpdateModelRequest& WithModelName(const char* value) { SetModelName(value); return *this;} /** *A list of update operations to be applied to the specified resource and in * the order specified in this list.
*/ inline const Aws::VectorA list of update operations to be applied to the specified resource and in * the order specified in this list.
*/ inline bool PatchOperationsHasBeenSet() const { return m_patchOperationsHasBeenSet; } /** *A list of update operations to be applied to the specified resource and in * the order specified in this list.
*/ inline void SetPatchOperations(const Aws::VectorA list of update operations to be applied to the specified resource and in * the order specified in this list.
*/ inline void SetPatchOperations(Aws::VectorA list of update operations to be applied to the specified resource and in * the order specified in this list.
*/ inline UpdateModelRequest& WithPatchOperations(const Aws::VectorA list of update operations to be applied to the specified resource and in * the order specified in this list.
*/ inline UpdateModelRequest& WithPatchOperations(Aws::VectorA list of update operations to be applied to the specified resource and in * the order specified in this list.
*/ inline UpdateModelRequest& AddPatchOperations(const PatchOperation& value) { m_patchOperationsHasBeenSet = true; m_patchOperations.push_back(value); return *this; } /** *A list of update operations to be applied to the specified resource and in * the order specified in this list.
*/ inline UpdateModelRequest& AddPatchOperations(PatchOperation&& value) { m_patchOperationsHasBeenSet = true; m_patchOperations.push_back(std::move(value)); return *this; } private: Aws::String m_restApiId; bool m_restApiIdHasBeenSet; Aws::String m_modelName; bool m_modelNameHasBeenSet; Aws::Vector