/** * 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 { /** *

The destination where the assets in the revision will be * exported.

See Also:

AWS * API Reference

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

The Amazon S3 bucket that is the destination for the assets in the * revision.

*/ inline const Aws::String& GetBucket() const{ return m_bucket; } /** *

The Amazon S3 bucket that is the destination for the assets in the * revision.

*/ inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } /** *

The Amazon S3 bucket that is the destination for the assets in the * revision.

*/ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } /** *

The Amazon S3 bucket that is the destination for the assets in the * revision.

*/ inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } /** *

The Amazon S3 bucket that is the destination for the assets in the * revision.

*/ inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } /** *

The Amazon S3 bucket that is the destination for the assets in the * revision.

*/ inline RevisionDestinationEntry& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} /** *

The Amazon S3 bucket that is the destination for the assets in the * revision.

*/ inline RevisionDestinationEntry& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} /** *

The Amazon S3 bucket that is the destination for the assets in the * revision.

*/ inline RevisionDestinationEntry& WithBucket(const char* value) { SetBucket(value); return *this;} /** *

A string representing the pattern for generated names of the individual * assets in the revision. For more information about key patterns, see Key * patterns when exporting revisions.

*/ inline const Aws::String& GetKeyPattern() const{ return m_keyPattern; } /** *

A string representing the pattern for generated names of the individual * assets in the revision. For more information about key patterns, see Key * patterns when exporting revisions.

*/ inline bool KeyPatternHasBeenSet() const { return m_keyPatternHasBeenSet; } /** *

A string representing the pattern for generated names of the individual * assets in the revision. For more information about key patterns, see Key * patterns when exporting revisions.

*/ inline void SetKeyPattern(const Aws::String& value) { m_keyPatternHasBeenSet = true; m_keyPattern = value; } /** *

A string representing the pattern for generated names of the individual * assets in the revision. For more information about key patterns, see Key * patterns when exporting revisions.

*/ inline void SetKeyPattern(Aws::String&& value) { m_keyPatternHasBeenSet = true; m_keyPattern = std::move(value); } /** *

A string representing the pattern for generated names of the individual * assets in the revision. For more information about key patterns, see Key * patterns when exporting revisions.

*/ inline void SetKeyPattern(const char* value) { m_keyPatternHasBeenSet = true; m_keyPattern.assign(value); } /** *

A string representing the pattern for generated names of the individual * assets in the revision. For more information about key patterns, see Key * patterns when exporting revisions.

*/ inline RevisionDestinationEntry& WithKeyPattern(const Aws::String& value) { SetKeyPattern(value); return *this;} /** *

A string representing the pattern for generated names of the individual * assets in the revision. For more information about key patterns, see Key * patterns when exporting revisions.

*/ inline RevisionDestinationEntry& WithKeyPattern(Aws::String&& value) { SetKeyPattern(std::move(value)); return *this;} /** *

A string representing the pattern for generated names of the individual * assets in the revision. For more information about key patterns, see Key * patterns when exporting revisions.

*/ inline RevisionDestinationEntry& WithKeyPattern(const char* value) { SetKeyPattern(value); return *this;} /** *

The unique identifier for the revision.

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

The unique identifier for the revision.

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

The unique identifier for the revision.

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

The unique identifier for the revision.

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

The unique identifier for the revision.

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

The unique identifier for the revision.

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

The unique identifier for the revision.

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

The unique identifier for the revision.

*/ inline RevisionDestinationEntry& WithRevisionId(const char* value) { SetRevisionId(value); return *this;} private: Aws::String m_bucket; bool m_bucketHasBeenSet = false; Aws::String m_keyPattern; bool m_keyPatternHasBeenSet = false; Aws::String m_revisionId; bool m_revisionIdHasBeenSet = false; }; } // namespace Model } // namespace DataExchange } // namespace Aws