7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/opensearch/OpenSearchService_EXPORTS.h>
9#include <aws/opensearch/model/InsightFieldType.h>
20namespace OpenSearchService {
42 template <
typename NameT = Aws::String>
44 m_nameHasBeenSet =
true;
45 m_name = std::forward<NameT>(value);
47 template <
typename NameT = Aws::String>
49 SetName(std::forward<NameT>(value));
62 m_typeHasBeenSet =
true;
77 template <
typename ValueT = Aws::String>
79 m_valueHasBeenSet =
true;
80 m_value = std::forward<ValueT>(value);
82 template <
typename ValueT = Aws::String>
84 SetValue(std::forward<ValueT>(value));
94 bool m_nameHasBeenSet =
false;
95 bool m_typeHasBeenSet =
false;
96 bool m_valueHasBeenSet =
false;
bool TypeHasBeenSet() const
AWS_OPENSEARCHSERVICE_API InsightField()=default
AWS_OPENSEARCHSERVICE_API InsightField(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
InsightField & WithType(InsightFieldType value)
InsightField & WithValue(ValueT &&value)
bool NameHasBeenSet() const
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(NameT &&value)
AWS_OPENSEARCHSERVICE_API InsightField & operator=(Aws::Utils::Json::JsonView jsonValue)
InsightField & WithName(NameT &&value)
InsightFieldType GetType() const
const Aws::String & GetValue() const
void SetType(InsightFieldType value)
void SetValue(ValueT &&value)
bool ValueHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue