/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace LocationService { namespace Model { class DescribePlaceIndexResult { public: AWS_LOCATIONSERVICE_API DescribePlaceIndexResult(); AWS_LOCATIONSERVICE_API DescribePlaceIndexResult(const Aws::AmazonWebServiceResult& result); AWS_LOCATIONSERVICE_API DescribePlaceIndexResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The timestamp for when the place index resource was created in ISO 8601 * format: YYYY-MM-DDThh:mm:ss.sssZ.

*/ inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; } /** *

The timestamp for when the place index resource was created in ISO 8601 * format: YYYY-MM-DDThh:mm:ss.sssZ.

*/ inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTime = value; } /** *

The timestamp for when the place index resource was created in ISO 8601 * format: YYYY-MM-DDThh:mm:ss.sssZ.

*/ inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTime = std::move(value); } /** *

The timestamp for when the place index resource was created in ISO 8601 * format: YYYY-MM-DDThh:mm:ss.sssZ.

*/ inline DescribePlaceIndexResult& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;} /** *

The timestamp for when the place index resource was created in ISO 8601 * format: YYYY-MM-DDThh:mm:ss.sssZ.

*/ inline DescribePlaceIndexResult& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;} /** *

The data provider of geospatial data. Values can be one of the following:

*
  • Esri

  • Grab

  • *
  • Here

For more information about data * providers, see Amazon * Location Service data providers.

*/ inline const Aws::String& GetDataSource() const{ return m_dataSource; } /** *

The data provider of geospatial data. Values can be one of the following:

*
  • Esri

  • Grab

  • *
  • Here

For more information about data * providers, see Amazon * Location Service data providers.

*/ inline void SetDataSource(const Aws::String& value) { m_dataSource = value; } /** *

The data provider of geospatial data. Values can be one of the following:

*
  • Esri

  • Grab

  • *
  • Here

For more information about data * providers, see Amazon * Location Service data providers.

*/ inline void SetDataSource(Aws::String&& value) { m_dataSource = std::move(value); } /** *

The data provider of geospatial data. Values can be one of the following:

*
  • Esri

  • Grab

  • *
  • Here

For more information about data * providers, see Amazon * Location Service data providers.

*/ inline void SetDataSource(const char* value) { m_dataSource.assign(value); } /** *

The data provider of geospatial data. Values can be one of the following:

*
  • Esri

  • Grab

  • *
  • Here

For more information about data * providers, see Amazon * Location Service data providers.

*/ inline DescribePlaceIndexResult& WithDataSource(const Aws::String& value) { SetDataSource(value); return *this;} /** *

The data provider of geospatial data. Values can be one of the following:

*
  • Esri

  • Grab

  • *
  • Here

For more information about data * providers, see Amazon * Location Service data providers.

*/ inline DescribePlaceIndexResult& WithDataSource(Aws::String&& value) { SetDataSource(std::move(value)); return *this;} /** *

The data provider of geospatial data. Values can be one of the following:

*
  • Esri

  • Grab

  • *
  • Here

For more information about data * providers, see Amazon * Location Service data providers.

*/ inline DescribePlaceIndexResult& WithDataSource(const char* value) { SetDataSource(value); return *this;} /** *

The specified data storage option for requesting Places.

*/ inline const DataSourceConfiguration& GetDataSourceConfiguration() const{ return m_dataSourceConfiguration; } /** *

The specified data storage option for requesting Places.

*/ inline void SetDataSourceConfiguration(const DataSourceConfiguration& value) { m_dataSourceConfiguration = value; } /** *

The specified data storage option for requesting Places.

*/ inline void SetDataSourceConfiguration(DataSourceConfiguration&& value) { m_dataSourceConfiguration = std::move(value); } /** *

The specified data storage option for requesting Places.

*/ inline DescribePlaceIndexResult& WithDataSourceConfiguration(const DataSourceConfiguration& value) { SetDataSourceConfiguration(value); return *this;} /** *

The specified data storage option for requesting Places.

*/ inline DescribePlaceIndexResult& WithDataSourceConfiguration(DataSourceConfiguration&& value) { SetDataSourceConfiguration(std::move(value)); return *this;} /** *

The optional description for the place index resource.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

The optional description for the place index resource.

*/ inline void SetDescription(const Aws::String& value) { m_description = value; } /** *

The optional description for the place index resource.

*/ inline void SetDescription(Aws::String&& value) { m_description = std::move(value); } /** *

The optional description for the place index resource.

*/ inline void SetDescription(const char* value) { m_description.assign(value); } /** *

The optional description for the place index resource.

*/ inline DescribePlaceIndexResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

The optional description for the place index resource.

*/ inline DescribePlaceIndexResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

The optional description for the place index resource.

*/ inline DescribePlaceIndexResult& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The Amazon Resource Name (ARN) for the place index resource. Used to specify * a resource across Amazon Web Services.

  • Format example: * arn:aws:geo:region:account-id:place-index/ExamplePlaceIndex

    *
