AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateSimulationJobResult.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/SimulationJobStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/robomaker/model/FailureBehavior.h>
12#include <aws/robomaker/model/SimulationJobErrorCode.h>
13#include <aws/robomaker/model/OutputLocation.h>
14#include <aws/robomaker/model/LoggingConfig.h>
15#include <aws/core/utils/memory/stl/AWSVector.h>
16#include <aws/core/utils/memory/stl/AWSMap.h>
17#include <aws/robomaker/model/VPCConfigResponse.h>
18#include <aws/robomaker/model/ComputeResponse.h>
19#include <aws/robomaker/model/RobotApplicationConfig.h>
20#include <aws/robomaker/model/SimulationApplicationConfig.h>
21#include <aws/robomaker/model/DataSource.h>
22#include <utility>
23
24namespace Aws
25{
26template<typename RESULT_TYPE>
27class AmazonWebServiceResult;
28
29namespace Utils
30{
31namespace Json
32{
33 class JsonValue;
34} // namespace Json
35} // namespace Utils
36namespace RoboMaker
37{
38namespace Model
39{
41 {
42 public:
43 AWS_ROBOMAKER_API CreateSimulationJobResult();
46
47
49
52 inline const Aws::String& GetArn() const{ return m_arn; }
53 inline void SetArn(const Aws::String& value) { m_arn = value; }
54 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
55 inline void SetArn(const char* value) { m_arn.assign(value); }
56 inline CreateSimulationJobResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
57 inline CreateSimulationJobResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
58 inline CreateSimulationJobResult& WithArn(const char* value) { SetArn(value); return *this;}
60
62
65 inline const SimulationJobStatus& GetStatus() const{ return m_status; }
66 inline void SetStatus(const SimulationJobStatus& value) { m_status = value; }
67 inline void SetStatus(SimulationJobStatus&& value) { m_status = std::move(value); }
68 inline CreateSimulationJobResult& WithStatus(const SimulationJobStatus& value) { SetStatus(value); return *this;}
69 inline CreateSimulationJobResult& WithStatus(SimulationJobStatus&& value) { SetStatus(std::move(value)); return *this;}
71
73
77 inline const Aws::Utils::DateTime& GetLastStartedAt() const{ return m_lastStartedAt; }
78 inline void SetLastStartedAt(const Aws::Utils::DateTime& value) { m_lastStartedAt = value; }
79 inline void SetLastStartedAt(Aws::Utils::DateTime&& value) { m_lastStartedAt = std::move(value); }
81 inline CreateSimulationJobResult& WithLastStartedAt(Aws::Utils::DateTime&& value) { SetLastStartedAt(std::move(value)); return *this;}
83
85
89 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
90 inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAt = value; }
91 inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAt = std::move(value); }
93 inline CreateSimulationJobResult& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;}
95
97
100 inline const FailureBehavior& GetFailureBehavior() const{ return m_failureBehavior; }
101 inline void SetFailureBehavior(const FailureBehavior& value) { m_failureBehavior = value; }
102 inline void SetFailureBehavior(FailureBehavior&& value) { m_failureBehavior = std::move(value); }
104 inline CreateSimulationJobResult& WithFailureBehavior(FailureBehavior&& value) { SetFailureBehavior(std::move(value)); return *this;}
106
108
133 inline const SimulationJobErrorCode& GetFailureCode() const{ return m_failureCode; }
134 inline void SetFailureCode(const SimulationJobErrorCode& value) { m_failureCode = value; }
135 inline void SetFailureCode(SimulationJobErrorCode&& value) { m_failureCode = std::move(value); }
137 inline CreateSimulationJobResult& WithFailureCode(SimulationJobErrorCode&& value) { SetFailureCode(std::move(value)); return *this;}
139
141
145 inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
146 inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestToken = value; }
147 inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestToken = std::move(value); }
148 inline void SetClientRequestToken(const char* value) { m_clientRequestToken.assign(value); }
150 inline CreateSimulationJobResult& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
151 inline CreateSimulationJobResult& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
153
155
158 inline const OutputLocation& GetOutputLocation() const{ return m_outputLocation; }
159 inline void SetOutputLocation(const OutputLocation& value) { m_outputLocation = value; }
160 inline void SetOutputLocation(OutputLocation&& value) { m_outputLocation = std::move(value); }
162 inline CreateSimulationJobResult& WithOutputLocation(OutputLocation&& value) { SetOutputLocation(std::move(value)); return *this;}
164
166
169 inline const LoggingConfig& GetLoggingConfig() const{ return m_loggingConfig; }
170 inline void SetLoggingConfig(const LoggingConfig& value) { m_loggingConfig = value; }
171 inline void SetLoggingConfig(LoggingConfig&& value) { m_loggingConfig = std::move(value); }
172 inline CreateSimulationJobResult& WithLoggingConfig(const LoggingConfig& value) { SetLoggingConfig(value); return *this;}
173 inline CreateSimulationJobResult& WithLoggingConfig(LoggingConfig&& value) { SetLoggingConfig(std::move(value)); return *this;}
175
177
180 inline long long GetMaxJobDurationInSeconds() const{ return m_maxJobDurationInSeconds; }
181 inline void SetMaxJobDurationInSeconds(long long value) { m_maxJobDurationInSeconds = value; }
184
186
189 inline long long GetSimulationTimeMillis() const{ return m_simulationTimeMillis; }
190 inline void SetSimulationTimeMillis(long long value) { m_simulationTimeMillis = value; }
191 inline CreateSimulationJobResult& WithSimulationTimeMillis(long long value) { SetSimulationTimeMillis(value); return *this;}
193
195
199 inline const Aws::String& GetIamRole() const{ return m_iamRole; }
200 inline void SetIamRole(const Aws::String& value) { m_iamRole = value; }
201 inline void SetIamRole(Aws::String&& value) { m_iamRole = std::move(value); }
202 inline void SetIamRole(const char* value) { m_iamRole.assign(value); }
203 inline CreateSimulationJobResult& WithIamRole(const Aws::String& value) { SetIamRole(value); return *this;}
204 inline CreateSimulationJobResult& WithIamRole(Aws::String&& value) { SetIamRole(std::move(value)); return *this;}
205 inline CreateSimulationJobResult& WithIamRole(const char* value) { SetIamRole(value); return *this;}
207
209
212 inline const Aws::Vector<RobotApplicationConfig>& GetRobotApplications() const{ return m_robotApplications; }
213 inline void SetRobotApplications(const Aws::Vector<RobotApplicationConfig>& value) { m_robotApplications = value; }
214 inline void SetRobotApplications(Aws::Vector<RobotApplicationConfig>&& value) { m_robotApplications = std::move(value); }
217 inline CreateSimulationJobResult& AddRobotApplications(const RobotApplicationConfig& value) { m_robotApplications.push_back(value); return *this; }
218 inline CreateSimulationJobResult& AddRobotApplications(RobotApplicationConfig&& value) { m_robotApplications.push_back(std::move(value)); return *this; }
220
222
225 inline const Aws::Vector<SimulationApplicationConfig>& GetSimulationApplications() const{ return m_simulationApplications; }
226 inline void SetSimulationApplications(const Aws::Vector<SimulationApplicationConfig>& value) { m_simulationApplications = value; }
227 inline void SetSimulationApplications(Aws::Vector<SimulationApplicationConfig>&& value) { m_simulationApplications = std::move(value); }
230 inline CreateSimulationJobResult& AddSimulationApplications(const SimulationApplicationConfig& value) { m_simulationApplications.push_back(value); return *this; }
231 inline CreateSimulationJobResult& AddSimulationApplications(SimulationApplicationConfig&& value) { m_simulationApplications.push_back(std::move(value)); return *this; }
233
235
238 inline const Aws::Vector<DataSource>& GetDataSources() const{ return m_dataSources; }
239 inline void SetDataSources(const Aws::Vector<DataSource>& value) { m_dataSources = value; }
240 inline void SetDataSources(Aws::Vector<DataSource>&& value) { m_dataSources = std::move(value); }
242 inline CreateSimulationJobResult& WithDataSources(Aws::Vector<DataSource>&& value) { SetDataSources(std::move(value)); return *this;}
243 inline CreateSimulationJobResult& AddDataSources(const DataSource& value) { m_dataSources.push_back(value); return *this; }
244 inline CreateSimulationJobResult& AddDataSources(DataSource&& value) { m_dataSources.push_back(std::move(value)); return *this; }
246
248
251 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
252 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
253 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
255 inline CreateSimulationJobResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
256 inline CreateSimulationJobResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
257 inline CreateSimulationJobResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
258 inline CreateSimulationJobResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
259 inline CreateSimulationJobResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
260 inline CreateSimulationJobResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
261 inline CreateSimulationJobResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
262 inline CreateSimulationJobResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
264
266
269 inline const VPCConfigResponse& GetVpcConfig() const{ return m_vpcConfig; }
270 inline void SetVpcConfig(const VPCConfigResponse& value) { m_vpcConfig = value; }
271 inline void SetVpcConfig(VPCConfigResponse&& value) { m_vpcConfig = std::move(value); }
272 inline CreateSimulationJobResult& WithVpcConfig(const VPCConfigResponse& value) { SetVpcConfig(value); return *this;}
273 inline CreateSimulationJobResult& WithVpcConfig(VPCConfigResponse&& value) { SetVpcConfig(std::move(value)); return *this;}
275
277
280 inline const ComputeResponse& GetCompute() const{ return m_compute; }
281 inline void SetCompute(const ComputeResponse& value) { m_compute = value; }
282 inline void SetCompute(ComputeResponse&& value) { m_compute = std::move(value); }
283 inline CreateSimulationJobResult& WithCompute(const ComputeResponse& value) { SetCompute(value); return *this;}
284 inline CreateSimulationJobResult& WithCompute(ComputeResponse&& value) { SetCompute(std::move(value)); return *this;}
286
288
289 inline const Aws::String& GetRequestId() const{ return m_requestId; }
290 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
291 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
292 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
293 inline CreateSimulationJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
294 inline CreateSimulationJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
295 inline CreateSimulationJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
297 private:
298
299 Aws::String m_arn;
300
301 SimulationJobStatus m_status;
302
303 Aws::Utils::DateTime m_lastStartedAt;
304
305 Aws::Utils::DateTime m_lastUpdatedAt;
306
307 FailureBehavior m_failureBehavior;
308
309 SimulationJobErrorCode m_failureCode;
310
311 Aws::String m_clientRequestToken;
312
313 OutputLocation m_outputLocation;
314
315 LoggingConfig m_loggingConfig;
316
317 long long m_maxJobDurationInSeconds;
318
319 long long m_simulationTimeMillis;
320
321 Aws::String m_iamRole;
322
323 Aws::Vector<RobotApplicationConfig> m_robotApplications;
324
325 Aws::Vector<SimulationApplicationConfig> m_simulationApplications;
326
327 Aws::Vector<DataSource> m_dataSources;
328
330
331 VPCConfigResponse m_vpcConfig;
332
333 ComputeResponse m_compute;
334
335 Aws::String m_requestId;
336 };
337
338} // namespace Model
339} // namespace RoboMaker
340} // namespace Aws
CreateSimulationJobResult & WithArn(const Aws::String &value)
CreateSimulationJobResult & WithCompute(ComputeResponse &&value)
void SetSimulationApplications(Aws::Vector< SimulationApplicationConfig > &&value)
CreateSimulationJobResult & WithRobotApplications(Aws::Vector< RobotApplicationConfig > &&value)
CreateSimulationJobResult & WithRequestId(Aws::String &&value)
CreateSimulationJobResult & WithCompute(const ComputeResponse &value)
CreateSimulationJobResult & AddTags(Aws::String &&key, const Aws::String &value)
CreateSimulationJobResult & WithSimulationApplications(Aws::Vector< SimulationApplicationConfig > &&value)
CreateSimulationJobResult & WithDataSources(Aws::Vector< DataSource > &&value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateSimulationJobResult & AddTags(const Aws::String &key, Aws::String &&value)
void SetRobotApplications(const Aws::Vector< RobotApplicationConfig > &value)
CreateSimulationJobResult & WithFailureBehavior(const FailureBehavior &value)
CreateSimulationJobResult & WithLoggingConfig(const LoggingConfig &value)
CreateSimulationJobResult & WithStatus(const SimulationJobStatus &value)
CreateSimulationJobResult & WithLastStartedAt(Aws::Utils::DateTime &&value)
void SetDataSources(const Aws::Vector< DataSource > &value)
CreateSimulationJobResult & AddTags(Aws::String &&key, const char *value)
const Aws::Vector< DataSource > & GetDataSources() const
void SetFailureCode(const SimulationJobErrorCode &value)
CreateSimulationJobResult & WithVpcConfig(const VPCConfigResponse &value)
CreateSimulationJobResult & WithFailureCode(const SimulationJobErrorCode &value)
CreateSimulationJobResult & AddDataSources(DataSource &&value)
CreateSimulationJobResult & WithMaxJobDurationInSeconds(long long value)
CreateSimulationJobResult & AddDataSources(const DataSource &value)
const Aws::Vector< SimulationApplicationConfig > & GetSimulationApplications() const
CreateSimulationJobResult & WithFailureBehavior(FailureBehavior &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetLastStartedAt(const Aws::Utils::DateTime &value)
CreateSimulationJobResult & WithSimulationTimeMillis(long long value)
CreateSimulationJobResult & AddTags(const Aws::String &key, const Aws::String &value)
CreateSimulationJobResult & AddTags(Aws::String &&key, Aws::String &&value)
CreateSimulationJobResult & WithDataSources(const Aws::Vector< DataSource > &value)
void SetSimulationApplications(const Aws::Vector< SimulationApplicationConfig > &value)
CreateSimulationJobResult & WithClientRequestToken(Aws::String &&value)
CreateSimulationJobResult & AddRobotApplications(RobotApplicationConfig &&value)
CreateSimulationJobResult & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
CreateSimulationJobResult & WithVpcConfig(VPCConfigResponse &&value)
CreateSimulationJobResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateSimulationJobResult & WithArn(Aws::String &&value)
CreateSimulationJobResult & WithLastStartedAt(const Aws::Utils::DateTime &value)
CreateSimulationJobResult & WithRobotApplications(const Aws::Vector< RobotApplicationConfig > &value)
AWS_ROBOMAKER_API CreateSimulationJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< RobotApplicationConfig > & GetRobotApplications() const
const Aws::Utils::DateTime & GetLastStartedAt() const
CreateSimulationJobResult & AddTags(const char *key, Aws::String &&value)
CreateSimulationJobResult & WithOutputLocation(const OutputLocation &value)
CreateSimulationJobResult & WithIamRole(const Aws::String &value)
const SimulationJobErrorCode & GetFailureCode() const
CreateSimulationJobResult & WithArn(const char *value)
void SetLastUpdatedAt(const Aws::Utils::DateTime &value)
CreateSimulationJobResult & WithOutputLocation(OutputLocation &&value)
CreateSimulationJobResult & WithIamRole(Aws::String &&value)
CreateSimulationJobResult & AddTags(const char *key, const char *value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
AWS_ROBOMAKER_API CreateSimulationJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateSimulationJobResult & WithRequestId(const Aws::String &value)
CreateSimulationJobResult & AddSimulationApplications(SimulationApplicationConfig &&value)
CreateSimulationJobResult & WithClientRequestToken(const Aws::String &value)
CreateSimulationJobResult & WithClientRequestToken(const char *value)
CreateSimulationJobResult & WithFailureCode(SimulationJobErrorCode &&value)
CreateSimulationJobResult & AddRobotApplications(const RobotApplicationConfig &value)
CreateSimulationJobResult & AddSimulationApplications(const SimulationApplicationConfig &value)
CreateSimulationJobResult & WithSimulationApplications(const Aws::Vector< SimulationApplicationConfig > &value)
CreateSimulationJobResult & WithRequestId(const char *value)
void SetRobotApplications(Aws::Vector< RobotApplicationConfig > &&value)
CreateSimulationJobResult & WithLoggingConfig(LoggingConfig &&value)
CreateSimulationJobResult & WithStatus(SimulationJobStatus &&value)
CreateSimulationJobResult & WithIamRole(const char *value)
CreateSimulationJobResult & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
void SetDataSources(Aws::Vector< DataSource > &&value)
CreateSimulationJobResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
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