7#include <aws/kendra/Kendra_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/kendra/model/DocumentAttributeValueType.h>
10#include <aws/kendra/model/DocumentAttributeValueCountPair.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
28 class DocumentAttributeValueCountPair;
52 template<
typename DocumentAttributeKeyT = Aws::String>
53 void SetDocumentAttributeKey(DocumentAttributeKeyT&& value) { m_documentAttributeKeyHasBeenSet =
true; m_documentAttributeKey = std::forward<DocumentAttributeKeyT>(value); }
54 template<
typename DocumentAttributeKeyT = Aws::String>
76 template<
typename DocumentAttributeValueCountPairsT = Aws::Vector<DocumentAttributeValueCountPair>>
77 void SetDocumentAttributeValueCountPairs(DocumentAttributeValueCountPairsT&& value) { m_documentAttributeValueCountPairsHasBeenSet =
true; m_documentAttributeValueCountPairs = std::forward<DocumentAttributeValueCountPairsT>(value); }
78 template<
typename DocumentAttributeValueCountPairsT = Aws::Vector<DocumentAttributeValueCountPair>>
80 template<
typename DocumentAttributeValueCountPairsT = DocumentAttributeValueCountPair>
81 FacetResult&
AddDocumentAttributeValueCountPairs(DocumentAttributeValueCountPairsT&& value) { m_documentAttributeValueCountPairsHasBeenSet =
true; m_documentAttributeValueCountPairs.emplace_back(std::forward<DocumentAttributeValueCountPairsT>(value));
return *
this; }
86 bool m_documentAttributeKeyHasBeenSet =
false;
89 bool m_documentAttributeValueTypeHasBeenSet =
false;
92 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