/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Entity that comprises information of count and percentage. See
* Also:
AWS
* API Reference
Indicates the count of occurences of the given statistic.
*/ inline int GetCount() const{ return m_count; } /** *Indicates the count of occurences of the given statistic.
*/ inline bool CountHasBeenSet() const { return m_countHasBeenSet; } /** *Indicates the count of occurences of the given statistic.
*/ inline void SetCount(int value) { m_countHasBeenSet = true; m_count = value; } /** *Indicates the count of occurences of the given statistic.
*/ inline CountPercent& WithCount(int value) { SetCount(value); return *this;} /** *Indicates the percentage of occurances of the given statistic.
*/ inline double GetPercentage() const{ return m_percentage; } /** *Indicates the percentage of occurances of the given statistic.
*/ inline bool PercentageHasBeenSet() const { return m_percentageHasBeenSet; } /** *Indicates the percentage of occurances of the given statistic.
*/ inline void SetPercentage(double value) { m_percentageHasBeenSet = true; m_percentage = value; } /** *Indicates the percentage of occurances of the given statistic.
*/ inline CountPercent& WithPercentage(double value) { SetPercentage(value); return *this;} private: int m_count; bool m_countHasBeenSet = false; double m_percentage; bool m_percentageHasBeenSet = false; }; } // namespace Model } // namespace LookoutEquipment } // namespace Aws