/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A container for facet information. See Also:
AWS
* API Reference
The facet value being counted.
*/ inline const Aws::String& GetValue() const{ return m_value; } /** *The facet value being counted.
*/ inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } /** *The facet value being counted.
*/ inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; } /** *The facet value being counted.
*/ inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } /** *The facet value being counted.
*/ inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); } /** *The facet value being counted.
*/ inline Bucket& WithValue(const Aws::String& value) { SetValue(value); return *this;} /** *The facet value being counted.
*/ inline Bucket& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;} /** *The facet value being counted.
*/ inline Bucket& WithValue(const char* value) { SetValue(value); return *this;} /** *The number of hits that contain the facet value in the specified facet * field.
*/ inline long long GetCount() const{ return m_count; } /** *The number of hits that contain the facet value in the specified facet * field.
*/ inline bool CountHasBeenSet() const { return m_countHasBeenSet; } /** *The number of hits that contain the facet value in the specified facet * field.
*/ inline void SetCount(long long value) { m_countHasBeenSet = true; m_count = value; } /** *The number of hits that contain the facet value in the specified facet * field.
*/ inline Bucket& WithCount(long long value) { SetCount(value); return *this;} private: Aws::String m_value; bool m_valueHasBeenSet = false; long long m_count; bool m_countHasBeenSet = false; }; } // namespace Model } // namespace CloudSearchDomain } // namespace Aws