/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace LakeFormation { namespace Model { /** *

Specifies the details of a governed table.

See Also:

AWS * API Reference

*/ class TableObject { public: AWS_LAKEFORMATION_API TableObject(); AWS_LAKEFORMATION_API TableObject(Aws::Utils::Json::JsonView jsonValue); AWS_LAKEFORMATION_API TableObject& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_LAKEFORMATION_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The Amazon S3 location of the object.

*/ inline const Aws::String& GetUri() const{ return m_uri; } /** *

The Amazon S3 location of the object.

*/ inline bool UriHasBeenSet() const { return m_uriHasBeenSet; } /** *

The Amazon S3 location of the object.

*/ inline void SetUri(const Aws::String& value) { m_uriHasBeenSet = true; m_uri = value; } /** *

The Amazon S3 location of the object.

*/ inline void SetUri(Aws::String&& value) { m_uriHasBeenSet = true; m_uri = std::move(value); } /** *

The Amazon S3 location of the object.

*/ inline void SetUri(const char* value) { m_uriHasBeenSet = true; m_uri.assign(value); } /** *

The Amazon S3 location of the object.

*/ inline TableObject& WithUri(const Aws::String& value) { SetUri(value); return *this;} /** *

The Amazon S3 location of the object.

*/ inline TableObject& WithUri(Aws::String&& value) { SetUri(std::move(value)); return *this;} /** *

The Amazon S3 location of the object.

*/ inline TableObject& WithUri(const char* value) { SetUri(value); return *this;} /** *

The Amazon S3 ETag of the object. Returned by GetTableObjects * for validation and used to identify changes to the underlying data.

*/ inline const Aws::String& GetETag() const{ return m_eTag; } /** *

The Amazon S3 ETag of the object. Returned by GetTableObjects * for validation and used to identify changes to the underlying data.

*/ inline bool ETagHasBeenSet() const { return m_eTagHasBeenSet; } /** *

The Amazon S3 ETag of the object. Returned by GetTableObjects * for validation and used to identify changes to the underlying data.

*/ inline void SetETag(const Aws::String& value) { m_eTagHasBeenSet = true; m_eTag = value; } /** *

The Amazon S3 ETag of the object. Returned by GetTableObjects * for validation and used to identify changes to the underlying data.

*/ inline void SetETag(Aws::String&& value) { m_eTagHasBeenSet = true; m_eTag = std::move(value); } /** *

The Amazon S3 ETag of the object. Returned by GetTableObjects * for validation and used to identify changes to the underlying data.

*/ inline void SetETag(const char* value) { m_eTagHasBeenSet = true; m_eTag.assign(value); } /** *

The Amazon S3 ETag of the object. Returned by GetTableObjects * for validation and used to identify changes to the underlying data.

*/ inline TableObject& WithETag(const Aws::String& value) { SetETag(value); return *this;} /** *

The Amazon S3 ETag of the object. Returned by GetTableObjects * for validation and used to identify changes to the underlying data.

*/ inline TableObject& WithETag(Aws::String&& value) { SetETag(std::move(value)); return *this;} /** *

The Amazon S3 ETag of the object. Returned by GetTableObjects * for validation and used to identify changes to the underlying data.

*/ inline TableObject& WithETag(const char* value) { SetETag(value); return *this;} /** *

The size of the Amazon S3 object in bytes.

*/ inline long long GetSize() const{ return m_size; } /** *

The size of the Amazon S3 object in bytes.

*/ inline bool SizeHasBeenSet() const { return m_sizeHasBeenSet; } /** *

The size of the Amazon S3 object in bytes.

*/ inline void SetSize(long long value) { m_sizeHasBeenSet = true; m_size = value; } /** *

The size of the Amazon S3 object in bytes.

*/ inline TableObject& WithSize(long long value) { SetSize(value); return *this;} private: Aws::String m_uri; bool m_uriHasBeenSet = false; Aws::String m_eTag; bool m_eTagHasBeenSet = false; long long m_size; bool m_sizeHasBeenSet = false; }; } // namespace Model } // namespace LakeFormation } // namespace Aws