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

The data configuration for your dataset group and any additional * datasets.

See Also:

AWS * API Reference

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

The ARN of the dataset group used to train the predictor.

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

The ARN of the dataset group used to train the predictor.

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

The ARN of the dataset group used to train the predictor.

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

The ARN of the dataset group used to train the predictor.

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

The ARN of the dataset group used to train the predictor.

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

The ARN of the dataset group used to train the predictor.

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

The ARN of the dataset group used to train the predictor.

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

The ARN of the dataset group used to train the predictor.

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

Aggregation and filling options for attributes in your dataset group.

*/ inline const Aws::Vector& GetAttributeConfigs() const{ return m_attributeConfigs; } /** *

Aggregation and filling options for attributes in your dataset group.

*/ inline bool AttributeConfigsHasBeenSet() const { return m_attributeConfigsHasBeenSet; } /** *

Aggregation and filling options for attributes in your dataset group.

*/ inline void SetAttributeConfigs(const Aws::Vector& value) { m_attributeConfigsHasBeenSet = true; m_attributeConfigs = value; } /** *

Aggregation and filling options for attributes in your dataset group.

*/ inline void SetAttributeConfigs(Aws::Vector&& value) { m_attributeConfigsHasBeenSet = true; m_attributeConfigs = std::move(value); } /** *

Aggregation and filling options for attributes in your dataset group.

*/ inline DataConfig& WithAttributeConfigs(const Aws::Vector& value) { SetAttributeConfigs(value); return *this;} /** *

Aggregation and filling options for attributes in your dataset group.

*/ inline DataConfig& WithAttributeConfigs(Aws::Vector&& value) { SetAttributeConfigs(std::move(value)); return *this;} /** *

Aggregation and filling options for attributes in your dataset group.

*/ inline DataConfig& AddAttributeConfigs(const AttributeConfig& value) { m_attributeConfigsHasBeenSet = true; m_attributeConfigs.push_back(value); return *this; } /** *

Aggregation and filling options for attributes in your dataset group.

*/ inline DataConfig& AddAttributeConfigs(AttributeConfig&& value) { m_attributeConfigsHasBeenSet = true; m_attributeConfigs.push_back(std::move(value)); return *this; } /** *

Additional built-in datasets like Holidays and the Weather Index.

*/ inline const Aws::Vector& GetAdditionalDatasets() const{ return m_additionalDatasets; } /** *

Additional built-in datasets like Holidays and the Weather Index.

*/ inline bool AdditionalDatasetsHasBeenSet() const { return m_additionalDatasetsHasBeenSet; } /** *

Additional built-in datasets like Holidays and the Weather Index.

*/ inline void SetAdditionalDatasets(const Aws::Vector& value) { m_additionalDatasetsHasBeenSet = true; m_additionalDatasets = value; } /** *

Additional built-in datasets like Holidays and the Weather Index.

*/ inline void SetAdditionalDatasets(Aws::Vector&& value) { m_additionalDatasetsHasBeenSet = true; m_additionalDatasets = std::move(value); } /** *

Additional built-in datasets like Holidays and the Weather Index.

*/ inline DataConfig& WithAdditionalDatasets(const Aws::Vector& value) { SetAdditionalDatasets(value); return *this;} /** *

Additional built-in datasets like Holidays and the Weather Index.

*/ inline DataConfig& WithAdditionalDatasets(Aws::Vector&& value) { SetAdditionalDatasets(std::move(value)); return *this;} /** *

Additional built-in datasets like Holidays and the Weather Index.

*/ inline DataConfig& AddAdditionalDatasets(const AdditionalDataset& value) { m_additionalDatasetsHasBeenSet = true; m_additionalDatasets.push_back(value); return *this; } /** *

Additional built-in datasets like Holidays and the Weather Index.

*/ inline DataConfig& AddAdditionalDatasets(AdditionalDataset&& value) { m_additionalDatasetsHasBeenSet = true; m_additionalDatasets.push_back(std::move(value)); return *this; } private: Aws::String m_datasetGroupArn; bool m_datasetGroupArnHasBeenSet = false; Aws::Vector m_attributeConfigs; bool m_attributeConfigsHasBeenSet = false; Aws::Vector m_additionalDatasets; bool m_additionalDatasetsHasBeenSet = false; }; } // namespace Model } // namespace ForecastService } // namespace Aws