/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The destination for the asset.See Also:
AWS
* API Reference
The unique identifier for the asset.
*/ inline const Aws::String& GetAssetId() const{ return m_assetId; } /** *The unique identifier for the asset.
*/ inline bool AssetIdHasBeenSet() const { return m_assetIdHasBeenSet; } /** *The unique identifier for the asset.
*/ inline void SetAssetId(const Aws::String& value) { m_assetIdHasBeenSet = true; m_assetId = value; } /** *The unique identifier for the asset.
*/ inline void SetAssetId(Aws::String&& value) { m_assetIdHasBeenSet = true; m_assetId = std::move(value); } /** *The unique identifier for the asset.
*/ inline void SetAssetId(const char* value) { m_assetIdHasBeenSet = true; m_assetId.assign(value); } /** *The unique identifier for the asset.
*/ inline AssetDestinationEntry& WithAssetId(const Aws::String& value) { SetAssetId(value); return *this;} /** *The unique identifier for the asset.
*/ inline AssetDestinationEntry& WithAssetId(Aws::String&& value) { SetAssetId(std::move(value)); return *this;} /** *The unique identifier for the asset.
*/ inline AssetDestinationEntry& WithAssetId(const char* value) { SetAssetId(value); return *this;} /** *The Amazon S3 bucket that is the destination for the asset.
*/ inline const Aws::String& GetBucket() const{ return m_bucket; } /** *The Amazon S3 bucket that is the destination for the asset.
*/ inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } /** *The Amazon S3 bucket that is the destination for the asset.
*/ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } /** *The Amazon S3 bucket that is the destination for the asset.
*/ inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } /** *The Amazon S3 bucket that is the destination for the asset.
*/ inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } /** *The Amazon S3 bucket that is the destination for the asset.
*/ inline AssetDestinationEntry& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} /** *The Amazon S3 bucket that is the destination for the asset.
*/ inline AssetDestinationEntry& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} /** *The Amazon S3 bucket that is the destination for the asset.
*/ inline AssetDestinationEntry& WithBucket(const char* value) { SetBucket(value); return *this;} /** *The name of the object in Amazon S3 for the asset.
*/ inline const Aws::String& GetKey() const{ return m_key; } /** *The name of the object in Amazon S3 for the asset.
*/ inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } /** *The name of the object in Amazon S3 for the asset.
*/ inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; } /** *The name of the object in Amazon S3 for the asset.
*/ inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); } /** *The name of the object in Amazon S3 for the asset.
*/ inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); } /** *The name of the object in Amazon S3 for the asset.
*/ inline AssetDestinationEntry& WithKey(const Aws::String& value) { SetKey(value); return *this;} /** *The name of the object in Amazon S3 for the asset.
*/ inline AssetDestinationEntry& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;} /** *The name of the object in Amazon S3 for the asset.
*/ inline AssetDestinationEntry& WithKey(const char* value) { SetKey(value); return *this;} private: Aws::String m_assetId; bool m_assetIdHasBeenSet = false; Aws::String m_bucket; bool m_bucketHasBeenSet = false; Aws::String m_key; bool m_keyHasBeenSet = false; }; } // namespace Model } // namespace DataExchange } // namespace Aws