*/ inline const Aws::String& GetIndexArn() const{ return m_indexArn; } /** *

The Amazon Resource Name (ARN) for the place index resource. Used to specify * a resource across Amazon Web Services.

  • Format example: * arn:aws:geo:region:account-id:place-index/ExamplePlaceIndex

    *
*/ inline void SetIndexArn(const Aws::String& value) { m_indexArn = value; } /** *

The Amazon Resource Name (ARN) for the place index resource. Used to specify * a resource across Amazon Web Services.

  • Format example: * arn:aws:geo:region:account-id:place-index/ExamplePlaceIndex

    *
*/ inline void SetIndexArn(Aws::String&& value) { m_indexArn = std::move(value); } /** *

The Amazon Resource Name (ARN) for the place index resource. Used to specify * a resource across Amazon Web Services.

  • Format example: * arn:aws:geo:region:account-id:place-index/ExamplePlaceIndex

    *
*/ inline void SetIndexArn(const char* value) { m_indexArn.assign(value); } /** *

The Amazon Resource Name (ARN) for the place index resource. Used to specify * a resource across Amazon Web Services.

  • Format example: * arn:aws:geo:region:account-id:place-index/ExamplePlaceIndex

    *
*/ inline DescribePlaceIndexResult& WithIndexArn(const Aws::String& value) { SetIndexArn(value); return *this;} /** *

The Amazon Resource Name (ARN) for the place index resource. Used to specify * a resource across Amazon Web Services.

  • Format example: * arn:aws:geo:region:account-id:place-index/ExamplePlaceIndex

    *
*/ inline DescribePlaceIndexResult& WithIndexArn(Aws::String&& value) { SetIndexArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) for the place index resource. Used to specify * a resource across Amazon Web Services.

  • Format example: * arn:aws:geo:region:account-id:place-index/ExamplePlaceIndex

    *
*/ inline DescribePlaceIndexResult& WithIndexArn(const char* value) { SetIndexArn(value); return *this;} /** *

The name of the place index resource being described.

*/ inline const Aws::String& GetIndexName() const{ return m_indexName; } /** *

The name of the place index resource being described.

*/ inline void SetIndexName(const Aws::String& value) { m_indexName = value; } /** *

The name of the place index resource being described.

*/ inline void SetIndexName(Aws::String&& value) { m_indexName = std::move(value); } /** *

The name of the place index resource being described.

*/ inline void SetIndexName(const char* value) { m_indexName.assign(value); } /** *

The name of the place index resource being described.

*/ inline DescribePlaceIndexResult& WithIndexName(const Aws::String& value) { SetIndexName(value); return *this;} /** *

The name of the place index resource being described.

*/ inline DescribePlaceIndexResult& WithIndexName(Aws::String&& value) { SetIndexName(std::move(value)); return *this;} /** *

The name of the place index resource being described.

*/ inline DescribePlaceIndexResult& WithIndexName(const char* value) { SetIndexName(value); return *this;} /** *

Tags associated with place index resource.

*/ inline const Aws::Map& GetTags() const{ return m_tags; } /** *

Tags associated with place index resource.

*/ inline void SetTags(const Aws::Map& value) { m_tags = value; } /** *

Tags associated with place index resource.

*/ inline void SetTags(Aws::Map&& value) { m_tags = std::move(value); } /** *

Tags associated with place index resource.

*/ inline DescribePlaceIndexResult& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** *

Tags associated with place index resource.

*/ inline DescribePlaceIndexResult& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} /** *

Tags associated with place index resource.

*/ inline DescribePlaceIndexResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; } /** *

Tags associated with place index resource.

*/ inline DescribePlaceIndexResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; } /** *

Tags associated with place index resource.

*/ inline DescribePlaceIndexResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } /** *

Tags associated with place index resource.

*/ inline DescribePlaceIndexResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *

Tags associated with place index resource.

*/ inline DescribePlaceIndexResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } /** *

Tags associated with place index resource.

*/ inline DescribePlaceIndexResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; } /** *

Tags associated with place index resource.

*/ inline DescribePlaceIndexResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; } /** *

The timestamp for when the place index resource was last updated in ISO 8601 * format: YYYY-MM-DDThh:mm:ss.sssZ.

*/ inline const Aws::Utils::DateTime& GetUpdateTime() const{ return m_updateTime; } /** *

The timestamp for when the place index resource was last updated in ISO 8601 * format: YYYY-MM-DDThh:mm:ss.sssZ.

*/ inline void SetUpdateTime(const Aws::Utils::DateTime& value) { m_updateTime = value; } /** *

The timestamp for when the place index resource was last updated in ISO 8601 * format: YYYY-MM-DDThh:mm:ss.sssZ.

*/ inline void SetUpdateTime(Aws::Utils::DateTime&& value) { m_updateTime = std::move(value); } /** *

The timestamp for when the place index resource was last updated in ISO 8601 * format: YYYY-MM-DDThh:mm:ss.sssZ.

*/ inline DescribePlaceIndexResult& WithUpdateTime(const Aws::Utils::DateTime& value) { SetUpdateTime(value); return *this;} /** *

The timestamp for when the place index resource was last updated in ISO 8601 * format: YYYY-MM-DDThh:mm:ss.sssZ.

*/ inline DescribePlaceIndexResult& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribePlaceIndexResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribePlaceIndexResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribePlaceIndexResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Utils::DateTime m_createTime; Aws::String m_dataSource; DataSourceConfiguration m_dataSourceConfiguration; Aws::String m_description; Aws::String m_indexArn; Aws::String m_indexName; Aws::Map m_tags; Aws::Utils::DateTime m_updateTime; Aws::String m_requestId; }; } // namespace Model } // namespace LocationService } // namespace Aws