7#include <aws/personalize/Personalize_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/personalize/model/TrainingMode.h>
10#include <aws/personalize/model/TrainingType.h>
11#include <aws/core/utils/DateTime.h>
52 template<
typename SolutionVersionArnT = Aws::String>
53 void SetSolutionVersionArn(SolutionVersionArnT&& value) { m_solutionVersionArnHasBeenSet =
true; m_solutionVersionArn = std::forward<SolutionVersionArnT>(value); }
54 template<
typename SolutionVersionArnT = Aws::String>
66 template<
typename StatusT = Aws::String>
67 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
68 template<
typename StatusT = Aws::String>
103 template<
typename CreationDateTimeT = Aws::Utils::DateTime>
104 void SetCreationDateTime(CreationDateTimeT&& value) { m_creationDateTimeHasBeenSet =
true; m_creationDateTime = std::forward<CreationDateTimeT>(value); }
105 template<
typename CreationDateTimeT = Aws::Utils::DateTime>
116 template<
typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
117 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { m_lastUpdatedDateTimeHasBeenSet =
true; m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value); }
118 template<
typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
128 template<
typename FailureReasonT = Aws::String>
129 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet =
true; m_failureReason = std::forward<FailureReasonT>(value); }
130 template<
typename FailureReasonT = Aws::String>
136 bool m_solutionVersionArnHasBeenSet =
false;
139 bool m_statusHasBeenSet =
false;
142 bool m_trainingModeHasBeenSet =
false;
145 bool m_trainingTypeHasBeenSet =
false;
148 bool m_creationDateTimeHasBeenSet =
false;
151 bool m_lastUpdatedDateTimeHasBeenSet =
false;
154 bool m_failureReasonHasBeenSet =
false;
bool TrainingModeHasBeenSet() const
AWS_PERSONALIZE_API SolutionVersionSummary(Aws::Utils::Json::JsonView jsonValue)
SolutionVersionSummary & WithTrainingType(TrainingType value)
AWS_PERSONALIZE_API SolutionVersionSummary()=default
void SetFailureReason(FailureReasonT &&value)
SolutionVersionSummary & WithCreationDateTime(CreationDateTimeT &&value)
TrainingType GetTrainingType() const
void SetCreationDateTime(CreationDateTimeT &&value)
const Aws::String & GetStatus() const
SolutionVersionSummary & WithFailureReason(FailureReasonT &&value)
const Aws::Utils::DateTime & GetCreationDateTime() const
void SetSolutionVersionArn(SolutionVersionArnT &&value)
const Aws::String & GetSolutionVersionArn() const
void SetLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
bool StatusHasBeenSet() const
bool FailureReasonHasBeenSet() const
AWS_PERSONALIZE_API SolutionVersionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
SolutionVersionSummary & WithTrainingMode(TrainingMode value)
bool TrainingTypeHasBeenSet() const
void SetTrainingMode(TrainingMode value)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
SolutionVersionSummary & WithLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
bool CreationDateTimeHasBeenSet() const
void SetStatus(StatusT &&value)
bool SolutionVersionArnHasBeenSet() const
bool LastUpdatedDateTimeHasBeenSet() const
const Aws::String & GetFailureReason() const
SolutionVersionSummary & WithSolutionVersionArn(SolutionVersionArnT &&value)
void SetTrainingType(TrainingType value)
TrainingMode GetTrainingMode() const
SolutionVersionSummary & WithStatus(StatusT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue