/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace QuickSight { namespace Model { /** *

The options that determine the bin width of a histogram.

See * Also:

AWS * API Reference

*/ class BinWidthOptions { public: AWS_QUICKSIGHT_API BinWidthOptions(); AWS_QUICKSIGHT_API BinWidthOptions(Aws::Utils::Json::JsonView jsonValue); AWS_QUICKSIGHT_API BinWidthOptions& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The options that determine the bin width value.

*/ inline double GetValue() const{ return m_value; } /** *

The options that determine the bin width value.

*/ inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } /** *

The options that determine the bin width value.

*/ inline void SetValue(double value) { m_valueHasBeenSet = true; m_value = value; } /** *

The options that determine the bin width value.

*/ inline BinWidthOptions& WithValue(double value) { SetValue(value); return *this;} /** *

The options that determine the bin count limit.

*/ inline long long GetBinCountLimit() const{ return m_binCountLimit; } /** *

The options that determine the bin count limit.

*/ inline bool BinCountLimitHasBeenSet() const { return m_binCountLimitHasBeenSet; } /** *

The options that determine the bin count limit.

*/ inline void SetBinCountLimit(long long value) { m_binCountLimitHasBeenSet = true; m_binCountLimit = value; } /** *

The options that determine the bin count limit.

*/ inline BinWidthOptions& WithBinCountLimit(long long value) { SetBinCountLimit(value); return *this;} private: double m_value; bool m_valueHasBeenSet = false; long long m_binCountLimit; bool m_binCountLimitHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws