7#include <aws/robomaker/RoboMaker_EXPORTS.h>
8#include <aws/robomaker/model/OutputLocation.h>
9#include <aws/robomaker/model/LoggingConfig.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/robomaker/model/FailureBehavior.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/robomaker/model/VPCConfig.h>
14#include <aws/robomaker/model/Compute.h>
15#include <aws/core/utils/memory/stl/AWSMap.h>
16#include <aws/robomaker/model/RobotApplicationConfig.h>
17#include <aws/robomaker/model/SimulationApplicationConfig.h>
18#include <aws/robomaker/model/DataSourceConfig.h>
54 template<
typename OutputLocationT = OutputLocation>
55 void SetOutputLocation(OutputLocationT&& value) { m_outputLocationHasBeenSet =
true; m_outputLocation = std::forward<OutputLocationT>(value); }
56 template<
typename OutputLocationT = OutputLocation>
64 template<
typename LoggingConfigT = LoggingConfig>
65 void SetLoggingConfig(LoggingConfigT&& value) { m_loggingConfigHasBeenSet =
true; m_loggingConfig = std::forward<LoggingConfigT>(value); }
66 template<
typename LoggingConfigT = LoggingConfig>
77 inline void SetMaxJobDurationInSeconds(
long long value) { m_maxJobDurationInSecondsHasBeenSet =
true; m_maxJobDurationInSeconds = value; }
89 template<
typename IamRoleT = Aws::String>
90 void SetIamRole(IamRoleT&& value) { m_iamRoleHasBeenSet =
true; m_iamRole = std::forward<IamRoleT>(value); }
91 template<
typename IamRoleT = Aws::String>
125 template<
typename RobotApplicationsT = Aws::Vector<RobotApplicationConfig>>
126 void SetRobotApplications(RobotApplicationsT&& value) { m_robotApplicationsHasBeenSet =
true; m_robotApplications = std::forward<RobotApplicationsT>(value); }
127 template<
typename RobotApplicationsT = Aws::Vector<RobotApplicationConfig>>
129 template<
typename RobotApplicationsT = RobotApplicationConfig>
139 template<
typename SimulationApplicationsT = Aws::Vector<SimulationApplicationConfig>>
140 void SetSimulationApplications(SimulationApplicationsT&& value) { m_simulationApplicationsHasBeenSet =
true; m_simulationApplications = std::forward<SimulationApplicationsT>(value); }
141 template<
typename SimulationApplicationsT = Aws::Vector<SimulationApplicationConfig>>
143 template<
typename SimulationApplicationsT = SimulationApplicationConfig>
157 template<
typename DataSourcesT = Aws::Vector<DataSourceConfig>>
158 void SetDataSources(DataSourcesT&& value) { m_dataSourcesHasBeenSet =
true; m_dataSources = std::forward<DataSourcesT>(value); }
159 template<
typename DataSourcesT = Aws::Vector<DataSourceConfig>>
161 template<
typename DataSourcesT = DataSourceConfig>
169 template<
typename VpcConfigT = VPCConfig>
170 void SetVpcConfig(VpcConfigT&& value) { m_vpcConfigHasBeenSet =
true; m_vpcConfig = std::forward<VpcConfigT>(value); }
171 template<
typename VpcConfigT = VPCConfig>
181 template<
typename ComputeT = Compute>
182 void SetCompute(ComputeT&& value) { m_computeHasBeenSet =
true; m_compute = std::forward<ComputeT>(value); }
183 template<
typename ComputeT = Compute>
194 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
195 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
196 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
198 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
200 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
206 bool m_outputLocationHasBeenSet =
false;
209 bool m_loggingConfigHasBeenSet =
false;
211 long long m_maxJobDurationInSeconds{0};
212 bool m_maxJobDurationInSecondsHasBeenSet =
false;
215 bool m_iamRoleHasBeenSet =
false;
218 bool m_failureBehaviorHasBeenSet =
false;
220 bool m_useDefaultApplications{
false};
221 bool m_useDefaultApplicationsHasBeenSet =
false;
224 bool m_robotApplicationsHasBeenSet =
false;
227 bool m_simulationApplicationsHasBeenSet =
false;
230 bool m_dataSourcesHasBeenSet =
false;
232 VPCConfig m_vpcConfig;
233 bool m_vpcConfigHasBeenSet =
false;
236 bool m_computeHasBeenSet =
false;
239 bool m_tagsHasBeenSet =
false;
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetCompute(ComputeT &&value)
SimulationJobRequest & WithCompute(ComputeT &&value)
SimulationJobRequest & WithIamRole(IamRoleT &&value)
void SetFailureBehavior(FailureBehavior value)
SimulationJobRequest & AddSimulationApplications(SimulationApplicationsT &&value)
AWS_ROBOMAKER_API SimulationJobRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
bool LoggingConfigHasBeenSet() const
bool TagsHasBeenSet() const
void SetRobotApplications(RobotApplicationsT &&value)
bool MaxJobDurationInSecondsHasBeenSet() const
bool OutputLocationHasBeenSet() const
const Aws::String & GetIamRole() const
void SetSimulationApplications(SimulationApplicationsT &&value)
bool VpcConfigHasBeenSet() const
long long GetMaxJobDurationInSeconds() const
const VPCConfig & GetVpcConfig() const
SimulationJobRequest & AddDataSources(DataSourcesT &&value)
bool IamRoleHasBeenSet() const
SimulationJobRequest & WithRobotApplications(RobotApplicationsT &&value)
SimulationJobRequest & WithTags(TagsT &&value)
void SetDataSources(DataSourcesT &&value)
bool UseDefaultApplicationsHasBeenSet() const
bool ComputeHasBeenSet() const
SimulationJobRequest & WithLoggingConfig(LoggingConfigT &&value)
void SetMaxJobDurationInSeconds(long long value)
SimulationJobRequest & WithSimulationApplications(SimulationApplicationsT &&value)
void SetVpcConfig(VpcConfigT &&value)
FailureBehavior GetFailureBehavior() const
void SetLoggingConfig(LoggingConfigT &&value)
const OutputLocation & GetOutputLocation() const
AWS_ROBOMAKER_API SimulationJobRequest(Aws::Utils::Json::JsonView jsonValue)
const LoggingConfig & GetLoggingConfig() const
bool FailureBehaviorHasBeenSet() const
SimulationJobRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::Vector< DataSourceConfig > & GetDataSources() const
void SetIamRole(IamRoleT &&value)
const Compute & GetCompute() const
AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
SimulationJobRequest & WithMaxJobDurationInSeconds(long long value)
void SetOutputLocation(OutputLocationT &&value)
SimulationJobRequest & WithFailureBehavior(FailureBehavior value)
bool DataSourcesHasBeenSet() const
bool SimulationApplicationsHasBeenSet() const
SimulationJobRequest & WithUseDefaultApplications(bool value)
SimulationJobRequest & WithOutputLocation(OutputLocationT &&value)
const Aws::Vector< RobotApplicationConfig > & GetRobotApplications() const
void SetTags(TagsT &&value)
SimulationJobRequest & WithVpcConfig(VpcConfigT &&value)
void SetUseDefaultApplications(bool value)
bool GetUseDefaultApplications() const
const Aws::Vector< SimulationApplicationConfig > & GetSimulationApplications() const
SimulationJobRequest & AddRobotApplications(RobotApplicationsT &&value)
SimulationJobRequest & WithDataSources(DataSourcesT &&value)
bool RobotApplicationsHasBeenSet() const
AWS_ROBOMAKER_API SimulationJobRequest()=default
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