AWS SDK for C++  1.9.19
AWS SDK for C++
WorldGenerationJobSummary.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21  class JsonView;
22 } // namespace Json
23 } // namespace Utils
24 namespace RoboMaker
25 {
26 namespace Model
27 {
28 
35  {
36  public:
41 
42 
46  inline const Aws::String& GetArn() const{ return m_arn; }
47 
51  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
52 
56  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
57 
61  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
62 
66  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
67 
71  inline WorldGenerationJobSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
72 
76  inline WorldGenerationJobSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
77 
81  inline WorldGenerationJobSummary& WithArn(const char* value) { SetArn(value); return *this;}
82 
83 
87  inline const Aws::String& GetTemplate() const{ return m_template; }
88 
92  inline bool TemplateHasBeenSet() const { return m_templateHasBeenSet; }
93 
97  inline void SetTemplate(const Aws::String& value) { m_templateHasBeenSet = true; m_template = value; }
98 
102  inline void SetTemplate(Aws::String&& value) { m_templateHasBeenSet = true; m_template = std::move(value); }
103 
107  inline void SetTemplate(const char* value) { m_templateHasBeenSet = true; m_template.assign(value); }
108 
112  inline WorldGenerationJobSummary& WithTemplate(const Aws::String& value) { SetTemplate(value); return *this;}
113 
117  inline WorldGenerationJobSummary& WithTemplate(Aws::String&& value) { SetTemplate(std::move(value)); return *this;}
118 
122  inline WorldGenerationJobSummary& WithTemplate(const char* value) { SetTemplate(value); return *this;}
123 
124 
129  inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
130 
135  inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
136 
141  inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
142 
147  inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
148 
153  inline WorldGenerationJobSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
154 
159  inline WorldGenerationJobSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
160 
161 
173  inline const WorldGenerationJobStatus& GetStatus() const{ return m_status; }
174 
186  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
187 
199  inline void SetStatus(const WorldGenerationJobStatus& value) { m_statusHasBeenSet = true; m_status = value; }
200 
212  inline void SetStatus(WorldGenerationJobStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
213 
225  inline WorldGenerationJobSummary& WithStatus(const WorldGenerationJobStatus& value) { SetStatus(value); return *this;}
226 
238  inline WorldGenerationJobSummary& WithStatus(WorldGenerationJobStatus&& value) { SetStatus(std::move(value)); return *this;}
239 
240 
244  inline const WorldCount& GetWorldCount() const{ return m_worldCount; }
245 
249  inline bool WorldCountHasBeenSet() const { return m_worldCountHasBeenSet; }
250 
254  inline void SetWorldCount(const WorldCount& value) { m_worldCountHasBeenSet = true; m_worldCount = value; }
255 
259  inline void SetWorldCount(WorldCount&& value) { m_worldCountHasBeenSet = true; m_worldCount = std::move(value); }
260 
264  inline WorldGenerationJobSummary& WithWorldCount(const WorldCount& value) { SetWorldCount(value); return *this;}
265 
269  inline WorldGenerationJobSummary& WithWorldCount(WorldCount&& value) { SetWorldCount(std::move(value)); return *this;}
270 
271 
275  inline int GetSucceededWorldCount() const{ return m_succeededWorldCount; }
276 
280  inline bool SucceededWorldCountHasBeenSet() const { return m_succeededWorldCountHasBeenSet; }
281 
285  inline void SetSucceededWorldCount(int value) { m_succeededWorldCountHasBeenSet = true; m_succeededWorldCount = value; }
286 
290  inline WorldGenerationJobSummary& WithSucceededWorldCount(int value) { SetSucceededWorldCount(value); return *this;}
291 
292 
296  inline int GetFailedWorldCount() const{ return m_failedWorldCount; }
297 
301  inline bool FailedWorldCountHasBeenSet() const { return m_failedWorldCountHasBeenSet; }
302 
306  inline void SetFailedWorldCount(int value) { m_failedWorldCountHasBeenSet = true; m_failedWorldCount = value; }
307 
311  inline WorldGenerationJobSummary& WithFailedWorldCount(int value) { SetFailedWorldCount(value); return *this;}
312 
313  private:
314 
315  Aws::String m_arn;
316  bool m_arnHasBeenSet;
317 
318  Aws::String m_template;
319  bool m_templateHasBeenSet;
320 
321  Aws::Utils::DateTime m_createdAt;
322  bool m_createdAtHasBeenSet;
323 
324  WorldGenerationJobStatus m_status;
325  bool m_statusHasBeenSet;
326 
327  WorldCount m_worldCount;
328  bool m_worldCountHasBeenSet;
329 
330  int m_succeededWorldCount;
331  bool m_succeededWorldCountHasBeenSet;
332 
333  int m_failedWorldCount;
334  bool m_failedWorldCountHasBeenSet;
335  };
336 
337 } // namespace Model
338 } // namespace RoboMaker
339 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::RoboMaker::Model::WorldGenerationJobSummary::GetTemplate
const Aws::String & GetTemplate() const
Definition: WorldGenerationJobSummary.h:87
Aws::RoboMaker::Model::WorldGenerationJobSummary::GetArn
const Aws::String & GetArn() const
Definition: WorldGenerationJobSummary.h:46
Aws::RoboMaker::Model::WorldGenerationJobSummary::SetTemplate
void SetTemplate(const char *value)
Definition: WorldGenerationJobSummary.h:107
Aws::RoboMaker::Model::WorldGenerationJobSummary::SetWorldCount
void SetWorldCount(const WorldCount &value)
Definition: WorldGenerationJobSummary.h:254
Aws::RoboMaker::Model::WorldGenerationJobSummary::SetArn
void SetArn(const char *value)
Definition: WorldGenerationJobSummary.h:66
Aws::RoboMaker::Model::WorldGenerationJobSummary::WithTemplate
WorldGenerationJobSummary & WithTemplate(const char *value)
Definition: WorldGenerationJobSummary.h:122
Aws::RoboMaker::Model::WorldGenerationJobSummary::SetArn
void SetArn(Aws::String &&value)
Definition: WorldGenerationJobSummary.h:61
Aws::RoboMaker::Model::WorldGenerationJobSummary::SetTemplate
void SetTemplate(Aws::String &&value)
Definition: WorldGenerationJobSummary.h:102
DateTime.h
Aws::RoboMaker::Model::WorldCount
Definition: WorldCount.h:37
Aws::RoboMaker::Model::WorldGenerationJobSummary::TemplateHasBeenSet
bool TemplateHasBeenSet() const
Definition: WorldGenerationJobSummary.h:92
Aws::RoboMaker::Model::WorldGenerationJobSummary::WorldCountHasBeenSet
bool WorldCountHasBeenSet() const
Definition: WorldGenerationJobSummary.h:249
Aws::RoboMaker::Model::WorldGenerationJobSummary::SetStatus
void SetStatus(WorldGenerationJobStatus &&value)
Definition: WorldGenerationJobSummary.h:212
Aws::RoboMaker::Model::WorldGenerationJobSummary::SetWorldCount
void SetWorldCount(WorldCount &&value)
Definition: WorldGenerationJobSummary.h:259
Aws::RoboMaker::Model::WorldGenerationJobSummary::SetCreatedAt
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition: WorldGenerationJobSummary.h:147
Aws::RoboMaker::Model::WorldGenerationJobSummary::FailedWorldCountHasBeenSet
bool FailedWorldCountHasBeenSet() const
Definition: WorldGenerationJobSummary.h:301
Aws::RoboMaker::Model::WorldGenerationJobStatus
WorldGenerationJobStatus
Definition: WorldGenerationJobStatus.h:17
Aws::RoboMaker::Model::WorldGenerationJobSummary::SetCreatedAt
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition: WorldGenerationJobSummary.h:141
Aws::RoboMaker::Model::WorldGenerationJobSummary::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: WorldGenerationJobSummary.h:51
Aws::RoboMaker::Model::WorldGenerationJobSummary::SetArn
void SetArn(const Aws::String &value)
Definition: WorldGenerationJobSummary.h:56
Aws::RoboMaker::Model::WorldGenerationJobSummary::SetFailedWorldCount
void SetFailedWorldCount(int value)
Definition: WorldGenerationJobSummary.h:306
AWS_ROBOMAKER_API
#define AWS_ROBOMAKER_API
Definition: RoboMaker_EXPORTS.h:28
Aws::RoboMaker::Model::WorldGenerationJobSummary::WithWorldCount
WorldGenerationJobSummary & WithWorldCount(WorldCount &&value)
Definition: WorldGenerationJobSummary.h:269
Aws::RoboMaker::Model::WorldGenerationJobSummary::WithFailedWorldCount
WorldGenerationJobSummary & WithFailedWorldCount(int value)
Definition: WorldGenerationJobSummary.h:311
Aws::RoboMaker::Model::WorldGenerationJobSummary::CreatedAtHasBeenSet
bool CreatedAtHasBeenSet() const
Definition: WorldGenerationJobSummary.h:135
Aws::RoboMaker::Model::WorldGenerationJobSummary::WithTemplate
WorldGenerationJobSummary & WithTemplate(Aws::String &&value)
Definition: WorldGenerationJobSummary.h:117
Aws::RoboMaker::Model::WorldGenerationJobSummary::WithArn
WorldGenerationJobSummary & WithArn(const char *value)
Definition: WorldGenerationJobSummary.h:81
Aws::RoboMaker::Model::WorldGenerationJobSummary::WithWorldCount
WorldGenerationJobSummary & WithWorldCount(const WorldCount &value)
Definition: WorldGenerationJobSummary.h:264
Aws::RoboMaker::Model::WorldGenerationJobSummary::GetStatus
const WorldGenerationJobStatus & GetStatus() const
Definition: WorldGenerationJobSummary.h:173
Aws::RoboMaker::Model::WorldGenerationJobSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
RoboMaker_EXPORTS.h
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::RoboMaker::Model::WorldGenerationJobSummary
Definition: WorldGenerationJobSummary.h:35
AWSString.h
Aws::RoboMaker::Model::WorldGenerationJobSummary::GetSucceededWorldCount
int GetSucceededWorldCount() const
Definition: WorldGenerationJobSummary.h:275
Aws::RoboMaker::Model::WorldGenerationJobSummary::SetStatus
void SetStatus(const WorldGenerationJobStatus &value)
Definition: WorldGenerationJobSummary.h:199
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
WorldCount.h
Aws::RoboMaker::Model::WorldGenerationJobSummary::WithArn
WorldGenerationJobSummary & WithArn(const Aws::String &value)
Definition: WorldGenerationJobSummary.h:71
Aws::RoboMaker::Model::WorldGenerationJobSummary::GetFailedWorldCount
int GetFailedWorldCount() const
Definition: WorldGenerationJobSummary.h:296
Aws::RoboMaker::Model::WorldGenerationJobSummary::GetCreatedAt
const Aws::Utils::DateTime & GetCreatedAt() const
Definition: WorldGenerationJobSummary.h:129
Aws::RoboMaker::Model::WorldGenerationJobSummary::WithSucceededWorldCount
WorldGenerationJobSummary & WithSucceededWorldCount(int value)
Definition: WorldGenerationJobSummary.h:290
Aws
Definition: AccessManagementClient.h:15
Aws::RoboMaker::Model::WorldGenerationJobSummary::SucceededWorldCountHasBeenSet
bool SucceededWorldCountHasBeenSet() const
Definition: WorldGenerationJobSummary.h:280
Aws::RoboMaker::Model::WorldGenerationJobSummary::SetTemplate
void SetTemplate(const Aws::String &value)
Definition: WorldGenerationJobSummary.h:97
Aws::RoboMaker::Model::WorldGenerationJobSummary::SetSucceededWorldCount
void SetSucceededWorldCount(int value)
Definition: WorldGenerationJobSummary.h:285
Aws::RoboMaker::Model::WorldGenerationJobSummary::WithArn
WorldGenerationJobSummary & WithArn(Aws::String &&value)
Definition: WorldGenerationJobSummary.h:76
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RoboMaker::Model::WorldGenerationJobSummary::GetWorldCount
const WorldCount & GetWorldCount() const
Definition: WorldGenerationJobSummary.h:244
Aws::RoboMaker::Model::WorldGenerationJobSummary::operator=
WorldGenerationJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::RoboMaker::Model::WorldGenerationJobSummary::WorldGenerationJobSummary
WorldGenerationJobSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::RoboMaker::Model::WorldGenerationJobSummary::WithStatus
WorldGenerationJobSummary & WithStatus(WorldGenerationJobStatus &&value)
Definition: WorldGenerationJobSummary.h:238
Aws::RoboMaker::Model::WorldGenerationJobSummary::WithCreatedAt
WorldGenerationJobSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
Definition: WorldGenerationJobSummary.h:159
Aws::RoboMaker::Model::WorldGenerationJobSummary::WithTemplate
WorldGenerationJobSummary & WithTemplate(const Aws::String &value)
Definition: WorldGenerationJobSummary.h:112
Aws::RoboMaker::Model::WorldGenerationJobSummary::WithStatus
WorldGenerationJobSummary & WithStatus(const WorldGenerationJobStatus &value)
Definition: WorldGenerationJobSummary.h:225
Aws::RoboMaker::Model::WorldGenerationJobSummary::WithCreatedAt
WorldGenerationJobSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition: WorldGenerationJobSummary.h:153
WorldGenerationJobStatus.h
Aws::RoboMaker::Model::WorldGenerationJobSummary::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: WorldGenerationJobSummary.h:186
Aws::RoboMaker::Model::WorldGenerationJobSummary::WorldGenerationJobSummary
WorldGenerationJobSummary()