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/ExpandConfiguration.h>
11#include <aws/kendra/model/MissingAttributeKeyStrategy.h>
12#include <aws/kendra/model/SortingConfiguration.h>
49 template <
typename DocumentAttributeKeyT = Aws::String>
51 m_documentAttributeKeyHasBeenSet =
true;
52 m_documentAttributeKey = std::forward<DocumentAttributeKeyT>(value);
54 template <
typename DocumentAttributeKeyT = Aws::String>
68 template <
typename SortingConfigurationsT = Aws::Vector<SortingConfiguration>>
70 m_sortingConfigurationsHasBeenSet =
true;
71 m_sortingConfigurations = std::forward<SortingConfigurationsT>(value);
73 template <
typename SortingConfigurationsT = Aws::Vector<SortingConfiguration>>
78 template <
typename SortingConfigurationsT = SortingConfiguration>
80 m_sortingConfigurationsHasBeenSet =
true;
81 m_sortingConfigurations.emplace_back(std::forward<SortingConfigurationsT>(value));
100 m_missingAttributeKeyStrategyHasBeenSet =
true;
101 m_missingAttributeKeyStrategy = value;
116 m_expandHasBeenSet =
true;
132 template <
typename ExpandConfigurationT = ExpandConfiguration>
134 m_expandConfigurationHasBeenSet =
true;
135 m_expandConfiguration = std::forward<ExpandConfigurationT>(value);
137 template <
typename ExpandConfigurationT = ExpandConfiguration>
150 bool m_expand{
false};
152 ExpandConfiguration m_expandConfiguration;
153 bool m_documentAttributeKeyHasBeenSet =
false;
154 bool m_sortingConfigurationsHasBeenSet =
false;
155 bool m_missingAttributeKeyStrategyHasBeenSet =
false;
156 bool m_expandHasBeenSet =
false;
157 bool m_expandConfigurationHasBeenSet =
false;
bool SortingConfigurationsHasBeenSet() const
CollapseConfiguration & WithMissingAttributeKeyStrategy(MissingAttributeKeyStrategy value)
const Aws::Vector< SortingConfiguration > & GetSortingConfigurations() const
CollapseConfiguration & WithExpandConfiguration(ExpandConfigurationT &&value)
CollapseConfiguration & WithSortingConfigurations(SortingConfigurationsT &&value)
CollapseConfiguration & AddSortingConfigurations(SortingConfigurationsT &&value)
void SetExpand(bool value)
bool ExpandHasBeenSet() const
void SetDocumentAttributeKey(DocumentAttributeKeyT &&value)
AWS_KENDRA_API CollapseConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ExpandConfigurationHasBeenSet() const
CollapseConfiguration & WithExpand(bool value)
bool DocumentAttributeKeyHasBeenSet() const
AWS_KENDRA_API CollapseConfiguration()=default
AWS_KENDRA_API CollapseConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSortingConfigurations(SortingConfigurationsT &&value)
void SetMissingAttributeKeyStrategy(MissingAttributeKeyStrategy value)
const Aws::String & GetDocumentAttributeKey() const
bool MissingAttributeKeyStrategyHasBeenSet() const
MissingAttributeKeyStrategy GetMissingAttributeKeyStrategy() const
CollapseConfiguration & WithDocumentAttributeKey(DocumentAttributeKeyT &&value)
void SetExpandConfiguration(ExpandConfigurationT &&value)
const ExpandConfiguration & GetExpandConfiguration() const
MissingAttributeKeyStrategy
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue