/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An object that provides information about a specific version of a Solution
* in a Custom dataset group.See Also:
AWS
* API Reference
The name of the solution version.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the solution version.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the solution version.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the solution version.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the solution version.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the solution version.
*/ inline SolutionVersion& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the solution version.
*/ inline SolutionVersion& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the solution version.
*/ inline SolutionVersion& WithName(const char* value) { SetName(value); return *this;} /** *The ARN of the solution version.
*/ inline const Aws::String& GetSolutionVersionArn() const{ return m_solutionVersionArn; } /** *The ARN of the solution version.
*/ inline bool SolutionVersionArnHasBeenSet() const { return m_solutionVersionArnHasBeenSet; } /** *The ARN of the solution version.
*/ inline void SetSolutionVersionArn(const Aws::String& value) { m_solutionVersionArnHasBeenSet = true; m_solutionVersionArn = value; } /** *The ARN of the solution version.
*/ inline void SetSolutionVersionArn(Aws::String&& value) { m_solutionVersionArnHasBeenSet = true; m_solutionVersionArn = std::move(value); } /** *The ARN of the solution version.
*/ inline void SetSolutionVersionArn(const char* value) { m_solutionVersionArnHasBeenSet = true; m_solutionVersionArn.assign(value); } /** *The ARN of the solution version.
*/ inline SolutionVersion& WithSolutionVersionArn(const Aws::String& value) { SetSolutionVersionArn(value); return *this;} /** *The ARN of the solution version.
*/ inline SolutionVersion& WithSolutionVersionArn(Aws::String&& value) { SetSolutionVersionArn(std::move(value)); return *this;} /** *The ARN of the solution version.
*/ inline SolutionVersion& WithSolutionVersionArn(const char* value) { SetSolutionVersionArn(value); return *this;} /** *The ARN of the solution.
*/ inline const Aws::String& GetSolutionArn() const{ return m_solutionArn; } /** *The ARN of the solution.
*/ inline bool SolutionArnHasBeenSet() const { return m_solutionArnHasBeenSet; } /** *The ARN of the solution.
*/ inline void SetSolutionArn(const Aws::String& value) { m_solutionArnHasBeenSet = true; m_solutionArn = value; } /** *The ARN of the solution.
*/ inline void SetSolutionArn(Aws::String&& value) { m_solutionArnHasBeenSet = true; m_solutionArn = std::move(value); } /** *The ARN of the solution.
*/ inline void SetSolutionArn(const char* value) { m_solutionArnHasBeenSet = true; m_solutionArn.assign(value); } /** *The ARN of the solution.
*/ inline SolutionVersion& WithSolutionArn(const Aws::String& value) { SetSolutionArn(value); return *this;} /** *The ARN of the solution.
*/ inline SolutionVersion& WithSolutionArn(Aws::String&& value) { SetSolutionArn(std::move(value)); return *this;} /** *The ARN of the solution.
*/ inline SolutionVersion& WithSolutionArn(const char* value) { SetSolutionArn(value); return *this;} /** *Whether to perform hyperparameter optimization (HPO) on the chosen recipe.
* The default is false
.
Whether to perform hyperparameter optimization (HPO) on the chosen recipe.
* The default is false
.
Whether to perform hyperparameter optimization (HPO) on the chosen recipe.
* The default is false
.
Whether to perform hyperparameter optimization (HPO) on the chosen recipe.
* The default is false
.
When true, Amazon Personalize searches for the most optimal recipe according
* to the solution configuration. When false (the default), Amazon Personalize uses
* recipeArn
.
When true, Amazon Personalize searches for the most optimal recipe according
* to the solution configuration. When false (the default), Amazon Personalize uses
* recipeArn
.
When true, Amazon Personalize searches for the most optimal recipe according
* to the solution configuration. When false (the default), Amazon Personalize uses
* recipeArn
.
When true, Amazon Personalize searches for the most optimal recipe according
* to the solution configuration. When false (the default), Amazon Personalize uses
* recipeArn
.
The ARN of the recipe used in the solution.
*/ inline const Aws::String& GetRecipeArn() const{ return m_recipeArn; } /** *The ARN of the recipe used in the solution.
*/ inline bool RecipeArnHasBeenSet() const { return m_recipeArnHasBeenSet; } /** *The ARN of the recipe used in the solution.
*/ inline void SetRecipeArn(const Aws::String& value) { m_recipeArnHasBeenSet = true; m_recipeArn = value; } /** *The ARN of the recipe used in the solution.
*/ inline void SetRecipeArn(Aws::String&& value) { m_recipeArnHasBeenSet = true; m_recipeArn = std::move(value); } /** *The ARN of the recipe used in the solution.
*/ inline void SetRecipeArn(const char* value) { m_recipeArnHasBeenSet = true; m_recipeArn.assign(value); } /** *The ARN of the recipe used in the solution.
*/ inline SolutionVersion& WithRecipeArn(const Aws::String& value) { SetRecipeArn(value); return *this;} /** *The ARN of the recipe used in the solution.
*/ inline SolutionVersion& WithRecipeArn(Aws::String&& value) { SetRecipeArn(std::move(value)); return *this;} /** *The ARN of the recipe used in the solution.
*/ inline SolutionVersion& WithRecipeArn(const char* value) { SetRecipeArn(value); return *this;} /** *The event type (for example, 'click' or 'like') that is used for training the * model.
*/ inline const Aws::String& GetEventType() const{ return m_eventType; } /** *The event type (for example, 'click' or 'like') that is used for training the * model.
*/ inline bool EventTypeHasBeenSet() const { return m_eventTypeHasBeenSet; } /** *The event type (for example, 'click' or 'like') that is used for training the * model.
*/ inline void SetEventType(const Aws::String& value) { m_eventTypeHasBeenSet = true; m_eventType = value; } /** *The event type (for example, 'click' or 'like') that is used for training the * model.
*/ inline void SetEventType(Aws::String&& value) { m_eventTypeHasBeenSet = true; m_eventType = std::move(value); } /** *The event type (for example, 'click' or 'like') that is used for training the * model.
*/ inline void SetEventType(const char* value) { m_eventTypeHasBeenSet = true; m_eventType.assign(value); } /** *The event type (for example, 'click' or 'like') that is used for training the * model.
*/ inline SolutionVersion& WithEventType(const Aws::String& value) { SetEventType(value); return *this;} /** *The event type (for example, 'click' or 'like') that is used for training the * model.
*/ inline SolutionVersion& WithEventType(Aws::String&& value) { SetEventType(std::move(value)); return *this;} /** *The event type (for example, 'click' or 'like') that is used for training the * model.
*/ inline SolutionVersion& WithEventType(const char* value) { SetEventType(value); return *this;} /** *The Amazon Resource Name (ARN) of the dataset group providing the training * data.
*/ inline const Aws::String& GetDatasetGroupArn() const{ return m_datasetGroupArn; } /** *The Amazon Resource Name (ARN) of the dataset group providing the training * data.
*/ inline bool DatasetGroupArnHasBeenSet() const { return m_datasetGroupArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the dataset group providing the training * data.
*/ inline void SetDatasetGroupArn(const Aws::String& value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn = value; } /** *The Amazon Resource Name (ARN) of the dataset group providing the training * data.
*/ inline void SetDatasetGroupArn(Aws::String&& value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the dataset group providing the training * data.
*/ inline void SetDatasetGroupArn(const char* value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn.assign(value); } /** *The Amazon Resource Name (ARN) of the dataset group providing the training * data.
*/ inline SolutionVersion& WithDatasetGroupArn(const Aws::String& value) { SetDatasetGroupArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the dataset group providing the training * data.
*/ inline SolutionVersion& WithDatasetGroupArn(Aws::String&& value) { SetDatasetGroupArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the dataset group providing the training * data.
*/ inline SolutionVersion& WithDatasetGroupArn(const char* value) { SetDatasetGroupArn(value); return *this;} /** *Describes the configuration properties for the solution.
*/ inline const SolutionConfig& GetSolutionConfig() const{ return m_solutionConfig; } /** *Describes the configuration properties for the solution.
*/ inline bool SolutionConfigHasBeenSet() const { return m_solutionConfigHasBeenSet; } /** *Describes the configuration properties for the solution.
*/ inline void SetSolutionConfig(const SolutionConfig& value) { m_solutionConfigHasBeenSet = true; m_solutionConfig = value; } /** *Describes the configuration properties for the solution.
*/ inline void SetSolutionConfig(SolutionConfig&& value) { m_solutionConfigHasBeenSet = true; m_solutionConfig = std::move(value); } /** *Describes the configuration properties for the solution.
*/ inline SolutionVersion& WithSolutionConfig(const SolutionConfig& value) { SetSolutionConfig(value); return *this;} /** *Describes the configuration properties for the solution.
*/ inline SolutionVersion& WithSolutionConfig(SolutionConfig&& value) { SetSolutionConfig(std::move(value)); return *this;} /** *The time used to train the model. You are billed for the time it takes to * train a model. This field is visible only after Amazon Personalize successfully * trains a model.
*/ inline double GetTrainingHours() const{ return m_trainingHours; } /** *The time used to train the model. You are billed for the time it takes to * train a model. This field is visible only after Amazon Personalize successfully * trains a model.
*/ inline bool TrainingHoursHasBeenSet() const { return m_trainingHoursHasBeenSet; } /** *The time used to train the model. You are billed for the time it takes to * train a model. This field is visible only after Amazon Personalize successfully * trains a model.
*/ inline void SetTrainingHours(double value) { m_trainingHoursHasBeenSet = true; m_trainingHours = value; } /** *The time used to train the model. You are billed for the time it takes to * train a model. This field is visible only after Amazon Personalize successfully * trains a model.
*/ inline SolutionVersion& WithTrainingHours(double value) { SetTrainingHours(value); return *this;} /** *The scope of training to be performed when creating the solution version. The
* FULL
option trains the solution version based on the entirety of
* the input solution's training data, while the UPDATE
option
* processes only the data that has changed in comparison to the input solution.
* Choose UPDATE
when you want to incrementally update your solution
* version instead of creating an entirely new one.
The
* UPDATE
option can only be used when you already have an active
* solution version created from the input solution using the FULL
* option and the input solution was trained with the User-Personalization
* recipe or the HRNN-Coldstart
* recipe.
The scope of training to be performed when creating the solution version. The
* FULL
option trains the solution version based on the entirety of
* the input solution's training data, while the UPDATE
option
* processes only the data that has changed in comparison to the input solution.
* Choose UPDATE
when you want to incrementally update your solution
* version instead of creating an entirely new one.
The
* UPDATE
option can only be used when you already have an active
* solution version created from the input solution using the FULL
* option and the input solution was trained with the User-Personalization
* recipe or the HRNN-Coldstart
* recipe.
The scope of training to be performed when creating the solution version. The
* FULL
option trains the solution version based on the entirety of
* the input solution's training data, while the UPDATE
option
* processes only the data that has changed in comparison to the input solution.
* Choose UPDATE
when you want to incrementally update your solution
* version instead of creating an entirely new one.
The
* UPDATE
option can only be used when you already have an active
* solution version created from the input solution using the FULL
* option and the input solution was trained with the User-Personalization
* recipe or the HRNN-Coldstart
* recipe.
The scope of training to be performed when creating the solution version. The
* FULL
option trains the solution version based on the entirety of
* the input solution's training data, while the UPDATE
option
* processes only the data that has changed in comparison to the input solution.
* Choose UPDATE
when you want to incrementally update your solution
* version instead of creating an entirely new one.
The
* UPDATE
option can only be used when you already have an active
* solution version created from the input solution using the FULL
* option and the input solution was trained with the User-Personalization
* recipe or the HRNN-Coldstart
* recipe.
The scope of training to be performed when creating the solution version. The
* FULL
option trains the solution version based on the entirety of
* the input solution's training data, while the UPDATE
option
* processes only the data that has changed in comparison to the input solution.
* Choose UPDATE
when you want to incrementally update your solution
* version instead of creating an entirely new one.
The
* UPDATE
option can only be used when you already have an active
* solution version created from the input solution using the FULL
* option and the input solution was trained with the User-Personalization
* recipe or the HRNN-Coldstart
* recipe.
The scope of training to be performed when creating the solution version. The
* FULL
option trains the solution version based on the entirety of
* the input solution's training data, while the UPDATE
option
* processes only the data that has changed in comparison to the input solution.
* Choose UPDATE
when you want to incrementally update your solution
* version instead of creating an entirely new one.
The
* UPDATE
option can only be used when you already have an active
* solution version created from the input solution using the FULL
* option and the input solution was trained with the User-Personalization
* recipe or the HRNN-Coldstart
* recipe.
If hyperparameter optimization was performed, contains the hyperparameter * values of the best performing model.
*/ inline const TunedHPOParams& GetTunedHPOParams() const{ return m_tunedHPOParams; } /** *If hyperparameter optimization was performed, contains the hyperparameter * values of the best performing model.
*/ inline bool TunedHPOParamsHasBeenSet() const { return m_tunedHPOParamsHasBeenSet; } /** *If hyperparameter optimization was performed, contains the hyperparameter * values of the best performing model.
*/ inline void SetTunedHPOParams(const TunedHPOParams& value) { m_tunedHPOParamsHasBeenSet = true; m_tunedHPOParams = value; } /** *If hyperparameter optimization was performed, contains the hyperparameter * values of the best performing model.
*/ inline void SetTunedHPOParams(TunedHPOParams&& value) { m_tunedHPOParamsHasBeenSet = true; m_tunedHPOParams = std::move(value); } /** *If hyperparameter optimization was performed, contains the hyperparameter * values of the best performing model.
*/ inline SolutionVersion& WithTunedHPOParams(const TunedHPOParams& value) { SetTunedHPOParams(value); return *this;} /** *If hyperparameter optimization was performed, contains the hyperparameter * values of the best performing model.
*/ inline SolutionVersion& WithTunedHPOParams(TunedHPOParams&& value) { SetTunedHPOParams(std::move(value)); return *this;} /** *The status of the solution version.
A solution version can be in one * of the following states:
CREATE PENDING
CREATE IN_PROGRESS
ACTIVE
CREATE * FAILED
CREATE STOPPING
CREATE STOPPED
*The status of the solution version.
A solution version can be in one * of the following states:
CREATE PENDING
CREATE IN_PROGRESS
ACTIVE
CREATE * FAILED
CREATE STOPPING
CREATE STOPPED
*The status of the solution version.
A solution version can be in one * of the following states:
CREATE PENDING
CREATE IN_PROGRESS
ACTIVE
CREATE * FAILED
CREATE STOPPING
CREATE STOPPED
*The status of the solution version.
A solution version can be in one * of the following states:
CREATE PENDING
CREATE IN_PROGRESS
ACTIVE
CREATE * FAILED
CREATE STOPPING
CREATE STOPPED
*The status of the solution version.
A solution version can be in one * of the following states:
CREATE PENDING
CREATE IN_PROGRESS
ACTIVE
CREATE * FAILED
CREATE STOPPING
CREATE STOPPED
*The status of the solution version.
A solution version can be in one * of the following states:
CREATE PENDING
CREATE IN_PROGRESS
ACTIVE
CREATE * FAILED
CREATE STOPPING
CREATE STOPPED
*The status of the solution version.
A solution version can be in one * of the following states:
CREATE PENDING
CREATE IN_PROGRESS
ACTIVE
CREATE * FAILED
CREATE STOPPING
CREATE STOPPED
*The status of the solution version.
A solution version can be in one * of the following states:
CREATE PENDING
CREATE IN_PROGRESS
ACTIVE
CREATE * FAILED
CREATE STOPPING
CREATE STOPPED
*If training a solution version fails, the reason for the failure.
*/ inline const Aws::String& GetFailureReason() const{ return m_failureReason; } /** *If training a solution version fails, the reason for the failure.
*/ inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; } /** *If training a solution version fails, the reason for the failure.
*/ inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; } /** *If training a solution version fails, the reason for the failure.
*/ inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); } /** *If training a solution version fails, the reason for the failure.
*/ inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); } /** *If training a solution version fails, the reason for the failure.
*/ inline SolutionVersion& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;} /** *If training a solution version fails, the reason for the failure.
*/ inline SolutionVersion& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;} /** *If training a solution version fails, the reason for the failure.
*/ inline SolutionVersion& WithFailureReason(const char* value) { SetFailureReason(value); return *this;} /** *The date and time (in Unix time) that this version of the solution was * created.
*/ inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; } /** *The date and time (in Unix time) that this version of the solution was * created.
*/ inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; } /** *The date and time (in Unix time) that this version of the solution was * created.
*/ inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; } /** *The date and time (in Unix time) that this version of the solution was * created.
*/ inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); } /** *The date and time (in Unix time) that this version of the solution was * created.
*/ inline SolutionVersion& WithCreationDateTime(const Aws::Utils::DateTime& value) { SetCreationDateTime(value); return *this;} /** *The date and time (in Unix time) that this version of the solution was * created.
*/ inline SolutionVersion& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;} /** *The date and time (in Unix time) that the solution was last updated.
*/ inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; } /** *The date and time (in Unix time) that the solution was last updated.
*/ inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; } /** *The date and time (in Unix time) that the solution was last updated.
*/ inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = value; } /** *The date and time (in Unix time) that the solution was last updated.
*/ inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::move(value); } /** *The date and time (in Unix time) that the solution was last updated.
*/ inline SolutionVersion& WithLastUpdatedDateTime(const Aws::Utils::DateTime& value) { SetLastUpdatedDateTime(value); return *this;} /** *The date and time (in Unix time) that the solution was last updated.
*/ inline SolutionVersion& WithLastUpdatedDateTime(Aws::Utils::DateTime&& value) { SetLastUpdatedDateTime(std::move(value)); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_solutionVersionArn; bool m_solutionVersionArnHasBeenSet = false; Aws::String m_solutionArn; bool m_solutionArnHasBeenSet = false; bool m_performHPO; bool m_performHPOHasBeenSet = false; bool m_performAutoML; bool m_performAutoMLHasBeenSet = false; Aws::String m_recipeArn; bool m_recipeArnHasBeenSet = false; Aws::String m_eventType; bool m_eventTypeHasBeenSet = false; Aws::String m_datasetGroupArn; bool m_datasetGroupArnHasBeenSet = false; SolutionConfig m_solutionConfig; bool m_solutionConfigHasBeenSet = false; double m_trainingHours; bool m_trainingHoursHasBeenSet = false; TrainingMode m_trainingMode; bool m_trainingModeHasBeenSet = false; TunedHPOParams m_tunedHPOParams; bool m_tunedHPOParamsHasBeenSet = false; Aws::String m_status; bool m_statusHasBeenSet = false; Aws::String m_failureReason; bool m_failureReasonHasBeenSet = false; Aws::Utils::DateTime m_creationDateTime; bool m_creationDateTimeHasBeenSet = false; Aws::Utils::DateTime m_lastUpdatedDateTime; bool m_lastUpdatedDateTimeHasBeenSet = false; }; } // namespace Model } // namespace Personalize } // namespace Aws