/** * 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 AWS_CODECOMMIT_API DeleteApprovalRuleTemplateResult { public: DeleteApprovalRuleTemplateResult(); DeleteApprovalRuleTemplateResult(const Aws::AmazonWebServiceResult& result); 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;} private: Aws::String m_approvalRuleTemplateId; }; } // namespace Model } // namespace CodeCommit } // namespace Aws