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

The Amazon Resource Name (ARN) of the updated geofence collection. Used to * specify a resource across Amazon Web Services.

  • Format example: * arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollection *

*/ inline const Aws::String& GetCollectionArn() const{ return m_collectionArn; } /** *

The Amazon Resource Name (ARN) of the updated geofence collection. Used to * specify a resource across Amazon Web Services.

  • Format example: * arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollection *

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

The Amazon Resource Name (ARN) of the updated geofence collection. Used to * specify a resource across Amazon Web Services.

  • Format example: * arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollection *

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

The Amazon Resource Name (ARN) of the updated geofence collection. Used to * specify a resource across Amazon Web Services.

  • Format example: * arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollection *

*/ inline void SetCollectionArn(const char* value) { m_collectionArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the updated geofence collection. Used to * specify a resource across Amazon Web Services.

  • Format example: * arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollection *

*/ inline UpdateGeofenceCollectionResult& WithCollectionArn(const Aws::String& value) { SetCollectionArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the updated geofence collection. Used to * specify a resource across Amazon Web Services.

  • Format example: * arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollection *

*/ inline UpdateGeofenceCollectionResult& WithCollectionArn(Aws::String&& value) { SetCollectionArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the updated geofence collection. Used to * specify a resource across Amazon Web Services.

  • Format example: * arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollection *

*/ inline UpdateGeofenceCollectionResult& WithCollectionArn(const char* value) { SetCollectionArn(value); return *this;} /** *

The name of the updated geofence collection.

*/ inline const Aws::String& GetCollectionName() const{ return m_collectionName; } /** *

The name of the updated geofence collection.

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

The name of the updated geofence collection.

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

The name of the updated geofence collection.

*/ inline void SetCollectionName(const char* value) { m_collectionName.assign(value); } /** *

The name of the updated geofence collection.

*/ inline UpdateGeofenceCollectionResult& WithCollectionName(const Aws::String& value) { SetCollectionName(value); return *this;} /** *

The name of the updated geofence collection.

*/ inline UpdateGeofenceCollectionResult& WithCollectionName(Aws::String&& value) { SetCollectionName(std::move(value)); return *this;} /** *

The name of the updated geofence collection.

*/ inline UpdateGeofenceCollectionResult& WithCollectionName(const char* value) { SetCollectionName(value); return *this;} /** *

The time when the geofence collection was last updated in ISO 8601 * format: YYYY-MM-DDThh:mm:ss.sssZ

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

The time when the geofence collection 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 time when the geofence collection 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 time when the geofence collection was last updated in ISO 8601 * format: YYYY-MM-DDThh:mm:ss.sssZ

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

The time when the geofence collection was last updated in ISO 8601 * format: YYYY-MM-DDThh:mm:ss.sssZ

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