7#include <aws/location/LocationService_EXPORTS.h>
8#include <aws/location/LocationServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/location/model/DataSourceConfiguration.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
16namespace LocationService
47 template<
typename IndexNameT = Aws::String>
48 void SetIndexName(IndexNameT&& value) { m_indexNameHasBeenSet =
true; m_indexName = std::forward<IndexNameT>(value); }
49 template<
typename IndexNameT = Aws::String>
86 template<
typename DataSourceT = Aws::String>
87 void SetDataSource(DataSourceT&& value) { m_dataSourceHasBeenSet =
true; m_dataSource = std::forward<DataSourceT>(value); }
88 template<
typename DataSourceT = Aws::String>
98 template<
typename DescriptionT = Aws::String>
99 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
100 template<
typename DescriptionT = Aws::String>
110 template<
typename DataSourceConfigurationT = DataSourceConfiguration>
111 void SetDataSourceConfiguration(DataSourceConfigurationT&& value) { m_dataSourceConfigurationHasBeenSet =
true; m_dataSourceConfiguration = std::forward<DataSourceConfigurationT>(value); }
112 template<
typename DataSourceConfigurationT = DataSourceConfiguration>
130 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
131 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
132 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
134 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
136 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
142 bool m_indexNameHasBeenSet =
false;
145 bool m_dataSourceHasBeenSet =
false;
148 bool m_descriptionHasBeenSet =
false;
151 bool m_dataSourceConfigurationHasBeenSet =
false;
154 bool m_tagsHasBeenSet =
false;
const Aws::String & GetDataSource() const
bool IndexNameHasBeenSet() const
const Aws::String & GetDescription() const
void SetDataSourceConfiguration(DataSourceConfigurationT &&value)
CreatePlaceIndexRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetIndexName(IndexNameT &&value)
const Aws::String & GetIndexName() const
CreatePlaceIndexRequest & WithDataSourceConfiguration(DataSourceConfigurationT &&value)
CreatePlaceIndexRequest & WithTags(TagsT &&value)
AWS_LOCATIONSERVICE_API CreatePlaceIndexRequest()=default
bool DescriptionHasBeenSet() const
bool DataSourceConfigurationHasBeenSet() const
bool DataSourceHasBeenSet() const
const DataSourceConfiguration & GetDataSourceConfiguration() const
CreatePlaceIndexRequest & WithDataSource(DataSourceT &&value)
void SetTags(TagsT &&value)
void SetDataSource(DataSourceT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreatePlaceIndexRequest & WithDescription(DescriptionT &&value)
CreatePlaceIndexRequest & WithIndexName(IndexNameT &&value)
bool TagsHasBeenSet() const
AWS_LOCATIONSERVICE_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
void SetDescription(DescriptionT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String