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

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

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

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

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

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

  • Format example: * arn:aws:geo:region:account-id:place-index/ExamplePlaceIndex

    *
*/ inline const Aws::String& GetIndexArn() const{ return m_indexArn; } /** *

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

  • Format example: * arn:aws:geo:region:account-id:place-index/ExamplePlaceIndex

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

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

  • Format example: * arn:aws:geo:region:account-id:place-index/ExamplePlaceIndex

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

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

  • Format example: * arn:aws:geo:region:account-id:place-index/ExamplePlaceIndex

    *
*/ inline void SetIndexArn(const char* value) { m_indexArn.assign(value); } /** *

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

  • Format example: * arn:aws:geo:region:account-id:place-index/ExamplePlaceIndex

    *
*/ inline CreatePlaceIndexResult& WithIndexArn(const Aws::String& value) { SetIndexArn(value); return *this;} /** *

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

  • Format example: * arn:aws:geo:region:account-id:place-index/ExamplePlaceIndex

    *
*/ inline CreatePlaceIndexResult& WithIndexArn(Aws::String&& value) { SetIndexArn(std::move(value)); return *this;} /** *

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

  • Format example: * arn:aws:geo:region:account-id:place-index/ExamplePlaceIndex

    *
*/ inline CreatePlaceIndexResult& WithIndexArn(const char* value) { SetIndexArn(value); return *this;} /** *

The name for the place index resource.

*/ inline const Aws::String& GetIndexName() const{ return m_indexName; } /** *

The name for the place index resource.

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

The name for the place index resource.

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

The name for the place index resource.

*/ inline void SetIndexName(const char* value) { m_indexName.assign(value); } /** *

The name for the place index resource.

*/ inline CreatePlaceIndexResult& WithIndexName(const Aws::String& value) { SetIndexName(value); return *this;} /** *

The name for the place index resource.

*/ inline CreatePlaceIndexResult& WithIndexName(Aws::String&& value) { SetIndexName(std::move(value)); return *this;} /** *

The name for the place index resource.

*/ inline CreatePlaceIndexResult& WithIndexName(const char* value) { SetIndexName(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 CreatePlaceIndexResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreatePlaceIndexResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreatePlaceIndexResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Utils::DateTime m_createTime; Aws::String m_indexArn; Aws::String m_indexName; Aws::String m_requestId; }; } // namespace Model } // namespace LocationService } // namespace Aws