/** * 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 DataExchange { namespace Model { /** *

Details of the operation to be performed by the job.

See Also:

* AWS * API Reference

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

The name of the asset. When importing from Amazon S3, the Amazon S3 object * key is used as the asset name.

*/ inline const Aws::String& GetAssetName() const{ return m_assetName; } /** *

The name of the asset. When importing from Amazon S3, the Amazon S3 object * key is used as the asset name.

*/ inline bool AssetNameHasBeenSet() const { return m_assetNameHasBeenSet; } /** *

The name of the asset. When importing from Amazon S3, the Amazon S3 object * key is used as the asset name.

*/ inline void SetAssetName(const Aws::String& value) { m_assetNameHasBeenSet = true; m_assetName = value; } /** *

The name of the asset. When importing from Amazon S3, the Amazon S3 object * key is used as the asset name.

*/ inline void SetAssetName(Aws::String&& value) { m_assetNameHasBeenSet = true; m_assetName = std::move(value); } /** *

The name of the asset. When importing from Amazon S3, the Amazon S3 object * key is used as the asset name.

*/ inline void SetAssetName(const char* value) { m_assetNameHasBeenSet = true; m_assetName.assign(value); } /** *

The name of the asset. When importing from Amazon S3, the Amazon S3 object * key is used as the asset name.

*/ inline ImportAssetFromSignedUrlRequestDetails& WithAssetName(const Aws::String& value) { SetAssetName(value); return *this;} /** *

The name of the asset. When importing from Amazon S3, the Amazon S3 object * key is used as the asset name.

*/ inline ImportAssetFromSignedUrlRequestDetails& WithAssetName(Aws::String&& value) { SetAssetName(std::move(value)); return *this;} /** *

The name of the asset. When importing from Amazon S3, the Amazon S3 object * key is used as the asset name.

*/ inline ImportAssetFromSignedUrlRequestDetails& WithAssetName(const char* value) { SetAssetName(value); return *this;} /** *

The unique identifier for the data set associated with this import job.

*/ inline const Aws::String& GetDataSetId() const{ return m_dataSetId; } /** *

The unique identifier for the data set associated with this import job.

*/ inline bool DataSetIdHasBeenSet() const { return m_dataSetIdHasBeenSet; } /** *

The unique identifier for the data set associated with this import job.

*/ inline void SetDataSetId(const Aws::String& value) { m_dataSetIdHasBeenSet = true; m_dataSetId = value; } /** *

The unique identifier for the data set associated with this import job.

*/ inline void SetDataSetId(Aws::String&& value) { m_dataSetIdHasBeenSet = true; m_dataSetId = std::move(value); } /** *

The unique identifier for the data set associated with this import job.

*/ inline void SetDataSetId(const char* value) { m_dataSetIdHasBeenSet = true; m_dataSetId.assign(value); } /** *

The unique identifier for the data set associated with this import job.

*/ inline ImportAssetFromSignedUrlRequestDetails& WithDataSetId(const Aws::String& value) { SetDataSetId(value); return *this;} /** *

The unique identifier for the data set associated with this import job.

*/ inline ImportAssetFromSignedUrlRequestDetails& WithDataSetId(Aws::String&& value) { SetDataSetId(std::move(value)); return *this;} /** *

The unique identifier for the data set associated with this import job.

*/ inline ImportAssetFromSignedUrlRequestDetails& WithDataSetId(const char* value) { SetDataSetId(value); return *this;} /** *

The Base64-encoded Md5 hash for the asset, used to ensure the integrity of * the file at that location.

*/ inline const Aws::String& GetMd5Hash() const{ return m_md5Hash; } /** *

The Base64-encoded Md5 hash for the asset, used to ensure the integrity of * the file at that location.

*/ inline bool Md5HashHasBeenSet() const { return m_md5HashHasBeenSet; } /** *

The Base64-encoded Md5 hash for the asset, used to ensure the integrity of * the file at that location.

*/ inline void SetMd5Hash(const Aws::String& value) { m_md5HashHasBeenSet = true; m_md5Hash = value; } /** *

The Base64-encoded Md5 hash for the asset, used to ensure the integrity of * the file at that location.

*/ inline void SetMd5Hash(Aws::String&& value) { m_md5HashHasBeenSet = true; m_md5Hash = std::move(value); } /** *

The Base64-encoded Md5 hash for the asset, used to ensure the integrity of * the file at that location.

*/ inline void SetMd5Hash(const char* value) { m_md5HashHasBeenSet = true; m_md5Hash.assign(value); } /** *

The Base64-encoded Md5 hash for the asset, used to ensure the integrity of * the file at that location.

*/ inline ImportAssetFromSignedUrlRequestDetails& WithMd5Hash(const Aws::String& value) { SetMd5Hash(value); return *this;} /** *

The Base64-encoded Md5 hash for the asset, used to ensure the integrity of * the file at that location.

*/ inline ImportAssetFromSignedUrlRequestDetails& WithMd5Hash(Aws::String&& value) { SetMd5Hash(std::move(value)); return *this;} /** *

The Base64-encoded Md5 hash for the asset, used to ensure the integrity of * the file at that location.

*/ inline ImportAssetFromSignedUrlRequestDetails& WithMd5Hash(const char* value) { SetMd5Hash(value); return *this;} /** *

The unique identifier for the revision associated with this import * request.

*/ inline const Aws::String& GetRevisionId() const{ return m_revisionId; } /** *

The unique identifier for the revision associated with this import * request.

*/ inline bool RevisionIdHasBeenSet() const { return m_revisionIdHasBeenSet; } /** *

The unique identifier for the revision associated with this import * request.

*/ inline void SetRevisionId(const Aws::String& value) { m_revisionIdHasBeenSet = true; m_revisionId = value; } /** *

The unique identifier for the revision associated with this import * request.

*/ inline void SetRevisionId(Aws::String&& value) { m_revisionIdHasBeenSet = true; m_revisionId = std::move(value); } /** *

The unique identifier for the revision associated with this import * request.

*/ inline void SetRevisionId(const char* value) { m_revisionIdHasBeenSet = true; m_revisionId.assign(value); } /** *

The unique identifier for the revision associated with this import * request.

*/ inline ImportAssetFromSignedUrlRequestDetails& WithRevisionId(const Aws::String& value) { SetRevisionId(value); return *this;} /** *

The unique identifier for the revision associated with this import * request.

*/ inline ImportAssetFromSignedUrlRequestDetails& WithRevisionId(Aws::String&& value) { SetRevisionId(std::move(value)); return *this;} /** *

The unique identifier for the revision associated with this import * request.

*/ inline ImportAssetFromSignedUrlRequestDetails& WithRevisionId(const char* value) { SetRevisionId(value); return *this;} private: Aws::String m_assetName; bool m_assetNameHasBeenSet = false; Aws::String m_dataSetId; bool m_dataSetIdHasBeenSet = false; Aws::String m_md5Hash; bool m_md5HashHasBeenSet = false; Aws::String m_revisionId; bool m_revisionIdHasBeenSet = false; }; } // namespace Model } // namespace DataExchange } // namespace Aws