AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartSimulationJobBatchResult.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:
39 AWS_ROBOMAKER_API StartSimulationJobBatchResult();
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 StartSimulationJobBatchResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
53 inline StartSimulationJobBatchResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
54 inline StartSimulationJobBatchResult& 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); }
84 inline StartSimulationJobBatchResult& WithStatus(const SimulationJobBatchStatus& value) { SetStatus(value); return *this;}
85 inline StartSimulationJobBatchResult& WithStatus(SimulationJobBatchStatus&& value) { SetStatus(std::move(value)); return *this;}
87
89
93 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
94 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
95 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
97 inline StartSimulationJobBatchResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
99
101
105 inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
106 inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestToken = value; }
107 inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestToken = std::move(value); }
108 inline void SetClientRequestToken(const char* value) { m_clientRequestToken.assign(value); }
111 inline StartSimulationJobBatchResult& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
113
115
118 inline const BatchPolicy& GetBatchPolicy() const{ return m_batchPolicy; }
119 inline void SetBatchPolicy(const BatchPolicy& value) { m_batchPolicy = value; }
120 inline void SetBatchPolicy(BatchPolicy&& value) { m_batchPolicy = std::move(value); }
121 inline StartSimulationJobBatchResult& WithBatchPolicy(const BatchPolicy& value) { SetBatchPolicy(value); return *this;}
122 inline StartSimulationJobBatchResult& WithBatchPolicy(BatchPolicy&& value) { SetBatchPolicy(std::move(value)); return *this;}
124
126
129 inline const SimulationJobBatchErrorCode& GetFailureCode() const{ return m_failureCode; }
130 inline void SetFailureCode(const SimulationJobBatchErrorCode& value) { m_failureCode = value; }
131 inline void SetFailureCode(SimulationJobBatchErrorCode&& value) { m_failureCode = std::move(value); }
135
137
140 inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
141 inline void SetFailureReason(const Aws::String& value) { m_failureReason = value; }
142 inline void SetFailureReason(Aws::String&& value) { m_failureReason = std::move(value); }
143 inline void SetFailureReason(const char* value) { m_failureReason.assign(value); }
145 inline StartSimulationJobBatchResult& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
146 inline StartSimulationJobBatchResult& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
148
150
154 inline const Aws::Vector<FailedCreateSimulationJobRequest>& GetFailedRequests() const{ return m_failedRequests; }
155 inline void SetFailedRequests(const Aws::Vector<FailedCreateSimulationJobRequest>& value) { m_failedRequests = value; }
156 inline void SetFailedRequests(Aws::Vector<FailedCreateSimulationJobRequest>&& value) { m_failedRequests = std::move(value); }
159 inline StartSimulationJobBatchResult& AddFailedRequests(const FailedCreateSimulationJobRequest& value) { m_failedRequests.push_back(value); return *this; }
160 inline StartSimulationJobBatchResult& AddFailedRequests(FailedCreateSimulationJobRequest&& value) { m_failedRequests.push_back(std::move(value)); return *this; }
162
164
168 inline const Aws::Vector<SimulationJobRequest>& GetPendingRequests() const{ return m_pendingRequests; }
169 inline void SetPendingRequests(const Aws::Vector<SimulationJobRequest>& value) { m_pendingRequests = value; }
170 inline void SetPendingRequests(Aws::Vector<SimulationJobRequest>&& value) { m_pendingRequests = std::move(value); }
173 inline StartSimulationJobBatchResult& AddPendingRequests(const SimulationJobRequest& value) { m_pendingRequests.push_back(value); return *this; }
174 inline StartSimulationJobBatchResult& AddPendingRequests(SimulationJobRequest&& value) { m_pendingRequests.push_back(std::move(value)); return *this; }
176
178
181 inline const Aws::Vector<SimulationJobSummary>& GetCreatedRequests() const{ return m_createdRequests; }
182 inline void SetCreatedRequests(const Aws::Vector<SimulationJobSummary>& value) { m_createdRequests = value; }
183 inline void SetCreatedRequests(Aws::Vector<SimulationJobSummary>&& value) { m_createdRequests = std::move(value); }
186 inline StartSimulationJobBatchResult& AddCreatedRequests(const SimulationJobSummary& value) { m_createdRequests.push_back(value); return *this; }
187 inline StartSimulationJobBatchResult& AddCreatedRequests(SimulationJobSummary&& value) { m_createdRequests.push_back(std::move(value)); return *this; }
189
191
195 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
196 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
197 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
199 inline StartSimulationJobBatchResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
200 inline StartSimulationJobBatchResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
201 inline StartSimulationJobBatchResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
202 inline StartSimulationJobBatchResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
203 inline StartSimulationJobBatchResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
204 inline StartSimulationJobBatchResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
205 inline StartSimulationJobBatchResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
206 inline StartSimulationJobBatchResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
208
210
211 inline const Aws::String& GetRequestId() const{ return m_requestId; }
212 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
213 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
214 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
215 inline StartSimulationJobBatchResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
216 inline StartSimulationJobBatchResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
217 inline StartSimulationJobBatchResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
219 private:
220
221 Aws::String m_arn;
222
224
225 Aws::Utils::DateTime m_createdAt;
226
227 Aws::String m_clientRequestToken;
228
229 BatchPolicy m_batchPolicy;
230
231 SimulationJobBatchErrorCode m_failureCode;
232
233 Aws::String m_failureReason;
234
236
237 Aws::Vector<SimulationJobRequest> m_pendingRequests;
238
239 Aws::Vector<SimulationJobSummary> m_createdRequests;
240
242
243 Aws::String m_requestId;
244 };
245
246} // namespace Model
247} // namespace RoboMaker
248} // namespace Aws
StartSimulationJobBatchResult & WithFailureReason(const Aws::String &value)
StartSimulationJobBatchResult & WithCreatedAt(const Aws::Utils::DateTime &value)
const Aws::Vector< FailedCreateSimulationJobRequest > & GetFailedRequests() const
const SimulationJobBatchErrorCode & GetFailureCode() const
StartSimulationJobBatchResult & WithFailedRequests(Aws::Vector< FailedCreateSimulationJobRequest > &&value)
AWS_ROBOMAKER_API StartSimulationJobBatchResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
StartSimulationJobBatchResult & WithFailureCode(const SimulationJobBatchErrorCode &value)
StartSimulationJobBatchResult & AddFailedRequests(const FailedCreateSimulationJobRequest &value)
void SetFailedRequests(Aws::Vector< FailedCreateSimulationJobRequest > &&value)
void SetCreatedRequests(Aws::Vector< SimulationJobSummary > &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
StartSimulationJobBatchResult & AddTags(const char *key, const char *value)
StartSimulationJobBatchResult & WithFailureReason(const char *value)
StartSimulationJobBatchResult & WithCreatedRequests(const Aws::Vector< SimulationJobSummary > &value)
const Aws::Vector< SimulationJobSummary > & GetCreatedRequests() const
StartSimulationJobBatchResult & WithClientRequestToken(Aws::String &&value)
void SetFailedRequests(const Aws::Vector< FailedCreateSimulationJobRequest > &value)
StartSimulationJobBatchResult & AddTags(const Aws::String &key, const Aws::String &value)
StartSimulationJobBatchResult & WithPendingRequests(const Aws::Vector< SimulationJobRequest > &value)
AWS_ROBOMAKER_API StartSimulationJobBatchResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartSimulationJobBatchResult & WithArn(Aws::String &&value)
StartSimulationJobBatchResult & WithFailureCode(SimulationJobBatchErrorCode &&value)
StartSimulationJobBatchResult & WithCreatedAt(Aws::Utils::DateTime &&value)
StartSimulationJobBatchResult & AddCreatedRequests(SimulationJobSummary &&value)
void SetPendingRequests(const Aws::Vector< SimulationJobRequest > &value)
StartSimulationJobBatchResult & WithRequestId(const char *value)
StartSimulationJobBatchResult & WithBatchPolicy(BatchPolicy &&value)
StartSimulationJobBatchResult & AddPendingRequests(const SimulationJobRequest &value)
StartSimulationJobBatchResult & AddCreatedRequests(const SimulationJobSummary &value)
StartSimulationJobBatchResult & WithPendingRequests(Aws::Vector< SimulationJobRequest > &&value)
StartSimulationJobBatchResult & AddPendingRequests(SimulationJobRequest &&value)
StartSimulationJobBatchResult & AddTags(const char *key, Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
StartSimulationJobBatchResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
StartSimulationJobBatchResult & AddFailedRequests(FailedCreateSimulationJobRequest &&value)
void SetCreatedRequests(const Aws::Vector< SimulationJobSummary > &value)
StartSimulationJobBatchResult & WithStatus(SimulationJobBatchStatus &&value)
void SetPendingRequests(Aws::Vector< SimulationJobRequest > &&value)
StartSimulationJobBatchResult & AddTags(Aws::String &&key, Aws::String &&value)
StartSimulationJobBatchResult & WithArn(const Aws::String &value)
StartSimulationJobBatchResult & WithFailedRequests(const Aws::Vector< FailedCreateSimulationJobRequest > &value)
StartSimulationJobBatchResult & WithRequestId(const Aws::String &value)
StartSimulationJobBatchResult & WithFailureReason(Aws::String &&value)
StartSimulationJobBatchResult & WithCreatedRequests(Aws::Vector< SimulationJobSummary > &&value)
StartSimulationJobBatchResult & AddTags(Aws::String &&key, const char *value)
void SetFailureCode(const SimulationJobBatchErrorCode &value)
StartSimulationJobBatchResult & AddTags(const Aws::String &key, Aws::String &&value)
StartSimulationJobBatchResult & WithRequestId(Aws::String &&value)
StartSimulationJobBatchResult & WithArn(const char *value)
StartSimulationJobBatchResult & WithClientRequestToken(const Aws::String &value)
StartSimulationJobBatchResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
StartSimulationJobBatchResult & WithBatchPolicy(const BatchPolicy &value)
StartSimulationJobBatchResult & AddTags(Aws::String &&key, const Aws::String &value)
StartSimulationJobBatchResult & WithClientRequestToken(const char *value)
StartSimulationJobBatchResult & WithStatus(const SimulationJobBatchStatus &value)
const Aws::Vector< SimulationJobRequest > & GetPendingRequests() const
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