7#include <aws/kendra/Kendra_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
57 template<
typename DataSourceFieldNameT = Aws::String>
58 void SetDataSourceFieldName(DataSourceFieldNameT&& value) { m_dataSourceFieldNameHasBeenSet =
true; m_dataSourceFieldName = std::forward<DataSourceFieldNameT>(value); }
59 template<
typename DataSourceFieldNameT = Aws::String>
71 template<
typename DateFieldFormatT = Aws::String>
72 void SetDateFieldFormat(DateFieldFormatT&& value) { m_dateFieldFormatHasBeenSet =
true; m_dateFieldFormat = std::forward<DateFieldFormatT>(value); }
73 template<
typename DateFieldFormatT = Aws::String>
84 template<
typename IndexFieldNameT = Aws::String>
85 void SetIndexFieldName(IndexFieldNameT&& value) { m_indexFieldNameHasBeenSet =
true; m_indexFieldName = std::forward<IndexFieldNameT>(value); }
86 template<
typename IndexFieldNameT = Aws::String>
92 bool m_dataSourceFieldNameHasBeenSet =
false;
95 bool m_dateFieldFormatHasBeenSet =
false;
98 bool m_indexFieldNameHasBeenSet =
false;
const Aws::String & GetDateFieldFormat() const
bool DataSourceFieldNameHasBeenSet() const
DataSourceToIndexFieldMapping & WithDataSourceFieldName(DataSourceFieldNameT &&value)
AWS_KENDRA_API DataSourceToIndexFieldMapping()=default
DataSourceToIndexFieldMapping & WithDateFieldFormat(DateFieldFormatT &&value)
const Aws::String & GetIndexFieldName() const
AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const
bool DateFieldFormatHasBeenSet() const
const Aws::String & GetDataSourceFieldName() const
bool IndexFieldNameHasBeenSet() const
void SetDataSourceFieldName(DataSourceFieldNameT &&value)
AWS_KENDRA_API DataSourceToIndexFieldMapping & operator=(Aws::Utils::Json::JsonView jsonValue)
DataSourceToIndexFieldMapping & WithIndexFieldName(IndexFieldNameT &&value)
void SetIndexFieldName(IndexFieldNameT &&value)
AWS_KENDRA_API DataSourceToIndexFieldMapping(Aws::Utils::Json::JsonView jsonValue)
void SetDateFieldFormat(DateFieldFormatT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue