/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace RoboMaker { namespace Model { /** *

Information about a simulation job.

See Also:

AWS * API Reference

*/ class SimulationJob { public: AWS_ROBOMAKER_API SimulationJob(); AWS_ROBOMAKER_API SimulationJob(Aws::Utils::Json::JsonView jsonValue); AWS_ROBOMAKER_API SimulationJob& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

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.

Continue
*

Leaves the host running for its maximum timeout duration after a * 4XX error code.

Fail

Stop the simulation * job and terminate the instance.

*/ inline const FailureBehavior& GetFailureBehavior() const{ return m_failureBehavior; } /** *

The failure behavior the simulation job.

Continue
*

Leaves the host running for its maximum timeout duration after a * 4XX error code.

Fail

Stop the simulation * job and terminate the instance.

*/ inline bool FailureBehaviorHasBeenSet() const { return m_failureBehaviorHasBeenSet; } /** *

The failure behavior the simulation job.

Continue
*

Leaves the host running for its maximum timeout duration after a * 4XX error code.

Fail

Stop the simulation * job and terminate the instance.

*/ inline void SetFailureBehavior(const FailureBehavior& value) { m_failureBehaviorHasBeenSet = true; m_failureBehavior = value; } /** *

The failure behavior the simulation job.

Continue
*

Leaves the host running for its maximum timeout duration after a * 4XX error code.

Fail

Stop the simulation * job and terminate the instance.

*/ inline void SetFailureBehavior(FailureBehavior&& value) { m_failureBehaviorHasBeenSet = true; m_failureBehavior = std::move(value); } /** *

The failure behavior the simulation job.

Continue
*

Leaves the host running for its maximum timeout duration after a * 4XX error code.

Fail

Stop the simulation * job and terminate the instance.

*/ inline SimulationJob& WithFailureBehavior(const FailureBehavior& value) { SetFailureBehavior(value); return *this;} /** *

The failure behavior the simulation job.

Continue
*

Leaves the host running for its maximum timeout duration after a * 4XX error code.

Fail

Stop the simulation * job and terminate the instance.

*/ inline SimulationJob& WithFailureBehavior(FailureBehavior&& value) { SetFailureBehavior(std::move(value)); return *this;} /** *

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.

*/ inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; } /** *

A unique identifier for this SimulationJob request.

*/ inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; } /** *

A unique identifier for this SimulationJob request.

*/ inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; } /** *

A unique identifier for this SimulationJob request.

*/ inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); } /** *

A unique identifier for this SimulationJob request.

*/ inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); } /** *

A unique identifier for this SimulationJob request.

*/ inline SimulationJob& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;} /** *

A unique identifier for this SimulationJob request.

*/ inline SimulationJob& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;} /** *

A unique identifier for this SimulationJob request.

*/ inline SimulationJob& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;} /** *

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::Vector& GetRobotApplications() const{ return m_robotApplications; } /** *

A list of robot applications.

*/ inline bool RobotApplicationsHasBeenSet() const { return m_robotApplicationsHasBeenSet; } /** *

A list of robot applications.

*/ inline void SetRobotApplications(const Aws::Vector& value) { m_robotApplicationsHasBeenSet = true; m_robotApplications = value; } /** *

A list of robot applications.

*/ inline void SetRobotApplications(Aws::Vector&& value) { m_robotApplicationsHasBeenSet = true; m_robotApplications = std::move(value); } /** *

A list of robot applications.

*/ inline SimulationJob& WithRobotApplications(const Aws::Vector& value) { SetRobotApplications(value); return *this;} /** *

A list of robot applications.

*/ inline SimulationJob& WithRobotApplications(Aws::Vector&& value) { SetRobotApplications(std::move(value)); return *this;} /** *

A 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::Vector& GetSimulationApplications() const{ return m_simulationApplications; } /** *

A list of simulation applications.

*/ inline bool SimulationApplicationsHasBeenSet() const { return m_simulationApplicationsHasBeenSet; } /** *

A list of simulation applications.

*/ inline void SetSimulationApplications(const Aws::Vector& value) { m_simulationApplicationsHasBeenSet = true; m_simulationApplications = value; } /** *

A list of simulation applications.

*/ inline void SetSimulationApplications(Aws::Vector&& value) { m_simulationApplicationsHasBeenSet = true; m_simulationApplications = std::move(value); } /** *

A list of simulation applications.

*/ inline SimulationJob& WithSimulationApplications(const Aws::Vector& value) { SetSimulationApplications(value); return *this;} /** *

A list of simulation applications.

*/ inline SimulationJob& WithSimulationApplications(Aws::Vector&& value) { SetSimulationApplications(std::move(value)); return *this;} /** *

A 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::Vector& GetDataSources() const{ return m_dataSources; } /** *

The 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::Vector& value) { m_dataSourcesHasBeenSet = true; m_dataSources = value; } /** *

The data sources for the simulation job.

*/ inline void SetDataSources(Aws::Vector&& value) { m_dataSourcesHasBeenSet = true; m_dataSources = std::move(value); } /** *

The data sources for the simulation job.

*/ inline SimulationJob& WithDataSources(const Aws::Vector& value) { SetDataSources(value); return *this;} /** *

The data sources for the simulation job.

*/ inline SimulationJob& WithDataSources(Aws::Vector&& value) { SetDataSources(std::move(value)); return *this;} /** *

The 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::Map& GetTags() const{ return m_tags; } /** *

A 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::Map& value) { m_tagsHasBeenSet = true; m_tags = value; } /** *

A map that contains tag keys and tag values that are attached to the * simulation job.

*/ inline void SetTags(Aws::Map&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** *

A map that contains tag keys and tag values that are attached to the * simulation job.

*/ inline SimulationJob& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** *

A map that contains tag keys and tag values that are attached to the * simulation job.

*/ inline SimulationJob& WithTags(Aws::Map&& value) { SetTags(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 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 = false; Aws::String m_name; bool m_nameHasBeenSet = false; SimulationJobStatus m_status; bool m_statusHasBeenSet = false; Aws::Utils::DateTime m_lastStartedAt; bool m_lastStartedAtHasBeenSet = false; Aws::Utils::DateTime m_lastUpdatedAt; bool m_lastUpdatedAtHasBeenSet = false; FailureBehavior m_failureBehavior; bool m_failureBehaviorHasBeenSet = false; SimulationJobErrorCode m_failureCode; bool m_failureCodeHasBeenSet = false; Aws::String m_failureReason; bool m_failureReasonHasBeenSet = false; Aws::String m_clientRequestToken; bool m_clientRequestTokenHasBeenSet = false; OutputLocation m_outputLocation; bool m_outputLocationHasBeenSet = false; LoggingConfig m_loggingConfig; bool m_loggingConfigHasBeenSet = false; long long m_maxJobDurationInSeconds; bool m_maxJobDurationInSecondsHasBeenSet = false; long long m_simulationTimeMillis; bool m_simulationTimeMillisHasBeenSet = false; Aws::String m_iamRole; bool m_iamRoleHasBeenSet = false; Aws::Vector m_robotApplications; bool m_robotApplicationsHasBeenSet = false; Aws::Vector m_simulationApplications; bool m_simulationApplicationsHasBeenSet = false; Aws::Vector m_dataSources; bool m_dataSourcesHasBeenSet = false; Aws::Map m_tags; bool m_tagsHasBeenSet = false; VPCConfigResponse m_vpcConfig; bool m_vpcConfigHasBeenSet = false; NetworkInterface m_networkInterface; bool m_networkInterfaceHasBeenSet = false; ComputeResponse m_compute; bool m_computeHasBeenSet = false; }; } // namespace Model } // namespace RoboMaker } // namespace Aws