/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The facet values for the documents in the response.See Also:
* AWS
* API Reference
The key for the facet values. This is the same as the
* DocumentAttributeKey provided in the query.
The key for the facet values. This is the same as the
* DocumentAttributeKey provided in the query.
The key for the facet values. This is the same as the
* DocumentAttributeKey provided in the query.
The key for the facet values. This is the same as the
* DocumentAttributeKey provided in the query.
The key for the facet values. This is the same as the
* DocumentAttributeKey provided in the query.
The key for the facet values. This is the same as the
* DocumentAttributeKey provided in the query.
The key for the facet values. This is the same as the
* DocumentAttributeKey provided in the query.
The key for the facet values. This is the same as the
* DocumentAttributeKey provided in the query.
An array of key/value pairs, where the key is the value of the attribute and * the count is the number of documents that share the key value.
*/ inline const Aws::VectorAn array of key/value pairs, where the key is the value of the attribute and * the count is the number of documents that share the key value.
*/ inline bool DocumentAttributeValueCountPairsHasBeenSet() const { return m_documentAttributeValueCountPairsHasBeenSet; } /** *An array of key/value pairs, where the key is the value of the attribute and * the count is the number of documents that share the key value.
*/ inline void SetDocumentAttributeValueCountPairs(const Aws::VectorAn array of key/value pairs, where the key is the value of the attribute and * the count is the number of documents that share the key value.
*/ inline void SetDocumentAttributeValueCountPairs(Aws::VectorAn array of key/value pairs, where the key is the value of the attribute and * the count is the number of documents that share the key value.
*/ inline FacetResult& WithDocumentAttributeValueCountPairs(const Aws::VectorAn array of key/value pairs, where the key is the value of the attribute and * the count is the number of documents that share the key value.
*/ inline FacetResult& WithDocumentAttributeValueCountPairs(Aws::VectorAn array of key/value pairs, where the key is the value of the attribute and * the count is the number of documents that share the key value.
*/ inline FacetResult& AddDocumentAttributeValueCountPairs(const DocumentAttributeValueCountPair& value) { m_documentAttributeValueCountPairsHasBeenSet = true; m_documentAttributeValueCountPairs.push_back(value); return *this; } /** *An array of key/value pairs, where the key is the value of the attribute and * the count is the number of documents that share the key value.
*/ inline FacetResult& AddDocumentAttributeValueCountPairs(DocumentAttributeValueCountPair&& value) { m_documentAttributeValueCountPairsHasBeenSet = true; m_documentAttributeValueCountPairs.push_back(std::move(value)); return *this; } private: Aws::String m_documentAttributeKey; bool m_documentAttributeKeyHasBeenSet; Aws::Vector