/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace CodeCommit { namespace Model { class DeleteApprovalRuleTemplateResult { public: AWS_CODECOMMIT_API DeleteApprovalRuleTemplateResult(); AWS_CODECOMMIT_API DeleteApprovalRuleTemplateResult(const Aws::AmazonWebServiceResult& result); AWS_CODECOMMIT_API DeleteApprovalRuleTemplateResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The system-generated ID of the deleted approval rule template. If the * template has been previously deleted, the only response is a 200 OK.

*/ inline const Aws::String& GetApprovalRuleTemplateId() const{ return m_approvalRuleTemplateId; } /** *

The system-generated ID of the deleted approval rule template. If the * template has been previously deleted, the only response is a 200 OK.

*/ inline void SetApprovalRuleTemplateId(const Aws::String& value) { m_approvalRuleTemplateId = value; } /** *

The system-generated ID of the deleted approval rule template. If the * template has been previously deleted, the only response is a 200 OK.

*/ inline void SetApprovalRuleTemplateId(Aws::String&& value) { m_approvalRuleTemplateId = std::move(value); } /** *

The system-generated ID of the deleted approval rule template. If the * template has been previously deleted, the only response is a 200 OK.

*/ inline void SetApprovalRuleTemplateId(const char* value) { m_approvalRuleTemplateId.assign(value); } /** *

The system-generated ID of the deleted approval rule template. If the * template has been previously deleted, the only response is a 200 OK.

*/ inline DeleteApprovalRuleTemplateResult& WithApprovalRuleTemplateId(const Aws::String& value) { SetApprovalRuleTemplateId(value); return *this;} /** *

The system-generated ID of the deleted approval rule template. If the * template has been previously deleted, the only response is a 200 OK.

*/ inline DeleteApprovalRuleTemplateResult& WithApprovalRuleTemplateId(Aws::String&& value) { SetApprovalRuleTemplateId(std::move(value)); return *this;} /** *

The system-generated ID of the deleted approval rule template. If the * template has been previously deleted, the only response is a 200 OK.

*/ inline DeleteApprovalRuleTemplateResult& WithApprovalRuleTemplateId(const char* value) { SetApprovalRuleTemplateId(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DeleteApprovalRuleTemplateResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DeleteApprovalRuleTemplateResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DeleteApprovalRuleTemplateResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_approvalRuleTemplateId; Aws::String m_requestId; }; } // namespace Model } // namespace CodeCommit } // namespace Aws