/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Returns information about the approval rules applied to a pull request and
* whether conditions have been met.See Also:
AWS
* API Reference
Whether the state of the pull request is approved.
*/ inline bool GetApproved() const{ return m_approved; } /** *Whether the state of the pull request is approved.
*/ inline bool ApprovedHasBeenSet() const { return m_approvedHasBeenSet; } /** *Whether the state of the pull request is approved.
*/ inline void SetApproved(bool value) { m_approvedHasBeenSet = true; m_approved = value; } /** *Whether the state of the pull request is approved.
*/ inline Evaluation& WithApproved(bool value) { SetApproved(value); return *this;} /** *Whether the approval rule requirements for the pull request have been * overridden and no longer need to be met.
*/ inline bool GetOverridden() const{ return m_overridden; } /** *Whether the approval rule requirements for the pull request have been * overridden and no longer need to be met.
*/ inline bool OverriddenHasBeenSet() const { return m_overriddenHasBeenSet; } /** *Whether the approval rule requirements for the pull request have been * overridden and no longer need to be met.
*/ inline void SetOverridden(bool value) { m_overriddenHasBeenSet = true; m_overridden = value; } /** *Whether the approval rule requirements for the pull request have been * overridden and no longer need to be met.
*/ inline Evaluation& WithOverridden(bool value) { SetOverridden(value); return *this;} /** *The names of the approval rules that have had their conditions met.
*/ inline const Aws::VectorThe names of the approval rules that have had their conditions met.
*/ inline bool ApprovalRulesSatisfiedHasBeenSet() const { return m_approvalRulesSatisfiedHasBeenSet; } /** *The names of the approval rules that have had their conditions met.
*/ inline void SetApprovalRulesSatisfied(const Aws::VectorThe names of the approval rules that have had their conditions met.
*/ inline void SetApprovalRulesSatisfied(Aws::VectorThe names of the approval rules that have had their conditions met.
*/ inline Evaluation& WithApprovalRulesSatisfied(const Aws::VectorThe names of the approval rules that have had their conditions met.
*/ inline Evaluation& WithApprovalRulesSatisfied(Aws::VectorThe names of the approval rules that have had their conditions met.
*/ inline Evaluation& AddApprovalRulesSatisfied(const Aws::String& value) { m_approvalRulesSatisfiedHasBeenSet = true; m_approvalRulesSatisfied.push_back(value); return *this; } /** *The names of the approval rules that have had their conditions met.
*/ inline Evaluation& AddApprovalRulesSatisfied(Aws::String&& value) { m_approvalRulesSatisfiedHasBeenSet = true; m_approvalRulesSatisfied.push_back(std::move(value)); return *this; } /** *The names of the approval rules that have had their conditions met.
*/ inline Evaluation& AddApprovalRulesSatisfied(const char* value) { m_approvalRulesSatisfiedHasBeenSet = true; m_approvalRulesSatisfied.push_back(value); return *this; } /** *The names of the approval rules that have not had their conditions met.
*/ inline const Aws::VectorThe names of the approval rules that have not had their conditions met.
*/ inline bool ApprovalRulesNotSatisfiedHasBeenSet() const { return m_approvalRulesNotSatisfiedHasBeenSet; } /** *The names of the approval rules that have not had their conditions met.
*/ inline void SetApprovalRulesNotSatisfied(const Aws::VectorThe names of the approval rules that have not had their conditions met.
*/ inline void SetApprovalRulesNotSatisfied(Aws::VectorThe names of the approval rules that have not had their conditions met.
*/ inline Evaluation& WithApprovalRulesNotSatisfied(const Aws::VectorThe names of the approval rules that have not had their conditions met.
*/ inline Evaluation& WithApprovalRulesNotSatisfied(Aws::VectorThe names of the approval rules that have not had their conditions met.
*/ inline Evaluation& AddApprovalRulesNotSatisfied(const Aws::String& value) { m_approvalRulesNotSatisfiedHasBeenSet = true; m_approvalRulesNotSatisfied.push_back(value); return *this; } /** *The names of the approval rules that have not had their conditions met.
*/ inline Evaluation& AddApprovalRulesNotSatisfied(Aws::String&& value) { m_approvalRulesNotSatisfiedHasBeenSet = true; m_approvalRulesNotSatisfied.push_back(std::move(value)); return *this; } /** *The names of the approval rules that have not had their conditions met.
*/ inline Evaluation& AddApprovalRulesNotSatisfied(const char* value) { m_approvalRulesNotSatisfiedHasBeenSet = true; m_approvalRulesNotSatisfied.push_back(value); return *this; } private: bool m_approved; bool m_approvedHasBeenSet = false; bool m_overridden; bool m_overriddenHasBeenSet = false; Aws::Vector