AWS SDK for C++  1.8.126
AWS SDK for C++
SimulationJobBatchSummary.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace RoboMaker
24 {
25 namespace Model
26 {
27 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetArn() const{ return m_arn; }
46 
50  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
51 
55  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
56 
60  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
61 
65  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
66 
70  inline SimulationJobBatchSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
71 
75  inline SimulationJobBatchSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
76 
80  inline SimulationJobBatchSummary& WithArn(const char* value) { SetArn(value); return *this;}
81 
82 
87  inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
88 
93  inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
94 
99  inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = value; }
100 
105  inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::move(value); }
106 
111  inline SimulationJobBatchSummary& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;}
112 
117  inline SimulationJobBatchSummary& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;}
118 
119 
124  inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
125 
130  inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
131 
136  inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
137 
142  inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
143 
148  inline SimulationJobBatchSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
149 
154  inline SimulationJobBatchSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
155 
156 
180  inline const SimulationJobBatchStatus& GetStatus() const{ return m_status; }
181 
205  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
206 
230  inline void SetStatus(const SimulationJobBatchStatus& value) { m_statusHasBeenSet = true; m_status = value; }
231 
255  inline void SetStatus(SimulationJobBatchStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
256 
280  inline SimulationJobBatchSummary& WithStatus(const SimulationJobBatchStatus& value) { SetStatus(value); return *this;}
281 
305  inline SimulationJobBatchSummary& WithStatus(SimulationJobBatchStatus&& value) { SetStatus(std::move(value)); return *this;}
306 
307 
311  inline int GetFailedRequestCount() const{ return m_failedRequestCount; }
312 
316  inline bool FailedRequestCountHasBeenSet() const { return m_failedRequestCountHasBeenSet; }
317 
321  inline void SetFailedRequestCount(int value) { m_failedRequestCountHasBeenSet = true; m_failedRequestCount = value; }
322 
326  inline SimulationJobBatchSummary& WithFailedRequestCount(int value) { SetFailedRequestCount(value); return *this;}
327 
328 
332  inline int GetPendingRequestCount() const{ return m_pendingRequestCount; }
333 
337  inline bool PendingRequestCountHasBeenSet() const { return m_pendingRequestCountHasBeenSet; }
338 
342  inline void SetPendingRequestCount(int value) { m_pendingRequestCountHasBeenSet = true; m_pendingRequestCount = value; }
343 
347  inline SimulationJobBatchSummary& WithPendingRequestCount(int value) { SetPendingRequestCount(value); return *this;}
348 
349 
353  inline int GetCreatedRequestCount() const{ return m_createdRequestCount; }
354 
358  inline bool CreatedRequestCountHasBeenSet() const { return m_createdRequestCountHasBeenSet; }
359 
363  inline void SetCreatedRequestCount(int value) { m_createdRequestCountHasBeenSet = true; m_createdRequestCount = value; }
364 
368  inline SimulationJobBatchSummary& WithCreatedRequestCount(int value) { SetCreatedRequestCount(value); return *this;}
369 
370  private:
371 
372  Aws::String m_arn;
373  bool m_arnHasBeenSet;
374 
375  Aws::Utils::DateTime m_lastUpdatedAt;
376  bool m_lastUpdatedAtHasBeenSet;
377 
378  Aws::Utils::DateTime m_createdAt;
379  bool m_createdAtHasBeenSet;
380 
381  SimulationJobBatchStatus m_status;
382  bool m_statusHasBeenSet;
383 
384  int m_failedRequestCount;
385  bool m_failedRequestCountHasBeenSet;
386 
387  int m_pendingRequestCount;
388  bool m_pendingRequestCountHasBeenSet;
389 
390  int m_createdRequestCount;
391  bool m_createdRequestCountHasBeenSet;
392  };
393 
394 } // namespace Model
395 } // namespace RoboMaker
396 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::RoboMaker::Model::SimulationJobBatchSummary::SetPendingRequestCount
void SetPendingRequestCount(int value)
Definition: SimulationJobBatchSummary.h:342
Aws::RoboMaker::Model::SimulationJobBatchSummary::CreatedRequestCountHasBeenSet
bool CreatedRequestCountHasBeenSet() const
Definition: SimulationJobBatchSummary.h:358
Aws::RoboMaker::Model::SimulationJobBatchSummary::GetCreatedRequestCount
int GetCreatedRequestCount() const
Definition: SimulationJobBatchSummary.h:353
Aws::RoboMaker::Model::SimulationJobBatchSummary::SimulationJobBatchSummary
SimulationJobBatchSummary()
Aws::RoboMaker::Model::SimulationJobBatchSummary::GetLastUpdatedAt
const Aws::Utils::DateTime & GetLastUpdatedAt() const
Definition: SimulationJobBatchSummary.h:87
DateTime.h
Aws::RoboMaker::Model::SimulationJobBatchSummary::SetFailedRequestCount
void SetFailedRequestCount(int value)
Definition: SimulationJobBatchSummary.h:321
Aws::RoboMaker::Model::SimulationJobBatchSummary::GetPendingRequestCount
int GetPendingRequestCount() const
Definition: SimulationJobBatchSummary.h:332
Aws::RoboMaker::Model::SimulationJobBatchSummary
Definition: SimulationJobBatchSummary.h:34
Aws::RoboMaker::Model::SimulationJobBatchSummary::WithArn
SimulationJobBatchSummary & WithArn(const char *value)
Definition: SimulationJobBatchSummary.h:80
Aws::RoboMaker::Model::SimulationJobBatchSummary::WithArn
SimulationJobBatchSummary & WithArn(Aws::String &&value)
Definition: SimulationJobBatchSummary.h:75
Aws::RoboMaker::Model::SimulationJobBatchSummary::SetStatus
void SetStatus(const SimulationJobBatchStatus &value)
Definition: SimulationJobBatchSummary.h:230
Aws::RoboMaker::Model::SimulationJobBatchSummary::SetArn
void SetArn(const char *value)
Definition: SimulationJobBatchSummary.h:65
Aws::RoboMaker::Model::SimulationJobBatchSummary::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: SimulationJobBatchSummary.h:205
AWS_ROBOMAKER_API
#define AWS_ROBOMAKER_API
Definition: RoboMaker_EXPORTS.h:28
Aws::RoboMaker::Model::SimulationJobBatchSummary::WithCreatedAt
SimulationJobBatchSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition: SimulationJobBatchSummary.h:148
Aws::RoboMaker::Model::SimulationJobBatchSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::RoboMaker::Model::SimulationJobBatchSummary::WithLastUpdatedAt
SimulationJobBatchSummary & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
Definition: SimulationJobBatchSummary.h:111
Aws::RoboMaker::Model::SimulationJobBatchSummary::GetArn
const Aws::String & GetArn() const
Definition: SimulationJobBatchSummary.h:45
RoboMaker_EXPORTS.h
Aws::RoboMaker::Model::SimulationJobBatchSummary::SetLastUpdatedAt
void SetLastUpdatedAt(const Aws::Utils::DateTime &value)
Definition: SimulationJobBatchSummary.h:99
Aws::RoboMaker::Model::SimulationJobBatchSummary::WithPendingRequestCount
SimulationJobBatchSummary & WithPendingRequestCount(int value)
Definition: SimulationJobBatchSummary.h:347
Aws::RoboMaker::Model::SimulationJobBatchSummary::GetStatus
const SimulationJobBatchStatus & GetStatus() const
Definition: SimulationJobBatchSummary.h:180
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::RoboMaker::Model::SimulationJobBatchSummary::SetCreatedAt
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition: SimulationJobBatchSummary.h:142
Aws::RoboMaker::Model::SimulationJobBatchSummary::SetCreatedRequestCount
void SetCreatedRequestCount(int value)
Definition: SimulationJobBatchSummary.h:363
Aws::RoboMaker::Model::SimulationJobBatchSummary::WithCreatedRequestCount
SimulationJobBatchSummary & WithCreatedRequestCount(int value)
Definition: SimulationJobBatchSummary.h:368
SimulationJobBatchStatus.h
Aws::RoboMaker::Model::SimulationJobBatchSummary::WithCreatedAt
SimulationJobBatchSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
Definition: SimulationJobBatchSummary.h:154
Aws::RoboMaker::Model::SimulationJobBatchSummary::SetArn
void SetArn(const Aws::String &value)
Definition: SimulationJobBatchSummary.h:55
Aws::RoboMaker::Model::SimulationJobBatchSummary::operator=
SimulationJobBatchSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::RoboMaker::Model::SimulationJobBatchSummary::FailedRequestCountHasBeenSet
bool FailedRequestCountHasBeenSet() const
Definition: SimulationJobBatchSummary.h:316
Aws::RoboMaker::Model::SimulationJobBatchSummary::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: SimulationJobBatchSummary.h:50
Aws::RoboMaker::Model::SimulationJobBatchSummary::SetStatus
void SetStatus(SimulationJobBatchStatus &&value)
Definition: SimulationJobBatchSummary.h:255
Aws::RoboMaker::Model::SimulationJobBatchSummary::GetFailedRequestCount
int GetFailedRequestCount() const
Definition: SimulationJobBatchSummary.h:311
Aws
Definition: AccessManagementClient.h:15
Aws::RoboMaker::Model::SimulationJobBatchSummary::SetLastUpdatedAt
void SetLastUpdatedAt(Aws::Utils::DateTime &&value)
Definition: SimulationJobBatchSummary.h:105
Aws::RoboMaker::Model::SimulationJobBatchSummary::CreatedAtHasBeenSet
bool CreatedAtHasBeenSet() const
Definition: SimulationJobBatchSummary.h:130
Aws::RoboMaker::Model::SimulationJobBatchSummary::WithLastUpdatedAt
SimulationJobBatchSummary & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
Definition: SimulationJobBatchSummary.h:117
Aws::RoboMaker::Model::SimulationJobBatchSummary::SimulationJobBatchSummary
SimulationJobBatchSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::RoboMaker::Model::SimulationJobBatchSummary::PendingRequestCountHasBeenSet
bool PendingRequestCountHasBeenSet() const
Definition: SimulationJobBatchSummary.h:337
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RoboMaker::Model::SimulationJobBatchSummary::WithStatus
SimulationJobBatchSummary & WithStatus(const SimulationJobBatchStatus &value)
Definition: SimulationJobBatchSummary.h:280
Aws::RoboMaker::Model::SimulationJobBatchSummary::WithStatus
SimulationJobBatchSummary & WithStatus(SimulationJobBatchStatus &&value)
Definition: SimulationJobBatchSummary.h:305
Aws::RoboMaker::Model::SimulationJobBatchSummary::LastUpdatedAtHasBeenSet
bool LastUpdatedAtHasBeenSet() const
Definition: SimulationJobBatchSummary.h:93
Aws::RoboMaker::Model::SimulationJobBatchSummary::WithFailedRequestCount
SimulationJobBatchSummary & WithFailedRequestCount(int value)
Definition: SimulationJobBatchSummary.h:326
Aws::RoboMaker::Model::SimulationJobBatchStatus
SimulationJobBatchStatus
Definition: SimulationJobBatchStatus.h:17
Aws::RoboMaker::Model::SimulationJobBatchSummary::WithArn
SimulationJobBatchSummary & WithArn(const Aws::String &value)
Definition: SimulationJobBatchSummary.h:70
Aws::RoboMaker::Model::SimulationJobBatchSummary::GetCreatedAt
const Aws::Utils::DateTime & GetCreatedAt() const
Definition: SimulationJobBatchSummary.h:124
Aws::RoboMaker::Model::SimulationJobBatchSummary::SetArn
void SetArn(Aws::String &&value)
Definition: SimulationJobBatchSummary.h:60
Aws::RoboMaker::Model::SimulationJobBatchSummary::SetCreatedAt
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition: SimulationJobBatchSummary.h:136