/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #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 DescribeGeofenceCollectionResult { public: AWS_LOCATIONSERVICE_API DescribeGeofenceCollectionResult(); AWS_LOCATIONSERVICE_API DescribeGeofenceCollectionResult(const Aws::AmazonWebServiceResult& result); AWS_LOCATIONSERVICE_API DescribeGeofenceCollectionResult& 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 DescribeGeofenceCollectionResult& 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 DescribeGeofenceCollectionResult& 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 DescribeGeofenceCollectionResult& WithCollectionArn(const char* value) { SetCollectionArn(value); return *this;} /** *

The name of the geofence collection.

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

The name of the geofence collection.

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

The name of the geofence collection.

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

The name of the geofence collection.

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

The name of the geofence collection.

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

The name of the geofence collection.

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

The name of the geofence collection.

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

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

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

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

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

The optional description for the geofence collection.

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

The optional description for the geofence collection.

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

The optional description for the geofence collection.

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

The optional description for the geofence collection.

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

The optional description for the geofence collection.

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

The optional description for the geofence collection.

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

The optional description for the geofence collection.

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

A key identifier for an Amazon * Web Services KMS customer managed key assigned to the Amazon Location * resource

*/ inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; } /** *

A key identifier for an Amazon * Web Services KMS customer managed key assigned to the Amazon Location * resource

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

A key identifier for an Amazon * Web Services KMS customer managed key assigned to the Amazon Location * resource

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

A key identifier for an Amazon * Web Services KMS customer managed key assigned to the Amazon Location * resource

*/ inline void SetKmsKeyId(const char* value) { m_kmsKeyId.assign(value); } /** *

A key identifier for an Amazon * Web Services KMS customer managed key assigned to the Amazon Location * resource

*/ inline DescribeGeofenceCollectionResult& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;} /** *

A key identifier for an Amazon * Web Services KMS customer managed key assigned to the Amazon Location * resource

*/ inline DescribeGeofenceCollectionResult& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;} /** *

A key identifier for an Amazon * Web Services KMS customer managed key assigned to the Amazon Location * resource

*/ inline DescribeGeofenceCollectionResult& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;} /** *

Displays the key, value pairs of tags associated with this resource.

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

Displays the key, value pairs of tags associated with this resource.

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

Displays the key, value pairs of tags associated with this resource.

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

Displays the key, value pairs of tags associated with this resource.

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

Displays the key, value pairs of tags associated with this resource.

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

Displays the key, value pairs of tags associated with this resource.

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

Displays the key, value pairs of tags associated with this resource.

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

Displays the key, value pairs of tags associated with this resource.

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

Displays the key, value pairs of tags associated with this resource.

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

Displays the key, value pairs of tags associated with this resource.

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

Displays the key, value pairs of tags associated with this resource.

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

Displays the key, value pairs of tags associated with this resource.

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

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

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

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

*/ inline DescribeGeofenceCollectionResult& 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 DescribeGeofenceCollectionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeGeofenceCollectionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeGeofenceCollectionResult& 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_description; Aws::String m_kmsKeyId; Aws::Map m_tags; Aws::Utils::DateTime m_updateTime; Aws::String m_requestId; }; } // namespace Model } // namespace LocationService } // namespace Aws