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

The collection of components that defines the time-series.

See * Also:

AWS * API Reference

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

The name of the column representing the target variable that you want to * predict for each item in your dataset. The data type of the target variable must * be numerical.

*/ inline const Aws::String& GetTargetAttributeName() const{ return m_targetAttributeName; } /** *

The name of the column representing the target variable that you want to * predict for each item in your dataset. The data type of the target variable must * be numerical.

*/ inline bool TargetAttributeNameHasBeenSet() const { return m_targetAttributeNameHasBeenSet; } /** *

The name of the column representing the target variable that you want to * predict for each item in your dataset. The data type of the target variable must * be numerical.

*/ inline void SetTargetAttributeName(const Aws::String& value) { m_targetAttributeNameHasBeenSet = true; m_targetAttributeName = value; } /** *

The name of the column representing the target variable that you want to * predict for each item in your dataset. The data type of the target variable must * be numerical.

*/ inline void SetTargetAttributeName(Aws::String&& value) { m_targetAttributeNameHasBeenSet = true; m_targetAttributeName = std::move(value); } /** *

The name of the column representing the target variable that you want to * predict for each item in your dataset. The data type of the target variable must * be numerical.

*/ inline void SetTargetAttributeName(const char* value) { m_targetAttributeNameHasBeenSet = true; m_targetAttributeName.assign(value); } /** *

The name of the column representing the target variable that you want to * predict for each item in your dataset. The data type of the target variable must * be numerical.

*/ inline TimeSeriesConfig& WithTargetAttributeName(const Aws::String& value) { SetTargetAttributeName(value); return *this;} /** *

The name of the column representing the target variable that you want to * predict for each item in your dataset. The data type of the target variable must * be numerical.

*/ inline TimeSeriesConfig& WithTargetAttributeName(Aws::String&& value) { SetTargetAttributeName(std::move(value)); return *this;} /** *

The name of the column representing the target variable that you want to * predict for each item in your dataset. The data type of the target variable must * be numerical.

*/ inline TimeSeriesConfig& WithTargetAttributeName(const char* value) { SetTargetAttributeName(value); return *this;} /** *

The name of the column indicating a point in time at which the target value * of a given item is recorded.

*/ inline const Aws::String& GetTimestampAttributeName() const{ return m_timestampAttributeName; } /** *

The name of the column indicating a point in time at which the target value * of a given item is recorded.

*/ inline bool TimestampAttributeNameHasBeenSet() const { return m_timestampAttributeNameHasBeenSet; } /** *

The name of the column indicating a point in time at which the target value * of a given item is recorded.

*/ inline void SetTimestampAttributeName(const Aws::String& value) { m_timestampAttributeNameHasBeenSet = true; m_timestampAttributeName = value; } /** *

The name of the column indicating a point in time at which the target value * of a given item is recorded.

*/ inline void SetTimestampAttributeName(Aws::String&& value) { m_timestampAttributeNameHasBeenSet = true; m_timestampAttributeName = std::move(value); } /** *

The name of the column indicating a point in time at which the target value * of a given item is recorded.

*/ inline void SetTimestampAttributeName(const char* value) { m_timestampAttributeNameHasBeenSet = true; m_timestampAttributeName.assign(value); } /** *

The name of the column indicating a point in time at which the target value * of a given item is recorded.

*/ inline TimeSeriesConfig& WithTimestampAttributeName(const Aws::String& value) { SetTimestampAttributeName(value); return *this;} /** *

The name of the column indicating a point in time at which the target value * of a given item is recorded.

*/ inline TimeSeriesConfig& WithTimestampAttributeName(Aws::String&& value) { SetTimestampAttributeName(std::move(value)); return *this;} /** *

The name of the column indicating a point in time at which the target value * of a given item is recorded.

*/ inline TimeSeriesConfig& WithTimestampAttributeName(const char* value) { SetTimestampAttributeName(value); return *this;} /** *

The name of the column that represents the set of item identifiers for which * you want to predict the target value.

*/ inline const Aws::String& GetItemIdentifierAttributeName() const{ return m_itemIdentifierAttributeName; } /** *

The name of the column that represents the set of item identifiers for which * you want to predict the target value.

*/ inline bool ItemIdentifierAttributeNameHasBeenSet() const { return m_itemIdentifierAttributeNameHasBeenSet; } /** *

The name of the column that represents the set of item identifiers for which * you want to predict the target value.

*/ inline void SetItemIdentifierAttributeName(const Aws::String& value) { m_itemIdentifierAttributeNameHasBeenSet = true; m_itemIdentifierAttributeName = value; } /** *

The name of the column that represents the set of item identifiers for which * you want to predict the target value.

*/ inline void SetItemIdentifierAttributeName(Aws::String&& value) { m_itemIdentifierAttributeNameHasBeenSet = true; m_itemIdentifierAttributeName = std::move(value); } /** *

The name of the column that represents the set of item identifiers for which * you want to predict the target value.

*/ inline void SetItemIdentifierAttributeName(const char* value) { m_itemIdentifierAttributeNameHasBeenSet = true; m_itemIdentifierAttributeName.assign(value); } /** *

The name of the column that represents the set of item identifiers for which * you want to predict the target value.

*/ inline TimeSeriesConfig& WithItemIdentifierAttributeName(const Aws::String& value) { SetItemIdentifierAttributeName(value); return *this;} /** *

The name of the column that represents the set of item identifiers for which * you want to predict the target value.

*/ inline TimeSeriesConfig& WithItemIdentifierAttributeName(Aws::String&& value) { SetItemIdentifierAttributeName(std::move(value)); return *this;} /** *

The name of the column that represents the set of item identifiers for which * you want to predict the target value.

*/ inline TimeSeriesConfig& WithItemIdentifierAttributeName(const char* value) { SetItemIdentifierAttributeName(value); return *this;} /** *

A set of columns names that can be grouped with the item identifier column to * create a composite key for which a target value is predicted.

*/ inline const Aws::Vector& GetGroupingAttributeNames() const{ return m_groupingAttributeNames; } /** *

A set of columns names that can be grouped with the item identifier column to * create a composite key for which a target value is predicted.

*/ inline bool GroupingAttributeNamesHasBeenSet() const { return m_groupingAttributeNamesHasBeenSet; } /** *

A set of columns names that can be grouped with the item identifier column to * create a composite key for which a target value is predicted.

*/ inline void SetGroupingAttributeNames(const Aws::Vector& value) { m_groupingAttributeNamesHasBeenSet = true; m_groupingAttributeNames = value; } /** *

A set of columns names that can be grouped with the item identifier column to * create a composite key for which a target value is predicted.

*/ inline void SetGroupingAttributeNames(Aws::Vector&& value) { m_groupingAttributeNamesHasBeenSet = true; m_groupingAttributeNames = std::move(value); } /** *

A set of columns names that can be grouped with the item identifier column to * create a composite key for which a target value is predicted.

*/ inline TimeSeriesConfig& WithGroupingAttributeNames(const Aws::Vector& value) { SetGroupingAttributeNames(value); return *this;} /** *

A set of columns names that can be grouped with the item identifier column to * create a composite key for which a target value is predicted.

*/ inline TimeSeriesConfig& WithGroupingAttributeNames(Aws::Vector&& value) { SetGroupingAttributeNames(std::move(value)); return *this;} /** *

A set of columns names that can be grouped with the item identifier column to * create a composite key for which a target value is predicted.

*/ inline TimeSeriesConfig& AddGroupingAttributeNames(const Aws::String& value) { m_groupingAttributeNamesHasBeenSet = true; m_groupingAttributeNames.push_back(value); return *this; } /** *

A set of columns names that can be grouped with the item identifier column to * create a composite key for which a target value is predicted.

*/ inline TimeSeriesConfig& AddGroupingAttributeNames(Aws::String&& value) { m_groupingAttributeNamesHasBeenSet = true; m_groupingAttributeNames.push_back(std::move(value)); return *this; } /** *

A set of columns names that can be grouped with the item identifier column to * create a composite key for which a target value is predicted.

*/ inline TimeSeriesConfig& AddGroupingAttributeNames(const char* value) { m_groupingAttributeNamesHasBeenSet = true; m_groupingAttributeNames.push_back(value); return *this; } private: Aws::String m_targetAttributeName; bool m_targetAttributeNameHasBeenSet = false; Aws::String m_timestampAttributeName; bool m_timestampAttributeNameHasBeenSet = false; Aws::String m_itemIdentifierAttributeName; bool m_itemIdentifierAttributeNameHasBeenSet = false; Aws::Vector m_groupingAttributeNames; bool m_groupingAttributeNamesHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws