7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/kendra/Kendra_EXPORTS.h>
10#include <aws/kendra/model/DocumentAttributeValueCountPair.h>
11#include <aws/kendra/model/DocumentAttributeValueType.h>
24class DocumentAttributeValueCountPair;
46 template <
typename DocumentAttributeKeyT = Aws::String>
48 m_documentAttributeKeyHasBeenSet =
true;
49 m_documentAttributeKey = std::forward<DocumentAttributeKeyT>(value);
51 template <
typename DocumentAttributeKeyT = Aws::String>
66 m_documentAttributeValueTypeHasBeenSet =
true;
67 m_documentAttributeValueType = value;
81 return m_documentAttributeValueCountPairs;
84 template <
typename DocumentAttributeValueCountPairsT = Aws::Vector<DocumentAttributeValueCountPair>>
86 m_documentAttributeValueCountPairsHasBeenSet =
true;
87 m_documentAttributeValueCountPairs = std::forward<DocumentAttributeValueCountPairsT>(value);
89 template <
typename DocumentAttributeValueCountPairsT = Aws::Vector<DocumentAttributeValueCountPair>>
94 template <
typename DocumentAttributeValueCountPairsT = DocumentAttributeValueCountPair>
96 m_documentAttributeValueCountPairsHasBeenSet =
true;
97 m_documentAttributeValueCountPairs.emplace_back(std::forward<DocumentAttributeValueCountPairsT>(value));
103 bool m_documentAttributeKeyHasBeenSet =
false;
106 bool m_documentAttributeValueTypeHasBeenSet =
false;
109 bool m_documentAttributeValueCountPairsHasBeenSet =
false;
FacetResult & WithDocumentAttributeValueType(DocumentAttributeValueType value)
bool DocumentAttributeValueTypeHasBeenSet() const
AWS_KENDRA_API FacetResult(Aws::Utils::Json::JsonView jsonValue)
AWS_KENDRA_API FacetResult & operator=(Aws::Utils::Json::JsonView jsonValue)
FacetResult & AddDocumentAttributeValueCountPairs(DocumentAttributeValueCountPairsT &&value)
void SetDocumentAttributeValueCountPairs(DocumentAttributeValueCountPairsT &&value)
bool DocumentAttributeKeyHasBeenSet() const
FacetResult & WithDocumentAttributeValueCountPairs(DocumentAttributeValueCountPairsT &&value)
const Aws::String & GetDocumentAttributeKey() const
const Aws::Vector< DocumentAttributeValueCountPair > & GetDocumentAttributeValueCountPairs() const
AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDocumentAttributeKey(DocumentAttributeKeyT &&value)
AWS_KENDRA_API FacetResult()=default
DocumentAttributeValueType GetDocumentAttributeValueType() const
void SetDocumentAttributeValueType(DocumentAttributeValueType value)
FacetResult & WithDocumentAttributeKey(DocumentAttributeKeyT &&value)
bool DocumentAttributeValueCountPairsHasBeenSet() const
DocumentAttributeValueType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue