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

Specifies S3 configuration information for the input data for the data * ingestion job.

See Also:

AWS * API Reference

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

The name of the S3 bucket used for the input data for the data ingestion. *

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

The name of the S3 bucket used for the input data for the data ingestion. *

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

The name of the S3 bucket used for the input data for the data ingestion. *

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

The name of the S3 bucket used for the input data for the data ingestion. *

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

The name of the S3 bucket used for the input data for the data ingestion. *

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

The name of the S3 bucket used for the input data for the data ingestion. *

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

The name of the S3 bucket used for the input data for the data ingestion. *

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

The name of the S3 bucket used for the input data for the data ingestion. *

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

The prefix for the S3 location being used for the input data for the data * ingestion.

*/ inline const Aws::String& GetPrefix() const{ return m_prefix; } /** *

The prefix for the S3 location being used for the input data for the data * ingestion.

*/ inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; } /** *

The prefix for the S3 location being used for the input data for the data * ingestion.

*/ inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; } /** *

The prefix for the S3 location being used for the input data for the data * ingestion.

*/ inline void SetPrefix(Aws::String&& value) { m_prefixHasBeenSet = true; m_prefix = std::move(value); } /** *

The prefix for the S3 location being used for the input data for the data * ingestion.

*/ inline void SetPrefix(const char* value) { m_prefixHasBeenSet = true; m_prefix.assign(value); } /** *

The prefix for the S3 location being used for the input data for the data * ingestion.

*/ inline IngestionS3InputConfiguration& WithPrefix(const Aws::String& value) { SetPrefix(value); return *this;} /** *

The prefix for the S3 location being used for the input data for the data * ingestion.

*/ inline IngestionS3InputConfiguration& WithPrefix(Aws::String&& value) { SetPrefix(std::move(value)); return *this;} /** *

The prefix for the S3 location being used for the input data for the data * ingestion.

*/ inline IngestionS3InputConfiguration& WithPrefix(const char* value) { SetPrefix(value); return *this;} /** *

Pattern for matching the Amazon S3 files which will be used for ingestion. * If no KeyPattern is provided, we will use the default hierarchy file structure, * which is same as KeyPattern {prefix}/{component_name}/ *

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

Pattern for matching the Amazon S3 files which will be used for ingestion. * If no KeyPattern is provided, we will use the default hierarchy file structure, * which is same as KeyPattern {prefix}/{component_name}/ *

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

Pattern for matching the Amazon S3 files which will be used for ingestion. * If no KeyPattern is provided, we will use the default hierarchy file structure, * which is same as KeyPattern {prefix}/{component_name}/ *

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

Pattern for matching the Amazon S3 files which will be used for ingestion. * If no KeyPattern is provided, we will use the default hierarchy file structure, * which is same as KeyPattern {prefix}/{component_name}/ *

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

Pattern for matching the Amazon S3 files which will be used for ingestion. * If no KeyPattern is provided, we will use the default hierarchy file structure, * which is same as KeyPattern {prefix}/{component_name}/ *

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

Pattern for matching the Amazon S3 files which will be used for ingestion. * If no KeyPattern is provided, we will use the default hierarchy file structure, * which is same as KeyPattern {prefix}/{component_name}/ *

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

Pattern for matching the Amazon S3 files which will be used for ingestion. * If no KeyPattern is provided, we will use the default hierarchy file structure, * which is same as KeyPattern {prefix}/{component_name}/ *

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

Pattern for matching the Amazon S3 files which will be used for ingestion. * If no KeyPattern is provided, we will use the default hierarchy file structure, * which is same as KeyPattern {prefix}/{component_name}/ *

*/ inline IngestionS3InputConfiguration& WithKeyPattern(const char* value) { SetKeyPattern(value); return *this;} private: Aws::String m_bucket; bool m_bucketHasBeenSet = false; Aws::String m_prefix; bool m_prefixHasBeenSet = false; Aws::String m_keyPattern; bool m_keyPatternHasBeenSet = false; }; } // namespace Model } // namespace LookoutEquipment } // namespace Aws