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

Provides feature transformation information. Feature transformation is the * process of modifying raw input data into a form more suitable for model * training.

See Also:

AWS * API Reference

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

The name of the feature transformation.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the feature transformation.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The name of the feature transformation.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The name of the feature transformation.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The name of the feature transformation.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The name of the feature transformation.

*/ inline FeatureTransformation& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the feature transformation.

*/ inline FeatureTransformation& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the feature transformation.

*/ inline FeatureTransformation& WithName(const char* value) { SetName(value); return *this;} /** *

The Amazon Resource Name (ARN) of the FeatureTransformation object.

*/ inline const Aws::String& GetFeatureTransformationArn() const{ return m_featureTransformationArn; } /** *

The Amazon Resource Name (ARN) of the FeatureTransformation object.

*/ inline bool FeatureTransformationArnHasBeenSet() const { return m_featureTransformationArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the FeatureTransformation object.

*/ inline void SetFeatureTransformationArn(const Aws::String& value) { m_featureTransformationArnHasBeenSet = true; m_featureTransformationArn = value; } /** *

The Amazon Resource Name (ARN) of the FeatureTransformation object.

*/ inline void SetFeatureTransformationArn(Aws::String&& value) { m_featureTransformationArnHasBeenSet = true; m_featureTransformationArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the FeatureTransformation object.

*/ inline void SetFeatureTransformationArn(const char* value) { m_featureTransformationArnHasBeenSet = true; m_featureTransformationArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the FeatureTransformation object.

*/ inline FeatureTransformation& WithFeatureTransformationArn(const Aws::String& value) { SetFeatureTransformationArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the FeatureTransformation object.

*/ inline FeatureTransformation& WithFeatureTransformationArn(Aws::String&& value) { SetFeatureTransformationArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the FeatureTransformation object.

*/ inline FeatureTransformation& WithFeatureTransformationArn(const char* value) { SetFeatureTransformationArn(value); return *this;} /** *

Provides the default parameters for feature transformation.

*/ inline const Aws::Map& GetDefaultParameters() const{ return m_defaultParameters; } /** *

Provides the default parameters for feature transformation.

*/ inline bool DefaultParametersHasBeenSet() const { return m_defaultParametersHasBeenSet; } /** *

Provides the default parameters for feature transformation.

*/ inline void SetDefaultParameters(const Aws::Map& value) { m_defaultParametersHasBeenSet = true; m_defaultParameters = value; } /** *

Provides the default parameters for feature transformation.

*/ inline void SetDefaultParameters(Aws::Map&& value) { m_defaultParametersHasBeenSet = true; m_defaultParameters = std::move(value); } /** *

Provides the default parameters for feature transformation.

*/ inline FeatureTransformation& WithDefaultParameters(const Aws::Map& value) { SetDefaultParameters(value); return *this;} /** *

Provides the default parameters for feature transformation.

*/ inline FeatureTransformation& WithDefaultParameters(Aws::Map&& value) { SetDefaultParameters(std::move(value)); return *this;} /** *

Provides the default parameters for feature transformation.

*/ inline FeatureTransformation& AddDefaultParameters(const Aws::String& key, const Aws::String& value) { m_defaultParametersHasBeenSet = true; m_defaultParameters.emplace(key, value); return *this; } /** *

Provides the default parameters for feature transformation.

*/ inline FeatureTransformation& AddDefaultParameters(Aws::String&& key, const Aws::String& value) { m_defaultParametersHasBeenSet = true; m_defaultParameters.emplace(std::move(key), value); return *this; } /** *

Provides the default parameters for feature transformation.

*/ inline FeatureTransformation& AddDefaultParameters(const Aws::String& key, Aws::String&& value) { m_defaultParametersHasBeenSet = true; m_defaultParameters.emplace(key, std::move(value)); return *this; } /** *

Provides the default parameters for feature transformation.

*/ inline FeatureTransformation& AddDefaultParameters(Aws::String&& key, Aws::String&& value) { m_defaultParametersHasBeenSet = true; m_defaultParameters.emplace(std::move(key), std::move(value)); return *this; } /** *

Provides the default parameters for feature transformation.

*/ inline FeatureTransformation& AddDefaultParameters(const char* key, Aws::String&& value) { m_defaultParametersHasBeenSet = true; m_defaultParameters.emplace(key, std::move(value)); return *this; } /** *

Provides the default parameters for feature transformation.

*/ inline FeatureTransformation& AddDefaultParameters(Aws::String&& key, const char* value) { m_defaultParametersHasBeenSet = true; m_defaultParameters.emplace(std::move(key), value); return *this; } /** *

Provides the default parameters for feature transformation.

*/ inline FeatureTransformation& AddDefaultParameters(const char* key, const char* value) { m_defaultParametersHasBeenSet = true; m_defaultParameters.emplace(key, value); return *this; } /** *

The creation date and time (in Unix time) of the feature transformation.

*/ inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; } /** *

The creation date and time (in Unix time) of the feature transformation.

*/ inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; } /** *

The creation date and time (in Unix time) of the feature transformation.

*/ inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; } /** *

The creation date and time (in Unix time) of the feature transformation.

*/ inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); } /** *

The creation date and time (in Unix time) of the feature transformation.

*/ inline FeatureTransformation& WithCreationDateTime(const Aws::Utils::DateTime& value) { SetCreationDateTime(value); return *this;} /** *

The creation date and time (in Unix time) of the feature transformation.

*/ inline FeatureTransformation& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;} /** *

The last update date and time (in Unix time) of the feature * transformation.

*/ inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; } /** *

The last update date and time (in Unix time) of the feature * transformation.

*/ inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; } /** *

The last update date and time (in Unix time) of the feature * transformation.

*/ inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = value; } /** *

The last update date and time (in Unix time) of the feature * transformation.

*/ inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::move(value); } /** *

The last update date and time (in Unix time) of the feature * transformation.

*/ inline FeatureTransformation& WithLastUpdatedDateTime(const Aws::Utils::DateTime& value) { SetLastUpdatedDateTime(value); return *this;} /** *

The last update date and time (in Unix time) of the feature * transformation.

*/ inline FeatureTransformation& WithLastUpdatedDateTime(Aws::Utils::DateTime&& value) { SetLastUpdatedDateTime(std::move(value)); return *this;} /** *

The status of the feature transformation.

A feature transformation can * be in one of the following states:

  • CREATE PENDING > CREATE * IN_PROGRESS > ACTIVE -or- CREATE FAILED

*/ inline const Aws::String& GetStatus() const{ return m_status; } /** *

The status of the feature transformation.

A feature transformation can * be in one of the following states:

  • CREATE PENDING > CREATE * IN_PROGRESS > ACTIVE -or- CREATE FAILED

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

The status of the feature transformation.

A feature transformation can * be in one of the following states:

  • CREATE PENDING > CREATE * IN_PROGRESS > ACTIVE -or- CREATE FAILED

*/ inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; } /** *

The status of the feature transformation.

A feature transformation can * be in one of the following states:

  • CREATE PENDING > CREATE * IN_PROGRESS > ACTIVE -or- CREATE FAILED

*/ inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

