/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about a simulation job.See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the simulation job.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The Amazon Resource Name (ARN) of the simulation job.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the simulation job.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The Amazon Resource Name (ARN) of the simulation job.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The Amazon Resource Name (ARN) of the simulation job.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The Amazon Resource Name (ARN) of the simulation job.
*/ inline SimulationJob& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the simulation job.
*/ inline SimulationJob& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the simulation job.
*/ inline SimulationJob& WithArn(const char* value) { SetArn(value); return *this;} /** *The name of the simulation job.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the simulation job.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the simulation job.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the simulation job.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the simulation job.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the simulation job.
*/ inline SimulationJob& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the simulation job.
*/ inline SimulationJob& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the simulation job.
*/ inline SimulationJob& WithName(const char* value) { SetName(value); return *this;} /** *Status of the simulation job.
*/ inline const SimulationJobStatus& GetStatus() const{ return m_status; } /** *Status of the simulation job.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *Status of the simulation job.
*/ inline void SetStatus(const SimulationJobStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *Status of the simulation job.
*/ inline void SetStatus(SimulationJobStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *Status of the simulation job.
*/ inline SimulationJob& WithStatus(const SimulationJobStatus& value) { SetStatus(value); return *this;} /** *Status of the simulation job.
*/ inline SimulationJob& WithStatus(SimulationJobStatus&& value) { SetStatus(std::move(value)); return *this;} /** *The time, in milliseconds since the epoch, when the simulation job was last * started.
*/ inline const Aws::Utils::DateTime& GetLastStartedAt() const{ return m_lastStartedAt; } /** *The time, in milliseconds since the epoch, when the simulation job was last * started.
*/ inline bool LastStartedAtHasBeenSet() const { return m_lastStartedAtHasBeenSet; } /** *The time, in milliseconds since the epoch, when the simulation job was last * started.
*/ inline void SetLastStartedAt(const Aws::Utils::DateTime& value) { m_lastStartedAtHasBeenSet = true; m_lastStartedAt = value; } /** *The time, in milliseconds since the epoch, when the simulation job was last * started.
*/ inline void SetLastStartedAt(Aws::Utils::DateTime&& value) { m_lastStartedAtHasBeenSet = true; m_lastStartedAt = std::move(value); } /** *The time, in milliseconds since the epoch, when the simulation job was last * started.
*/ inline SimulationJob& WithLastStartedAt(const Aws::Utils::DateTime& value) { SetLastStartedAt(value); return *this;} /** *The time, in milliseconds since the epoch, when the simulation job was last * started.
*/ inline SimulationJob& WithLastStartedAt(Aws::Utils::DateTime&& value) { SetLastStartedAt(std::move(value)); return *this;} /** *The time, in milliseconds since the epoch, when the simulation job was last * updated.
*/ inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; } /** *The time, in milliseconds since the epoch, when the simulation job was last * updated.
*/ inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; } /** *The time, in milliseconds since the epoch, when the simulation job was last * updated.
*/ inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = value; } /** *The time, in milliseconds since the epoch, when the simulation job was last * updated.
*/ inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::move(value); } /** *The time, in milliseconds since the epoch, when the simulation job was last * updated.
*/ inline SimulationJob& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;} /** *The time, in milliseconds since the epoch, when the simulation job was last * updated.
*/ inline SimulationJob& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;} /** *The failure behavior the simulation job.
Restart the simulation job in the same host instance.
Stop the simulation job and terminate the instance.
The failure behavior the simulation job.
Restart the simulation job in the same host instance.
Stop the simulation job and terminate the instance.
The failure behavior the simulation job.
Restart the simulation job in the same host instance.
Stop the simulation job and terminate the instance.
The failure behavior the simulation job.
Restart the simulation job in the same host instance.
Stop the simulation job and terminate the instance.
The failure behavior the simulation job.
Restart the simulation job in the same host instance.
Stop the simulation job and terminate the instance.
The failure behavior the simulation job.
Restart the simulation job in the same host instance.
Stop the simulation job and terminate the instance.
The failure code of the simulation job if it failed.
*/ inline const SimulationJobErrorCode& GetFailureCode() const{ return m_failureCode; } /** *The failure code of the simulation job if it failed.
*/ inline bool FailureCodeHasBeenSet() const { return m_failureCodeHasBeenSet; } /** *The failure code of the simulation job if it failed.
*/ inline void SetFailureCode(const SimulationJobErrorCode& value) { m_failureCodeHasBeenSet = true; m_failureCode = value; } /** *The failure code of the simulation job if it failed.
*/ inline void SetFailureCode(SimulationJobErrorCode&& value) { m_failureCodeHasBeenSet = true; m_failureCode = std::move(value); } /** *The failure code of the simulation job if it failed.
*/ inline SimulationJob& WithFailureCode(const SimulationJobErrorCode& value) { SetFailureCode(value); return *this;} /** *The failure code of the simulation job if it failed.
*/ inline SimulationJob& WithFailureCode(SimulationJobErrorCode&& value) { SetFailureCode(std::move(value)); return *this;} /** *The reason why the simulation job failed.
*/ inline const Aws::String& GetFailureReason() const{ return m_failureReason; } /** *The reason why the simulation job failed.
*/ inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; } /** *The reason why the simulation job failed.
*/ inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; } /** *The reason why the simulation job failed.
*/ inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); } /** *The reason why the simulation job failed.
*/ inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); } /** *The reason why the simulation job failed.
*/ inline SimulationJob& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;} /** *The reason why the simulation job failed.
*/ inline SimulationJob& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;} /** *The reason why the simulation job failed.
*/ inline SimulationJob& WithFailureReason(const char* value) { SetFailureReason(value); return *this;} /** *A unique identifier for this SimulationJob request.
A unique identifier for this SimulationJob request.
A unique identifier for this SimulationJob request.
A unique identifier for this SimulationJob request.
A unique identifier for this SimulationJob request.
A unique identifier for this SimulationJob request.
A unique identifier for this SimulationJob request.
A unique identifier for this SimulationJob request.
Location for output files generated by the simulation job.
*/ inline const OutputLocation& GetOutputLocation() const{ return m_outputLocation; } /** *Location for output files generated by the simulation job.
*/ inline bool OutputLocationHasBeenSet() const { return m_outputLocationHasBeenSet; } /** *Location for output files generated by the simulation job.
*/ inline void SetOutputLocation(const OutputLocation& value) { m_outputLocationHasBeenSet = true; m_outputLocation = value; } /** *Location for output files generated by the simulation job.
*/ inline void SetOutputLocation(OutputLocation&& value) { m_outputLocationHasBeenSet = true; m_outputLocation = std::move(value); } /** *Location for output files generated by the simulation job.
*/ inline SimulationJob& WithOutputLocation(const OutputLocation& value) { SetOutputLocation(value); return *this;} /** *Location for output files generated by the simulation job.
*/ inline SimulationJob& WithOutputLocation(OutputLocation&& value) { SetOutputLocation(std::move(value)); return *this;} /** *The logging configuration.
*/ inline const LoggingConfig& GetLoggingConfig() const{ return m_loggingConfig; } /** *The logging configuration.
*/ inline bool LoggingConfigHasBeenSet() const { return m_loggingConfigHasBeenSet; } /** *The logging configuration.
*/ inline void SetLoggingConfig(const LoggingConfig& value) { m_loggingConfigHasBeenSet = true; m_loggingConfig = value; } /** *The logging configuration.
*/ inline void SetLoggingConfig(LoggingConfig&& value) { m_loggingConfigHasBeenSet = true; m_loggingConfig = std::move(value); } /** *The logging configuration.
*/ inline SimulationJob& WithLoggingConfig(const LoggingConfig& value) { SetLoggingConfig(value); return *this;} /** *The logging configuration.
*/ inline SimulationJob& WithLoggingConfig(LoggingConfig&& value) { SetLoggingConfig(std::move(value)); return *this;} /** *The maximum simulation job duration in seconds. The value must be 8 days * (691,200 seconds) or less.
*/ inline long long GetMaxJobDurationInSeconds() const{ return m_maxJobDurationInSeconds; } /** *The maximum simulation job duration in seconds. The value must be 8 days * (691,200 seconds) or less.
*/ inline bool MaxJobDurationInSecondsHasBeenSet() const { return m_maxJobDurationInSecondsHasBeenSet; } /** *The maximum simulation job duration in seconds. The value must be 8 days * (691,200 seconds) or less.
*/ inline void SetMaxJobDurationInSeconds(long long value) { m_maxJobDurationInSecondsHasBeenSet = true; m_maxJobDurationInSeconds = value; } /** *The maximum simulation job duration in seconds. The value must be 8 days * (691,200 seconds) or less.
*/ inline SimulationJob& WithMaxJobDurationInSeconds(long long value) { SetMaxJobDurationInSeconds(value); return *this;} /** *The simulation job execution duration in milliseconds.
*/ inline long long GetSimulationTimeMillis() const{ return m_simulationTimeMillis; } /** *The simulation job execution duration in milliseconds.
*/ inline bool SimulationTimeMillisHasBeenSet() const { return m_simulationTimeMillisHasBeenSet; } /** *The simulation job execution duration in milliseconds.
*/ inline void SetSimulationTimeMillis(long long value) { m_simulationTimeMillisHasBeenSet = true; m_simulationTimeMillis = value; } /** *The simulation job execution duration in milliseconds.
*/ inline SimulationJob& WithSimulationTimeMillis(long long value) { SetSimulationTimeMillis(value); return *this;} /** *The IAM role that allows the simulation instance to call the AWS APIs that * are specified in its associated policies on your behalf. This is how credentials * are passed in to your simulation job.
*/ inline const Aws::String& GetIamRole() const{ return m_iamRole; } /** *The IAM role that allows the simulation instance to call the AWS APIs that * are specified in its associated policies on your behalf. This is how credentials * are passed in to your simulation job.
*/ inline bool IamRoleHasBeenSet() const { return m_iamRoleHasBeenSet; } /** *The IAM role that allows the simulation instance to call the AWS APIs that * are specified in its associated policies on your behalf. This is how credentials * are passed in to your simulation job.
*/ inline void SetIamRole(const Aws::String& value) { m_iamRoleHasBeenSet = true; m_iamRole = value; } /** *The IAM role that allows the simulation instance to call the AWS APIs that * are specified in its associated policies on your behalf. This is how credentials * are passed in to your simulation job.
*/ inline void SetIamRole(Aws::String&& value) { m_iamRoleHasBeenSet = true; m_iamRole = std::move(value); } /** *The IAM role that allows the simulation instance to call the AWS APIs that * are specified in its associated policies on your behalf. This is how credentials * are passed in to your simulation job.
*/ inline void SetIamRole(const char* value) { m_iamRoleHasBeenSet = true; m_iamRole.assign(value); } /** *The IAM role that allows the simulation instance to call the AWS APIs that * are specified in its associated policies on your behalf. This is how credentials * are passed in to your simulation job.
*/ inline SimulationJob& WithIamRole(const Aws::String& value) { SetIamRole(value); return *this;} /** *The IAM role that allows the simulation instance to call the AWS APIs that * are specified in its associated policies on your behalf. This is how credentials * are passed in to your simulation job.
*/ inline SimulationJob& WithIamRole(Aws::String&& value) { SetIamRole(std::move(value)); return *this;} /** *The IAM role that allows the simulation instance to call the AWS APIs that * are specified in its associated policies on your behalf. This is how credentials * are passed in to your simulation job.
*/ inline SimulationJob& WithIamRole(const char* value) { SetIamRole(value); return *this;} /** *A list of robot applications.
*/ inline const Aws::VectorA list of robot applications.
*/ inline bool RobotApplicationsHasBeenSet() const { return m_robotApplicationsHasBeenSet; } /** *A list of robot applications.
*/ inline void SetRobotApplications(const Aws::VectorA list of robot applications.
*/ inline void SetRobotApplications(Aws::VectorA list of robot applications.
*/ inline SimulationJob& WithRobotApplications(const Aws::VectorA list of robot applications.
*/ inline SimulationJob& WithRobotApplications(Aws::VectorA list of robot applications.
*/ inline SimulationJob& AddRobotApplications(const RobotApplicationConfig& value) { m_robotApplicationsHasBeenSet = true; m_robotApplications.push_back(value); return *this; } /** *A list of robot applications.
*/ inline SimulationJob& AddRobotApplications(RobotApplicationConfig&& value) { m_robotApplicationsHasBeenSet = true; m_robotApplications.push_back(std::move(value)); return *this; } /** *A list of simulation applications.
*/ inline const Aws::VectorA list of simulation applications.
*/ inline bool SimulationApplicationsHasBeenSet() const { return m_simulationApplicationsHasBeenSet; } /** *A list of simulation applications.
*/ inline void SetSimulationApplications(const Aws::VectorA list of simulation applications.
*/ inline void SetSimulationApplications(Aws::VectorA list of simulation applications.
*/ inline SimulationJob& WithSimulationApplications(const Aws::VectorA list of simulation applications.
*/ inline SimulationJob& WithSimulationApplications(Aws::VectorA list of simulation applications.
*/ inline SimulationJob& AddSimulationApplications(const SimulationApplicationConfig& value) { m_simulationApplicationsHasBeenSet = true; m_simulationApplications.push_back(value); return *this; } /** *A list of simulation applications.
*/ inline SimulationJob& AddSimulationApplications(SimulationApplicationConfig&& value) { m_simulationApplicationsHasBeenSet = true; m_simulationApplications.push_back(std::move(value)); return *this; } /** *The data sources for the simulation job.
*/ inline const Aws::VectorThe data sources for the simulation job.
*/ inline bool DataSourcesHasBeenSet() const { return m_dataSourcesHasBeenSet; } /** *The data sources for the simulation job.
*/ inline void SetDataSources(const Aws::VectorThe data sources for the simulation job.
*/ inline void SetDataSources(Aws::VectorThe data sources for the simulation job.
*/ inline SimulationJob& WithDataSources(const Aws::VectorThe data sources for the simulation job.
*/ inline SimulationJob& WithDataSources(Aws::VectorThe data sources for the simulation job.
*/ inline SimulationJob& AddDataSources(const DataSource& value) { m_dataSourcesHasBeenSet = true; m_dataSources.push_back(value); return *this; } /** *The data sources for the simulation job.
*/ inline SimulationJob& AddDataSources(DataSource&& value) { m_dataSourcesHasBeenSet = true; m_dataSources.push_back(std::move(value)); return *this; } /** *A map that contains tag keys and tag values that are attached to the * simulation job.
*/ inline const Aws::MapA map that contains tag keys and tag values that are attached to the * simulation job.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *A map that contains tag keys and tag values that are attached to the * simulation job.
*/ inline void SetTags(const Aws::MapA map that contains tag keys and tag values that are attached to the * simulation job.
*/ inline void SetTags(Aws::MapA map that contains tag keys and tag values that are attached to the * simulation job.
*/ inline SimulationJob& WithTags(const Aws::MapA map that contains tag keys and tag values that are attached to the * simulation job.
*/ inline SimulationJob& WithTags(Aws::MapA map that contains tag keys and tag values that are attached to the * simulation job.
*/ inline SimulationJob& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *A map that contains tag keys and tag values that are attached to the * simulation job.
*/ inline SimulationJob& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *A map that contains tag keys and tag values that are attached to the * simulation job.
*/ inline SimulationJob& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *A map that contains tag keys and tag values that are attached to the * simulation job.
*/ inline SimulationJob& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *A map that contains tag keys and tag values that are attached to the * simulation job.
*/ inline SimulationJob& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *A map that contains tag keys and tag values that are attached to the * simulation job.
*/ inline SimulationJob& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *A map that contains tag keys and tag values that are attached to the * simulation job.
*/ inline SimulationJob& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *VPC configuration information.
*/ inline const VPCConfigResponse& GetVpcConfig() const{ return m_vpcConfig; } /** *VPC configuration information.
*/ inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; } /** *VPC configuration information.
*/ inline void SetVpcConfig(const VPCConfigResponse& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = value; } /** *VPC configuration information.
*/ inline void SetVpcConfig(VPCConfigResponse&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::move(value); } /** *VPC configuration information.
*/ inline SimulationJob& WithVpcConfig(const VPCConfigResponse& value) { SetVpcConfig(value); return *this;} /** *VPC configuration information.
*/ inline SimulationJob& WithVpcConfig(VPCConfigResponse&& value) { SetVpcConfig(std::move(value)); return *this;} /** *Information about a network interface.
*/ inline const NetworkInterface& GetNetworkInterface() const{ return m_networkInterface; } /** *Information about a network interface.
*/ inline bool NetworkInterfaceHasBeenSet() const { return m_networkInterfaceHasBeenSet; } /** *Information about a network interface.
*/ inline void SetNetworkInterface(const NetworkInterface& value) { m_networkInterfaceHasBeenSet = true; m_networkInterface = value; } /** *Information about a network interface.
*/ inline void SetNetworkInterface(NetworkInterface&& value) { m_networkInterfaceHasBeenSet = true; m_networkInterface = std::move(value); } /** *Information about a network interface.
*/ inline SimulationJob& WithNetworkInterface(const NetworkInterface& value) { SetNetworkInterface(value); return *this;} /** *Information about a network interface.
*/ inline SimulationJob& WithNetworkInterface(NetworkInterface&& value) { SetNetworkInterface(std::move(value)); return *this;} /** *Compute information for the simulation job
*/ inline const ComputeResponse& GetCompute() const{ return m_compute; } /** *Compute information for the simulation job
*/ inline bool ComputeHasBeenSet() const { return m_computeHasBeenSet; } /** *Compute information for the simulation job
*/ inline void SetCompute(const ComputeResponse& value) { m_computeHasBeenSet = true; m_compute = value; } /** *Compute information for the simulation job
*/ inline void SetCompute(ComputeResponse&& value) { m_computeHasBeenSet = true; m_compute = std::move(value); } /** *Compute information for the simulation job
*/ inline SimulationJob& WithCompute(const ComputeResponse& value) { SetCompute(value); return *this;} /** *Compute information for the simulation job
*/ inline SimulationJob& WithCompute(ComputeResponse&& value) { SetCompute(std::move(value)); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet; Aws::String m_name; bool m_nameHasBeenSet; SimulationJobStatus m_status; bool m_statusHasBeenSet; Aws::Utils::DateTime m_lastStartedAt; bool m_lastStartedAtHasBeenSet; Aws::Utils::DateTime m_lastUpdatedAt; bool m_lastUpdatedAtHasBeenSet; FailureBehavior m_failureBehavior; bool m_failureBehaviorHasBeenSet; SimulationJobErrorCode m_failureCode; bool m_failureCodeHasBeenSet; Aws::String m_failureReason; bool m_failureReasonHasBeenSet; Aws::String m_clientRequestToken; bool m_clientRequestTokenHasBeenSet; OutputLocation m_outputLocation; bool m_outputLocationHasBeenSet; LoggingConfig m_loggingConfig; bool m_loggingConfigHasBeenSet; long long m_maxJobDurationInSeconds; bool m_maxJobDurationInSecondsHasBeenSet; long long m_simulationTimeMillis; bool m_simulationTimeMillisHasBeenSet; Aws::String m_iamRole; bool m_iamRoleHasBeenSet; Aws::Vector