/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An object that defines an Amazon S3 object to be deleted if a transaction
* cancels, provided that VirtualPut
was called before writing the
* object.See Also:
AWS
* API Reference
The path to the Amazon S3 object. Must start with s3://
*/ inline const Aws::String& GetUri() const{ return m_uri; } /** *The path to the Amazon S3 object. Must start with s3://
*/ inline bool UriHasBeenSet() const { return m_uriHasBeenSet; } /** *The path to the Amazon S3 object. Must start with s3://
*/ inline void SetUri(const Aws::String& value) { m_uriHasBeenSet = true; m_uri = value; } /** *The path to the Amazon S3 object. Must start with s3://
*/ inline void SetUri(Aws::String&& value) { m_uriHasBeenSet = true; m_uri = std::move(value); } /** *The path to the Amazon S3 object. Must start with s3://
*/ inline void SetUri(const char* value) { m_uriHasBeenSet = true; m_uri.assign(value); } /** *The path to the Amazon S3 object. Must start with s3://
*/ inline VirtualObject& WithUri(const Aws::String& value) { SetUri(value); return *this;} /** *The path to the Amazon S3 object. Must start with s3://
*/ inline VirtualObject& WithUri(Aws::String&& value) { SetUri(std::move(value)); return *this;} /** *The path to the Amazon S3 object. Must start with s3://
*/ inline VirtualObject& WithUri(const char* value) { SetUri(value); return *this;} /** *The ETag of the Amazon S3 object.
*/ inline const Aws::String& GetETag() const{ return m_eTag; } /** *The ETag of the Amazon S3 object.
*/ inline bool ETagHasBeenSet() const { return m_eTagHasBeenSet; } /** *The ETag of the Amazon S3 object.
*/ inline void SetETag(const Aws::String& value) { m_eTagHasBeenSet = true; m_eTag = value; } /** *The ETag of the Amazon S3 object.
*/ inline void SetETag(Aws::String&& value) { m_eTagHasBeenSet = true; m_eTag = std::move(value); } /** *The ETag of the Amazon S3 object.
*/ inline void SetETag(const char* value) { m_eTagHasBeenSet = true; m_eTag.assign(value); } /** *The ETag of the Amazon S3 object.
*/ inline VirtualObject& WithETag(const Aws::String& value) { SetETag(value); return *this;} /** *The ETag of the Amazon S3 object.
*/ inline VirtualObject& WithETag(Aws::String&& value) { SetETag(std::move(value)); return *this;} /** *The ETag of the Amazon S3 object.
*/ inline VirtualObject& WithETag(const char* value) { SetETag(value); return *this;} private: Aws::String m_uri; bool m_uriHasBeenSet = false; Aws::String m_eTag; bool m_eTagHasBeenSet = false; }; } // namespace Model } // namespace LakeFormation } // namespace Aws