/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include
#include
#include
#include
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace QuickSight
{
namespace Model
{
/**
* The field well configuration of a histogram.
See Also:
AWS
* API Reference
*/
class HistogramAggregatedFieldWells
{
public:
AWS_QUICKSIGHT_API HistogramAggregatedFieldWells();
AWS_QUICKSIGHT_API HistogramAggregatedFieldWells(Aws::Utils::Json::JsonView jsonValue);
AWS_QUICKSIGHT_API HistogramAggregatedFieldWells& operator=(Aws::Utils::Json::JsonView jsonValue);
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
/**
* The value field wells of a histogram. Values are aggregated by
* COUNT
or DISTINCT_COUNT
.
*/
inline const Aws::Vector& GetValues() const{ return m_values; }
/**
* The value field wells of a histogram. Values are aggregated by
* COUNT
or DISTINCT_COUNT
.
*/
inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; }
/**
* The value field wells of a histogram. Values are aggregated by
* COUNT
or DISTINCT_COUNT
.
*/
inline void SetValues(const Aws::Vector& value) { m_valuesHasBeenSet = true; m_values = value; }
/**
* The value field wells of a histogram. Values are aggregated by
* COUNT
or DISTINCT_COUNT
.
*/
inline void SetValues(Aws::Vector&& value) { m_valuesHasBeenSet = true; m_values = std::move(value); }
/**
* The value field wells of a histogram. Values are aggregated by
* COUNT
or DISTINCT_COUNT
.
*/
inline HistogramAggregatedFieldWells& WithValues(const Aws::Vector& value) { SetValues(value); return *this;}
/**
* The value field wells of a histogram. Values are aggregated by
* COUNT
or DISTINCT_COUNT
.
*/
inline HistogramAggregatedFieldWells& WithValues(Aws::Vector&& value) { SetValues(std::move(value)); return *this;}
/**
* The value field wells of a histogram. Values are aggregated by
* COUNT
or DISTINCT_COUNT
.
*/
inline HistogramAggregatedFieldWells& AddValues(const MeasureField& value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; }
/**
* The value field wells of a histogram. Values are aggregated by
* COUNT
or DISTINCT_COUNT
.
*/
inline HistogramAggregatedFieldWells& AddValues(MeasureField&& value) { m_valuesHasBeenSet = true; m_values.push_back(std::move(value)); return *this; }
private:
Aws::Vector m_values;
bool m_valuesHasBeenSet = false;
};
} // namespace Model
} // namespace QuickSight
} // namespace Aws