/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An object containing the criterion by which to bin the results and the value
* that defines that bin.See Also:
AWS
* API Reference
The criterion by which to bin the results.
*/ inline const AnalyticsBinByName& GetName() const{ return m_name; } /** *The criterion by which to bin the results.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The criterion by which to bin the results.
*/ inline void SetName(const AnalyticsBinByName& value) { m_nameHasBeenSet = true; m_name = value; } /** *The criterion by which to bin the results.
*/ inline void SetName(AnalyticsBinByName&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The criterion by which to bin the results.
*/ inline AnalyticsBinKey& WithName(const AnalyticsBinByName& value) { SetName(value); return *this;} /** *The criterion by which to bin the results.
*/ inline AnalyticsBinKey& WithName(AnalyticsBinByName&& value) { SetName(std::move(value)); return *this;} /** *The value of the criterion that defines the bin.
*/ inline long long GetValue() const{ return m_value; } /** *The value of the criterion that defines the bin.
*/ inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } /** *The value of the criterion that defines the bin.
*/ inline void SetValue(long long value) { m_valueHasBeenSet = true; m_value = value; } /** *The value of the criterion that defines the bin.
*/ inline AnalyticsBinKey& WithValue(long long value) { SetValue(value); return *this;} private: AnalyticsBinByName m_name; bool m_nameHasBeenSet = false; long long m_value; bool m_valueHasBeenSet = false; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws