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

When you use Amazon S3 as the source, the configuration format that you * provide the flow input data.

See Also:

AWS * API Reference

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

The file type that Amazon AppFlow gets from your Amazon S3 bucket.

*/ inline const S3InputFileType& GetS3InputFileType() const{ return m_s3InputFileType; } /** *

The file type that Amazon AppFlow gets from your Amazon S3 bucket.

*/ inline bool S3InputFileTypeHasBeenSet() const { return m_s3InputFileTypeHasBeenSet; } /** *

The file type that Amazon AppFlow gets from your Amazon S3 bucket.

*/ inline void SetS3InputFileType(const S3InputFileType& value) { m_s3InputFileTypeHasBeenSet = true; m_s3InputFileType = value; } /** *

The file type that Amazon AppFlow gets from your Amazon S3 bucket.

*/ inline void SetS3InputFileType(S3InputFileType&& value) { m_s3InputFileTypeHasBeenSet = true; m_s3InputFileType = std::move(value); } /** *

The file type that Amazon AppFlow gets from your Amazon S3 bucket.

*/ inline S3InputFormatConfig& WithS3InputFileType(const S3InputFileType& value) { SetS3InputFileType(value); return *this;} /** *

The file type that Amazon AppFlow gets from your Amazon S3 bucket.

*/ inline S3InputFormatConfig& WithS3InputFileType(S3InputFileType&& value) { SetS3InputFileType(std::move(value)); return *this;} private: S3InputFileType m_s3InputFileType; bool m_s3InputFileTypeHasBeenSet = false; }; } // namespace Model } // namespace Appflow } // namespace Aws