7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
10#include <aws/lexv2-models/model/ExactResponseFields.h>
21namespace LexModelsV2 {
44 template <
typename DomainEndpo
intT = Aws::String>
46 m_domainEndpointHasBeenSet =
true;
47 m_domainEndpoint = std::forward<DomainEndpointT>(value);
49 template <
typename DomainEndpo
intT = Aws::String>
62 template <
typename IndexNameT = Aws::String>
64 m_indexNameHasBeenSet =
true;
65 m_indexName = std::forward<IndexNameT>(value);
67 template <
typename IndexNameT = Aws::String>
82 m_exactResponseHasBeenSet =
true;
83 m_exactResponse = value;
97 template <
typename ExactResponseFieldsT = ExactResponseFields>
99 m_exactResponseFieldsHasBeenSet =
true;
100 m_exactResponseFields = std::forward<ExactResponseFieldsT>(value);
102 template <
typename ExactResponseFieldsT = ExactResponseFields>
116 template <
typename IncludeFieldsT = Aws::Vector<Aws::String>>
118 m_includeFieldsHasBeenSet =
true;
119 m_includeFields = std::forward<IncludeFieldsT>(value);
121 template <
typename IncludeFieldsT = Aws::Vector<Aws::String>>
126 template <
typename IncludeFieldsT = Aws::String>
128 m_includeFieldsHasBeenSet =
true;
129 m_includeFields.emplace_back(std::forward<IncludeFieldsT>(value));
138 bool m_exactResponse{
false};
140 ExactResponseFields m_exactResponseFields;
143 bool m_domainEndpointHasBeenSet =
false;
144 bool m_indexNameHasBeenSet =
false;
145 bool m_exactResponseHasBeenSet =
false;
146 bool m_exactResponseFieldsHasBeenSet =
false;
147 bool m_includeFieldsHasBeenSet =
false;
bool IndexNameHasBeenSet() const
const Aws::String & GetIndexName() const
const ExactResponseFields & GetExactResponseFields() const
AWS_LEXMODELSV2_API OpensearchConfiguration(Aws::Utils::Json::JsonView jsonValue)
bool ExactResponseFieldsHasBeenSet() const
void SetIncludeFields(IncludeFieldsT &&value)
bool DomainEndpointHasBeenSet() const
AWS_LEXMODELSV2_API OpensearchConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
OpensearchConfiguration & AddIncludeFields(IncludeFieldsT &&value)
void SetDomainEndpoint(DomainEndpointT &&value)
void SetExactResponseFields(ExactResponseFieldsT &&value)
OpensearchConfiguration & WithIndexName(IndexNameT &&value)
OpensearchConfiguration & WithExactResponseFields(ExactResponseFieldsT &&value)
const Aws::Vector< Aws::String > & GetIncludeFields() const
bool IncludeFieldsHasBeenSet() const
const Aws::String & GetDomainEndpoint() const
OpensearchConfiguration & WithExactResponse(bool value)
AWS_LEXMODELSV2_API OpensearchConfiguration()=default
OpensearchConfiguration & WithDomainEndpoint(DomainEndpointT &&value)
bool GetExactResponse() const
OpensearchConfiguration & WithIncludeFields(IncludeFieldsT &&value)
void SetIndexName(IndexNameT &&value)
bool ExactResponseHasBeenSet() const
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetExactResponse(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue