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

The input configuration of a batch inference job.

See Also:

* AWS * API Reference

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

The URI of the Amazon S3 location that contains your input data. The Amazon * S3 bucket must be in the same region as the API endpoint you are calling.

*/ inline const S3DataConfig& GetS3DataSource() const{ return m_s3DataSource; } /** *

The URI of the Amazon S3 location that contains your input data. The Amazon * S3 bucket must be in the same region as the API endpoint you are calling.

*/ inline bool S3DataSourceHasBeenSet() const { return m_s3DataSourceHasBeenSet; } /** *

The URI of the Amazon S3 location that contains your input data. The Amazon * S3 bucket must be in the same region as the API endpoint you are calling.

*/ inline void SetS3DataSource(const S3DataConfig& value) { m_s3DataSourceHasBeenSet = true; m_s3DataSource = value; } /** *

The URI of the Amazon S3 location that contains your input data. The Amazon * S3 bucket must be in the same region as the API endpoint you are calling.

*/ inline void SetS3DataSource(S3DataConfig&& value) { m_s3DataSourceHasBeenSet = true; m_s3DataSource = std::move(value); } /** *

The URI of the Amazon S3 location that contains your input data. The Amazon * S3 bucket must be in the same region as the API endpoint you are calling.

*/ inline BatchInferenceJobInput& WithS3DataSource(const S3DataConfig& value) { SetS3DataSource(value); return *this;} /** *

The URI of the Amazon S3 location that contains your input data. The Amazon * S3 bucket must be in the same region as the API endpoint you are calling.

*/ inline BatchInferenceJobInput& WithS3DataSource(S3DataConfig&& value) { SetS3DataSource(std::move(value)); return *this;} private: S3DataConfig m_s3DataSource; bool m_s3DataSourceHasBeenSet = false; }; } // namespace Model } // namespace Personalize } // namespace Aws