AWS SDK for C++  1.9.108
AWS SDK for C++
SolutionVersionSummary.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace Personalize
23 {
24 namespace Model
25 {
26 
35  {
36  public:
41 
42 
46  inline const Aws::String& GetSolutionVersionArn() const{ return m_solutionVersionArn; }
47 
51  inline bool SolutionVersionArnHasBeenSet() const { return m_solutionVersionArnHasBeenSet; }
52 
56  inline void SetSolutionVersionArn(const Aws::String& value) { m_solutionVersionArnHasBeenSet = true; m_solutionVersionArn = value; }
57 
61  inline void SetSolutionVersionArn(Aws::String&& value) { m_solutionVersionArnHasBeenSet = true; m_solutionVersionArn = std::move(value); }
62 
66  inline void SetSolutionVersionArn(const char* value) { m_solutionVersionArnHasBeenSet = true; m_solutionVersionArn.assign(value); }
67 
71  inline SolutionVersionSummary& WithSolutionVersionArn(const Aws::String& value) { SetSolutionVersionArn(value); return *this;}
72 
76  inline SolutionVersionSummary& WithSolutionVersionArn(Aws::String&& value) { SetSolutionVersionArn(std::move(value)); return *this;}
77 
81  inline SolutionVersionSummary& WithSolutionVersionArn(const char* value) { SetSolutionVersionArn(value); return *this;}
82 
83 
89  inline const Aws::String& GetStatus() const{ return m_status; }
90 
96  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
97 
103  inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
104 
110  inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
111 
117  inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
118 
124  inline SolutionVersionSummary& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
125 
131  inline SolutionVersionSummary& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
132 
138  inline SolutionVersionSummary& WithStatus(const char* value) { SetStatus(value); return *this;}
139 
140 
145  inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
146 
151  inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
152 
157  inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; }
158 
163  inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); }
164 
169  inline SolutionVersionSummary& WithCreationDateTime(const Aws::Utils::DateTime& value) { SetCreationDateTime(value); return *this;}
170 
175  inline SolutionVersionSummary& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
176 
177 
182  inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; }
183 
188  inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
189 
194  inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = value; }
195 
200  inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::move(value); }
201 
206  inline SolutionVersionSummary& WithLastUpdatedDateTime(const Aws::Utils::DateTime& value) { SetLastUpdatedDateTime(value); return *this;}
207 
212  inline SolutionVersionSummary& WithLastUpdatedDateTime(Aws::Utils::DateTime&& value) { SetLastUpdatedDateTime(std::move(value)); return *this;}
213 
214 
218  inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
219 
223  inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
224 
228  inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; }
229 
233  inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); }
234 
238  inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); }
239 
243  inline SolutionVersionSummary& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
244 
248  inline SolutionVersionSummary& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
249 
253  inline SolutionVersionSummary& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
254 
255  private:
256 
257  Aws::String m_solutionVersionArn;
258  bool m_solutionVersionArnHasBeenSet;
259 
260  Aws::String m_status;
261  bool m_statusHasBeenSet;
262 
263  Aws::Utils::DateTime m_creationDateTime;
264  bool m_creationDateTimeHasBeenSet;
265 
266  Aws::Utils::DateTime m_lastUpdatedDateTime;
267  bool m_lastUpdatedDateTimeHasBeenSet;
268 
269  Aws::String m_failureReason;
270  bool m_failureReasonHasBeenSet;
271  };
272 
273 } // namespace Model
274 } // namespace Personalize
275 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::Personalize::Model::SolutionVersionSummary::WithCreationDateTime
SolutionVersionSummary & WithCreationDateTime(Aws::Utils::DateTime &&value)
Definition: SolutionVersionSummary.h:175
Aws::Personalize::Model::SolutionVersionSummary::SetSolutionVersionArn
void SetSolutionVersionArn(const Aws::String &value)
Definition: SolutionVersionSummary.h:56
Aws::Personalize::Model::SolutionVersionSummary::SetSolutionVersionArn
void SetSolutionVersionArn(const char *value)
Definition: SolutionVersionSummary.h:66
Aws::Personalize::Model::SolutionVersionSummary::WithCreationDateTime
SolutionVersionSummary & WithCreationDateTime(const Aws::Utils::DateTime &value)
Definition: SolutionVersionSummary.h:169
Aws::Personalize::Model::SolutionVersionSummary::GetSolutionVersionArn
const Aws::String & GetSolutionVersionArn() const
Definition: SolutionVersionSummary.h:46
Aws::Personalize::Model::SolutionVersionSummary::SetStatus
void SetStatus(Aws::String &&value)
Definition: SolutionVersionSummary.h:110
DateTime.h
Aws::Personalize::Model::SolutionVersionSummary::WithSolutionVersionArn
SolutionVersionSummary & WithSolutionVersionArn(const Aws::String &value)
Definition: SolutionVersionSummary.h:71
Aws::Personalize::Model::SolutionVersionSummary::WithSolutionVersionArn
SolutionVersionSummary & WithSolutionVersionArn(Aws::String &&value)
Definition: SolutionVersionSummary.h:76
Aws::Personalize::Model::SolutionVersionSummary::SetStatus
void SetStatus(const char *value)
Definition: SolutionVersionSummary.h:117
Aws::Personalize::Model::SolutionVersionSummary::SetCreationDateTime
void SetCreationDateTime(const Aws::Utils::DateTime &value)
Definition: SolutionVersionSummary.h:157
Aws::Personalize::Model::SolutionVersionSummary::FailureReasonHasBeenSet
bool FailureReasonHasBeenSet() const
Definition: SolutionVersionSummary.h:223
AWS_PERSONALIZE_API
#define AWS_PERSONALIZE_API
Definition: Personalize_EXPORTS.h:28
Aws::Personalize::Model::SolutionVersionSummary::SetLastUpdatedDateTime
void SetLastUpdatedDateTime(const Aws::Utils::DateTime &value)
Definition: SolutionVersionSummary.h:194
Aws::Personalize::Model::SolutionVersionSummary::SetFailureReason
void SetFailureReason(Aws::String &&value)
Definition: SolutionVersionSummary.h:233
Aws::Personalize::Model::SolutionVersionSummary::SolutionVersionArnHasBeenSet
bool SolutionVersionArnHasBeenSet() const
Definition: SolutionVersionSummary.h:51
Aws::Personalize::Model::SolutionVersionSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Personalize::Model::SolutionVersionSummary::WithFailureReason
SolutionVersionSummary & WithFailureReason(const char *value)
Definition: SolutionVersionSummary.h:253
Aws::Personalize::Model::SolutionVersionSummary::SolutionVersionSummary
SolutionVersionSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::Personalize::Model::SolutionVersionSummary::WithStatus
SolutionVersionSummary & WithStatus(const Aws::String &value)
Definition: SolutionVersionSummary.h:124
Aws::Personalize::Model::SolutionVersionSummary::GetFailureReason
const Aws::String & GetFailureReason() const
Definition: SolutionVersionSummary.h:218
Aws::Personalize::Model::SolutionVersionSummary
Definition: SolutionVersionSummary.h:35
Aws::Personalize::Model::SolutionVersionSummary::SetCreationDateTime
void SetCreationDateTime(Aws::Utils::DateTime &&value)
Definition: SolutionVersionSummary.h:163
Aws::Personalize::Model::SolutionVersionSummary::SetFailureReason
void SetFailureReason(const char *value)
Definition: SolutionVersionSummary.h:238
Aws::Personalize::Model::SolutionVersionSummary::GetLastUpdatedDateTime
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
Definition: SolutionVersionSummary.h:182
Aws::Personalize::Model::SolutionVersionSummary::SetFailureReason
void SetFailureReason(const Aws::String &value)
Definition: SolutionVersionSummary.h:228
Aws::Personalize::Model::SolutionVersionSummary::WithStatus
SolutionVersionSummary & WithStatus(Aws::String &&value)
Definition: SolutionVersionSummary.h:131
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Personalize::Model::SolutionVersionSummary::SetStatus
void SetStatus(const Aws::String &value)
Definition: SolutionVersionSummary.h:103
Aws::Personalize::Model::SolutionVersionSummary::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: SolutionVersionSummary.h:96
Aws::Personalize::Model::SolutionVersionSummary::WithSolutionVersionArn
SolutionVersionSummary & WithSolutionVersionArn(const char *value)
Definition: SolutionVersionSummary.h:81
Aws::Personalize::Model::SolutionVersionSummary::SolutionVersionSummary
SolutionVersionSummary()
Aws::Personalize::Model::SolutionVersionSummary::WithFailureReason
SolutionVersionSummary & WithFailureReason(const Aws::String &value)
Definition: SolutionVersionSummary.h:243
Aws::Personalize::Model::SolutionVersionSummary::SetLastUpdatedDateTime
void SetLastUpdatedDateTime(Aws::Utils::DateTime &&value)
Definition: SolutionVersionSummary.h:200
Aws::Personalize::Model::SolutionVersionSummary::WithLastUpdatedDateTime
SolutionVersionSummary & WithLastUpdatedDateTime(Aws::Utils::DateTime &&value)
Definition: SolutionVersionSummary.h:212
Aws::Personalize::Model::SolutionVersionSummary::SetSolutionVersionArn
void SetSolutionVersionArn(Aws::String &&value)
Definition: SolutionVersionSummary.h:61
Aws
Definition: AccessManagementClient.h:15
Aws::Personalize::Model::SolutionVersionSummary::WithLastUpdatedDateTime
SolutionVersionSummary & WithLastUpdatedDateTime(const Aws::Utils::DateTime &value)
Definition: SolutionVersionSummary.h:206
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Personalize::Model::SolutionVersionSummary::GetCreationDateTime
const Aws::Utils::DateTime & GetCreationDateTime() const
Definition: SolutionVersionSummary.h:145
Aws::Personalize::Model::SolutionVersionSummary::operator=
SolutionVersionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Personalize_EXPORTS.h
Aws::Personalize::Model::SolutionVersionSummary::LastUpdatedDateTimeHasBeenSet
bool LastUpdatedDateTimeHasBeenSet() const
Definition: SolutionVersionSummary.h:188
Aws::Personalize::Model::SolutionVersionSummary::GetStatus
const Aws::String & GetStatus() const
Definition: SolutionVersionSummary.h:89
Aws::Personalize::Model::SolutionVersionSummary::CreationDateTimeHasBeenSet
bool CreationDateTimeHasBeenSet() const
Definition: SolutionVersionSummary.h:151
Aws::Personalize::Model::SolutionVersionSummary::WithStatus
SolutionVersionSummary & WithStatus(const char *value)
Definition: SolutionVersionSummary.h:138
Aws::Personalize::Model::SolutionVersionSummary::WithFailureReason
SolutionVersionSummary & WithFailureReason(Aws::String &&value)
Definition: SolutionVersionSummary.h:248