7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/personalize/Personalize_EXPORTS.h>
10#include <aws/personalize/model/TrainingMode.h>
11#include <aws/personalize/model/TrainingType.h>
22namespace Personalize {
46 template <
typename SolutionVersionArnT = Aws::String>
48 m_solutionVersionArnHasBeenSet =
true;
49 m_solutionVersionArn = std::forward<SolutionVersionArnT>(value);
51 template <
typename SolutionVersionArnT = Aws::String>
66 template <
typename StatusT = Aws::String>
68 m_statusHasBeenSet =
true;
69 m_status = std::forward<StatusT>(value);
71 template <
typename StatusT = Aws::String>
89 m_trainingModeHasBeenSet =
true;
90 m_trainingMode = value;
105 m_trainingTypeHasBeenSet =
true;
106 m_trainingType = value;
121 template <
typename CreationDateTimeT = Aws::Utils::DateTime>
123 m_creationDateTimeHasBeenSet =
true;
124 m_creationDateTime = std::forward<CreationDateTimeT>(value);
126 template <
typename CreationDateTimeT = Aws::Utils::DateTime>
140 template <
typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
142 m_lastUpdatedDateTimeHasBeenSet =
true;
143 m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value);
145 template <
typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
158 template <
typename FailureReasonT = Aws::String>
160 m_failureReasonHasBeenSet =
true;
161 m_failureReason = std::forward<FailureReasonT>(value);
163 template <
typename FailureReasonT = Aws::String>
183 bool m_solutionVersionArnHasBeenSet =
false;
184 bool m_statusHasBeenSet =
false;
185 bool m_trainingModeHasBeenSet =
false;
186 bool m_trainingTypeHasBeenSet =
false;
187 bool m_creationDateTimeHasBeenSet =
false;
188 bool m_lastUpdatedDateTimeHasBeenSet =
false;
189 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