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

A revision destination is the Amazon S3 bucket folder destination to where * the export will be sent.

See Also:

AWS * API Reference

*/ class AutoExportRevisionDestinationEntry { public: AWS_DATAEXCHANGE_API AutoExportRevisionDestinationEntry(); AWS_DATAEXCHANGE_API AutoExportRevisionDestinationEntry(Aws::Utils::Json::JsonView jsonValue); AWS_DATAEXCHANGE_API AutoExportRevisionDestinationEntry& 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 event action.

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

The Amazon S3 bucket that is the destination for the event action.

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

The Amazon S3 bucket that is the destination for the event action.

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

The Amazon S3 bucket that is the destination for the event action.

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

The Amazon S3 bucket that is the destination for the event action.

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

The Amazon S3 bucket that is the destination for the event action.

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

The Amazon S3 bucket that is the destination for the event action.

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

The Amazon S3 bucket that is the destination for the event action.

*/ inline AutoExportRevisionDestinationEntry& 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 AutoExportRevisionDestinationEntry& 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 AutoExportRevisionDestinationEntry& 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 AutoExportRevisionDestinationEntry& WithKeyPattern(const char* value) { SetKeyPattern(value); return *this;} private: Aws::String m_bucket; bool m_bucketHasBeenSet = false; Aws::String m_keyPattern; bool m_keyPatternHasBeenSet = false; }; } // namespace Model } // namespace DataExchange } // namespace Aws