/** * 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 DeletePullRequestApprovalRuleResult { public: DeletePullRequestApprovalRuleResult(); DeletePullRequestApprovalRuleResult(const Aws::AmazonWebServiceResult& result); DeletePullRequestApprovalRuleResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The ID of the deleted approval rule.

If the approval rule was * deleted in an earlier API call, the response is 200 OK without content.

* */ inline const Aws::String& GetApprovalRuleId() const{ return m_approvalRuleId; } /** *

The ID of the deleted approval rule.

If the approval rule was * deleted in an earlier API call, the response is 200 OK without content.

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

The ID of the deleted approval rule.

If the approval rule was * deleted in an earlier API call, the response is 200 OK without content.

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

The ID of the deleted approval rule.

If the approval rule was * deleted in an earlier API call, the response is 200 OK without content.

* */ inline void SetApprovalRuleId(const char* value) { m_approvalRuleId.assign(value); } /** *

The ID of the deleted approval rule.

If the approval rule was * deleted in an earlier API call, the response is 200 OK without content.

* */ inline DeletePullRequestApprovalRuleResult& WithApprovalRuleId(const Aws::String& value) { SetApprovalRuleId(value); return *this;} /** *

The ID of the deleted approval rule.

If the approval rule was * deleted in an earlier API call, the response is 200 OK without content.

* */ inline DeletePullRequestApprovalRuleResult& WithApprovalRuleId(Aws::String&& value) { SetApprovalRuleId(std::move(value)); return *this;} /** *

The ID of the deleted approval rule.

If the approval rule was * deleted in an earlier API call, the response is 200 OK without content.

* */ inline DeletePullRequestApprovalRuleResult& WithApprovalRuleId(const char* value) { SetApprovalRuleId(value); return *this;} private: Aws::String m_approvalRuleId; }; } // namespace Model } // namespace CodeCommit } // namespace Aws