/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A structure for a data location object where permissions are granted or
* revoked. See Also:
AWS
* API Reference
The identifier for the Data Catalog where the location is registered with * Lake Formation. By default, it is the account ID of the caller.
*/ inline const Aws::String& GetCatalogId() const{ return m_catalogId; } /** *The identifier for the Data Catalog where the location is registered with * Lake Formation. By default, it is the account ID of the caller.
*/ inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; } /** *The identifier for the Data Catalog where the location is registered with * Lake Formation. By default, it is the account ID of the caller.
*/ inline void SetCatalogId(const Aws::String& value) { m_catalogIdHasBeenSet = true; m_catalogId = value; } /** *The identifier for the Data Catalog where the location is registered with * Lake Formation. By default, it is the account ID of the caller.
*/ inline void SetCatalogId(Aws::String&& value) { m_catalogIdHasBeenSet = true; m_catalogId = std::move(value); } /** *The identifier for the Data Catalog where the location is registered with * Lake Formation. By default, it is the account ID of the caller.
*/ inline void SetCatalogId(const char* value) { m_catalogIdHasBeenSet = true; m_catalogId.assign(value); } /** *The identifier for the Data Catalog where the location is registered with * Lake Formation. By default, it is the account ID of the caller.
*/ inline DataLocationResource& WithCatalogId(const Aws::String& value) { SetCatalogId(value); return *this;} /** *The identifier for the Data Catalog where the location is registered with * Lake Formation. By default, it is the account ID of the caller.
*/ inline DataLocationResource& WithCatalogId(Aws::String&& value) { SetCatalogId(std::move(value)); return *this;} /** *The identifier for the Data Catalog where the location is registered with * Lake Formation. By default, it is the account ID of the caller.
*/ inline DataLocationResource& WithCatalogId(const char* value) { SetCatalogId(value); return *this;} /** *The Amazon Resource Name (ARN) that uniquely identifies the data location * resource.
*/ inline const Aws::String& GetResourceArn() const{ return m_resourceArn; } /** *The Amazon Resource Name (ARN) that uniquely identifies the data location * resource.
*/ inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; } /** *The Amazon Resource Name (ARN) that uniquely identifies the data location * resource.
*/ inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; } /** *The Amazon Resource Name (ARN) that uniquely identifies the data location * resource.
*/ inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); } /** *The Amazon Resource Name (ARN) that uniquely identifies the data location * resource.
*/ inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); } /** *The Amazon Resource Name (ARN) that uniquely identifies the data location * resource.
*/ inline DataLocationResource& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;} /** *The Amazon Resource Name (ARN) that uniquely identifies the data location * resource.
*/ inline DataLocationResource& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) that uniquely identifies the data location * resource.
*/ inline DataLocationResource& WithResourceArn(const char* value) { SetResourceArn(value); return *this;} private: Aws::String m_catalogId; bool m_catalogIdHasBeenSet = false; Aws::String m_resourceArn; bool m_resourceArnHasBeenSet = false; }; } // namespace Model } // namespace LakeFormation } // namespace Aws