7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lexv2-models/model/ExactResponseFields.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
50 template<
typename DomainEndpo
intT = Aws::String>
51 void SetDomainEndpoint(DomainEndpointT&& value) { m_domainEndpointHasBeenSet =
true; m_domainEndpoint = std::forward<DomainEndpointT>(value); }
52 template<
typename DomainEndpo
intT = Aws::String>
62 template<
typename IndexNameT = Aws::String>
63 void SetIndexName(IndexNameT&& value) { m_indexNameHasBeenSet =
true; m_indexName = std::forward<IndexNameT>(value); }
64 template<
typename IndexNameT = Aws::String>
75 inline void SetExactResponse(
bool value) { m_exactResponseHasBeenSet =
true; m_exactResponse = value; }
85 template<
typename ExactResponseFieldsT = ExactResponseFields>
86 void SetExactResponseFields(ExactResponseFieldsT&& value) { m_exactResponseFieldsHasBeenSet =
true; m_exactResponseFields = std::forward<ExactResponseFieldsT>(value); }
87 template<
typename ExactResponseFieldsT = ExactResponseFields>
98 template<
typename IncludeFieldsT = Aws::Vector<Aws::String>>
99 void SetIncludeFields(IncludeFieldsT&& value) { m_includeFieldsHasBeenSet =
true; m_includeFields = std::forward<IncludeFieldsT>(value); }
100 template<
typename IncludeFieldsT = Aws::Vector<Aws::String>>
102 template<
typename IncludeFieldsT = Aws::String>
108 bool m_domainEndpointHasBeenSet =
false;
111 bool m_indexNameHasBeenSet =
false;
113 bool m_exactResponse{
false};
114 bool m_exactResponseHasBeenSet =
false;
116 ExactResponseFields m_exactResponseFields;
117 bool m_exactResponseFieldsHasBeenSet =
false;
120 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