7#include <aws/personalize/Personalize_EXPORTS.h>
8#include <aws/personalize/model/SolutionUpdateConfig.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
51 template<
typename SolutionUpdateConfigT = SolutionUpdateConfig>
52 void SetSolutionUpdateConfig(SolutionUpdateConfigT&& value) { m_solutionUpdateConfigHasBeenSet =
true; m_solutionUpdateConfig = std::forward<SolutionUpdateConfigT>(value); }
53 template<
typename SolutionUpdateConfigT = SolutionUpdateConfig>
65 template<
typename StatusT = Aws::String>
66 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
67 template<
typename StatusT = Aws::String>
77 inline void SetPerformAutoTraining(
bool value) { m_performAutoTrainingHasBeenSet =
true; m_performAutoTraining = value; }
87 template<
typename CreationDateTimeT = Aws::Utils::DateTime>
88 void SetCreationDateTime(CreationDateTimeT&& value) { m_creationDateTimeHasBeenSet =
true; m_creationDateTime = std::forward<CreationDateTimeT>(value); }
89 template<
typename CreationDateTimeT = Aws::Utils::DateTime>
100 template<
typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
101 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { m_lastUpdatedDateTimeHasBeenSet =
true; m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value); }
102 template<
typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
112 template<
typename FailureReasonT = Aws::String>
113 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet =
true; m_failureReason = std::forward<FailureReasonT>(value); }
114 template<
typename FailureReasonT = Aws::String>
120 bool m_solutionUpdateConfigHasBeenSet =
false;
123 bool m_statusHasBeenSet =
false;
125 bool m_performAutoTraining{
false};
126 bool m_performAutoTrainingHasBeenSet =
false;
129 bool m_creationDateTimeHasBeenSet =
false;
132 bool m_lastUpdatedDateTimeHasBeenSet =
false;
135 bool m_failureReasonHasBeenSet =
false;
void SetSolutionUpdateConfig(SolutionUpdateConfigT &&value)
void SetStatus(StatusT &&value)
const Aws::String & GetStatus() const
SolutionUpdateSummary & WithStatus(StatusT &&value)
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
bool PerformAutoTrainingHasBeenSet() const
SolutionUpdateSummary & WithPerformAutoTraining(bool value)
const Aws::Utils::DateTime & GetCreationDateTime() const
const Aws::String & GetFailureReason() const
SolutionUpdateSummary & WithSolutionUpdateConfig(SolutionUpdateConfigT &&value)
SolutionUpdateSummary & WithFailureReason(FailureReasonT &&value)
bool GetPerformAutoTraining() const
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
bool LastUpdatedDateTimeHasBeenSet() const
void SetFailureReason(FailureReasonT &&value)
AWS_PERSONALIZE_API SolutionUpdateSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const SolutionUpdateConfig & GetSolutionUpdateConfig() const
void SetLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
bool SolutionUpdateConfigHasBeenSet() const
bool StatusHasBeenSet() const
void SetPerformAutoTraining(bool value)
bool FailureReasonHasBeenSet() const
void SetCreationDateTime(CreationDateTimeT &&value)
SolutionUpdateSummary & WithLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
SolutionUpdateSummary & WithCreationDateTime(CreationDateTimeT &&value)
AWS_PERSONALIZE_API SolutionUpdateSummary()=default
AWS_PERSONALIZE_API SolutionUpdateSummary(Aws::Utils::Json::JsonView jsonValue)
bool CreationDateTimeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue