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

Details about the import file that contains the time series for which you * want to create forecasts.

See Also:

AWS * API Reference

*/ class TimeSeriesIdentifiers { public: AWS_FORECASTSERVICE_API TimeSeriesIdentifiers(); AWS_FORECASTSERVICE_API TimeSeriesIdentifiers(Aws::Utils::Json::JsonView jsonValue); AWS_FORECASTSERVICE_API TimeSeriesIdentifiers& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const; inline const DataSource& GetDataSource() const{ return m_dataSource; } inline bool DataSourceHasBeenSet() const { return m_dataSourceHasBeenSet; } inline void SetDataSource(const DataSource& value) { m_dataSourceHasBeenSet = true; m_dataSource = value; } inline void SetDataSource(DataSource&& value) { m_dataSourceHasBeenSet = true; m_dataSource = std::move(value); } inline TimeSeriesIdentifiers& WithDataSource(const DataSource& value) { SetDataSource(value); return *this;} inline TimeSeriesIdentifiers& WithDataSource(DataSource&& value) { SetDataSource(std::move(value)); return *this;} inline const Schema& GetSchema() const{ return m_schema; } inline bool SchemaHasBeenSet() const { return m_schemaHasBeenSet; } inline void SetSchema(const Schema& value) { m_schemaHasBeenSet = true; m_schema = value; } inline void SetSchema(Schema&& value) { m_schemaHasBeenSet = true; m_schema = std::move(value); } inline TimeSeriesIdentifiers& WithSchema(const Schema& value) { SetSchema(value); return *this;} inline TimeSeriesIdentifiers& WithSchema(Schema&& value) { SetSchema(std::move(value)); return *this;} /** *

The format of the data, either CSV or PARQUET.

*/ inline const Aws::String& GetFormat() const{ return m_format; } /** *

The format of the data, either CSV or PARQUET.

*/ inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; } /** *

The format of the data, either CSV or PARQUET.

*/ inline void SetFormat(const Aws::String& value) { m_formatHasBeenSet = true; m_format = value; } /** *

The format of the data, either CSV or PARQUET.

*/ inline void SetFormat(Aws::String&& value) { m_formatHasBeenSet = true; m_format = std::move(value); } /** *

The format of the data, either CSV or PARQUET.

*/ inline void SetFormat(const char* value) { m_formatHasBeenSet = true; m_format.assign(value); } /** *

The format of the data, either CSV or PARQUET.

*/ inline TimeSeriesIdentifiers& WithFormat(const Aws::String& value) { SetFormat(value); return *this;} /** *

The format of the data, either CSV or PARQUET.

*/ inline TimeSeriesIdentifiers& WithFormat(Aws::String&& value) { SetFormat(std::move(value)); return *this;} /** *

The format of the data, either CSV or PARQUET.

*/ inline TimeSeriesIdentifiers& WithFormat(const char* value) { SetFormat(value); return *this;} private: DataSource m_dataSource; bool m_dataSourceHasBeenSet = false; Schema m_schema; bool m_schemaHasBeenSet = false; Aws::String m_format; bool m_formatHasBeenSet = false; }; } // namespace Model } // namespace ForecastService } // namespace Aws