/** * 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 DeletePullRequestApprovalRuleResult { public: AWS_CODECOMMIT_API DeletePullRequestApprovalRuleResult(); AWS_CODECOMMIT_API DeletePullRequestApprovalRuleResult(const Aws::AmazonWebServiceResult& result); AWS_CODECOMMIT_API 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;} 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 DeletePullRequestApprovalRuleResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DeletePullRequestApprovalRuleResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DeletePullRequestApprovalRuleResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_approvalRuleId; Aws::String m_requestId; }; } // namespace Model } // namespace CodeCommit } // namespace Aws