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

The details in the response for an import request, including the signed URL * and other information.

See Also:

AWS * API Reference

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

The name for the asset associated with this import job.

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

The name for the asset associated with this import job.

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

The name for the asset associated with this import job.

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

The name for the asset associated with this import job.

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

The name for the asset associated with this import job.

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

The name for the asset associated with this import job.

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

The name for the asset associated with this import job.

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

The name for the asset associated with this import job.

*/ inline ImportAssetFromSignedUrlResponseDetails& 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 ImportAssetFromSignedUrlResponseDetails& WithDataSetId(const Aws::String& value) { SetDataSetId(value); return *this;} /** *

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

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

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

*/ inline ImportAssetFromSignedUrlResponseDetails& 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 ImportAssetFromSignedUrlResponseDetails& 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 ImportAssetFromSignedUrlResponseDetails& 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 ImportAssetFromSignedUrlResponseDetails& WithMd5Hash(const char* value) { SetMd5Hash(value); return *this;} /** *

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

*/ inline ImportAssetFromSignedUrlResponseDetails& WithRevisionId(const char* value) { SetRevisionId(value); return *this;} /** *

The signed URL.

*/ inline const Aws::String& GetSignedUrl() const{ return m_signedUrl; } /** *

The signed URL.

*/ inline bool SignedUrlHasBeenSet() const { return m_signedUrlHasBeenSet; } /** *

The signed URL.

*/ inline void SetSignedUrl(const Aws::String& value) { m_signedUrlHasBeenSet = true; m_signedUrl = value; } /** *

The signed URL.

*/ inline void SetSignedUrl(Aws::String&& value) { m_signedUrlHasBeenSet = true; m_signedUrl = std::move(value); } /** *

The signed URL.

*/ inline void SetSignedUrl(const char* value) { m_signedUrlHasBeenSet = true; m_signedUrl.assign(value); } /** *

The signed URL.

*/ inline ImportAssetFromSignedUrlResponseDetails& WithSignedUrl(const Aws::String& value) { SetSignedUrl(value); return *this;} /** *

The signed URL.

*/ inline ImportAssetFromSignedUrlResponseDetails& WithSignedUrl(Aws::String&& value) { SetSignedUrl(std::move(value)); return *this;} /** *

The signed URL.

*/ inline ImportAssetFromSignedUrlResponseDetails& WithSignedUrl(const char* value) { SetSignedUrl(value); return *this;} /** *

The time and date at which the signed URL expires, in ISO 8601 format.

*/ inline const Aws::Utils::DateTime& GetSignedUrlExpiresAt() const{ return m_signedUrlExpiresAt; } /** *

The time and date at which the signed URL expires, in ISO 8601 format.

*/ inline bool SignedUrlExpiresAtHasBeenSet() const { return m_signedUrlExpiresAtHasBeenSet; } /** *

The time and date at which the signed URL expires, in ISO 8601 format.

*/ inline void SetSignedUrlExpiresAt(const Aws::Utils::DateTime& value) { m_signedUrlExpiresAtHasBeenSet = true; m_signedUrlExpiresAt = value; } /** *

The time and date at which the signed URL expires, in ISO 8601 format.

*/ inline void SetSignedUrlExpiresAt(Aws::Utils::DateTime&& value) { m_signedUrlExpiresAtHasBeenSet = true; m_signedUrlExpiresAt = std::move(value); } /** *

The time and date at which the signed URL expires, in ISO 8601 format.

*/ inline ImportAssetFromSignedUrlResponseDetails& WithSignedUrlExpiresAt(const Aws::Utils::DateTime& value) { SetSignedUrlExpiresAt(value); return *this;} /** *

The time and date at which the signed URL expires, in ISO 8601 format.

*/ inline ImportAssetFromSignedUrlResponseDetails& WithSignedUrlExpiresAt(Aws::Utils::DateTime&& value) { SetSignedUrlExpiresAt(std::move(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; Aws::String m_signedUrl; bool m_signedUrlHasBeenSet = false; Aws::Utils::DateTime m_signedUrlExpiresAt; bool m_signedUrlExpiresAtHasBeenSet = false; }; } // namespace Model } // namespace DataExchange } // namespace Aws