AWS SDK for C++  1.9.108
AWS SDK for C++
SolutionSummary.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 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetName() const{ return m_name; }
46 
50  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
51 
55  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
56 
60  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
61 
65  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
66 
70  inline SolutionSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
71 
75  inline SolutionSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
76 
80  inline SolutionSummary& WithName(const char* value) { SetName(value); return *this;}
81 
82 
86  inline const Aws::String& GetSolutionArn() const{ return m_solutionArn; }
87 
91  inline bool SolutionArnHasBeenSet() const { return m_solutionArnHasBeenSet; }
92 
96  inline void SetSolutionArn(const Aws::String& value) { m_solutionArnHasBeenSet = true; m_solutionArn = value; }
97 
101  inline void SetSolutionArn(Aws::String&& value) { m_solutionArnHasBeenSet = true; m_solutionArn = std::move(value); }
102 
106  inline void SetSolutionArn(const char* value) { m_solutionArnHasBeenSet = true; m_solutionArn.assign(value); }
107 
111  inline SolutionSummary& WithSolutionArn(const Aws::String& value) { SetSolutionArn(value); return *this;}
112 
116  inline SolutionSummary& WithSolutionArn(Aws::String&& value) { SetSolutionArn(std::move(value)); return *this;}
117 
121  inline SolutionSummary& WithSolutionArn(const char* value) { SetSolutionArn(value); return *this;}
122 
123 
130  inline const Aws::String& GetStatus() const{ return m_status; }
131 
138  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
139 
146  inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
147 
154  inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
155 
162  inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
163 
170  inline SolutionSummary& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
171 
178  inline SolutionSummary& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
179 
186  inline SolutionSummary& WithStatus(const char* value) { SetStatus(value); return *this;}
187 
188 
192  inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
193 
197  inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
198 
202  inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; }
203 
207  inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); }
208 
212  inline SolutionSummary& WithCreationDateTime(const Aws::Utils::DateTime& value) { SetCreationDateTime(value); return *this;}
213 
217  inline SolutionSummary& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
218 
219 
223  inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; }
224 
228  inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
229 
233  inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = value; }
234 
238  inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::move(value); }
239 
243  inline SolutionSummary& WithLastUpdatedDateTime(const Aws::Utils::DateTime& value) { SetLastUpdatedDateTime(value); return *this;}
244 
248  inline SolutionSummary& WithLastUpdatedDateTime(Aws::Utils::DateTime&& value) { SetLastUpdatedDateTime(std::move(value)); return *this;}
249 
250  private:
251 
252  Aws::String m_name;
253  bool m_nameHasBeenSet;
254 
255  Aws::String m_solutionArn;
256  bool m_solutionArnHasBeenSet;
257 
258  Aws::String m_status;
259  bool m_statusHasBeenSet;
260 
261  Aws::Utils::DateTime m_creationDateTime;
262  bool m_creationDateTimeHasBeenSet;
263 
264  Aws::Utils::DateTime m_lastUpdatedDateTime;
265  bool m_lastUpdatedDateTimeHasBeenSet;
266  };
267 
268 } // namespace Model
269 } // namespace Personalize
270 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::Personalize::Model::SolutionSummary::CreationDateTimeHasBeenSet
bool CreationDateTimeHasBeenSet() const
Definition: SolutionSummary.h:197
Aws::Personalize::Model::SolutionSummary::WithStatus
SolutionSummary & WithStatus(Aws::String &&value)
Definition: SolutionSummary.h:178
Aws::Personalize::Model::SolutionSummary::SolutionSummary
SolutionSummary()
Aws::Personalize::Model::SolutionSummary::SetName
void SetName(const Aws::String &value)
Definition: SolutionSummary.h:55
Aws::Personalize::Model::SolutionSummary::GetCreationDateTime
const Aws::Utils::DateTime & GetCreationDateTime() const
Definition: SolutionSummary.h:192
Aws::Personalize::Model::SolutionSummary::GetLastUpdatedDateTime
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
Definition: SolutionSummary.h:223
Aws::Personalize::Model::SolutionSummary::SetName
void SetName(Aws::String &&value)
Definition: SolutionSummary.h:60
DateTime.h
Aws::Personalize::Model::SolutionSummary::operator=
SolutionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Personalize::Model::SolutionSummary::WithSolutionArn
SolutionSummary & WithSolutionArn(Aws::String &&value)
Definition: SolutionSummary.h:116
AWS_PERSONALIZE_API
#define AWS_PERSONALIZE_API
Definition: Personalize_EXPORTS.h:28
Aws::Personalize::Model::SolutionSummary::WithName
SolutionSummary & WithName(const char *value)
Definition: SolutionSummary.h:80
Aws::Personalize::Model::SolutionSummary
Definition: SolutionSummary.h:34
Aws::Personalize::Model::SolutionSummary::WithStatus
SolutionSummary & WithStatus(const char *value)
Definition: SolutionSummary.h:186
Aws::Personalize::Model::SolutionSummary::GetSolutionArn
const Aws::String & GetSolutionArn() const
Definition: SolutionSummary.h:86
Aws::Personalize::Model::SolutionSummary::SetCreationDateTime
void SetCreationDateTime(Aws::Utils::DateTime &&value)
Definition: SolutionSummary.h:207
Aws::Personalize::Model::SolutionSummary::GetStatus
const Aws::String & GetStatus() const
Definition: SolutionSummary.h:130
Aws::Personalize::Model::SolutionSummary::WithStatus
SolutionSummary & WithStatus(const Aws::String &value)
Definition: SolutionSummary.h:170
Aws::Personalize::Model::SolutionSummary::WithLastUpdatedDateTime
SolutionSummary & WithLastUpdatedDateTime(Aws::Utils::DateTime &&value)
Definition: SolutionSummary.h:248
Aws::Personalize::Model::SolutionSummary::WithLastUpdatedDateTime
SolutionSummary & WithLastUpdatedDateTime(const Aws::Utils::DateTime &value)
Definition: SolutionSummary.h:243
Aws::Personalize::Model::SolutionSummary::SetStatus
void SetStatus(const Aws::String &value)
Definition: SolutionSummary.h:146
Aws::Personalize::Model::SolutionSummary::SetName
void SetName(const char *value)
Definition: SolutionSummary.h:65
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Personalize::Model::SolutionSummary::SetSolutionArn
void SetSolutionArn(const char *value)
Definition: SolutionSummary.h:106
Aws::Personalize::Model::SolutionSummary::SetStatus
void SetStatus(Aws::String &&value)
Definition: SolutionSummary.h:154
Aws::Personalize::Model::SolutionSummary::SetSolutionArn
void SetSolutionArn(Aws::String &&value)
Definition: SolutionSummary.h:101
Aws::Personalize::Model::SolutionSummary::SolutionSummary
SolutionSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::Personalize::Model::SolutionSummary::SetLastUpdatedDateTime
void SetLastUpdatedDateTime(Aws::Utils::DateTime &&value)
Definition: SolutionSummary.h:238
Aws::Personalize::Model::SolutionSummary::SolutionArnHasBeenSet
bool SolutionArnHasBeenSet() const
Definition: SolutionSummary.h:91
Aws::Personalize::Model::SolutionSummary::NameHasBeenSet
bool NameHasBeenSet() const
Definition: SolutionSummary.h:50
Aws::Personalize::Model::SolutionSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws
Definition: AccessManagementClient.h:15
Aws::Personalize::Model::SolutionSummary::WithCreationDateTime
SolutionSummary & WithCreationDateTime(Aws::Utils::DateTime &&value)
Definition: SolutionSummary.h:217
Aws::Personalize::Model::SolutionSummary::WithCreationDateTime
SolutionSummary & WithCreationDateTime(const Aws::Utils::DateTime &value)
Definition: SolutionSummary.h:212
Aws::Personalize::Model::SolutionSummary::SetCreationDateTime
void SetCreationDateTime(const Aws::Utils::DateTime &value)
Definition: SolutionSummary.h:202
Aws::Personalize::Model::SolutionSummary::WithSolutionArn
SolutionSummary & WithSolutionArn(const char *value)
Definition: SolutionSummary.h:121
Aws::Personalize::Model::SolutionSummary::WithName
SolutionSummary & WithName(Aws::String &&value)
Definition: SolutionSummary.h:75
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Personalize::Model::SolutionSummary::GetName
const Aws::String & GetName() const
Definition: SolutionSummary.h:45
Aws::Personalize::Model::SolutionSummary::WithSolutionArn
SolutionSummary & WithSolutionArn(const Aws::String &value)
Definition: SolutionSummary.h:111
Aws::Personalize::Model::SolutionSummary::SetStatus
void SetStatus(const char *value)
Definition: SolutionSummary.h:162
Aws::Personalize::Model::SolutionSummary::SetLastUpdatedDateTime
void SetLastUpdatedDateTime(const Aws::Utils::DateTime &value)
Definition: SolutionSummary.h:233
Personalize_EXPORTS.h
Aws::Personalize::Model::SolutionSummary::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: SolutionSummary.h:138
Aws::Personalize::Model::SolutionSummary::LastUpdatedDateTimeHasBeenSet
bool LastUpdatedDateTimeHasBeenSet() const
Definition: SolutionSummary.h:228
Aws::Personalize::Model::SolutionSummary::WithName
SolutionSummary & WithName(const Aws::String &value)
Definition: SolutionSummary.h:70
Aws::Personalize::Model::SolutionSummary::SetSolutionArn
void SetSolutionArn(const Aws::String &value)
Definition: SolutionSummary.h:96