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

The properties that are applied when Upsolver is used as a destination. *

See Also:

AWS * API Reference

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

The Upsolver Amazon S3 bucket name in which Amazon AppFlow places the * transferred data.

*/ inline const Aws::String& GetBucketName() const{ return m_bucketName; } /** *

The Upsolver Amazon S3 bucket name in which Amazon AppFlow places the * transferred data.

*/ inline bool BucketNameHasBeenSet() const { return m_bucketNameHasBeenSet; } /** *

The Upsolver Amazon S3 bucket name in which Amazon AppFlow places the * transferred data.

*/ inline void SetBucketName(const Aws::String& value) { m_bucketNameHasBeenSet = true; m_bucketName = value; } /** *

The Upsolver Amazon S3 bucket name in which Amazon AppFlow places the * transferred data.

*/ inline void SetBucketName(Aws::String&& value) { m_bucketNameHasBeenSet = true; m_bucketName = std::move(value); } /** *

The Upsolver Amazon S3 bucket name in which Amazon AppFlow places the * transferred data.

*/ inline void SetBucketName(const char* value) { m_bucketNameHasBeenSet = true; m_bucketName.assign(value); } /** *

The Upsolver Amazon S3 bucket name in which Amazon AppFlow places the * transferred data.

*/ inline UpsolverDestinationProperties& WithBucketName(const Aws::String& value) { SetBucketName(value); return *this;} /** *

The Upsolver Amazon S3 bucket name in which Amazon AppFlow places the * transferred data.

*/ inline UpsolverDestinationProperties& WithBucketName(Aws::String&& value) { SetBucketName(std::move(value)); return *this;} /** *

The Upsolver Amazon S3 bucket name in which Amazon AppFlow places the * transferred data.

*/ inline UpsolverDestinationProperties& WithBucketName(const char* value) { SetBucketName(value); return *this;} /** *

The object key for the destination Upsolver Amazon S3 bucket in which Amazon * AppFlow places the files.

*/ inline const Aws::String& GetBucketPrefix() const{ return m_bucketPrefix; } /** *

The object key for the destination Upsolver Amazon S3 bucket in which Amazon * AppFlow places the files.

*/ inline bool BucketPrefixHasBeenSet() const { return m_bucketPrefixHasBeenSet; } /** *

The object key for the destination Upsolver Amazon S3 bucket in which Amazon * AppFlow places the files.

*/ inline void SetBucketPrefix(const Aws::String& value) { m_bucketPrefixHasBeenSet = true; m_bucketPrefix = value; } /** *

The object key for the destination Upsolver Amazon S3 bucket in which Amazon * AppFlow places the files.

*/ inline void SetBucketPrefix(Aws::String&& value) { m_bucketPrefixHasBeenSet = true; m_bucketPrefix = std::move(value); } /** *

The object key for the destination Upsolver Amazon S3 bucket in which Amazon * AppFlow places the files.

*/ inline void SetBucketPrefix(const char* value) { m_bucketPrefixHasBeenSet = true; m_bucketPrefix.assign(value); } /** *

The object key for the destination Upsolver Amazon S3 bucket in which Amazon * AppFlow places the files.

*/ inline UpsolverDestinationProperties& WithBucketPrefix(const Aws::String& value) { SetBucketPrefix(value); return *this;} /** *

The object key for the destination Upsolver Amazon S3 bucket in which Amazon * AppFlow places the files.

*/ inline UpsolverDestinationProperties& WithBucketPrefix(Aws::String&& value) { SetBucketPrefix(std::move(value)); return *this;} /** *

The object key for the destination Upsolver Amazon S3 bucket in which Amazon * AppFlow places the files.

*/ inline UpsolverDestinationProperties& WithBucketPrefix(const char* value) { SetBucketPrefix(value); return *this;} /** *

The configuration that determines how data is formatted when Upsolver is * used as the flow destination.

*/ inline const UpsolverS3OutputFormatConfig& GetS3OutputFormatConfig() const{ return m_s3OutputFormatConfig; } /** *

The configuration that determines how data is formatted when Upsolver is * used as the flow destination.

*/ inline bool S3OutputFormatConfigHasBeenSet() const { return m_s3OutputFormatConfigHasBeenSet; } /** *

The configuration that determines how data is formatted when Upsolver is * used as the flow destination.

*/ inline void SetS3OutputFormatConfig(const UpsolverS3OutputFormatConfig& value) { m_s3OutputFormatConfigHasBeenSet = true; m_s3OutputFormatConfig = value; } /** *

The configuration that determines how data is formatted when Upsolver is * used as the flow destination.

*/ inline void SetS3OutputFormatConfig(UpsolverS3OutputFormatConfig&& value) { m_s3OutputFormatConfigHasBeenSet = true; m_s3OutputFormatConfig = std::move(value); } /** *

The configuration that determines how data is formatted when Upsolver is * used as the flow destination.

*/ inline UpsolverDestinationProperties& WithS3OutputFormatConfig(const UpsolverS3OutputFormatConfig& value) { SetS3OutputFormatConfig(value); return *this;} /** *

The configuration that determines how data is formatted when Upsolver is * used as the flow destination.

*/ inline UpsolverDestinationProperties& WithS3OutputFormatConfig(UpsolverS3OutputFormatConfig&& value) { SetS3OutputFormatConfig(std::move(value)); return *this;} private: Aws::String m_bucketName; bool m_bucketNameHasBeenSet = false; Aws::String m_bucketPrefix; bool m_bucketPrefixHasBeenSet = false; UpsolverS3OutputFormatConfig m_s3OutputFormatConfig; bool m_s3OutputFormatConfigHasBeenSet = false; }; } // namespace Model } // namespace Appflow } // namespace Aws