7#include <aws/kendra/Kendra_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/kendra/model/MissingAttributeKeyStrategy.h>
11#include <aws/kendra/model/ExpandConfiguration.h>
12#include <aws/kendra/model/SortingConfiguration.h>
55 template<
typename DocumentAttributeKeyT = Aws::String>
56 void SetDocumentAttributeKey(DocumentAttributeKeyT&& value) { m_documentAttributeKeyHasBeenSet =
true; m_documentAttributeKey = std::forward<DocumentAttributeKeyT>(value); }
57 template<
typename DocumentAttributeKeyT = Aws::String>
68 template<
typename SortingConfigurationsT = Aws::Vector<SortingConfiguration>>
69 void SetSortingConfigurations(SortingConfigurationsT&& value) { m_sortingConfigurationsHasBeenSet =
true; m_sortingConfigurations = std::forward<SortingConfigurationsT>(value); }
70 template<
typename SortingConfigurationsT = Aws::Vector<SortingConfiguration>>
72 template<
typename SortingConfigurationsT = SortingConfiguration>
99 inline void SetExpand(
bool value) { m_expandHasBeenSet =
true; m_expand = value; }
110 template<
typename ExpandConfigurationT = ExpandConfiguration>
111 void SetExpandConfiguration(ExpandConfigurationT&& value) { m_expandConfigurationHasBeenSet =
true; m_expandConfiguration = std::forward<ExpandConfigurationT>(value); }
112 template<
typename ExpandConfigurationT = ExpandConfiguration>
118 bool m_documentAttributeKeyHasBeenSet =
false;
121 bool m_sortingConfigurationsHasBeenSet =
false;
124 bool m_missingAttributeKeyStrategyHasBeenSet =
false;
126 bool m_expand{
false};
127 bool m_expandHasBeenSet =
false;
129 ExpandConfiguration m_expandConfiguration;
130 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