/** * 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 DescribeMapResult { public: AWS_LOCATIONSERVICE_API DescribeMapResult(); AWS_LOCATIONSERVICE_API DescribeMapResult(const Aws::AmazonWebServiceResult& result); AWS_LOCATIONSERVICE_API DescribeMapResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Specifies the map tile style selected from a partner data provider.

*/ inline const MapConfiguration& GetConfiguration() const{ return m_configuration; } /** *

Specifies the map tile style selected from a partner data provider.

*/ inline void SetConfiguration(const MapConfiguration& value) { m_configuration = value; } /** *

Specifies the map tile style selected from a partner data provider.

*/ inline void SetConfiguration(MapConfiguration&& value) { m_configuration = std::move(value); } /** *

Specifies the map tile style selected from a partner data provider.

*/ inline DescribeMapResult& WithConfiguration(const MapConfiguration& value) { SetConfiguration(value); return *this;} /** *

Specifies the map tile style selected from a partner data provider.

*/ inline DescribeMapResult& WithConfiguration(MapConfiguration&& value) { SetConfiguration(std::move(value)); return *this;} /** *

The timestamp for when the map 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 map 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 map 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 map resource was created in ISO 8601 * format: YYYY-MM-DDThh:mm:ss.sssZ.

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

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

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

Specifies the data provider for the associated map tiles.

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

Specifies the data provider for the associated map tiles.

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

Specifies the data provider for the associated map tiles.

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

Specifies the data provider for the associated map tiles.

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

Specifies the data provider for the associated map tiles.

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

Specifies the data provider for the associated map tiles.

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

Specifies the data provider for the associated map tiles.

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

The optional description for the map resource.

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

The optional description for the map resource.

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

The optional description for the map resource.

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

The optional description for the map resource.

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

The optional description for the map resource.

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

The optional description for the map resource.

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

The optional description for the map resource.

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

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

  • Format example: * arn:aws:geo:region:account-id:map/ExampleMap

*/ inline const Aws::String& GetMapArn() const{ return m_mapArn; } /** *

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

  • Format example: * arn:aws:geo:region:account-id:map/ExampleMap

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

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

  • Format example: * arn:aws:geo:region:account-id:map/ExampleMap

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

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

  • Format example: * arn:aws:geo:region:account-id:map/ExampleMap

*/ inline void SetMapArn(const char* value) { m_mapArn.assign(value); } /** *

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

  • Format example: * arn:aws:geo:region:account-id:map/ExampleMap

*/ inline DescribeMapResult& WithMapArn(const Aws::String& value) { SetMapArn(value); return *this;} /** *

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

  • Format example: * arn:aws:geo:region:account-id:map/ExampleMap

*/ inline DescribeMapResult& WithMapArn(Aws::String&& value) { SetMapArn(std::move(value)); return *this;} /** *

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

  • Format example: * arn:aws:geo:region:account-id:map/ExampleMap

*/ inline DescribeMapResult& WithMapArn(const char* value) { SetMapArn(value); return *this;} /** *

The map style selected from an available provider.

*/ inline const Aws::String& GetMapName() const{ return m_mapName; } /** *

The map style selected from an available provider.

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

The map style selected from an available provider.

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

The map style selected from an available provider.

*/ inline void SetMapName(const char* value) { m_mapName.assign(value); } /** *

The map style selected from an available provider.

*/ inline DescribeMapResult& WithMapName(const Aws::String& value) { SetMapName(value); return *this;} /** *

The map style selected from an available provider.

*/ inline DescribeMapResult& WithMapName(Aws::String&& value) { SetMapName(std::move(value)); return *this;} /** *

The map style selected from an available provider.

*/ inline DescribeMapResult& WithMapName(const char* value) { SetMapName(value); return *this;} /** *

Tags associated with the map resource.

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

Tags associated with the map resource.

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

Tags associated with the map resource.

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

Tags associated with the map resource.

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

Tags associated with the map resource.

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

Tags associated with the map resource.

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

Tags associated with the map resource.

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

Tags associated with the map resource.

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

Tags associated with the map resource.

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

Tags associated with the map resource.

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

Tags associated with the map resource.

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

Tags associated with the map resource.

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

The timestamp for when the map resource was last update 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 map resource was last update 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 map resource was last update 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 map resource was last update in ISO 8601 * format: YYYY-MM-DDThh:mm:ss.sssZ.

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

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

*/ inline DescribeMapResult& 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 DescribeMapResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeMapResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeMapResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: MapConfiguration m_configuration; Aws::Utils::DateTime m_createTime; Aws::String m_dataSource; Aws::String m_description; Aws::String m_mapArn; Aws::String m_mapName; Aws::Map m_tags; Aws::Utils::DateTime m_updateTime; Aws::String m_requestId; }; } // namespace Model } // namespace LocationService } // namespace Aws