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

Details about the export revisions to Amazon S3 response.

See * Also:

AWS * API Reference

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

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

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

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

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

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

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

The unique identifier for the data set associated with this export 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 export job.

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

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

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

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

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

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

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

Encryption configuration of the export job.

*/ inline const ExportServerSideEncryption& GetEncryption() const{ return m_encryption; } /** *

Encryption configuration of the export job.

*/ inline bool EncryptionHasBeenSet() const { return m_encryptionHasBeenSet; } /** *

Encryption configuration of the export job.

*/ inline void SetEncryption(const ExportServerSideEncryption& value) { m_encryptionHasBeenSet = true; m_encryption = value; } /** *

Encryption configuration of the export job.

*/ inline void SetEncryption(ExportServerSideEncryption&& value) { m_encryptionHasBeenSet = true; m_encryption = std::move(value); } /** *

Encryption configuration of the export job.

*/ inline ExportRevisionsToS3ResponseDetails& WithEncryption(const ExportServerSideEncryption& value) { SetEncryption(value); return *this;} /** *

Encryption configuration of the export job.

*/ inline ExportRevisionsToS3ResponseDetails& WithEncryption(ExportServerSideEncryption&& value) { SetEncryption(std::move(value)); return *this;} /** *

The destination in Amazon S3 where the revision is exported.

*/ inline const Aws::Vector& GetRevisionDestinations() const{ return m_revisionDestinations; } /** *

The destination in Amazon S3 where the revision is exported.

*/ inline bool RevisionDestinationsHasBeenSet() const { return m_revisionDestinationsHasBeenSet; } /** *

The destination in Amazon S3 where the revision is exported.

*/ inline void SetRevisionDestinations(const Aws::Vector& value) { m_revisionDestinationsHasBeenSet = true; m_revisionDestinations = value; } /** *

The destination in Amazon S3 where the revision is exported.

*/ inline void SetRevisionDestinations(Aws::Vector&& value) { m_revisionDestinationsHasBeenSet = true; m_revisionDestinations = std::move(value); } /** *

The destination in Amazon S3 where the revision is exported.

*/ inline ExportRevisionsToS3ResponseDetails& WithRevisionDestinations(const Aws::Vector& value) { SetRevisionDestinations(value); return *this;} /** *

The destination in Amazon S3 where the revision is exported.

*/ inline ExportRevisionsToS3ResponseDetails& WithRevisionDestinations(Aws::Vector&& value) { SetRevisionDestinations(std::move(value)); return *this;} /** *

The destination in Amazon S3 where the revision is exported.

*/ inline ExportRevisionsToS3ResponseDetails& AddRevisionDestinations(const RevisionDestinationEntry& value) { m_revisionDestinationsHasBeenSet = true; m_revisionDestinations.push_back(value); return *this; } /** *

The destination in Amazon S3 where the revision is exported.

*/ inline ExportRevisionsToS3ResponseDetails& AddRevisionDestinations(RevisionDestinationEntry&& value) { m_revisionDestinationsHasBeenSet = true; m_revisionDestinations.push_back(std::move(value)); return *this; } /** *

The Amazon Resource Name (ARN) of the event action.

*/ inline const Aws::String& GetEventActionArn() const{ return m_eventActionArn; } /** *

The Amazon Resource Name (ARN) of the event action.

*/ inline bool EventActionArnHasBeenSet() const { return m_eventActionArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the event action.

*/ inline void SetEventActionArn(const Aws::String& value) { m_eventActionArnHasBeenSet = true; m_eventActionArn = value; } /** *

The Amazon Resource Name (ARN) of the event action.

*/ inline void SetEventActionArn(Aws::String&& value) { m_eventActionArnHasBeenSet = true; m_eventActionArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the event action.

*/ inline void SetEventActionArn(const char* value) { m_eventActionArnHasBeenSet = true; m_eventActionArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the event action.

*/ inline ExportRevisionsToS3ResponseDetails& WithEventActionArn(const Aws::String& value) { SetEventActionArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the event action.

*/ inline ExportRevisionsToS3ResponseDetails& WithEventActionArn(Aws::String&& value) { SetEventActionArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the event action.

*/ inline ExportRevisionsToS3ResponseDetails& WithEventActionArn(const char* value) { SetEventActionArn(value); return *this;} private: Aws::String m_dataSetId; bool m_dataSetIdHasBeenSet = false; ExportServerSideEncryption m_encryption; bool m_encryptionHasBeenSet = false; Aws::Vector m_revisionDestinations; bool m_revisionDestinationsHasBeenSet = false; Aws::String m_eventActionArn; bool m_eventActionArnHasBeenSet = false; }; } // namespace Model } // namespace DataExchange } // namespace Aws