AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SimulationJobBatchSummary.h
1
6#pragma once
7#include <aws/robomaker/RoboMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/robomaker/model/SimulationJobBatchStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace RoboMaker
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_ROBOMAKER_API SimulationJobBatchSummary();
39 AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetArn() const{ return m_arn; }
47 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
48 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
49 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
50 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
51 inline SimulationJobBatchSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
52 inline SimulationJobBatchSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
53 inline SimulationJobBatchSummary& WithArn(const char* value) { SetArn(value); return *this;}
55
57
61 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
62 inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
63 inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = value; }
64 inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::move(value); }
66 inline SimulationJobBatchSummary& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;}
68
70
74 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
75 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
76 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
77 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
78 inline SimulationJobBatchSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
79 inline SimulationJobBatchSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
81
83
106 inline const SimulationJobBatchStatus& GetStatus() const{ return m_status; }
107 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
108 inline void SetStatus(const SimulationJobBatchStatus& value) { m_statusHasBeenSet = true; m_status = value; }
109 inline void SetStatus(SimulationJobBatchStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
110 inline SimulationJobBatchSummary& WithStatus(const SimulationJobBatchStatus& value) { SetStatus(value); return *this;}
111 inline SimulationJobBatchSummary& WithStatus(SimulationJobBatchStatus&& value) { SetStatus(std::move(value)); return *this;}
113
115
118 inline int GetFailedRequestCount() const{ return m_failedRequestCount; }
119 inline bool FailedRequestCountHasBeenSet() const { return m_failedRequestCountHasBeenSet; }
120 inline void SetFailedRequestCount(int value) { m_failedRequestCountHasBeenSet = true; m_failedRequestCount = value; }
123
125
128 inline int GetPendingRequestCount() const{ return m_pendingRequestCount; }
129 inline bool PendingRequestCountHasBeenSet() const { return m_pendingRequestCountHasBeenSet; }
130 inline void SetPendingRequestCount(int value) { m_pendingRequestCountHasBeenSet = true; m_pendingRequestCount = value; }
133
135
138 inline int GetCreatedRequestCount() const{ return m_createdRequestCount; }
139 inline bool CreatedRequestCountHasBeenSet() const { return m_createdRequestCountHasBeenSet; }
140 inline void SetCreatedRequestCount(int value) { m_createdRequestCountHasBeenSet = true; m_createdRequestCount = value; }
143 private:
144
145 Aws::String m_arn;
146 bool m_arnHasBeenSet = false;
147
148 Aws::Utils::DateTime m_lastUpdatedAt;
149 bool m_lastUpdatedAtHasBeenSet = false;
150
151 Aws::Utils::DateTime m_createdAt;
152 bool m_createdAtHasBeenSet = false;
153
155 bool m_statusHasBeenSet = false;
156
157 int m_failedRequestCount;
158 bool m_failedRequestCountHasBeenSet = false;
159
160 int m_pendingRequestCount;
161 bool m_pendingRequestCountHasBeenSet = false;
162
163 int m_createdRequestCount;
164 bool m_createdRequestCountHasBeenSet = false;
165 };
166
167} // namespace Model
168} // namespace RoboMaker
169} // namespace Aws
AWS_ROBOMAKER_API SimulationJobBatchSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
SimulationJobBatchSummary & WithArn(const Aws::String &value)
SimulationJobBatchSummary & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
SimulationJobBatchSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
SimulationJobBatchSummary & WithCreatedRequestCount(int value)
SimulationJobBatchSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
SimulationJobBatchSummary & WithPendingRequestCount(int value)
const SimulationJobBatchStatus & GetStatus() const
SimulationJobBatchSummary & WithArn(const char *value)
SimulationJobBatchSummary & WithStatus(const SimulationJobBatchStatus &value)
void SetLastUpdatedAt(const Aws::Utils::DateTime &value)
SimulationJobBatchSummary & WithArn(Aws::String &&value)
AWS_ROBOMAKER_API SimulationJobBatchSummary(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(const SimulationJobBatchStatus &value)
SimulationJobBatchSummary & WithFailedRequestCount(int value)
AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCreatedAt(const Aws::Utils::DateTime &value)
SimulationJobBatchSummary & WithStatus(SimulationJobBatchStatus &&value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
SimulationJobBatchSummary & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue