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

An object to delete from the governed table.

See Also:

AWS * API Reference

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

The Amazon S3 location of the object to delete.

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

The Amazon S3 location of the object to delete.

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

The Amazon S3 location of the object to delete.

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

The Amazon S3 location of the object to delete.

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

The Amazon S3 location of the object to delete.

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

The Amazon S3 location of the object to delete.

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

The Amazon S3 location of the object to delete.

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

The Amazon S3 location of the object to delete.

*/ inline DeleteObjectInput& 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 DeleteObjectInput& 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 DeleteObjectInput& 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 DeleteObjectInput& WithETag(const char* value) { SetETag(value); return *this;} /** *

A list of partition values for the object. A value must be specified for each * partition key associated with the governed table.

*/ inline const Aws::Vector& GetPartitionValues() const{ return m_partitionValues; } /** *

A list of partition values for the object. A value must be specified for each * partition key associated with the governed table.

*/ inline bool PartitionValuesHasBeenSet() const { return m_partitionValuesHasBeenSet; } /** *

A list of partition values for the object. A value must be specified for each * partition key associated with the governed table.

*/ inline void SetPartitionValues(const Aws::Vector& value) { m_partitionValuesHasBeenSet = true; m_partitionValues = value; } /** *

A list of partition values for the object. A value must be specified for each * partition key associated with the governed table.

*/ inline void SetPartitionValues(Aws::Vector&& value) { m_partitionValuesHasBeenSet = true; m_partitionValues = std::move(value); } /** *

A list of partition values for the object. A value must be specified for each * partition key associated with the governed table.

*/ inline DeleteObjectInput& WithPartitionValues(const Aws::Vector& value) { SetPartitionValues(value); return *this;} /** *

A list of partition values for the object. A value must be specified for each * partition key associated with the governed table.

*/ inline DeleteObjectInput& WithPartitionValues(Aws::Vector&& value) { SetPartitionValues(std::move(value)); return *this;} /** *

A list of partition values for the object. A value must be specified for each * partition key associated with the governed table.

*/ inline DeleteObjectInput& AddPartitionValues(const Aws::String& value) { m_partitionValuesHasBeenSet = true; m_partitionValues.push_back(value); return *this; } /** *

A list of partition values for the object. A value must be specified for each * partition key associated with the governed table.

*/ inline DeleteObjectInput& AddPartitionValues(Aws::String&& value) { m_partitionValuesHasBeenSet = true; m_partitionValues.push_back(std::move(value)); return *this; } /** *

A list of partition values for the object. A value must be specified for each * partition key associated with the governed table.

*/ inline DeleteObjectInput& AddPartitionValues(const char* value) { m_partitionValuesHasBeenSet = true; m_partitionValues.push_back(value); return *this; } private: Aws::String m_uri; bool m_uriHasBeenSet = false; Aws::String m_eTag; bool m_eTagHasBeenSet = false; Aws::Vector m_partitionValues; bool m_partitionValuesHasBeenSet = false; }; } // namespace Model } // namespace LakeFormation } // namespace Aws