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

Determines how Amazon AppFlow handles the success response that it gets from * the connector after placing data.

For example, this setting would * determine where to write the response from the destination connector upon a * successful insert operation.

See Also:

AWS * API Reference

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

The Amazon S3 bucket prefix.

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

The Amazon S3 bucket prefix.

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

The Amazon S3 bucket prefix.

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

The Amazon S3 bucket prefix.

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

The Amazon S3 bucket prefix.

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

The Amazon S3 bucket prefix.

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

The Amazon S3 bucket prefix.

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

The Amazon S3 bucket prefix.

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

The name of the Amazon S3 bucket.

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

The name of the Amazon S3 bucket.

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

The name of the Amazon S3 bucket.

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

The name of the Amazon S3 bucket.

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

The name of the Amazon S3 bucket.

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

The name of the Amazon S3 bucket.

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

The name of the Amazon S3 bucket.

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

The name of the Amazon S3 bucket.

*/ inline SuccessResponseHandlingConfig& WithBucketName(const char* value) { SetBucketName(value); return *this;} private: Aws::String m_bucketPrefix; bool m_bucketPrefixHasBeenSet = false; Aws::String m_bucketName; bool m_bucketNameHasBeenSet = false; }; } // namespace Model } // namespace Appflow } // namespace Aws