/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Updates an existing documentation part of a given API.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 UpdateDocumentationPartRequest& WithRestApiId(const Aws::String& value) { SetRestApiId(value); return *this;} /** *[Required] The string identifier of the associated RestApi.
*/ inline UpdateDocumentationPartRequest& WithRestApiId(Aws::String&& value) { SetRestApiId(std::move(value)); return *this;} /** *[Required] The string identifier of the associated RestApi.
*/ inline UpdateDocumentationPartRequest& WithRestApiId(const char* value) { SetRestApiId(value); return *this;} /** *[Required] The identifier of the to-be-updated documentation part.
*/ inline const Aws::String& GetDocumentationPartId() const{ return m_documentationPartId; } /** *[Required] The identifier of the to-be-updated documentation part.
*/ inline bool DocumentationPartIdHasBeenSet() const { return m_documentationPartIdHasBeenSet; } /** *[Required] The identifier of the to-be-updated documentation part.
*/ inline void SetDocumentationPartId(const Aws::String& value) { m_documentationPartIdHasBeenSet = true; m_documentationPartId = value; } /** *[Required] The identifier of the to-be-updated documentation part.
*/ inline void SetDocumentationPartId(Aws::String&& value) { m_documentationPartIdHasBeenSet = true; m_documentationPartId = std::move(value); } /** *[Required] The identifier of the to-be-updated documentation part.
*/ inline void SetDocumentationPartId(const char* value) { m_documentationPartIdHasBeenSet = true; m_documentationPartId.assign(value); } /** *[Required] The identifier of the to-be-updated documentation part.
*/ inline UpdateDocumentationPartRequest& WithDocumentationPartId(const Aws::String& value) { SetDocumentationPartId(value); return *this;} /** *[Required] The identifier of the to-be-updated documentation part.
*/ inline UpdateDocumentationPartRequest& WithDocumentationPartId(Aws::String&& value) { SetDocumentationPartId(std::move(value)); return *this;} /** *[Required] The identifier of the to-be-updated documentation part.
*/ inline UpdateDocumentationPartRequest& WithDocumentationPartId(const char* value) { SetDocumentationPartId(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 UpdateDocumentationPartRequest& WithPatchOperations(const Aws::VectorA list of update operations to be applied to the specified resource and in * the order specified in this list.
*/ inline UpdateDocumentationPartRequest& WithPatchOperations(Aws::VectorA list of update operations to be applied to the specified resource and in * the order specified in this list.
*/ inline UpdateDocumentationPartRequest& 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 UpdateDocumentationPartRequest& 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_documentationPartId; bool m_documentationPartIdHasBeenSet; Aws::Vector