AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeSimulationJobBatchResult.h
1
6#pragma once
7#include <aws/robomaker/RoboMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/robomaker/model/SimulationJobBatchStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/robomaker/model/BatchPolicy.h>
12#include <aws/robomaker/model/SimulationJobBatchErrorCode.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
15#include <aws/robomaker/model/FailedCreateSimulationJobRequest.h>
16#include <aws/robomaker/model/SimulationJobRequest.h>
17#include <aws/robomaker/model/SimulationJobSummary.h>
18#include <utility>
19
20namespace Aws
21{
22template<typename RESULT_TYPE>
23class AmazonWebServiceResult;
24
25namespace Utils
26{
27namespace Json
28{
29 class JsonValue;
30} // namespace Json
31} // namespace Utils
32namespace RoboMaker
33{
34namespace Model
35{
37 {
38 public:
42
43
45
48 inline const Aws::String& GetArn() const{ return m_arn; }
49 inline void SetArn(const Aws::String& value) { m_arn = value; }
50 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
51 inline void SetArn(const char* value) { m_arn.assign(value); }
52 inline DescribeSimulationJobBatchResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
53 inline DescribeSimulationJobBatchResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
54 inline DescribeSimulationJobBatchResult& WithArn(const char* value) { SetArn(value); return *this;}
56
58
81 inline const SimulationJobBatchStatus& GetStatus() const{ return m_status; }
82 inline void SetStatus(const SimulationJobBatchStatus& value) { m_status = value; }
83 inline void SetStatus(SimulationJobBatchStatus&& value) { m_status = std::move(value); }
85 inline DescribeSimulationJobBatchResult& WithStatus(SimulationJobBatchStatus&& value) { SetStatus(std::move(value)); return *this;}
87
89
93 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
94 inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAt = value; }
95 inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAt = std::move(value); }
99
101
105 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
106 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
107 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
109 inline DescribeSimulationJobBatchResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
111
113
117 inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
118 inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestToken = value; }
119 inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestToken = std::move(value); }
120 inline void SetClientRequestToken(const char* value) { m_clientRequestToken.assign(value); }
123 inline DescribeSimulationJobBatchResult& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
125
127
130 inline const BatchPolicy& GetBatchPolicy() const{ return m_batchPolicy; }
131 inline void SetBatchPolicy(const BatchPolicy& value) { m_batchPolicy = value; }
132 inline void SetBatchPolicy(BatchPolicy&& value) { m_batchPolicy = std::move(value); }
133 inline DescribeSimulationJobBatchResult& WithBatchPolicy(const BatchPolicy& value) { SetBatchPolicy(value); return *this;}
134 inline DescribeSimulationJobBatchResult& WithBatchPolicy(BatchPolicy&& value) { SetBatchPolicy(std::move(value)); return *this;}
136
138
141 inline const SimulationJobBatchErrorCode& GetFailureCode() const{ return m_failureCode; }
142 inline void SetFailureCode(const SimulationJobBatchErrorCode& value) { m_failureCode = value; }
143 inline void SetFailureCode(SimulationJobBatchErrorCode&& value) { m_failureCode = std::move(value); }
147
149
152 inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
153 inline void SetFailureReason(const Aws::String& value) { m_failureReason = value; }
154 inline void SetFailureReason(Aws::String&& value) { m_failureReason = std::move(value); }
155 inline void SetFailureReason(const char* value) { m_failureReason.assign(value); }
157 inline DescribeSimulationJobBatchResult& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
158 inline DescribeSimulationJobBatchResult& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
160
162
167 inline const Aws::Vector<FailedCreateSimulationJobRequest>& GetFailedRequests() const{ return m_failedRequests; }
168 inline void SetFailedRequests(const Aws::Vector<FailedCreateSimulationJobRequest>& value) { m_failedRequests = value; }
169 inline void SetFailedRequests(Aws::Vector<FailedCreateSimulationJobRequest>&& value) { m_failedRequests = std::move(value); }
172 inline DescribeSimulationJobBatchResult& AddFailedRequests(const FailedCreateSimulationJobRequest& value) { m_failedRequests.push_back(value); return *this; }
173 inline DescribeSimulationJobBatchResult& AddFailedRequests(FailedCreateSimulationJobRequest&& value) { m_failedRequests.push_back(std::move(value)); return *this; }
175
177
181 inline const Aws::Vector<SimulationJobRequest>& GetPendingRequests() const{ return m_pendingRequests; }
182 inline void SetPendingRequests(const Aws::Vector<SimulationJobRequest>& value) { m_pendingRequests = value; }
183 inline void SetPendingRequests(Aws::Vector<SimulationJobRequest>&& value) { m_pendingRequests = std::move(value); }
186 inline DescribeSimulationJobBatchResult& AddPendingRequests(const SimulationJobRequest& value) { m_pendingRequests.push_back(value); return *this; }
187 inline DescribeSimulationJobBatchResult& AddPendingRequests(SimulationJobRequest&& value) { m_pendingRequests.push_back(std::move(value)); return *this; }
189
191
194 inline const Aws::Vector<SimulationJobSummary>& GetCreatedRequests() const{ return m_createdRequests; }
195 inline void SetCreatedRequests(const Aws::Vector<SimulationJobSummary>& value) { m_createdRequests = value; }
196 inline void SetCreatedRequests(Aws::Vector<SimulationJobSummary>&& value) { m_createdRequests = std::move(value); }
199 inline DescribeSimulationJobBatchResult& AddCreatedRequests(const SimulationJobSummary& value) { m_createdRequests.push_back(value); return *this; }
200 inline DescribeSimulationJobBatchResult& AddCreatedRequests(SimulationJobSummary&& value) { m_createdRequests.push_back(std::move(value)); return *this; }
202
204
208 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
209 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
210 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
212 inline DescribeSimulationJobBatchResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
213 inline DescribeSimulationJobBatchResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
214 inline DescribeSimulationJobBatchResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
215 inline DescribeSimulationJobBatchResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
216 inline DescribeSimulationJobBatchResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
217 inline DescribeSimulationJobBatchResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
218 inline DescribeSimulationJobBatchResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
219 inline DescribeSimulationJobBatchResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
221
223
224 inline const Aws::String& GetRequestId() const{ return m_requestId; }
225 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
226 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
227 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
228 inline DescribeSimulationJobBatchResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
229 inline DescribeSimulationJobBatchResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
230 inline DescribeSimulationJobBatchResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
232 private:
233
234 Aws::String m_arn;
235
237
238 Aws::Utils::DateTime m_lastUpdatedAt;
239
240 Aws::Utils::DateTime m_createdAt;
241
242 Aws::String m_clientRequestToken;
243
244 BatchPolicy m_batchPolicy;
245
246 SimulationJobBatchErrorCode m_failureCode;
247
248 Aws::String m_failureReason;
249
251
252 Aws::Vector<SimulationJobRequest> m_pendingRequests;
253
254 Aws::Vector<SimulationJobSummary> m_createdRequests;
255
257
258 Aws::String m_requestId;
259 };
260
261} // namespace Model
262} // namespace RoboMaker
263} // namespace Aws
DescribeSimulationJobBatchResult & WithStatus(const SimulationJobBatchStatus &value)
DescribeSimulationJobBatchResult & WithCreatedAt(const Aws::Utils::DateTime &value)
DescribeSimulationJobBatchResult & WithFailureReason(Aws::String &&value)
DescribeSimulationJobBatchResult & WithCreatedRequests(Aws::Vector< SimulationJobSummary > &&value)
DescribeSimulationJobBatchResult & AddFailedRequests(const FailedCreateSimulationJobRequest &value)
DescribeSimulationJobBatchResult & WithRequestId(const char *value)
DescribeSimulationJobBatchResult & AddTags(const char *key, const char *value)
const Aws::Vector< SimulationJobSummary > & GetCreatedRequests() const
DescribeSimulationJobBatchResult & WithFailedRequests(Aws::Vector< FailedCreateSimulationJobRequest > &&value)
void SetCreatedRequests(const Aws::Vector< SimulationJobSummary > &value)
DescribeSimulationJobBatchResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
DescribeSimulationJobBatchResult & AddFailedRequests(FailedCreateSimulationJobRequest &&value)
DescribeSimulationJobBatchResult & WithArn(Aws::String &&value)
DescribeSimulationJobBatchResult & WithStatus(SimulationJobBatchStatus &&value)
DescribeSimulationJobBatchResult & WithClientRequestToken(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
DescribeSimulationJobBatchResult & WithFailureReason(const char *value)
DescribeSimulationJobBatchResult & WithCreatedRequests(const Aws::Vector< SimulationJobSummary > &value)
DescribeSimulationJobBatchResult & WithClientRequestToken(const char *value)
DescribeSimulationJobBatchResult & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
DescribeSimulationJobBatchResult & WithBatchPolicy(const BatchPolicy &value)
DescribeSimulationJobBatchResult & AddTags(const char *key, Aws::String &&value)
void SetCreatedRequests(Aws::Vector< SimulationJobSummary > &&value)
DescribeSimulationJobBatchResult & AddTags(Aws::String &&key, const Aws::String &value)
DescribeSimulationJobBatchResult & WithRequestId(Aws::String &&value)
DescribeSimulationJobBatchResult & AddTags(const Aws::String &key, const Aws::String &value)
DescribeSimulationJobBatchResult & WithFailedRequests(const Aws::Vector< FailedCreateSimulationJobRequest > &value)
DescribeSimulationJobBatchResult & AddTags(Aws::String &&key, Aws::String &&value)
const Aws::Vector< FailedCreateSimulationJobRequest > & GetFailedRequests() const
DescribeSimulationJobBatchResult & WithArn(const char *value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
DescribeSimulationJobBatchResult & WithFailureCode(const SimulationJobBatchErrorCode &value)
DescribeSimulationJobBatchResult & WithPendingRequests(const Aws::Vector< SimulationJobRequest > &value)
void SetPendingRequests(Aws::Vector< SimulationJobRequest > &&value)
DescribeSimulationJobBatchResult & AddTags(const Aws::String &key, Aws::String &&value)
DescribeSimulationJobBatchResult & AddCreatedRequests(SimulationJobSummary &&value)
DescribeSimulationJobBatchResult & AddTags(Aws::String &&key, const char *value)
AWS_ROBOMAKER_API DescribeSimulationJobBatchResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeSimulationJobBatchResult & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
DescribeSimulationJobBatchResult & AddCreatedRequests(const SimulationJobSummary &value)
DescribeSimulationJobBatchResult & WithFailureCode(SimulationJobBatchErrorCode &&value)
void SetFailedRequests(const Aws::Vector< FailedCreateSimulationJobRequest > &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
DescribeSimulationJobBatchResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
DescribeSimulationJobBatchResult & AddPendingRequests(const SimulationJobRequest &value)
void SetPendingRequests(const Aws::Vector< SimulationJobRequest > &value)
DescribeSimulationJobBatchResult & WithClientRequestToken(Aws::String &&value)
const Aws::Vector< SimulationJobRequest > & GetPendingRequests() const
DescribeSimulationJobBatchResult & WithArn(const Aws::String &value)
DescribeSimulationJobBatchResult & WithCreatedAt(Aws::Utils::DateTime &&value)
DescribeSimulationJobBatchResult & WithBatchPolicy(BatchPolicy &&value)
DescribeSimulationJobBatchResult & AddPendingRequests(SimulationJobRequest &&value)
DescribeSimulationJobBatchResult & WithRequestId(const Aws::String &value)
DescribeSimulationJobBatchResult & WithFailureReason(const Aws::String &value)
void SetFailedRequests(Aws::Vector< FailedCreateSimulationJobRequest > &&value)
DescribeSimulationJobBatchResult & WithPendingRequests(Aws::Vector< SimulationJobRequest > &&value)
AWS_ROBOMAKER_API DescribeSimulationJobBatchResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue