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

The Amazon Resource Name (ARN) of the updated map resource. Used to specify a * resource across AWS.

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

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

The Amazon Resource Name (ARN) of the updated map resource. Used to specify a * resource across AWS.

  • 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) of the updated map resource. Used to specify a * resource across AWS.

  • 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) of the updated map resource. Used to specify a * resource across AWS.

  • 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) of the updated map resource. Used to specify a * resource across AWS.

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

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

The Amazon Resource Name (ARN) of the updated map resource. Used to specify a * resource across AWS.

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

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

The Amazon Resource Name (ARN) of the updated map resource. Used to specify a * resource across AWS.

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

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

The name of the updated map resource.

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

The name of the updated map resource.

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

The name of the updated map resource.

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

The name of the updated map resource.

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

The name of the updated map resource.

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

The name of the updated map resource.

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

The name of the updated map resource.

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

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

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

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

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