AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SolutionUpdateSummary.h
1
6#pragma once
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>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Personalize
24{
25namespace Model
26{
27
37 {
38 public:
39 AWS_PERSONALIZE_API SolutionUpdateSummary();
40 AWS_PERSONALIZE_API SolutionUpdateSummary(Aws::Utils::Json::JsonView jsonValue);
42 AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const SolutionUpdateConfig& GetSolutionUpdateConfig() const{ return m_solutionUpdateConfig; }
50 inline bool SolutionUpdateConfigHasBeenSet() const { return m_solutionUpdateConfigHasBeenSet; }
51 inline void SetSolutionUpdateConfig(const SolutionUpdateConfig& value) { m_solutionUpdateConfigHasBeenSet = true; m_solutionUpdateConfig = value; }
52 inline void SetSolutionUpdateConfig(SolutionUpdateConfig&& value) { m_solutionUpdateConfigHasBeenSet = true; m_solutionUpdateConfig = std::move(value); }
56
58
63 inline const Aws::String& GetStatus() const{ return m_status; }
64 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
65 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
66 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
67 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
68 inline SolutionUpdateSummary& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
69 inline SolutionUpdateSummary& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
70 inline SolutionUpdateSummary& WithStatus(const char* value) { SetStatus(value); return *this;}
72
74
77 inline bool GetPerformAutoTraining() const{ return m_performAutoTraining; }
78 inline bool PerformAutoTrainingHasBeenSet() const { return m_performAutoTrainingHasBeenSet; }
79 inline void SetPerformAutoTraining(bool value) { m_performAutoTrainingHasBeenSet = true; m_performAutoTraining = value; }
80 inline SolutionUpdateSummary& WithPerformAutoTraining(bool value) { SetPerformAutoTraining(value); return *this;}
82
84
87 inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
88 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
89 inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; }
90 inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); }
92 inline SolutionUpdateSummary& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
94
96
100 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; }
101 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
102 inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = value; }
103 inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::move(value); }
107
109
112 inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
113 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
114 inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; }
115 inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); }
116 inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); }
117 inline SolutionUpdateSummary& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
118 inline SolutionUpdateSummary& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
119 inline SolutionUpdateSummary& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
121 private:
122
123 SolutionUpdateConfig m_solutionUpdateConfig;
124 bool m_solutionUpdateConfigHasBeenSet = false;
125
126 Aws::String m_status;
127 bool m_statusHasBeenSet = false;
128
129 bool m_performAutoTraining;
130 bool m_performAutoTrainingHasBeenSet = false;
131
132 Aws::Utils::DateTime m_creationDateTime;
133 bool m_creationDateTimeHasBeenSet = false;
134
135 Aws::Utils::DateTime m_lastUpdatedDateTime;
136 bool m_lastUpdatedDateTimeHasBeenSet = false;
137
138 Aws::String m_failureReason;
139 bool m_failureReasonHasBeenSet = false;
140 };
141
142} // namespace Model
143} // namespace Personalize
144} // namespace Aws
SolutionUpdateSummary & WithCreationDateTime(Aws::Utils::DateTime &&value)
SolutionUpdateSummary & WithFailureReason(const Aws::String &value)
void SetSolutionUpdateConfig(SolutionUpdateConfig &&value)
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
SolutionUpdateSummary & WithPerformAutoTraining(bool value)
const Aws::Utils::DateTime & GetCreationDateTime() const
SolutionUpdateSummary & WithStatus(const char *value)
SolutionUpdateSummary & WithFailureReason(Aws::String &&value)
SolutionUpdateSummary & WithStatus(Aws::String &&value)
SolutionUpdateSummary & WithLastUpdatedDateTime(Aws::Utils::DateTime &&value)
SolutionUpdateSummary & WithSolutionUpdateConfig(SolutionUpdateConfig &&value)
void SetCreationDateTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
AWS_PERSONALIZE_API SolutionUpdateSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCreationDateTime(Aws::Utils::DateTime &&value)
void SetSolutionUpdateConfig(const SolutionUpdateConfig &value)
const SolutionUpdateConfig & GetSolutionUpdateConfig() const
SolutionUpdateSummary & WithLastUpdatedDateTime(const Aws::Utils::DateTime &value)
SolutionUpdateSummary & WithCreationDateTime(const Aws::Utils::DateTime &value)
void SetLastUpdatedDateTime(const Aws::Utils::DateTime &value)
SolutionUpdateSummary & WithFailureReason(const char *value)
SolutionUpdateSummary & WithSolutionUpdateConfig(const SolutionUpdateConfig &value)
AWS_PERSONALIZE_API SolutionUpdateSummary(Aws::Utils::Json::JsonView jsonValue)
void SetLastUpdatedDateTime(Aws::Utils::DateTime &&value)
SolutionUpdateSummary & WithStatus(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue