641 lines
27 KiB
C++
641 lines
27 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/robomaker/RoboMaker_EXPORTS.h>
|
|
#include <aws/robomaker/RoboMakerRequest.h>
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|
#include <aws/robomaker/model/OutputLocation.h>
|
|
#include <aws/robomaker/model/LoggingConfig.h>
|
|
#include <aws/robomaker/model/FailureBehavior.h>
|
|
#include <aws/core/utils/memory/stl/AWSVector.h>
|
|
#include <aws/core/utils/memory/stl/AWSMap.h>
|
|
#include <aws/robomaker/model/VPCConfig.h>
|
|
#include <aws/robomaker/model/Compute.h>
|
|
#include <aws/robomaker/model/RobotApplicationConfig.h>
|
|
#include <aws/robomaker/model/SimulationApplicationConfig.h>
|
|
#include <aws/robomaker/model/DataSourceConfig.h>
|
|
#include <utility>
|
|
#include <aws/core/utils/UUID.h>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace RoboMaker
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
*/
|
|
class AWS_ROBOMAKER_API CreateSimulationJobRequest : public RoboMakerRequest
|
|
{
|
|
public:
|
|
CreateSimulationJobRequest();
|
|
|
|
// Service request name is the Operation name which will send this request out,
|
|
// each operation should has unique request name, so that we can get operation's name from this request.
|
|
// Note: this is not true for response, multiple operations may have the same response name,
|
|
// so we can not get operation's name from response.
|
|
inline virtual const char* GetServiceRequestName() const override { return "CreateSimulationJob"; }
|
|
|
|
Aws::String SerializePayload() const override;
|
|
|
|
|
|
/**
|
|
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
|
|
* of the request.</p>
|
|
*/
|
|
inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
|
|
|
|
/**
|
|
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
|
|
* of the request.</p>
|
|
*/
|
|
inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
|
|
|
|
/**
|
|
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
|
|
* of the request.</p>
|
|
*/
|
|
inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
|
|
|
|
/**
|
|
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
|
|
* of the request.</p>
|
|
*/
|
|
inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
|
|
|
|
/**
|
|
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
|
|
* of the request.</p>
|
|
*/
|
|
inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
|
|
|
|
/**
|
|
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
|
|
* of the request.</p>
|
|
*/
|
|
inline CreateSimulationJobRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;}
|
|
|
|
/**
|
|
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
|
|
* of the request.</p>
|
|
*/
|
|
inline CreateSimulationJobRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency
|
|
* of the request.</p>
|
|
*/
|
|
inline CreateSimulationJobRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>Location for output files generated by the simulation job.</p>
|
|
*/
|
|
inline const OutputLocation& GetOutputLocation() const{ return m_outputLocation; }
|
|
|
|
/**
|
|
* <p>Location for output files generated by the simulation job.</p>
|
|
*/
|
|
inline bool OutputLocationHasBeenSet() const { return m_outputLocationHasBeenSet; }
|
|
|
|
/**
|
|
* <p>Location for output files generated by the simulation job.</p>
|
|
*/
|
|
inline void SetOutputLocation(const OutputLocation& value) { m_outputLocationHasBeenSet = true; m_outputLocation = value; }
|
|
|
|
/**
|
|
* <p>Location for output files generated by the simulation job.</p>
|
|
*/
|
|
inline void SetOutputLocation(OutputLocation&& value) { m_outputLocationHasBeenSet = true; m_outputLocation = std::move(value); }
|
|
|
|
/**
|
|
* <p>Location for output files generated by the simulation job.</p>
|
|
*/
|
|
inline CreateSimulationJobRequest& WithOutputLocation(const OutputLocation& value) { SetOutputLocation(value); return *this;}
|
|
|
|
/**
|
|
* <p>Location for output files generated by the simulation job.</p>
|
|
*/
|
|
inline CreateSimulationJobRequest& WithOutputLocation(OutputLocation&& value) { SetOutputLocation(std::move(value)); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The logging configuration.</p>
|
|
*/
|
|
inline const LoggingConfig& GetLoggingConfig() const{ return m_loggingConfig; }
|
|
|
|
/**
|
|
* <p>The logging configuration.</p>
|
|
*/
|
|
inline bool LoggingConfigHasBeenSet() const { return m_loggingConfigHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The logging configuration.</p>
|
|
*/
|
|
inline void SetLoggingConfig(const LoggingConfig& value) { m_loggingConfigHasBeenSet = true; m_loggingConfig = value; }
|
|
|
|
/**
|
|
* <p>The logging configuration.</p>
|
|
*/
|
|
inline void SetLoggingConfig(LoggingConfig&& value) { m_loggingConfigHasBeenSet = true; m_loggingConfig = std::move(value); }
|
|
|
|
/**
|
|
* <p>The logging configuration.</p>
|
|
*/
|
|
inline CreateSimulationJobRequest& WithLoggingConfig(const LoggingConfig& value) { SetLoggingConfig(value); return *this;}
|
|
|
|
/**
|
|
* <p>The logging configuration.</p>
|
|
*/
|
|
inline CreateSimulationJobRequest& WithLoggingConfig(LoggingConfig&& value) { SetLoggingConfig(std::move(value)); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The maximum simulation job duration in seconds (up to 14 days or 1,209,600
|
|
* seconds. When <code>maxJobDurationInSeconds</code> is reached, the simulation
|
|
* job will status will transition to <code>Completed</code>.</p>
|
|
*/
|
|
inline long long GetMaxJobDurationInSeconds() const{ return m_maxJobDurationInSeconds; }
|
|
|
|
/**
|
|
* <p>The maximum simulation job duration in seconds (up to 14 days or 1,209,600
|
|
* seconds. When <code>maxJobDurationInSeconds</code> is reached, the simulation
|
|
* job will status will transition to <code>Completed</code>.</p>
|
|
*/
|
|
inline bool MaxJobDurationInSecondsHasBeenSet() const { return m_maxJobDurationInSecondsHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The maximum simulation job duration in seconds (up to 14 days or 1,209,600
|
|
* seconds. When <code>maxJobDurationInSeconds</code> is reached, the simulation
|
|
* job will status will transition to <code>Completed</code>.</p>
|
|
*/
|
|
inline void SetMaxJobDurationInSeconds(long long value) { m_maxJobDurationInSecondsHasBeenSet = true; m_maxJobDurationInSeconds = value; }
|
|
|
|
/**
|
|
* <p>The maximum simulation job duration in seconds (up to 14 days or 1,209,600
|
|
* seconds. When <code>maxJobDurationInSeconds</code> is reached, the simulation
|
|
* job will status will transition to <code>Completed</code>.</p>
|
|
*/
|
|
inline CreateSimulationJobRequest& WithMaxJobDurationInSeconds(long long value) { SetMaxJobDurationInSeconds(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The IAM role name 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. </p>
|
|
*/
|
|
inline const Aws::String& GetIamRole() const{ return m_iamRole; }
|
|
|
|
/**
|
|
* <p>The IAM role name 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. </p>
|
|
*/
|
|
inline bool IamRoleHasBeenSet() const { return m_iamRoleHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The IAM role name 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. </p>
|
|
*/
|
|
inline void SetIamRole(const Aws::String& value) { m_iamRoleHasBeenSet = true; m_iamRole = value; }
|
|
|
|
/**
|
|
* <p>The IAM role name 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. </p>
|
|
*/
|
|
inline void SetIamRole(Aws::String&& value) { m_iamRoleHasBeenSet = true; m_iamRole = std::move(value); }
|
|
|
|
/**
|
|
* <p>The IAM role name 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. </p>
|
|
*/
|
|
inline void SetIamRole(const char* value) { m_iamRoleHasBeenSet = true; m_iamRole.assign(value); }
|
|
|
|
/**
|
|
* <p>The IAM role name 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. </p>
|
|
*/
|
|
inline CreateSimulationJobRequest& WithIamRole(const Aws::String& value) { SetIamRole(value); return *this;}
|
|
|
|
/**
|
|
* <p>The IAM role name 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. </p>
|
|
*/
|
|
inline CreateSimulationJobRequest& WithIamRole(Aws::String&& value) { SetIamRole(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The IAM role name 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. </p>
|
|
*/
|
|
inline CreateSimulationJobRequest& WithIamRole(const char* value) { SetIamRole(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The failure behavior the simulation job.</p> <dl> <dt>Continue</dt> <dd>
|
|
* <p>Restart the simulation job in the same host instance.</p> </dd> <dt>Fail</dt>
|
|
* <dd> <p>Stop the simulation job and terminate the instance.</p> </dd> </dl>
|
|
*/
|
|
inline const FailureBehavior& GetFailureBehavior() const{ return m_failureBehavior; }
|
|
|
|
/**
|
|
* <p>The failure behavior the simulation job.</p> <dl> <dt>Continue</dt> <dd>
|
|
* <p>Restart the simulation job in the same host instance.</p> </dd> <dt>Fail</dt>
|
|
* <dd> <p>Stop the simulation job and terminate the instance.</p> </dd> </dl>
|
|
*/
|
|
inline bool FailureBehaviorHasBeenSet() const { return m_failureBehaviorHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The failure behavior the simulation job.</p> <dl> <dt>Continue</dt> <dd>
|
|
* <p>Restart the simulation job in the same host instance.</p> </dd> <dt>Fail</dt>
|
|
* <dd> <p>Stop the simulation job and terminate the instance.</p> </dd> </dl>
|
|
*/
|
|
inline void SetFailureBehavior(const FailureBehavior& value) { m_failureBehaviorHasBeenSet = true; m_failureBehavior = value; }
|
|
|
|
/**
|
|
* <p>The failure behavior the simulation job.</p> <dl> <dt>Continue</dt> <dd>
|
|
* <p>Restart the simulation job in the same host instance.</p> </dd> <dt>Fail</dt>
|
|
* <dd> <p>Stop the simulation job and terminate the instance.</p> </dd> </dl>
|
|
*/
|
|
inline void SetFailureBehavior(FailureBehavior&& value) { m_failureBehaviorHasBeenSet = true; m_failureBehavior = std::move(value); }
|
|
|
|
/**
|
|
* <p>The failure behavior the simulation job.</p> <dl> <dt>Continue</dt> <dd>
|
|
* <p>Restart the simulation job in the same host instance.</p> </dd> <dt>Fail</dt>
|
|
* <dd> <p>Stop the simulation job and terminate the instance.</p> </dd> </dl>
|
|
*/
|
|
inline CreateSimulationJobRequest& WithFailureBehavior(const FailureBehavior& value) { SetFailureBehavior(value); return *this;}
|
|
|
|
/**
|
|
* <p>The failure behavior the simulation job.</p> <dl> <dt>Continue</dt> <dd>
|
|
* <p>Restart the simulation job in the same host instance.</p> </dd> <dt>Fail</dt>
|
|
* <dd> <p>Stop the simulation job and terminate the instance.</p> </dd> </dl>
|
|
*/
|
|
inline CreateSimulationJobRequest& WithFailureBehavior(FailureBehavior&& value) { SetFailureBehavior(std::move(value)); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The robot application to use in the simulation job.</p>
|
|
*/
|
|
inline const Aws::Vector<RobotApplicationConfig>& GetRobotApplications() const{ return m_robotApplications; }
|
|
|
|
/**
|
|
* <p>The robot application to use in the simulation job.</p>
|
|
*/
|
|
inline bool RobotApplicationsHasBeenSet() const { return m_robotApplicationsHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The robot application to use in the simulation job.</p>
|
|
*/
|
|
inline void SetRobotApplications(const Aws::Vector<RobotApplicationConfig>& value) { m_robotApplicationsHasBeenSet = true; m_robotApplications = value; }
|
|
|
|
/**
|
|
* <p>The robot application to use in the simulation job.</p>
|
|
*/
|
|
inline void SetRobotApplications(Aws::Vector<RobotApplicationConfig>&& value) { m_robotApplicationsHasBeenSet = true; m_robotApplications = std::move(value); }
|
|
|
|
/**
|
|
* <p>The robot application to use in the simulation job.</p>
|
|
*/
|
|
inline CreateSimulationJobRequest& WithRobotApplications(const Aws::Vector<RobotApplicationConfig>& value) { SetRobotApplications(value); return *this;}
|
|
|
|
/**
|
|
* <p>The robot application to use in the simulation job.</p>
|
|
*/
|
|
inline CreateSimulationJobRequest& WithRobotApplications(Aws::Vector<RobotApplicationConfig>&& value) { SetRobotApplications(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The robot application to use in the simulation job.</p>
|
|
*/
|
|
inline CreateSimulationJobRequest& AddRobotApplications(const RobotApplicationConfig& value) { m_robotApplicationsHasBeenSet = true; m_robotApplications.push_back(value); return *this; }
|
|
|
|
/**
|
|
* <p>The robot application to use in the simulation job.</p>
|
|
*/
|
|
inline CreateSimulationJobRequest& AddRobotApplications(RobotApplicationConfig&& value) { m_robotApplicationsHasBeenSet = true; m_robotApplications.push_back(std::move(value)); return *this; }
|
|
|
|
|
|
/**
|
|
* <p>The simulation application to use in the simulation job.</p>
|
|
*/
|
|
inline const Aws::Vector<SimulationApplicationConfig>& GetSimulationApplications() const{ return m_simulationApplications; }
|
|
|
|
/**
|
|
* <p>The simulation application to use in the simulation job.</p>
|
|
*/
|
|
inline bool SimulationApplicationsHasBeenSet() const { return m_simulationApplicationsHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The simulation application to use in the simulation job.</p>
|
|
*/
|
|
inline void SetSimulationApplications(const Aws::Vector<SimulationApplicationConfig>& value) { m_simulationApplicationsHasBeenSet = true; m_simulationApplications = value; }
|
|
|
|
/**
|
|
* <p>The simulation application to use in the simulation job.</p>
|
|
*/
|
|
inline void SetSimulationApplications(Aws::Vector<SimulationApplicationConfig>&& value) { m_simulationApplicationsHasBeenSet = true; m_simulationApplications = std::move(value); }
|
|
|
|
/**
|
|
* <p>The simulation application to use in the simulation job.</p>
|
|
*/
|
|
inline CreateSimulationJobRequest& WithSimulationApplications(const Aws::Vector<SimulationApplicationConfig>& value) { SetSimulationApplications(value); return *this;}
|
|
|
|
/**
|
|
* <p>The simulation application to use in the simulation job.</p>
|
|
*/
|
|
inline CreateSimulationJobRequest& WithSimulationApplications(Aws::Vector<SimulationApplicationConfig>&& value) { SetSimulationApplications(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The simulation application to use in the simulation job.</p>
|
|
*/
|
|
inline CreateSimulationJobRequest& AddSimulationApplications(const SimulationApplicationConfig& value) { m_simulationApplicationsHasBeenSet = true; m_simulationApplications.push_back(value); return *this; }
|
|
|
|
/**
|
|
* <p>The simulation application to use in the simulation job.</p>
|
|
*/
|
|
inline CreateSimulationJobRequest& AddSimulationApplications(SimulationApplicationConfig&& value) { m_simulationApplicationsHasBeenSet = true; m_simulationApplications.push_back(std::move(value)); return *this; }
|
|
|
|
|
|
/**
|
|
* <p>Specify data sources to mount read-only files from S3 into your simulation.
|
|
* These files are available under
|
|
* <code>/opt/robomaker/datasources/data_source_name</code>. </p> <p>There
|
|
* is a limit of 100 files and a combined size of 25GB for all
|
|
* <code>DataSourceConfig</code> objects. </p>
|
|
*/
|
|
inline const Aws::Vector<DataSourceConfig>& GetDataSources() const{ return m_dataSources; }
|
|
|
|
/**
|
|
* <p>Specify data sources to mount read-only files from S3 into your simulation.
|
|
* These files are available under
|
|
* <code>/opt/robomaker/datasources/data_source_name</code>. </p> <p>There
|
|
* is a limit of 100 files and a combined size of 25GB for all
|
|
* <code>DataSourceConfig</code> objects. </p>
|
|
*/
|
|
inline bool DataSourcesHasBeenSet() const { return m_dataSourcesHasBeenSet; }
|
|
|
|
/**
|
|
* <p>Specify data sources to mount read-only files from S3 into your simulation.
|
|
* These files are available under
|
|
* <code>/opt/robomaker/datasources/data_source_name</code>. </p> <p>There
|
|
* is a limit of 100 files and a combined size of 25GB for all
|
|
* <code>DataSourceConfig</code> objects. </p>
|
|
*/
|
|
inline void SetDataSources(const Aws::Vector<DataSourceConfig>& value) { m_dataSourcesHasBeenSet = true; m_dataSources = value; }
|
|
|
|
/**
|
|
* <p>Specify data sources to mount read-only files from S3 into your simulation.
|
|
* These files are available under
|
|
* <code>/opt/robomaker/datasources/data_source_name</code>. </p> <p>There
|
|
* is a limit of 100 files and a combined size of 25GB for all
|
|
* <code>DataSourceConfig</code> objects. </p>
|
|
*/
|
|
inline void SetDataSources(Aws::Vector<DataSourceConfig>&& value) { m_dataSourcesHasBeenSet = true; m_dataSources = std::move(value); }
|
|
|
|
/**
|
|
* <p>Specify data sources to mount read-only files from S3 into your simulation.
|
|
* These files are available under
|
|
* <code>/opt/robomaker/datasources/data_source_name</code>. </p> <p>There
|
|
* is a limit of 100 files and a combined size of 25GB for all
|
|
* <code>DataSourceConfig</code> objects. </p>
|
|
*/
|
|
inline CreateSimulationJobRequest& WithDataSources(const Aws::Vector<DataSourceConfig>& value) { SetDataSources(value); return *this;}
|
|
|
|
/**
|
|
* <p>Specify data sources to mount read-only files from S3 into your simulation.
|
|
* These files are available under
|
|
* <code>/opt/robomaker/datasources/data_source_name</code>. </p> <p>There
|
|
* is a limit of 100 files and a combined size of 25GB for all
|
|
* <code>DataSourceConfig</code> objects. </p>
|
|
*/
|
|
inline CreateSimulationJobRequest& WithDataSources(Aws::Vector<DataSourceConfig>&& value) { SetDataSources(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>Specify data sources to mount read-only files from S3 into your simulation.
|
|
* These files are available under
|
|
* <code>/opt/robomaker/datasources/data_source_name</code>. </p> <p>There
|
|
* is a limit of 100 files and a combined size of 25GB for all
|
|
* <code>DataSourceConfig</code> objects. </p>
|
|
*/
|
|
inline CreateSimulationJobRequest& AddDataSources(const DataSourceConfig& value) { m_dataSourcesHasBeenSet = true; m_dataSources.push_back(value); return *this; }
|
|
|
|
/**
|
|
* <p>Specify data sources to mount read-only files from S3 into your simulation.
|
|
* These files are available under
|
|
* <code>/opt/robomaker/datasources/data_source_name</code>. </p> <p>There
|
|
* is a limit of 100 files and a combined size of 25GB for all
|
|
* <code>DataSourceConfig</code> objects. </p>
|
|
*/
|
|
inline CreateSimulationJobRequest& AddDataSources(DataSourceConfig&& value) { m_dataSourcesHasBeenSet = true; m_dataSources.push_back(std::move(value)); return *this; }
|
|
|
|
|
|
/**
|
|
* <p>A map that contains tag keys and tag values that are attached to the
|
|
* simulation job.</p>
|
|
*/
|
|
inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
|
|
|
|
/**
|
|
* <p>A map that contains tag keys and tag values that are attached to the
|
|
* simulation job.</p>
|
|
*/
|
|
inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
|
|
|
|
/**
|
|
* <p>A map that contains tag keys and tag values that are attached to the
|
|
* simulation job.</p>
|
|
*/
|
|
inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
|
|
|
|
/**
|
|
* <p>A map that contains tag keys and tag values that are attached to the
|
|
* simulation job.</p>
|
|
*/
|
|
inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
|
|
|
|
/**
|
|
* <p>A map that contains tag keys and tag values that are attached to the
|
|
* simulation job.</p>
|
|
*/
|
|
inline CreateSimulationJobRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
|
|
|
|
/**
|
|
* <p>A map that contains tag keys and tag values that are attached to the
|
|
* simulation job.</p>
|
|
*/
|
|
inline CreateSimulationJobRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>A map that contains tag keys and tag values that are attached to the
|
|
* simulation job.</p>
|
|
*/
|
|
inline CreateSimulationJobRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
|
|
|
|
/**
|
|
* <p>A map that contains tag keys and tag values that are attached to the
|
|
* simulation job.</p>
|
|
*/
|
|
inline CreateSimulationJobRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
|
|
|
|
/**
|
|
* <p>A map that contains tag keys and tag values that are attached to the
|
|
* simulation job.</p>
|
|
*/
|
|
inline CreateSimulationJobRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
|
|
|
|
/**
|
|
* <p>A map that contains tag keys and tag values that are attached to the
|
|
* simulation job.</p>
|
|
*/
|
|
inline CreateSimulationJobRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
|
|
|
|
/**
|
|
* <p>A map that contains tag keys and tag values that are attached to the
|
|
* simulation job.</p>
|
|
*/
|
|
inline CreateSimulationJobRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
|
|
|
|
/**
|
|
* <p>A map that contains tag keys and tag values that are attached to the
|
|
* simulation job.</p>
|
|
*/
|
|
inline CreateSimulationJobRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
|
|
|
|
/**
|
|
* <p>A map that contains tag keys and tag values that are attached to the
|
|
* simulation job.</p>
|
|
*/
|
|
inline CreateSimulationJobRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
|
|
|
|
|
|
/**
|
|
* <p>If your simulation job accesses resources in a VPC, you provide this
|
|
* parameter identifying the list of security group IDs and subnet IDs. These must
|
|
* belong to the same VPC. You must provide at least one security group and one
|
|
* subnet ID. </p>
|
|
*/
|
|
inline const VPCConfig& GetVpcConfig() const{ return m_vpcConfig; }
|
|
|
|
/**
|
|
* <p>If your simulation job accesses resources in a VPC, you provide this
|
|
* parameter identifying the list of security group IDs and subnet IDs. These must
|
|
* belong to the same VPC. You must provide at least one security group and one
|
|
* subnet ID. </p>
|
|
*/
|
|
inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
|
|
|
|
/**
|
|
* <p>If your simulation job accesses resources in a VPC, you provide this
|
|
* parameter identifying the list of security group IDs and subnet IDs. These must
|
|
* belong to the same VPC. You must provide at least one security group and one
|
|
* subnet ID. </p>
|
|
*/
|
|
inline void SetVpcConfig(const VPCConfig& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = value; }
|
|
|
|
/**
|
|
* <p>If your simulation job accesses resources in a VPC, you provide this
|
|
* parameter identifying the list of security group IDs and subnet IDs. These must
|
|
* belong to the same VPC. You must provide at least one security group and one
|
|
* subnet ID. </p>
|
|
*/
|
|
inline void SetVpcConfig(VPCConfig&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::move(value); }
|
|
|
|
/**
|
|
* <p>If your simulation job accesses resources in a VPC, you provide this
|
|
* parameter identifying the list of security group IDs and subnet IDs. These must
|
|
* belong to the same VPC. You must provide at least one security group and one
|
|
* subnet ID. </p>
|
|
*/
|
|
inline CreateSimulationJobRequest& WithVpcConfig(const VPCConfig& value) { SetVpcConfig(value); return *this;}
|
|
|
|
/**
|
|
* <p>If your simulation job accesses resources in a VPC, you provide this
|
|
* parameter identifying the list of security group IDs and subnet IDs. These must
|
|
* belong to the same VPC. You must provide at least one security group and one
|
|
* subnet ID. </p>
|
|
*/
|
|
inline CreateSimulationJobRequest& WithVpcConfig(VPCConfig&& value) { SetVpcConfig(std::move(value)); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>Compute information for the simulation job.</p>
|
|
*/
|
|
inline const Compute& GetCompute() const{ return m_compute; }
|
|
|
|
/**
|
|
* <p>Compute information for the simulation job.</p>
|
|
*/
|
|
inline bool ComputeHasBeenSet() const { return m_computeHasBeenSet; }
|
|
|
|
/**
|
|
* <p>Compute information for the simulation job.</p>
|
|
*/
|
|
inline void SetCompute(const Compute& value) { m_computeHasBeenSet = true; m_compute = value; }
|
|
|
|
/**
|
|
* <p>Compute information for the simulation job.</p>
|
|
*/
|
|
inline void SetCompute(Compute&& value) { m_computeHasBeenSet = true; m_compute = std::move(value); }
|
|
|
|
/**
|
|
* <p>Compute information for the simulation job.</p>
|
|
*/
|
|
inline CreateSimulationJobRequest& WithCompute(const Compute& value) { SetCompute(value); return *this;}
|
|
|
|
/**
|
|
* <p>Compute information for the simulation job.</p>
|
|
*/
|
|
inline CreateSimulationJobRequest& WithCompute(Compute&& value) { SetCompute(std::move(value)); return *this;}
|
|
|
|
private:
|
|
|
|
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;
|
|
|
|
Aws::String m_iamRole;
|
|
bool m_iamRoleHasBeenSet;
|
|
|
|
FailureBehavior m_failureBehavior;
|
|
bool m_failureBehaviorHasBeenSet;
|
|
|
|
Aws::Vector<RobotApplicationConfig> m_robotApplications;
|
|
bool m_robotApplicationsHasBeenSet;
|
|
|
|
Aws::Vector<SimulationApplicationConfig> m_simulationApplications;
|
|
bool m_simulationApplicationsHasBeenSet;
|
|
|
|
Aws::Vector<DataSourceConfig> m_dataSources;
|
|
bool m_dataSourcesHasBeenSet;
|
|
|
|
Aws::Map<Aws::String, Aws::String> m_tags;
|
|
bool m_tagsHasBeenSet;
|
|
|
|
VPCConfig m_vpcConfig;
|
|
bool m_vpcConfigHasBeenSet;
|
|
|
|
Compute m_compute;
|
|
bool m_computeHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace RoboMaker
|
|
} // namespace Aws
|