/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about scores of a contact evaluation item (section or
* question).See Also:
AWS
* API Reference
The score percentage for an item in a contact evaluation.
*/ inline double GetPercentage() const{ return m_percentage; } /** *The score percentage for an item in a contact evaluation.
*/ inline bool PercentageHasBeenSet() const { return m_percentageHasBeenSet; } /** *The score percentage for an item in a contact evaluation.
*/ inline void SetPercentage(double value) { m_percentageHasBeenSet = true; m_percentage = value; } /** *The score percentage for an item in a contact evaluation.
*/ inline EvaluationScore& WithPercentage(double value) { SetPercentage(value); return *this;} /** *The flag to mark the item as not applicable for scoring.
*/ inline bool GetNotApplicable() const{ return m_notApplicable; } /** *The flag to mark the item as not applicable for scoring.
*/ inline bool NotApplicableHasBeenSet() const { return m_notApplicableHasBeenSet; } /** *The flag to mark the item as not applicable for scoring.
*/ inline void SetNotApplicable(bool value) { m_notApplicableHasBeenSet = true; m_notApplicable = value; } /** *The flag to mark the item as not applicable for scoring.
*/ inline EvaluationScore& WithNotApplicable(bool value) { SetNotApplicable(value); return *this;} /** *The flag that marks the item as automatic fail. If the item or a child item * gets an automatic fail answer, this flag will be true.
*/ inline bool GetAutomaticFail() const{ return m_automaticFail; } /** *The flag that marks the item as automatic fail. If the item or a child item * gets an automatic fail answer, this flag will be true.
*/ inline bool AutomaticFailHasBeenSet() const { return m_automaticFailHasBeenSet; } /** *The flag that marks the item as automatic fail. If the item or a child item * gets an automatic fail answer, this flag will be true.
*/ inline void SetAutomaticFail(bool value) { m_automaticFailHasBeenSet = true; m_automaticFail = value; } /** *The flag that marks the item as automatic fail. If the item or a child item * gets an automatic fail answer, this flag will be true.
*/ inline EvaluationScore& WithAutomaticFail(bool value) { SetAutomaticFail(value); return *this;} private: double m_percentage; bool m_percentageHasBeenSet = false; bool m_notApplicable; bool m_notApplicableHasBeenSet = false; bool m_automaticFail; bool m_automaticFailHasBeenSet = false; }; } // namespace Model } // namespace Connect } // namespace Aws