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>
60 template<
typename ArnT = Aws::String>
61 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
62 template<
typename ArnT = Aws::String>
72 template<
typename NameT = Aws::String>
73 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
74 template<
typename NameT = Aws::String>
95 template<
typename LastStartedAtT = Aws::Utils::DateTime>
96 void SetLastStartedAt(LastStartedAtT&& value) { m_lastStartedAtHasBeenSet =
true; m_lastStartedAt = std::forward<LastStartedAtT>(value); }
97 template<
typename LastStartedAtT = Aws::Utils::DateTime>
108 template<
typename LastUpdatedAtT = Aws::Utils::DateTime>
109 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet =
true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
110 template<
typename LastUpdatedAtT = Aws::Utils::DateTime>
143 template<
typename FailureReasonT = Aws::String>
144 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet =
true; m_failureReason = std::forward<FailureReasonT>(value); }
145 template<
typename FailureReasonT = Aws::String>
155 template<
typename ClientRequestTokenT = Aws::String>
156 void SetClientRequestToken(ClientRequestTokenT&& value) { m_clientRequestTokenHasBeenSet =
true; m_clientRequestToken = std::forward<ClientRequestTokenT>(value); }
157 template<
typename ClientRequestTokenT = Aws::String>
167 template<
typename OutputLocationT = OutputLocation>
168 void SetOutputLocation(OutputLocationT&& value) { m_outputLocationHasBeenSet =
true; m_outputLocation = std::forward<OutputLocationT>(value); }
169 template<
typename OutputLocationT = OutputLocation>
179 template<
typename LoggingConfigT = LoggingConfig>
180 void SetLoggingConfig(LoggingConfigT&& value) { m_loggingConfigHasBeenSet =
true; m_loggingConfig = std::forward<LoggingConfigT>(value); }
181 template<
typename LoggingConfigT = LoggingConfig>
202 inline void SetSimulationTimeMillis(
long long value) { m_simulationTimeMillisHasBeenSet =
true; m_simulationTimeMillis = value; }
214 template<
typename IamRoleT = Aws::String>
215 void SetIamRole(IamRoleT&& value) { m_iamRoleHasBeenSet =
true; m_iamRole = std::forward<IamRoleT>(value); }
216 template<
typename IamRoleT = Aws::String>
226 template<
typename RobotApplicationsT = Aws::Vector<RobotApplicationConfig>>
227 void SetRobotApplications(RobotApplicationsT&& value) { m_robotApplicationsHasBeenSet =
true; m_robotApplications = std::forward<RobotApplicationsT>(value); }
228 template<
typename RobotApplicationsT = Aws::Vector<RobotApplicationConfig>>
230 template<
typename RobotApplicationsT = RobotApplicationConfig>
231 SimulationJob&
AddRobotApplications(RobotApplicationsT&& value) { m_robotApplicationsHasBeenSet =
true; m_robotApplications.emplace_back(std::forward<RobotApplicationsT>(value));
return *
this; }
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>>
244 template<
typename SimulationApplicationsT = SimulationApplicationConfig>
245 SimulationJob&
AddSimulationApplications(SimulationApplicationsT&& value) { m_simulationApplicationsHasBeenSet =
true; m_simulationApplications.emplace_back(std::forward<SimulationApplicationsT>(value));
return *
this; }
254 template<
typename DataSourcesT = Aws::Vector<DataSource>>
255 void SetDataSources(DataSourcesT&& value) { m_dataSourcesHasBeenSet =
true; m_dataSources = std::forward<DataSourcesT>(value); }
256 template<
typename DataSourcesT = Aws::Vector<DataSource>>
258 template<
typename DataSourcesT = DataSource>
259 SimulationJob&
AddDataSources(DataSourcesT&& value) { m_dataSourcesHasBeenSet =
true; m_dataSources.emplace_back(std::forward<DataSourcesT>(value));
return *
this; }
269 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
270 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
271 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
273 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
275 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
285 template<
typename VpcConfigT = VPCConfigResponse>
286 void SetVpcConfig(VpcConfigT&& value) { m_vpcConfigHasBeenSet =
true; m_vpcConfig = std::forward<VpcConfigT>(value); }
287 template<
typename VpcConfigT = VPCConfigResponse>
297 template<
typename NetworkInterfaceT = NetworkInterface>
298 void SetNetworkInterface(NetworkInterfaceT&& value) { m_networkInterfaceHasBeenSet =
true; m_networkInterface = std::forward<NetworkInterfaceT>(value); }
299 template<
typename NetworkInterfaceT = NetworkInterface>
309 template<
typename ComputeT = ComputeResponse>
310 void SetCompute(ComputeT&& value) { m_computeHasBeenSet =
true; m_compute = std::forward<ComputeT>(value); }
311 template<
typename ComputeT = ComputeResponse>
317 bool m_arnHasBeenSet =
false;
320 bool m_nameHasBeenSet =
false;
323 bool m_statusHasBeenSet =
false;
326 bool m_lastStartedAtHasBeenSet =
false;
329 bool m_lastUpdatedAtHasBeenSet =
false;
332 bool m_failureBehaviorHasBeenSet =
false;
335 bool m_failureCodeHasBeenSet =
false;
338 bool m_failureReasonHasBeenSet =
false;
341 bool m_clientRequestTokenHasBeenSet =
false;
343 OutputLocation m_outputLocation;
344 bool m_outputLocationHasBeenSet =
false;
346 LoggingConfig m_loggingConfig;
347 bool m_loggingConfigHasBeenSet =
false;
349 long long m_maxJobDurationInSeconds{0};
350 bool m_maxJobDurationInSecondsHasBeenSet =
false;
352 long long m_simulationTimeMillis{0};
353 bool m_simulationTimeMillisHasBeenSet =
false;
356 bool m_iamRoleHasBeenSet =
false;
359 bool m_robotApplicationsHasBeenSet =
false;
362 bool m_simulationApplicationsHasBeenSet =
false;
365 bool m_dataSourcesHasBeenSet =
false;
368 bool m_tagsHasBeenSet =
false;
370 VPCConfigResponse m_vpcConfig;
371 bool m_vpcConfigHasBeenSet =
false;
373 NetworkInterface m_networkInterface;
374 bool m_networkInterfaceHasBeenSet =
false;
376 ComputeResponse m_compute;
377 bool m_computeHasBeenSet =
false;
bool VpcConfigHasBeenSet() const
const NetworkInterface & GetNetworkInterface() const
long long GetSimulationTimeMillis() const
void SetStatus(SimulationJobStatus value)
void SetLastUpdatedAt(LastUpdatedAtT &&value)
bool MaxJobDurationInSecondsHasBeenSet() const
bool SimulationApplicationsHasBeenSet() const
SimulationJob & WithSimulationApplications(SimulationApplicationsT &&value)
bool DataSourcesHasBeenSet() const
AWS_ROBOMAKER_API SimulationJob & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ROBOMAKER_API SimulationJob(Aws::Utils::Json::JsonView jsonValue)
bool ComputeHasBeenSet() const
SimulationJobStatus GetStatus() const
bool FailureCodeHasBeenSet() const
SimulationJob & AddDataSources(DataSourcesT &&value)
SimulationJob & WithMaxJobDurationInSeconds(long long value)
void SetSimulationTimeMillis(long long value)
bool LoggingConfigHasBeenSet() const
void SetFailureCode(SimulationJobErrorCode value)
SimulationJob & WithOutputLocation(OutputLocationT &&value)
bool NameHasBeenSet() const
const Aws::Vector< DataSource > & GetDataSources() const
bool StatusHasBeenSet() const
const Aws::Vector< RobotApplicationConfig > & GetRobotApplications() const
const Aws::String & GetClientRequestToken() const
void SetName(NameT &&value)
SimulationJob & WithDataSources(DataSourcesT &&value)
SimulationJob & WithLastStartedAt(LastStartedAtT &&value)
const Aws::String & GetArn() const
SimulationJob & WithIamRole(IamRoleT &&value)
bool IamRoleHasBeenSet() const
long long GetMaxJobDurationInSeconds() const
void SetArn(ArnT &&value)
const Aws::Utils::DateTime & GetLastStartedAt() const
bool LastUpdatedAtHasBeenSet() const
void SetFailureBehavior(FailureBehavior value)
SimulationJob & WithLastUpdatedAt(LastUpdatedAtT &&value)
bool RobotApplicationsHasBeenSet() const
SimulationJob & WithLoggingConfig(LoggingConfigT &&value)
SimulationJob & WithSimulationTimeMillis(long long value)
void SetOutputLocation(OutputLocationT &&value)
void SetSimulationApplications(SimulationApplicationsT &&value)
void SetCompute(ComputeT &&value)
const OutputLocation & GetOutputLocation() const
void SetLoggingConfig(LoggingConfigT &&value)
bool TagsHasBeenSet() const
const Aws::String & GetFailureReason() const
bool ClientRequestTokenHasBeenSet() const
void SetDataSources(DataSourcesT &&value)
const VPCConfigResponse & GetVpcConfig() const
bool FailureBehaviorHasBeenSet() const
bool FailureReasonHasBeenSet() const
void SetLastStartedAt(LastStartedAtT &&value)
bool NetworkInterfaceHasBeenSet() const
void SetNetworkInterface(NetworkInterfaceT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const ComputeResponse & GetCompute() const
SimulationJob & AddSimulationApplications(SimulationApplicationsT &&value)
SimulationJob & WithCompute(ComputeT &&value)
void SetMaxJobDurationInSeconds(long long value)
void SetClientRequestToken(ClientRequestTokenT &&value)
SimulationJob & WithVpcConfig(VpcConfigT &&value)
void SetRobotApplications(RobotApplicationsT &&value)
bool ArnHasBeenSet() const
SimulationJob & AddTags(TagsKeyT &&key, TagsValueT &&value)
SimulationJob & WithClientRequestToken(ClientRequestTokenT &&value)
void SetVpcConfig(VpcConfigT &&value)
SimulationJob & WithArn(ArnT &&value)
const Aws::Vector< SimulationApplicationConfig > & GetSimulationApplications() const
SimulationJob & WithFailureReason(FailureReasonT &&value)
SimulationJob & WithName(NameT &&value)
AWS_ROBOMAKER_API SimulationJob()=default
const Aws::String & GetName() const
SimulationJobErrorCode GetFailureCode() const
SimulationJob & AddRobotApplications(RobotApplicationsT &&value)
bool LastStartedAtHasBeenSet() const
const Aws::String & GetIamRole() const
FailureBehavior GetFailureBehavior() const
bool OutputLocationHasBeenSet() const
SimulationJob & WithNetworkInterface(NetworkInterfaceT &&value)
AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
SimulationJob & WithTags(TagsT &&value)
void SetFailureReason(FailureReasonT &&value)
void SetTags(TagsT &&value)
void SetIamRole(IamRoleT &&value)
const LoggingConfig & GetLoggingConfig() const
SimulationJob & WithRobotApplications(RobotApplicationsT &&value)
SimulationJob & WithStatus(SimulationJobStatus value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
SimulationJob & WithFailureBehavior(FailureBehavior value)
bool SimulationTimeMillisHasBeenSet() const
SimulationJob & WithFailureCode(SimulationJobErrorCode 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