The status of the feature transformation.

A feature transformation can * be in one of the following states:

  • CREATE PENDING > CREATE * IN_PROGRESS > ACTIVE -or- CREATE FAILED

*/ inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); } /** *

The status of the feature transformation.

A feature transformation can * be in one of the following states:

  • CREATE PENDING > CREATE * IN_PROGRESS > ACTIVE -or- CREATE FAILED

*/ inline FeatureTransformation& WithStatus(const Aws::String& value) { SetStatus(value); return *this;} /** *

The status of the feature transformation.

A feature transformation can * be in one of the following states:

  • CREATE PENDING > CREATE * IN_PROGRESS > ACTIVE -or- CREATE FAILED

*/ inline FeatureTransformation& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;} /** *

The status of the feature transformation.

A feature transformation can * be in one of the following states:

  • CREATE PENDING > CREATE * IN_PROGRESS > ACTIVE -or- CREATE FAILED

*/ inline FeatureTransformation& WithStatus(const char* value) { SetStatus(value); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_featureTransformationArn; bool m_featureTransformationArnHasBeenSet = false; Aws::Map m_defaultParameters; bool m_defaultParametersHasBeenSet = false; Aws::Utils::DateTime m_creationDateTime; bool m_creationDateTimeHasBeenSet = false; Aws::Utils::DateTime m_lastUpdatedDateTime; bool m_lastUpdatedDateTimeHasBeenSet = false; Aws::String m_status; bool m_statusHasBeenSet = false; }; } // namespace Model } // namespace Personalize } // namespace Aws