AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SolutionVersionSummary.h
1
6#pragma once
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>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Personalize
25{
26namespace Model
27{
28
38 {
39 public:
40 AWS_PERSONALIZE_API SolutionVersionSummary();
41 AWS_PERSONALIZE_API SolutionVersionSummary(Aws::Utils::Json::JsonView jsonValue);
43 AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetSolutionVersionArn() const{ return m_solutionVersionArn; }
51 inline bool SolutionVersionArnHasBeenSet() const { return m_solutionVersionArnHasBeenSet; }
52 inline void SetSolutionVersionArn(const Aws::String& value) { m_solutionVersionArnHasBeenSet = true; m_solutionVersionArn = value; }
53 inline void SetSolutionVersionArn(Aws::String&& value) { m_solutionVersionArnHasBeenSet = true; m_solutionVersionArn = std::move(value); }
54 inline void SetSolutionVersionArn(const char* value) { m_solutionVersionArnHasBeenSet = true; m_solutionVersionArn.assign(value); }
56 inline SolutionVersionSummary& WithSolutionVersionArn(Aws::String&& value) { SetSolutionVersionArn(std::move(value)); return *this;}
57 inline SolutionVersionSummary& WithSolutionVersionArn(const char* value) { SetSolutionVersionArn(value); return *this;}
59
61
66 inline const Aws::String& GetStatus() const{ return m_status; }
67 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
68 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
69 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
70 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
71 inline SolutionVersionSummary& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
72 inline SolutionVersionSummary& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
73 inline SolutionVersionSummary& WithStatus(const char* value) { SetStatus(value); return *this;}
75
77
84 inline const TrainingMode& GetTrainingMode() const{ return m_trainingMode; }
85 inline bool TrainingModeHasBeenSet() const { return m_trainingModeHasBeenSet; }
86 inline void SetTrainingMode(const TrainingMode& value) { m_trainingModeHasBeenSet = true; m_trainingMode = value; }
87 inline void SetTrainingMode(TrainingMode&& value) { m_trainingModeHasBeenSet = true; m_trainingMode = std::move(value); }
88 inline SolutionVersionSummary& WithTrainingMode(const TrainingMode& value) { SetTrainingMode(value); return *this;}
89 inline SolutionVersionSummary& WithTrainingMode(TrainingMode&& value) { SetTrainingMode(std::move(value)); return *this;}
91
93
96 inline const TrainingType& GetTrainingType() const{ return m_trainingType; }
97 inline bool TrainingTypeHasBeenSet() const { return m_trainingTypeHasBeenSet; }
98 inline void SetTrainingType(const TrainingType& value) { m_trainingTypeHasBeenSet = true; m_trainingType = value; }
99 inline void SetTrainingType(TrainingType&& value) { m_trainingTypeHasBeenSet = true; m_trainingType = std::move(value); }
100 inline SolutionVersionSummary& WithTrainingType(const TrainingType& value) { SetTrainingType(value); return *this;}
101 inline SolutionVersionSummary& WithTrainingType(TrainingType&& value) { SetTrainingType(std::move(value)); return *this;}
103
105
109 inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
110 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
111 inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; }
112 inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); }
114 inline SolutionVersionSummary& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
116
118
122 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; }
123 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
124 inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = value; }
125 inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::move(value); }
129
131
134 inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
135 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
136 inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; }
137 inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); }
138 inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); }
139 inline SolutionVersionSummary& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
140 inline SolutionVersionSummary& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
141 inline SolutionVersionSummary& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
143 private:
144
145 Aws::String m_solutionVersionArn;
146 bool m_solutionVersionArnHasBeenSet = false;
147
148 Aws::String m_status;
149 bool m_statusHasBeenSet = false;
150
151 TrainingMode m_trainingMode;
152 bool m_trainingModeHasBeenSet = false;
153
154 TrainingType m_trainingType;
155 bool m_trainingTypeHasBeenSet = false;
156
157 Aws::Utils::DateTime m_creationDateTime;
158 bool m_creationDateTimeHasBeenSet = false;
159
160 Aws::Utils::DateTime m_lastUpdatedDateTime;
161 bool m_lastUpdatedDateTimeHasBeenSet = false;
162
163 Aws::String m_failureReason;
164 bool m_failureReasonHasBeenSet = false;
165 };
166
167} // namespace Model
168} // namespace Personalize
169} // namespace Aws
AWS_PERSONALIZE_API SolutionVersionSummary(Aws::Utils::Json::JsonView jsonValue)
SolutionVersionSummary & WithTrainingType(TrainingType &&value)
SolutionVersionSummary & WithFailureReason(const char *value)
SolutionVersionSummary & WithSolutionVersionArn(const Aws::String &value)
const Aws::Utils::DateTime & GetCreationDateTime() const
void SetLastUpdatedDateTime(Aws::Utils::DateTime &&value)
SolutionVersionSummary & WithStatus(const Aws::String &value)
SolutionVersionSummary & WithSolutionVersionArn(const char *value)
SolutionVersionSummary & WithStatus(const char *value)
SolutionVersionSummary & WithCreationDateTime(const Aws::Utils::DateTime &value)
AWS_PERSONALIZE_API SolutionVersionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
SolutionVersionSummary & WithTrainingMode(TrainingMode &&value)
SolutionVersionSummary & WithFailureReason(Aws::String &&value)
SolutionVersionSummary & WithFailureReason(const Aws::String &value)
void SetLastUpdatedDateTime(const Aws::Utils::DateTime &value)
SolutionVersionSummary & WithStatus(Aws::String &&value)
void SetCreationDateTime(const Aws::Utils::DateTime &value)
SolutionVersionSummary & WithSolutionVersionArn(Aws::String &&value)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
SolutionVersionSummary & WithTrainingType(const TrainingType &value)
SolutionVersionSummary & WithLastUpdatedDateTime(Aws::Utils::DateTime &&value)
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
SolutionVersionSummary & WithTrainingMode(const TrainingMode &value)
void SetCreationDateTime(Aws::Utils::DateTime &&value)
SolutionVersionSummary & WithLastUpdatedDateTime(const Aws::Utils::DateTime &value)
SolutionVersionSummary & WithCreationDateTime(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue