AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeSimulationJobResult.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/NetworkInterface.h>
19#include <aws/robomaker/model/ComputeResponse.h>
20#include <aws/robomaker/model/RobotApplicationConfig.h>
21#include <aws/robomaker/model/SimulationApplicationConfig.h>
22#include <aws/robomaker/model/DataSource.h>
23#include <utility>
24
25namespace Aws
26{
27template<typename RESULT_TYPE>
28class AmazonWebServiceResult;
29
30namespace Utils
31{
32namespace Json
33{
34 class JsonValue;
35} // namespace Json
36} // namespace Utils
37namespace RoboMaker
38{
39namespace Model
40{
42 {
43 public:
44 AWS_ROBOMAKER_API DescribeSimulationJobResult();
47
48
50
53 inline const Aws::String& GetArn() const{ return m_arn; }
54 inline void SetArn(const Aws::String& value) { m_arn = value; }
55 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
56 inline void SetArn(const char* value) { m_arn.assign(value); }
57 inline DescribeSimulationJobResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
58 inline DescribeSimulationJobResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
59 inline DescribeSimulationJobResult& WithArn(const char* value) { SetArn(value); return *this;}
61
63
66 inline const Aws::String& GetName() const{ return m_name; }
67 inline void SetName(const Aws::String& value) { m_name = value; }
68 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
69 inline void SetName(const char* value) { m_name.assign(value); }
70 inline DescribeSimulationJobResult& WithName(const Aws::String& value) { SetName(value); return *this;}
71 inline DescribeSimulationJobResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
72 inline DescribeSimulationJobResult& WithName(const char* value) { SetName(value); return *this;}
74
76
79 inline const SimulationJobStatus& GetStatus() const{ return m_status; }
80 inline void SetStatus(const SimulationJobStatus& value) { m_status = value; }
81 inline void SetStatus(SimulationJobStatus&& value) { m_status = std::move(value); }
82 inline DescribeSimulationJobResult& WithStatus(const SimulationJobStatus& value) { SetStatus(value); return *this;}
83 inline DescribeSimulationJobResult& WithStatus(SimulationJobStatus&& value) { SetStatus(std::move(value)); return *this;}
85
87
91 inline const Aws::Utils::DateTime& GetLastStartedAt() const{ return m_lastStartedAt; }
92 inline void SetLastStartedAt(const Aws::Utils::DateTime& value) { m_lastStartedAt = value; }
93 inline void SetLastStartedAt(Aws::Utils::DateTime&& value) { m_lastStartedAt = std::move(value); }
95 inline DescribeSimulationJobResult& WithLastStartedAt(Aws::Utils::DateTime&& value) { SetLastStartedAt(std::move(value)); return *this;}
97
99
103 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
104 inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAt = value; }
105 inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAt = std::move(value); }
107 inline DescribeSimulationJobResult& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;}
109
111
114 inline const FailureBehavior& GetFailureBehavior() const{ return m_failureBehavior; }
115 inline void SetFailureBehavior(const FailureBehavior& value) { m_failureBehavior = value; }
116 inline void SetFailureBehavior(FailureBehavior&& value) { m_failureBehavior = std::move(value); }
118 inline DescribeSimulationJobResult& WithFailureBehavior(FailureBehavior&& value) { SetFailureBehavior(std::move(value)); return *this;}
120
122
147 inline const SimulationJobErrorCode& GetFailureCode() const{ return m_failureCode; }
148 inline void SetFailureCode(const SimulationJobErrorCode& value) { m_failureCode = value; }
149 inline void SetFailureCode(SimulationJobErrorCode&& value) { m_failureCode = std::move(value); }
151 inline DescribeSimulationJobResult& WithFailureCode(SimulationJobErrorCode&& value) { SetFailureCode(std::move(value)); return *this;}
153
155
160 inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
161 inline void SetFailureReason(const Aws::String& value) { m_failureReason = value; }
162 inline void SetFailureReason(Aws::String&& value) { m_failureReason = std::move(value); }
163 inline void SetFailureReason(const char* value) { m_failureReason.assign(value); }
164 inline DescribeSimulationJobResult& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
165 inline DescribeSimulationJobResult& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
166 inline DescribeSimulationJobResult& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
168
170
174 inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
175 inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestToken = value; }
176 inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestToken = std::move(value); }
177 inline void SetClientRequestToken(const char* value) { m_clientRequestToken.assign(value); }
179 inline DescribeSimulationJobResult& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
180 inline DescribeSimulationJobResult& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
182
184
187 inline const OutputLocation& GetOutputLocation() const{ return m_outputLocation; }
188 inline void SetOutputLocation(const OutputLocation& value) { m_outputLocation = value; }
189 inline void SetOutputLocation(OutputLocation&& value) { m_outputLocation = std::move(value); }
191 inline DescribeSimulationJobResult& WithOutputLocation(OutputLocation&& value) { SetOutputLocation(std::move(value)); return *this;}
193
195
198 inline const LoggingConfig& GetLoggingConfig() const{ return m_loggingConfig; }
199 inline void SetLoggingConfig(const LoggingConfig& value) { m_loggingConfig = value; }
200 inline void SetLoggingConfig(LoggingConfig&& value) { m_loggingConfig = std::move(value); }
202 inline DescribeSimulationJobResult& WithLoggingConfig(LoggingConfig&& value) { SetLoggingConfig(std::move(value)); return *this;}
204
206
210 inline long long GetMaxJobDurationInSeconds() const{ return m_maxJobDurationInSeconds; }
211 inline void SetMaxJobDurationInSeconds(long long value) { m_maxJobDurationInSeconds = value; }
214
216
219 inline long long GetSimulationTimeMillis() const{ return m_simulationTimeMillis; }
220 inline void SetSimulationTimeMillis(long long value) { m_simulationTimeMillis = value; }
221 inline DescribeSimulationJobResult& WithSimulationTimeMillis(long long value) { SetSimulationTimeMillis(value); return *this;}
223
225
229 inline const Aws::String& GetIamRole() const{ return m_iamRole; }
230 inline void SetIamRole(const Aws::String& value) { m_iamRole = value; }
231 inline void SetIamRole(Aws::String&& value) { m_iamRole = std::move(value); }
232 inline void SetIamRole(const char* value) { m_iamRole.assign(value); }
233 inline DescribeSimulationJobResult& WithIamRole(const Aws::String& value) { SetIamRole(value); return *this;}
234 inline DescribeSimulationJobResult& WithIamRole(Aws::String&& value) { SetIamRole(std::move(value)); return *this;}
235 inline DescribeSimulationJobResult& WithIamRole(const char* value) { SetIamRole(value); return *this;}
237
239
242 inline const Aws::Vector<RobotApplicationConfig>& GetRobotApplications() const{ return m_robotApplications; }
243 inline void SetRobotApplications(const Aws::Vector<RobotApplicationConfig>& value) { m_robotApplications = value; }
244 inline void SetRobotApplications(Aws::Vector<RobotApplicationConfig>&& value) { m_robotApplications = std::move(value); }
247 inline DescribeSimulationJobResult& AddRobotApplications(const RobotApplicationConfig& value) { m_robotApplications.push_back(value); return *this; }
248 inline DescribeSimulationJobResult& AddRobotApplications(RobotApplicationConfig&& value) { m_robotApplications.push_back(std::move(value)); return *this; }
250
252
255 inline const Aws::Vector<SimulationApplicationConfig>& GetSimulationApplications() const{ return m_simulationApplications; }
256 inline void SetSimulationApplications(const Aws::Vector<SimulationApplicationConfig>& value) { m_simulationApplications = value; }
257 inline void SetSimulationApplications(Aws::Vector<SimulationApplicationConfig>&& value) { m_simulationApplications = std::move(value); }
260 inline DescribeSimulationJobResult& AddSimulationApplications(const SimulationApplicationConfig& value) { m_simulationApplications.push_back(value); return *this; }
261 inline DescribeSimulationJobResult& AddSimulationApplications(SimulationApplicationConfig&& value) { m_simulationApplications.push_back(std::move(value)); return *this; }
263
265
268 inline const Aws::Vector<DataSource>& GetDataSources() const{ return m_dataSources; }
269 inline void SetDataSources(const Aws::Vector<DataSource>& value) { m_dataSources = value; }
270 inline void SetDataSources(Aws::Vector<DataSource>&& value) { m_dataSources = std::move(value); }
272 inline DescribeSimulationJobResult& WithDataSources(Aws::Vector<DataSource>&& value) { SetDataSources(std::move(value)); return *this;}
273 inline DescribeSimulationJobResult& AddDataSources(const DataSource& value) { m_dataSources.push_back(value); return *this; }
274 inline DescribeSimulationJobResult& AddDataSources(DataSource&& value) { m_dataSources.push_back(std::move(value)); return *this; }
276
278
281 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
282 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
283 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
285 inline DescribeSimulationJobResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
286 inline DescribeSimulationJobResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
287 inline DescribeSimulationJobResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
288 inline DescribeSimulationJobResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
289 inline DescribeSimulationJobResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
290 inline DescribeSimulationJobResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
291 inline DescribeSimulationJobResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
292 inline DescribeSimulationJobResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
294
296
299 inline const VPCConfigResponse& GetVpcConfig() const{ return m_vpcConfig; }
300 inline void SetVpcConfig(const VPCConfigResponse& value) { m_vpcConfig = value; }
301 inline void SetVpcConfig(VPCConfigResponse&& value) { m_vpcConfig = std::move(value); }
302 inline DescribeSimulationJobResult& WithVpcConfig(const VPCConfigResponse& value) { SetVpcConfig(value); return *this;}
303 inline DescribeSimulationJobResult& WithVpcConfig(VPCConfigResponse&& value) { SetVpcConfig(std::move(value)); return *this;}
305
307
310 inline const NetworkInterface& GetNetworkInterface() const{ return m_networkInterface; }
311 inline void SetNetworkInterface(const NetworkInterface& value) { m_networkInterface = value; }
312 inline void SetNetworkInterface(NetworkInterface&& value) { m_networkInterface = std::move(value); }
316
318
321 inline const ComputeResponse& GetCompute() const{ return m_compute; }
322 inline void SetCompute(const ComputeResponse& value) { m_compute = value; }
323 inline void SetCompute(ComputeResponse&& value) { m_compute = std::move(value); }
324 inline DescribeSimulationJobResult& WithCompute(const ComputeResponse& value) { SetCompute(value); return *this;}
325 inline DescribeSimulationJobResult& WithCompute(ComputeResponse&& value) { SetCompute(std::move(value)); return *this;}
327
329
330 inline const Aws::String& GetRequestId() const{ return m_requestId; }
331 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
332 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
333 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
334 inline DescribeSimulationJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
335 inline DescribeSimulationJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
336 inline DescribeSimulationJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
338 private:
339
340 Aws::String m_arn;
341
342 Aws::String m_name;
343
344 SimulationJobStatus m_status;
345
346 Aws::Utils::DateTime m_lastStartedAt;
347
348 Aws::Utils::DateTime m_lastUpdatedAt;
349
350 FailureBehavior m_failureBehavior;
351
352 SimulationJobErrorCode m_failureCode;
353
354 Aws::String m_failureReason;
355
356 Aws::String m_clientRequestToken;
357
358 OutputLocation m_outputLocation;
359
360 LoggingConfig m_loggingConfig;
361
362 long long m_maxJobDurationInSeconds;
363
364 long long m_simulationTimeMillis;
365
366 Aws::String m_iamRole;
367
368 Aws::Vector<RobotApplicationConfig> m_robotApplications;
369
370 Aws::Vector<SimulationApplicationConfig> m_simulationApplications;
371
372 Aws::Vector<DataSource> m_dataSources;
373
375
376 VPCConfigResponse m_vpcConfig;
377
378 NetworkInterface m_networkInterface;
379
380 ComputeResponse m_compute;
381
382 Aws::String m_requestId;
383 };
384
385} // namespace Model
386} // namespace RoboMaker
387} // namespace Aws
AWS_ROBOMAKER_API DescribeSimulationJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< RobotApplicationConfig > & GetRobotApplications() const
DescribeSimulationJobResult & WithFailureBehavior(FailureBehavior &&value)
DescribeSimulationJobResult & WithClientRequestToken(Aws::String &&value)
DescribeSimulationJobResult & WithLoggingConfig(const LoggingConfig &value)
DescribeSimulationJobResult & AddSimulationApplications(const SimulationApplicationConfig &value)
DescribeSimulationJobResult & WithName(Aws::String &&value)
DescribeSimulationJobResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
DescribeSimulationJobResult & WithName(const Aws::String &value)
DescribeSimulationJobResult & AddDataSources(const DataSource &value)
DescribeSimulationJobResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetRobotApplications(const Aws::Vector< RobotApplicationConfig > &value)
DescribeSimulationJobResult & AddTags(Aws::String &&key, Aws::String &&value)
DescribeSimulationJobResult & WithNetworkInterface(NetworkInterface &&value)
DescribeSimulationJobResult & WithFailureReason(Aws::String &&value)
DescribeSimulationJobResult & WithSimulationApplications(Aws::Vector< SimulationApplicationConfig > &&value)
DescribeSimulationJobResult & WithDataSources(Aws::Vector< DataSource > &&value)
DescribeSimulationJobResult & WithFailureCode(const SimulationJobErrorCode &value)
DescribeSimulationJobResult & WithName(const char *value)
DescribeSimulationJobResult & WithArn(const char *value)
DescribeSimulationJobResult & WithCompute(ComputeResponse &&value)
DescribeSimulationJobResult & WithVpcConfig(const VPCConfigResponse &value)
DescribeSimulationJobResult & WithSimulationApplications(const Aws::Vector< SimulationApplicationConfig > &value)
AWS_ROBOMAKER_API DescribeSimulationJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeSimulationJobResult & WithLastStartedAt(Aws::Utils::DateTime &&value)
DescribeSimulationJobResult & AddTags(const Aws::String &key, Aws::String &&value)
DescribeSimulationJobResult & WithNetworkInterface(const NetworkInterface &value)
void SetLastStartedAt(const Aws::Utils::DateTime &value)
DescribeSimulationJobResult & WithDataSources(const Aws::Vector< DataSource > &value)
const Aws::Vector< DataSource > & GetDataSources() const
DescribeSimulationJobResult & WithVpcConfig(VPCConfigResponse &&value)
void SetFailureCode(const SimulationJobErrorCode &value)
DescribeSimulationJobResult & AddDataSources(DataSource &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetSimulationApplications(Aws::Vector< SimulationApplicationConfig > &&value)
void SetRobotApplications(Aws::Vector< RobotApplicationConfig > &&value)
const Aws::Vector< SimulationApplicationConfig > & GetSimulationApplications() const
DescribeSimulationJobResult & WithFailureBehavior(const FailureBehavior &value)
DescribeSimulationJobResult & AddRobotApplications(RobotApplicationConfig &&value)
DescribeSimulationJobResult & WithIamRole(const char *value)
DescribeSimulationJobResult & WithIamRole(Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
DescribeSimulationJobResult & WithRequestId(Aws::String &&value)
DescribeSimulationJobResult & AddTags(Aws::String &&key, const Aws::String &value)
DescribeSimulationJobResult & AddTags(const Aws::String &key, const Aws::String &value)
void SetSimulationApplications(const Aws::Vector< SimulationApplicationConfig > &value)
DescribeSimulationJobResult & WithLoggingConfig(LoggingConfig &&value)
DescribeSimulationJobResult & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
DescribeSimulationJobResult & WithFailureReason(const char *value)
DescribeSimulationJobResult & WithRequestId(const Aws::String &value)
DescribeSimulationJobResult & AddSimulationApplications(SimulationApplicationConfig &&value)
DescribeSimulationJobResult & WithFailureReason(const Aws::String &value)
DescribeSimulationJobResult & WithStatus(const SimulationJobStatus &value)
DescribeSimulationJobResult & WithArn(const Aws::String &value)
DescribeSimulationJobResult & WithCompute(const ComputeResponse &value)
DescribeSimulationJobResult & WithClientRequestToken(const char *value)
void SetDataSources(const Aws::Vector< DataSource > &value)
DescribeSimulationJobResult & WithLastStartedAt(const Aws::Utils::DateTime &value)
DescribeSimulationJobResult & WithStatus(SimulationJobStatus &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
DescribeSimulationJobResult & WithSimulationTimeMillis(long long value)
DescribeSimulationJobResult & WithArn(Aws::String &&value)
DescribeSimulationJobResult & WithClientRequestToken(const Aws::String &value)
DescribeSimulationJobResult & WithRequestId(const char *value)
DescribeSimulationJobResult & WithRobotApplications(Aws::Vector< RobotApplicationConfig > &&value)
DescribeSimulationJobResult & AddTags(Aws::String &&key, const char *value)
DescribeSimulationJobResult & AddTags(const char *key, Aws::String &&value)
DescribeSimulationJobResult & AddTags(const char *key, const char *value)
DescribeSimulationJobResult & WithFailureCode(SimulationJobErrorCode &&value)
DescribeSimulationJobResult & AddRobotApplications(const RobotApplicationConfig &value)
DescribeSimulationJobResult & WithMaxJobDurationInSeconds(long long value)
DescribeSimulationJobResult & WithOutputLocation(OutputLocation &&value)
DescribeSimulationJobResult & WithRobotApplications(const Aws::Vector< RobotApplicationConfig > &value)
DescribeSimulationJobResult & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
DescribeSimulationJobResult & WithIamRole(const Aws::String &value)
DescribeSimulationJobResult & WithOutputLocation(const OutputLocation &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