/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides the count of documents that match a particular attribute when doing
* a faceted search.See Also:
AWS
* API Reference
The value of the attribute. For example, "HR."
*/ inline const DocumentAttributeValue& GetDocumentAttributeValue() const{ return m_documentAttributeValue; } /** *The value of the attribute. For example, "HR."
*/ inline bool DocumentAttributeValueHasBeenSet() const { return m_documentAttributeValueHasBeenSet; } /** *The value of the attribute. For example, "HR."
*/ inline void SetDocumentAttributeValue(const DocumentAttributeValue& value) { m_documentAttributeValueHasBeenSet = true; m_documentAttributeValue = value; } /** *The value of the attribute. For example, "HR."
*/ inline void SetDocumentAttributeValue(DocumentAttributeValue&& value) { m_documentAttributeValueHasBeenSet = true; m_documentAttributeValue = std::move(value); } /** *The value of the attribute. For example, "HR."
*/ inline DocumentAttributeValueCountPair& WithDocumentAttributeValue(const DocumentAttributeValue& value) { SetDocumentAttributeValue(value); return *this;} /** *The value of the attribute. For example, "HR."
*/ inline DocumentAttributeValueCountPair& WithDocumentAttributeValue(DocumentAttributeValue&& value) { SetDocumentAttributeValue(std::move(value)); return *this;} /** *The number of documents in the response that have the attribute value for the * key.
*/ inline int GetCount() const{ return m_count; } /** *The number of documents in the response that have the attribute value for the * key.
*/ inline bool CountHasBeenSet() const { return m_countHasBeenSet; } /** *The number of documents in the response that have the attribute value for the * key.
*/ inline void SetCount(int value) { m_countHasBeenSet = true; m_count = value; } /** *The number of documents in the response that have the attribute value for the * key.
*/ inline DocumentAttributeValueCountPair& WithCount(int value) { SetCount(value); return *this;} private: DocumentAttributeValue m_documentAttributeValue; bool m_documentAttributeValueHasBeenSet; int m_count; bool m_countHasBeenSet; }; } // namespace Model } // namespace kendra } // namespace Aws