/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace ForecastService { namespace Model { /** *

This object belongs to the CreatePredictor operation. If you * created your predictor with CreateAutoPredictor, see * DataConfig.

The data used to train a predictor. The data * includes a dataset group and any supplementary features. You specify this object * in the CreatePredictor request.

See Also:

AWS * API Reference

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

The Amazon Resource Name (ARN) of the dataset group.

*/ inline const Aws::String& GetDatasetGroupArn() const{ return m_datasetGroupArn; } /** *

The Amazon Resource Name (ARN) of the dataset group.

*/ inline bool DatasetGroupArnHasBeenSet() const { return m_datasetGroupArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the dataset group.

*/ inline void SetDatasetGroupArn(const Aws::String& value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn = value; } /** *

The Amazon Resource Name (ARN) of the dataset group.

*/ inline void SetDatasetGroupArn(Aws::String&& value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the dataset group.

*/ inline void SetDatasetGroupArn(const char* value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the dataset group.

*/ inline InputDataConfig& WithDatasetGroupArn(const Aws::String& value) { SetDatasetGroupArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the dataset group.

*/ inline InputDataConfig& WithDatasetGroupArn(Aws::String&& value) { SetDatasetGroupArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the dataset group.

*/ inline InputDataConfig& WithDatasetGroupArn(const char* value) { SetDatasetGroupArn(value); return *this;} /** *

An array of supplementary features. The only supported feature is a holiday * calendar.

*/ inline const Aws::Vector& GetSupplementaryFeatures() const{ return m_supplementaryFeatures; } /** *

An array of supplementary features. The only supported feature is a holiday * calendar.

*/ inline bool SupplementaryFeaturesHasBeenSet() const { return m_supplementaryFeaturesHasBeenSet; } /** *

An array of supplementary features. The only supported feature is a holiday * calendar.

*/ inline void SetSupplementaryFeatures(const Aws::Vector& value) { m_supplementaryFeaturesHasBeenSet = true; m_supplementaryFeatures = value; } /** *

An array of supplementary features. The only supported feature is a holiday * calendar.

*/ inline void SetSupplementaryFeatures(Aws::Vector&& value) { m_supplementaryFeaturesHasBeenSet = true; m_supplementaryFeatures = std::move(value); } /** *

An array of supplementary features. The only supported feature is a holiday * calendar.

*/ inline InputDataConfig& WithSupplementaryFeatures(const Aws::Vector& value) { SetSupplementaryFeatures(value); return *this;} /** *

An array of supplementary features. The only supported feature is a holiday * calendar.

*/ inline InputDataConfig& WithSupplementaryFeatures(Aws::Vector&& value) { SetSupplementaryFeatures(std::move(value)); return *this;} /** *

An array of supplementary features. The only supported feature is a holiday * calendar.

*/ inline InputDataConfig& AddSupplementaryFeatures(const SupplementaryFeature& value) { m_supplementaryFeaturesHasBeenSet = true; m_supplementaryFeatures.push_back(value); return *this; } /** *

An array of supplementary features. The only supported feature is a holiday * calendar.

*/ inline InputDataConfig& AddSupplementaryFeatures(SupplementaryFeature&& value) { m_supplementaryFeaturesHasBeenSet = true; m_supplementaryFeatures.push_back(std::move(value)); return *this; } private: Aws::String m_datasetGroupArn; bool m_datasetGroupArnHasBeenSet = false; Aws::Vector m_supplementaryFeatures; bool m_supplementaryFeaturesHasBeenSet = false; }; } // namespace Model } // namespace ForecastService } // namespace Aws