/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The options that determine the presentation of histogram bins.See
* Also:
AWS
* API Reference
The options that determine the selected bin type.
*/ inline const HistogramBinType& GetSelectedBinType() const{ return m_selectedBinType; } /** *The options that determine the selected bin type.
*/ inline bool SelectedBinTypeHasBeenSet() const { return m_selectedBinTypeHasBeenSet; } /** *The options that determine the selected bin type.
*/ inline void SetSelectedBinType(const HistogramBinType& value) { m_selectedBinTypeHasBeenSet = true; m_selectedBinType = value; } /** *The options that determine the selected bin type.
*/ inline void SetSelectedBinType(HistogramBinType&& value) { m_selectedBinTypeHasBeenSet = true; m_selectedBinType = std::move(value); } /** *The options that determine the selected bin type.
*/ inline HistogramBinOptions& WithSelectedBinType(const HistogramBinType& value) { SetSelectedBinType(value); return *this;} /** *The options that determine the selected bin type.
*/ inline HistogramBinOptions& WithSelectedBinType(HistogramBinType&& value) { SetSelectedBinType(std::move(value)); return *this;} /** *The options that determine the bin count of a histogram.
*/ inline const BinCountOptions& GetBinCount() const{ return m_binCount; } /** *The options that determine the bin count of a histogram.
*/ inline bool BinCountHasBeenSet() const { return m_binCountHasBeenSet; } /** *The options that determine the bin count of a histogram.
*/ inline void SetBinCount(const BinCountOptions& value) { m_binCountHasBeenSet = true; m_binCount = value; } /** *The options that determine the bin count of a histogram.
*/ inline void SetBinCount(BinCountOptions&& value) { m_binCountHasBeenSet = true; m_binCount = std::move(value); } /** *The options that determine the bin count of a histogram.
*/ inline HistogramBinOptions& WithBinCount(const BinCountOptions& value) { SetBinCount(value); return *this;} /** *The options that determine the bin count of a histogram.
*/ inline HistogramBinOptions& WithBinCount(BinCountOptions&& value) { SetBinCount(std::move(value)); return *this;} /** *The options that determine the bin width of a histogram.
*/ inline const BinWidthOptions& GetBinWidth() const{ return m_binWidth; } /** *The options that determine the bin width of a histogram.
*/ inline bool BinWidthHasBeenSet() const { return m_binWidthHasBeenSet; } /** *The options that determine the bin width of a histogram.
*/ inline void SetBinWidth(const BinWidthOptions& value) { m_binWidthHasBeenSet = true; m_binWidth = value; } /** *The options that determine the bin width of a histogram.
*/ inline void SetBinWidth(BinWidthOptions&& value) { m_binWidthHasBeenSet = true; m_binWidth = std::move(value); } /** *The options that determine the bin width of a histogram.
*/ inline HistogramBinOptions& WithBinWidth(const BinWidthOptions& value) { SetBinWidth(value); return *this;} /** *The options that determine the bin width of a histogram.
*/ inline HistogramBinOptions& WithBinWidth(BinWidthOptions&& value) { SetBinWidth(std::move(value)); return *this;} /** *The options that determine the bin start value.
*/ inline double GetStartValue() const{ return m_startValue; } /** *The options that determine the bin start value.
*/ inline bool StartValueHasBeenSet() const { return m_startValueHasBeenSet; } /** *The options that determine the bin start value.
*/ inline void SetStartValue(double value) { m_startValueHasBeenSet = true; m_startValue = value; } /** *The options that determine the bin start value.
*/ inline HistogramBinOptions& WithStartValue(double value) { SetStartValue(value); return *this;} private: HistogramBinType m_selectedBinType; bool m_selectedBinTypeHasBeenSet = false; BinCountOptions m_binCount; bool m_binCountHasBeenSet = false; BinWidthOptions m_binWidth; bool m_binWidthHasBeenSet = false; double m_startValue; bool m_startValueHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws