7#include <aws/personalize/Personalize_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/personalize/model/SolutionConfig.h>
10#include <aws/personalize/model/TrainingMode.h>
11#include <aws/personalize/model/TunedHPOParams.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/personalize/model/TrainingType.h>
53 template<
typename NameT = Aws::String>
54 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
55 template<
typename NameT = Aws::String>
65 template<
typename SolutionVersionArnT = Aws::String>
66 void SetSolutionVersionArn(SolutionVersionArnT&& value) { m_solutionVersionArnHasBeenSet =
true; m_solutionVersionArn = std::forward<SolutionVersionArnT>(value); }
67 template<
typename SolutionVersionArnT = Aws::String>
77 template<
typename SolutionArnT = Aws::String>
78 void SetSolutionArn(SolutionArnT&& value) { m_solutionArnHasBeenSet =
true; m_solutionArn = std::forward<SolutionArnT>(value); }
79 template<
typename SolutionArnT = Aws::String>
90 inline void SetPerformHPO(
bool value) { m_performHPOHasBeenSet =
true; m_performHPO = value; }
102 inline void SetPerformAutoML(
bool value) { m_performAutoMLHasBeenSet =
true; m_performAutoML = value; }
112 template<
typename RecipeArnT = Aws::String>
113 void SetRecipeArn(RecipeArnT&& value) { m_recipeArnHasBeenSet =
true; m_recipeArn = std::forward<RecipeArnT>(value); }
114 template<
typename RecipeArnT = Aws::String>
125 template<
typename EventTypeT = Aws::String>
126 void SetEventType(EventTypeT&& value) { m_eventTypeHasBeenSet =
true; m_eventType = std::forward<EventTypeT>(value); }
127 template<
typename EventTypeT = Aws::String>
138 template<
typename DatasetGroupArnT = Aws::String>
139 void SetDatasetGroupArn(DatasetGroupArnT&& value) { m_datasetGroupArnHasBeenSet =
true; m_datasetGroupArn = std::forward<DatasetGroupArnT>(value); }
140 template<
typename DatasetGroupArnT = Aws::String>
150 template<
typename SolutionConfigT = SolutionConfig>
151 void SetSolutionConfig(SolutionConfigT&& value) { m_solutionConfigHasBeenSet =
true; m_solutionConfig = std::forward<SolutionConfigT>(value); }
152 template<
typename SolutionConfigT = SolutionConfig>
164 inline void SetTrainingHours(
double value) { m_trainingHoursHasBeenSet =
true; m_trainingHours = value; }
189 template<
typename TunedHPOParamsT = TunedHPOParams>
190 void SetTunedHPOParams(TunedHPOParamsT&& value) { m_tunedHPOParamsHasBeenSet =
true; m_tunedHPOParams = std::forward<TunedHPOParamsT>(value); }
191 template<
typename TunedHPOParamsT = TunedHPOParams>
205 template<
typename StatusT = Aws::String>
206 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
207 template<
typename StatusT = Aws::String>
217 template<
typename FailureReasonT = Aws::String>
218 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet =
true; m_failureReason = std::forward<FailureReasonT>(value); }
219 template<
typename FailureReasonT = Aws::String>
230 template<
typename CreationDateTimeT = Aws::Utils::DateTime>
231 void SetCreationDateTime(CreationDateTimeT&& value) { m_creationDateTimeHasBeenSet =
true; m_creationDateTime = std::forward<CreationDateTimeT>(value); }
232 template<
typename CreationDateTimeT = Aws::Utils::DateTime>
242 template<
typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
243 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { m_lastUpdatedDateTimeHasBeenSet =
true; m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value); }
244 template<
typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
260 bool m_nameHasBeenSet =
false;
263 bool m_solutionVersionArnHasBeenSet =
false;
266 bool m_solutionArnHasBeenSet =
false;
268 bool m_performHPO{
false};
269 bool m_performHPOHasBeenSet =
false;
271 bool m_performAutoML{
false};
272 bool m_performAutoMLHasBeenSet =
false;
275 bool m_recipeArnHasBeenSet =
false;
278 bool m_eventTypeHasBeenSet =
false;
281 bool m_datasetGroupArnHasBeenSet =
false;
283 SolutionConfig m_solutionConfig;
284 bool m_solutionConfigHasBeenSet =
false;
286 double m_trainingHours{0.0};
287 bool m_trainingHoursHasBeenSet =
false;
290 bool m_trainingModeHasBeenSet =
false;
292 TunedHPOParams m_tunedHPOParams;
293 bool m_tunedHPOParamsHasBeenSet =
false;
296 bool m_statusHasBeenSet =
false;
299 bool m_failureReasonHasBeenSet =
false;
302 bool m_creationDateTimeHasBeenSet =
false;
305 bool m_lastUpdatedDateTimeHasBeenSet =
false;
308 bool m_trainingTypeHasBeenSet =
false;
bool PerformHPOHasBeenSet() const
bool FailureReasonHasBeenSet() const
void SetLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
const Aws::String & GetSolutionVersionArn() const
void SetTunedHPOParams(TunedHPOParamsT &&value)
void SetCreationDateTime(CreationDateTimeT &&value)
bool TrainingHoursHasBeenSet() const
SolutionVersion & WithSolutionArn(SolutionArnT &&value)
bool TunedHPOParamsHasBeenSet() const
void SetSolutionArn(SolutionArnT &&value)
const Aws::String & GetSolutionArn() const
void SetSolutionConfig(SolutionConfigT &&value)
bool EventTypeHasBeenSet() const
SolutionVersion & WithTrainingHours(double value)
TrainingMode GetTrainingMode() const
const Aws::String & GetEventType() const
AWS_PERSONALIZE_API SolutionVersion()=default
bool SolutionVersionArnHasBeenSet() const
bool GetPerformHPO() const
const Aws::String & GetDatasetGroupArn() const
bool RecipeArnHasBeenSet() const
SolutionVersion & WithSolutionConfig(SolutionConfigT &&value)
bool TrainingTypeHasBeenSet() const
void SetStatus(StatusT &&value)
bool LastUpdatedDateTimeHasBeenSet() const
double GetTrainingHours() const
const Aws::String & GetFailureReason() const
void SetRecipeArn(RecipeArnT &&value)
const Aws::Utils::DateTime & GetCreationDateTime() const
void SetTrainingType(TrainingType value)
const SolutionConfig & GetSolutionConfig() const
void SetFailureReason(FailureReasonT &&value)
SolutionVersion & WithPerformAutoML(bool value)
bool SolutionConfigHasBeenSet() const
SolutionVersion & WithSolutionVersionArn(SolutionVersionArnT &&value)
void SetPerformHPO(bool value)
void SetTrainingHours(double value)
void SetEventType(EventTypeT &&value)
bool SolutionArnHasBeenSet() const
bool CreationDateTimeHasBeenSet() const
SolutionVersion & WithDatasetGroupArn(DatasetGroupArnT &&value)
void SetSolutionVersionArn(SolutionVersionArnT &&value)
bool PerformAutoMLHasBeenSet() const
SolutionVersion & WithTunedHPOParams(TunedHPOParamsT &&value)
const Aws::String & GetRecipeArn() const
SolutionVersion & WithRecipeArn(RecipeArnT &&value)
SolutionVersion & WithPerformHPO(bool value)
SolutionVersion & WithLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
void SetTrainingMode(TrainingMode value)
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
bool TrainingModeHasBeenSet() const
const Aws::String & GetName() const
bool DatasetGroupArnHasBeenSet() const
SolutionVersion & WithTrainingType(TrainingType value)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
SolutionVersion & WithEventType(EventTypeT &&value)
void SetPerformAutoML(bool value)
const Aws::String & GetStatus() const
AWS_PERSONALIZE_API SolutionVersion(Aws::Utils::Json::JsonView jsonValue)
SolutionVersion & WithName(NameT &&value)
TrainingType GetTrainingType() const
SolutionVersion & WithCreationDateTime(CreationDateTimeT &&value)
const TunedHPOParams & GetTunedHPOParams() const
AWS_PERSONALIZE_API SolutionVersion & operator=(Aws::Utils::Json::JsonView jsonValue)
bool NameHasBeenSet() const
SolutionVersion & WithStatus(StatusT &&value)
void SetDatasetGroupArn(DatasetGroupArnT &&value)
bool StatusHasBeenSet() const
SolutionVersion & WithFailureReason(FailureReasonT &&value)
SolutionVersion & WithTrainingMode(TrainingMode value)
void SetName(NameT &&value)
bool GetPerformAutoML() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue