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

The Amazon Resource Name (ARN) for the geofence collection resource. Used * when you need to specify a resource across all 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) for the geofence collection resource. Used * when you need to specify a resource across all 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) for the geofence collection resource. Used * when you need to specify a resource across all 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) for the geofence collection resource. Used * when you need to specify a resource across all 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) for the geofence collection resource. Used * when you need to specify a resource across all Amazon Web Services.

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

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

The Amazon Resource Name (ARN) for the geofence collection resource. Used * when you need to specify a resource across all Amazon Web Services.

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

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

The Amazon Resource Name (ARN) for the geofence collection resource. Used * when you need to specify a resource across all Amazon Web Services.

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

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

The name for the geofence collection.

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

The name for the geofence collection.

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

The name for the geofence collection.

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

The name for the geofence collection.

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

The name for the geofence collection.

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

The name for the geofence collection.

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

The name for the geofence collection.

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

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

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

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

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