AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
47
48
50
53 inline const Aws::String& GetArn() const { return m_arn; }
54 template<typename ArnT = Aws::String>
55 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
56 template<typename ArnT = Aws::String>
57 DescribeSimulationJobResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
59
61
64 inline const Aws::String& GetName() const { return m_name; }
65 template<typename NameT = Aws::String>
66 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
67 template<typename NameT = Aws::String>
68 DescribeSimulationJobResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
70
72
75 inline SimulationJobStatus GetStatus() const { return m_status; }
76 inline void SetStatus(SimulationJobStatus value) { m_statusHasBeenSet = true; m_status = value; }
79
81
85 inline const Aws::Utils::DateTime& GetLastStartedAt() const { return m_lastStartedAt; }
86 template<typename LastStartedAtT = Aws::Utils::DateTime>
87 void SetLastStartedAt(LastStartedAtT&& value) { m_lastStartedAtHasBeenSet = true; m_lastStartedAt = std::forward<LastStartedAtT>(value); }
88 template<typename LastStartedAtT = Aws::Utils::DateTime>
89 DescribeSimulationJobResult& WithLastStartedAt(LastStartedAtT&& value) { SetLastStartedAt(std::forward<LastStartedAtT>(value)); return *this;}
91
93
97 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
98 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
99 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
100 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
101 DescribeSimulationJobResult& WithLastUpdatedAt(LastUpdatedAtT&& value) { SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value)); return *this;}
103
105
108 inline FailureBehavior GetFailureBehavior() const { return m_failureBehavior; }
109 inline void SetFailureBehavior(FailureBehavior value) { m_failureBehaviorHasBeenSet = true; m_failureBehavior = value; }
112
114
139 inline SimulationJobErrorCode GetFailureCode() const { return m_failureCode; }
140 inline void SetFailureCode(SimulationJobErrorCode value) { m_failureCodeHasBeenSet = true; m_failureCode = value; }
143
145
150 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
151 template<typename FailureReasonT = Aws::String>
152 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::forward<FailureReasonT>(value); }
153 template<typename FailureReasonT = Aws::String>
154 DescribeSimulationJobResult& WithFailureReason(FailureReasonT&& value) { SetFailureReason(std::forward<FailureReasonT>(value)); return *this;}
156
158
162 inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; }
163 template<typename ClientRequestTokenT = Aws::String>
164 void SetClientRequestToken(ClientRequestTokenT&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::forward<ClientRequestTokenT>(value); }
165 template<typename ClientRequestTokenT = Aws::String>
166 DescribeSimulationJobResult& WithClientRequestToken(ClientRequestTokenT&& value) { SetClientRequestToken(std::forward<ClientRequestTokenT>(value)); return *this;}
168
170
173 inline const OutputLocation& GetOutputLocation() const { return m_outputLocation; }
174 template<typename OutputLocationT = OutputLocation>
175 void SetOutputLocation(OutputLocationT&& value) { m_outputLocationHasBeenSet = true; m_outputLocation = std::forward<OutputLocationT>(value); }
176 template<typename OutputLocationT = OutputLocation>
177 DescribeSimulationJobResult& WithOutputLocation(OutputLocationT&& value) { SetOutputLocation(std::forward<OutputLocationT>(value)); return *this;}
179
181
184 inline const LoggingConfig& GetLoggingConfig() const { return m_loggingConfig; }
185 template<typename LoggingConfigT = LoggingConfig>
186 void SetLoggingConfig(LoggingConfigT&& value) { m_loggingConfigHasBeenSet = true; m_loggingConfig = std::forward<LoggingConfigT>(value); }
187 template<typename LoggingConfigT = LoggingConfig>
188 DescribeSimulationJobResult& WithLoggingConfig(LoggingConfigT&& value) { SetLoggingConfig(std::forward<LoggingConfigT>(value)); return *this;}
190
192
196 inline long long GetMaxJobDurationInSeconds() const { return m_maxJobDurationInSeconds; }
197 inline void SetMaxJobDurationInSeconds(long long value) { m_maxJobDurationInSecondsHasBeenSet = true; m_maxJobDurationInSeconds = value; }
200
202
205 inline long long GetSimulationTimeMillis() const { return m_simulationTimeMillis; }
206 inline void SetSimulationTimeMillis(long long value) { m_simulationTimeMillisHasBeenSet = true; m_simulationTimeMillis = value; }
207 inline DescribeSimulationJobResult& WithSimulationTimeMillis(long long value) { SetSimulationTimeMillis(value); return *this;}
209
211
215 inline const Aws::String& GetIamRole() const { return m_iamRole; }
216 template<typename IamRoleT = Aws::String>
217 void SetIamRole(IamRoleT&& value) { m_iamRoleHasBeenSet = true; m_iamRole = std::forward<IamRoleT>(value); }
218 template<typename IamRoleT = Aws::String>
219 DescribeSimulationJobResult& WithIamRole(IamRoleT&& value) { SetIamRole(std::forward<IamRoleT>(value)); return *this;}
221
223
226 inline const Aws::Vector<RobotApplicationConfig>& GetRobotApplications() const { return m_robotApplications; }
227 template<typename RobotApplicationsT = Aws::Vector<RobotApplicationConfig>>
228 void SetRobotApplications(RobotApplicationsT&& value) { m_robotApplicationsHasBeenSet = true; m_robotApplications = std::forward<RobotApplicationsT>(value); }
229 template<typename RobotApplicationsT = Aws::Vector<RobotApplicationConfig>>
230 DescribeSimulationJobResult& WithRobotApplications(RobotApplicationsT&& value) { SetRobotApplications(std::forward<RobotApplicationsT>(value)); return *this;}
231 template<typename RobotApplicationsT = RobotApplicationConfig>
232 DescribeSimulationJobResult& AddRobotApplications(RobotApplicationsT&& value) { m_robotApplicationsHasBeenSet = true; m_robotApplications.emplace_back(std::forward<RobotApplicationsT>(value)); return *this; }
234
236
239 inline const Aws::Vector<SimulationApplicationConfig>& GetSimulationApplications() const { return m_simulationApplications; }
240 template<typename SimulationApplicationsT = Aws::Vector<SimulationApplicationConfig>>
241 void SetSimulationApplications(SimulationApplicationsT&& value) { m_simulationApplicationsHasBeenSet = true; m_simulationApplications = std::forward<SimulationApplicationsT>(value); }
242 template<typename SimulationApplicationsT = Aws::Vector<SimulationApplicationConfig>>
243 DescribeSimulationJobResult& WithSimulationApplications(SimulationApplicationsT&& value) { SetSimulationApplications(std::forward<SimulationApplicationsT>(value)); return *this;}
244 template<typename SimulationApplicationsT = SimulationApplicationConfig>
245 DescribeSimulationJobResult& AddSimulationApplications(SimulationApplicationsT&& value) { m_simulationApplicationsHasBeenSet = true; m_simulationApplications.emplace_back(std::forward<SimulationApplicationsT>(value)); return *this; }
247
249
252 inline const Aws::Vector<DataSource>& GetDataSources() const { return m_dataSources; }
253 template<typename DataSourcesT = Aws::Vector<DataSource>>
254 void SetDataSources(DataSourcesT&& value) { m_dataSourcesHasBeenSet = true; m_dataSources = std::forward<DataSourcesT>(value); }
255 template<typename DataSourcesT = Aws::Vector<DataSource>>
256 DescribeSimulationJobResult& WithDataSources(DataSourcesT&& value) { SetDataSources(std::forward<DataSourcesT>(value)); return *this;}
257 template<typename DataSourcesT = DataSource>
258 DescribeSimulationJobResult& AddDataSources(DataSourcesT&& value) { m_dataSourcesHasBeenSet = true; m_dataSources.emplace_back(std::forward<DataSourcesT>(value)); return *this; }
260
262
265 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
266 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
267 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
268 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
269 DescribeSimulationJobResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
270 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
271 DescribeSimulationJobResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
272 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
273 }
275
277
280 inline const VPCConfigResponse& GetVpcConfig() const { return m_vpcConfig; }
281 template<typename VpcConfigT = VPCConfigResponse>
282 void SetVpcConfig(VpcConfigT&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::forward<VpcConfigT>(value); }
283 template<typename VpcConfigT = VPCConfigResponse>
284 DescribeSimulationJobResult& WithVpcConfig(VpcConfigT&& value) { SetVpcConfig(std::forward<VpcConfigT>(value)); return *this;}
286
288
291 inline const NetworkInterface& GetNetworkInterface() const { return m_networkInterface; }
292 template<typename NetworkInterfaceT = NetworkInterface>
293 void SetNetworkInterface(NetworkInterfaceT&& value) { m_networkInterfaceHasBeenSet = true; m_networkInterface = std::forward<NetworkInterfaceT>(value); }
294 template<typename NetworkInterfaceT = NetworkInterface>
295 DescribeSimulationJobResult& WithNetworkInterface(NetworkInterfaceT&& value) { SetNetworkInterface(std::forward<NetworkInterfaceT>(value)); return *this;}
297
299
302 inline const ComputeResponse& GetCompute() const { return m_compute; }
303 template<typename ComputeT = ComputeResponse>
304 void SetCompute(ComputeT&& value) { m_computeHasBeenSet = true; m_compute = std::forward<ComputeT>(value); }
305 template<typename ComputeT = ComputeResponse>
306 DescribeSimulationJobResult& WithCompute(ComputeT&& value) { SetCompute(std::forward<ComputeT>(value)); return *this;}
308
310
311 inline const Aws::String& GetRequestId() const { return m_requestId; }
312 template<typename RequestIdT = Aws::String>
313 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
314 template<typename RequestIdT = Aws::String>
315 DescribeSimulationJobResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
317 private:
318
319 Aws::String m_arn;
320 bool m_arnHasBeenSet = false;
321
322 Aws::String m_name;
323 bool m_nameHasBeenSet = false;
324
326 bool m_statusHasBeenSet = false;
327
328 Aws::Utils::DateTime m_lastStartedAt{};
329 bool m_lastStartedAtHasBeenSet = false;
330
331 Aws::Utils::DateTime m_lastUpdatedAt{};
332 bool m_lastUpdatedAtHasBeenSet = false;
333
334 FailureBehavior m_failureBehavior{FailureBehavior::NOT_SET};
335 bool m_failureBehaviorHasBeenSet = false;
336
338 bool m_failureCodeHasBeenSet = false;
339
340 Aws::String m_failureReason;
341 bool m_failureReasonHasBeenSet = false;
342
343 Aws::String m_clientRequestToken;
344 bool m_clientRequestTokenHasBeenSet = false;
345
346 OutputLocation m_outputLocation;
347 bool m_outputLocationHasBeenSet = false;
348
349 LoggingConfig m_loggingConfig;
350 bool m_loggingConfigHasBeenSet = false;
351
352 long long m_maxJobDurationInSeconds{0};
353 bool m_maxJobDurationInSecondsHasBeenSet = false;
354
355 long long m_simulationTimeMillis{0};
356 bool m_simulationTimeMillisHasBeenSet = false;
357
358 Aws::String m_iamRole;
359 bool m_iamRoleHasBeenSet = false;
360
361 Aws::Vector<RobotApplicationConfig> m_robotApplications;
362 bool m_robotApplicationsHasBeenSet = false;
363
364 Aws::Vector<SimulationApplicationConfig> m_simulationApplications;
365 bool m_simulationApplicationsHasBeenSet = false;
366
367 Aws::Vector<DataSource> m_dataSources;
368 bool m_dataSourcesHasBeenSet = false;
369
371 bool m_tagsHasBeenSet = false;
372
373 VPCConfigResponse m_vpcConfig;
374 bool m_vpcConfigHasBeenSet = false;
375
376 NetworkInterface m_networkInterface;
377 bool m_networkInterfaceHasBeenSet = false;
378
379 ComputeResponse m_compute;
380 bool m_computeHasBeenSet = false;
381
382 Aws::String m_requestId;
383 bool m_requestIdHasBeenSet = false;
384 };
385
386} // namespace Model
387} // namespace RoboMaker
388} // namespace Aws
AWS_ROBOMAKER_API DescribeSimulationJobResult()=default
AWS_ROBOMAKER_API DescribeSimulationJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< RobotApplicationConfig > & GetRobotApplications() const
DescribeSimulationJobResult & WithOutputLocation(OutputLocationT &&value)
DescribeSimulationJobResult & WithTags(TagsT &&value)
DescribeSimulationJobResult & WithCompute(ComputeT &&value)
DescribeSimulationJobResult & AddSimulationApplications(SimulationApplicationsT &&value)
DescribeSimulationJobResult & WithFailureCode(SimulationJobErrorCode value)
DescribeSimulationJobResult & WithVpcConfig(VpcConfigT &&value)
DescribeSimulationJobResult & WithSimulationApplications(SimulationApplicationsT &&value)
AWS_ROBOMAKER_API DescribeSimulationJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeSimulationJobResult & WithRequestId(RequestIdT &&value)
DescribeSimulationJobResult & WithFailureReason(FailureReasonT &&value)
DescribeSimulationJobResult & WithStatus(SimulationJobStatus value)
const Aws::Vector< DataSource > & GetDataSources() const
DescribeSimulationJobResult & WithFailureBehavior(FailureBehavior value)
DescribeSimulationJobResult & WithArn(ArnT &&value)
DescribeSimulationJobResult & WithClientRequestToken(ClientRequestTokenT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
DescribeSimulationJobResult & AddDataSources(DataSourcesT &&value)
const Aws::Vector< SimulationApplicationConfig > & GetSimulationApplications() const
DescribeSimulationJobResult & AddRobotApplications(RobotApplicationsT &&value)
DescribeSimulationJobResult & WithLastUpdatedAt(LastUpdatedAtT &&value)
DescribeSimulationJobResult & WithRobotApplications(RobotApplicationsT &&value)
DescribeSimulationJobResult & WithDataSources(DataSourcesT &&value)
DescribeSimulationJobResult & WithLastStartedAt(LastStartedAtT &&value)
DescribeSimulationJobResult & WithIamRole(IamRoleT &&value)
DescribeSimulationJobResult & WithName(NameT &&value)
void SetSimulationApplications(SimulationApplicationsT &&value)
DescribeSimulationJobResult & WithSimulationTimeMillis(long long value)
DescribeSimulationJobResult & WithNetworkInterface(NetworkInterfaceT &&value)
DescribeSimulationJobResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
DescribeSimulationJobResult & WithLoggingConfig(LoggingConfigT &&value)
DescribeSimulationJobResult & WithMaxJobDurationInSeconds(long long 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