AWS SDK for C++  1.9.45
AWS SDK for C++
CreateSimulationApplicationRequest.h
Go to the documentation of this file.
1 
6 #pragma once
16 #include <utility>
17 
18 namespace Aws
19 {
20 namespace RoboMaker
21 {
22 namespace Model
23 {
24 
28  {
29  public:
31 
32  // Service request name is the Operation name which will send this request out,
33  // each operation should has unique request name, so that we can get operation's name from this request.
34  // Note: this is not true for response, multiple operations may have the same response name,
35  // so we can not get operation's name from response.
36  inline virtual const char* GetServiceRequestName() const override { return "CreateSimulationApplication"; }
37 
38  Aws::String SerializePayload() const override;
39 
40 
44  inline const Aws::String& GetName() const{ return m_name; }
45 
49  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 
54  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
55 
59  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
60 
64  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
65 
69  inline CreateSimulationApplicationRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
70 
74  inline CreateSimulationApplicationRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
75 
79  inline CreateSimulationApplicationRequest& WithName(const char* value) { SetName(value); return *this;}
80 
81 
85  inline const Aws::Vector<SourceConfig>& GetSources() const{ return m_sources; }
86 
90  inline bool SourcesHasBeenSet() const { return m_sourcesHasBeenSet; }
91 
95  inline void SetSources(const Aws::Vector<SourceConfig>& value) { m_sourcesHasBeenSet = true; m_sources = value; }
96 
100  inline void SetSources(Aws::Vector<SourceConfig>&& value) { m_sourcesHasBeenSet = true; m_sources = std::move(value); }
101 
105  inline CreateSimulationApplicationRequest& WithSources(const Aws::Vector<SourceConfig>& value) { SetSources(value); return *this;}
106 
110  inline CreateSimulationApplicationRequest& WithSources(Aws::Vector<SourceConfig>&& value) { SetSources(std::move(value)); return *this;}
111 
115  inline CreateSimulationApplicationRequest& AddSources(const SourceConfig& value) { m_sourcesHasBeenSet = true; m_sources.push_back(value); return *this; }
116 
120  inline CreateSimulationApplicationRequest& AddSources(SourceConfig&& value) { m_sourcesHasBeenSet = true; m_sources.push_back(std::move(value)); return *this; }
121 
122 
126  inline const SimulationSoftwareSuite& GetSimulationSoftwareSuite() const{ return m_simulationSoftwareSuite; }
127 
131  inline bool SimulationSoftwareSuiteHasBeenSet() const { return m_simulationSoftwareSuiteHasBeenSet; }
132 
136  inline void SetSimulationSoftwareSuite(const SimulationSoftwareSuite& value) { m_simulationSoftwareSuiteHasBeenSet = true; m_simulationSoftwareSuite = value; }
137 
141  inline void SetSimulationSoftwareSuite(SimulationSoftwareSuite&& value) { m_simulationSoftwareSuiteHasBeenSet = true; m_simulationSoftwareSuite = std::move(value); }
142 
146  inline CreateSimulationApplicationRequest& WithSimulationSoftwareSuite(const SimulationSoftwareSuite& value) { SetSimulationSoftwareSuite(value); return *this;}
147 
151  inline CreateSimulationApplicationRequest& WithSimulationSoftwareSuite(SimulationSoftwareSuite&& value) { SetSimulationSoftwareSuite(std::move(value)); return *this;}
152 
153 
158  inline const RobotSoftwareSuite& GetRobotSoftwareSuite() const{ return m_robotSoftwareSuite; }
159 
164  inline bool RobotSoftwareSuiteHasBeenSet() const { return m_robotSoftwareSuiteHasBeenSet; }
165 
170  inline void SetRobotSoftwareSuite(const RobotSoftwareSuite& value) { m_robotSoftwareSuiteHasBeenSet = true; m_robotSoftwareSuite = value; }
171 
176  inline void SetRobotSoftwareSuite(RobotSoftwareSuite&& value) { m_robotSoftwareSuiteHasBeenSet = true; m_robotSoftwareSuite = std::move(value); }
177 
182  inline CreateSimulationApplicationRequest& WithRobotSoftwareSuite(const RobotSoftwareSuite& value) { SetRobotSoftwareSuite(value); return *this;}
183 
188  inline CreateSimulationApplicationRequest& WithRobotSoftwareSuite(RobotSoftwareSuite&& value) { SetRobotSoftwareSuite(std::move(value)); return *this;}
189 
190 
194  inline const RenderingEngine& GetRenderingEngine() const{ return m_renderingEngine; }
195 
199  inline bool RenderingEngineHasBeenSet() const { return m_renderingEngineHasBeenSet; }
200 
204  inline void SetRenderingEngine(const RenderingEngine& value) { m_renderingEngineHasBeenSet = true; m_renderingEngine = value; }
205 
209  inline void SetRenderingEngine(RenderingEngine&& value) { m_renderingEngineHasBeenSet = true; m_renderingEngine = std::move(value); }
210 
214  inline CreateSimulationApplicationRequest& WithRenderingEngine(const RenderingEngine& value) { SetRenderingEngine(value); return *this;}
215 
219  inline CreateSimulationApplicationRequest& WithRenderingEngine(RenderingEngine&& value) { SetRenderingEngine(std::move(value)); return *this;}
220 
221 
226  inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
227 
232  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
233 
238  inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
239 
244  inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
245 
250  inline CreateSimulationApplicationRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
251 
256  inline CreateSimulationApplicationRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
257 
262  inline CreateSimulationApplicationRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
263 
268  inline CreateSimulationApplicationRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
269 
274  inline CreateSimulationApplicationRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
275 
280  inline CreateSimulationApplicationRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
281 
286  inline CreateSimulationApplicationRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
287 
292  inline CreateSimulationApplicationRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
293 
298  inline CreateSimulationApplicationRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
299 
300  private:
301 
302  Aws::String m_name;
303  bool m_nameHasBeenSet;
304 
305  Aws::Vector<SourceConfig> m_sources;
306  bool m_sourcesHasBeenSet;
307 
308  SimulationSoftwareSuite m_simulationSoftwareSuite;
309  bool m_simulationSoftwareSuiteHasBeenSet;
310 
311  RobotSoftwareSuite m_robotSoftwareSuite;
312  bool m_robotSoftwareSuiteHasBeenSet;
313 
314  RenderingEngine m_renderingEngine;
315  bool m_renderingEngineHasBeenSet;
316 
318  bool m_tagsHasBeenSet;
319  };
320 
321 } // namespace Model
322 } // namespace RoboMaker
323 } // namespace Aws
Aws::RoboMaker::Model::CreateSimulationApplicationRequest::SetName
void SetName(const Aws::String &value)
Definition: CreateSimulationApplicationRequest.h:54
Aws::RoboMaker::Model::CreateSimulationApplicationRequest::SetRobotSoftwareSuite
void SetRobotSoftwareSuite(const RobotSoftwareSuite &value)
Definition: CreateSimulationApplicationRequest.h:170
Aws::RoboMaker::Model::CreateSimulationApplicationRequest::GetName
const Aws::String & GetName() const
Definition: CreateSimulationApplicationRequest.h:44
Aws::RoboMaker::Model::SimulationSoftwareSuite
Definition: SimulationSoftwareSuite.h:33
Aws::RoboMaker::Model::CreateSimulationApplicationRequest::SetSimulationSoftwareSuite
void SetSimulationSoftwareSuite(const SimulationSoftwareSuite &value)
Definition: CreateSimulationApplicationRequest.h:136
Aws::RoboMaker::Model::CreateSimulationApplicationRequest::WithTags
CreateSimulationApplicationRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: CreateSimulationApplicationRequest.h:256
Aws::RoboMaker::Model::CreateSimulationApplicationRequest::WithName
CreateSimulationApplicationRequest & WithName(const char *value)
Definition: CreateSimulationApplicationRequest.h:79
Aws::RoboMaker::Model::CreateSimulationApplicationRequest::AddTags
CreateSimulationApplicationRequest & AddTags(const char *key, Aws::String &&value)
Definition: CreateSimulationApplicationRequest.h:286
Aws::RoboMaker::Model::CreateSimulationApplicationRequest::GetSimulationSoftwareSuite
const SimulationSoftwareSuite & GetSimulationSoftwareSuite() const
Definition: CreateSimulationApplicationRequest.h:126
Aws::RoboMaker::Model::CreateSimulationApplicationRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: CreateSimulationApplicationRequest.h:232
SimulationSoftwareSuite.h
Aws::RoboMaker::Model::CreateSimulationApplicationRequest::WithName
CreateSimulationApplicationRequest & WithName(Aws::String &&value)
Definition: CreateSimulationApplicationRequest.h:74
Aws::RoboMaker::Model::CreateSimulationApplicationRequest::GetSources
const Aws::Vector< SourceConfig > & GetSources() const
Definition: CreateSimulationApplicationRequest.h:85
Aws::RoboMaker::Model::CreateSimulationApplicationRequest::SetRenderingEngine
void SetRenderingEngine(const RenderingEngine &value)
Definition: CreateSimulationApplicationRequest.h:204
Aws::RoboMaker::Model::CreateSimulationApplicationRequest::SetSimulationSoftwareSuite
void SetSimulationSoftwareSuite(SimulationSoftwareSuite &&value)
Definition: CreateSimulationApplicationRequest.h:141
Aws::RoboMaker::Model::CreateSimulationApplicationRequest::WithSimulationSoftwareSuite
CreateSimulationApplicationRequest & WithSimulationSoftwareSuite(SimulationSoftwareSuite &&value)
Definition: CreateSimulationApplicationRequest.h:151
Aws::RoboMaker::Model::CreateSimulationApplicationRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::RoboMaker::Model::CreateSimulationApplicationRequest
Definition: CreateSimulationApplicationRequest.h:28
Aws::RoboMaker::Model::CreateSimulationApplicationRequest::AddTags
CreateSimulationApplicationRequest & AddTags(const Aws::String &key, const Aws::String &value)
Definition: CreateSimulationApplicationRequest.h:262
RoboMakerRequest.h
Aws::RoboMaker::Model::CreateSimulationApplicationRequest::RobotSoftwareSuiteHasBeenSet
bool RobotSoftwareSuiteHasBeenSet() const
Definition: CreateSimulationApplicationRequest.h:164
Aws::RoboMaker::Model::CreateSimulationApplicationRequest::AddTags
CreateSimulationApplicationRequest & AddTags(const char *key, const char *value)
Definition: CreateSimulationApplicationRequest.h:298
SourceConfig.h
Aws::RoboMaker::Model::CreateSimulationApplicationRequest::SetTags
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: CreateSimulationApplicationRequest.h:244
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::RoboMaker::Model::CreateSimulationApplicationRequest::CreateSimulationApplicationRequest
CreateSimulationApplicationRequest()
Aws::RoboMaker::Model::CreateSimulationApplicationRequest::SetSources
void SetSources(Aws::Vector< SourceConfig > &&value)
Definition: CreateSimulationApplicationRequest.h:100
AWSVector.h
Aws::RoboMaker::Model::CreateSimulationApplicationRequest::SetName
void SetName(Aws::String &&value)
Definition: CreateSimulationApplicationRequest.h:59
Aws::RoboMaker::Model::CreateSimulationApplicationRequest::SetTags
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: CreateSimulationApplicationRequest.h:238
Aws::RoboMaker::Model::CreateSimulationApplicationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateSimulationApplicationRequest.h:36
Aws::RoboMaker::Model::CreateSimulationApplicationRequest::WithSimulationSoftwareSuite
CreateSimulationApplicationRequest & WithSimulationSoftwareSuite(const SimulationSoftwareSuite &value)
Definition: CreateSimulationApplicationRequest.h:146
Aws::RoboMaker::Model::CreateSimulationApplicationRequest::SetRenderingEngine
void SetRenderingEngine(RenderingEngine &&value)
Definition: CreateSimulationApplicationRequest.h:209
Aws::RoboMaker::Model::CreateSimulationApplicationRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: CreateSimulationApplicationRequest.h:49
AWS_ROBOMAKER_API
#define AWS_ROBOMAKER_API
Definition: RoboMaker_EXPORTS.h:28
Aws::RoboMaker::Model::RobotSoftwareSuite
Definition: RobotSoftwareSuite.h:34
Aws::RoboMaker::Model::CreateSimulationApplicationRequest::AddTags
CreateSimulationApplicationRequest & AddTags(Aws::String &&key, const char *value)
Definition: CreateSimulationApplicationRequest.h:292
Aws::RoboMaker::Model::CreateSimulationApplicationRequest::AddSources
CreateSimulationApplicationRequest & AddSources(const SourceConfig &value)
Definition: CreateSimulationApplicationRequest.h:115
Aws::RoboMaker::Model::CreateSimulationApplicationRequest::AddTags
CreateSimulationApplicationRequest & AddTags(Aws::String &&key, const Aws::String &value)
Definition: CreateSimulationApplicationRequest.h:268
Aws::RoboMaker::Model::RenderingEngine
Definition: RenderingEngine.h:33
Aws::RoboMaker::Model::CreateSimulationApplicationRequest::WithTags
CreateSimulationApplicationRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: CreateSimulationApplicationRequest.h:250
RoboMaker_EXPORTS.h
Aws::RoboMaker::Model::CreateSimulationApplicationRequest::AddSources
CreateSimulationApplicationRequest & AddSources(SourceConfig &&value)
Definition: CreateSimulationApplicationRequest.h:120
AWSString.h
RenderingEngine.h
Aws::RoboMaker::Model::CreateSimulationApplicationRequest::RenderingEngineHasBeenSet
bool RenderingEngineHasBeenSet() const
Definition: CreateSimulationApplicationRequest.h:199
Aws::RoboMaker::Model::CreateSimulationApplicationRequest::WithRobotSoftwareSuite
CreateSimulationApplicationRequest & WithRobotSoftwareSuite(RobotSoftwareSuite &&value)
Definition: CreateSimulationApplicationRequest.h:188
Aws::RoboMaker::Model::CreateSimulationApplicationRequest::WithSources
CreateSimulationApplicationRequest & WithSources(Aws::Vector< SourceConfig > &&value)
Definition: CreateSimulationApplicationRequest.h:110
Aws::RoboMaker::Model::CreateSimulationApplicationRequest::WithRobotSoftwareSuite
CreateSimulationApplicationRequest & WithRobotSoftwareSuite(const RobotSoftwareSuite &value)
Definition: CreateSimulationApplicationRequest.h:182
Aws::RoboMaker::Model::CreateSimulationApplicationRequest::WithRenderingEngine
CreateSimulationApplicationRequest & WithRenderingEngine(RenderingEngine &&value)
Definition: CreateSimulationApplicationRequest.h:219
Aws::RoboMaker::Model::CreateSimulationApplicationRequest::SetRobotSoftwareSuite
void SetRobotSoftwareSuite(RobotSoftwareSuite &&value)
Definition: CreateSimulationApplicationRequest.h:176
Aws::RoboMaker::Model::SourceConfig
Definition: SourceConfig.h:33
Aws::RoboMaker::Model::CreateSimulationApplicationRequest::GetRobotSoftwareSuite
const RobotSoftwareSuite & GetRobotSoftwareSuite() const
Definition: CreateSimulationApplicationRequest.h:158
Aws::RoboMaker::Model::CreateSimulationApplicationRequest::GetTags
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition: CreateSimulationApplicationRequest.h:226
Aws::RoboMaker::Model::CreateSimulationApplicationRequest::SetSources
void SetSources(const Aws::Vector< SourceConfig > &value)
Definition: CreateSimulationApplicationRequest.h:95
Aws::RoboMaker::Model::CreateSimulationApplicationRequest::AddTags
CreateSimulationApplicationRequest & AddTags(const Aws::String &key, Aws::String &&value)
Definition: CreateSimulationApplicationRequest.h:274
Aws
Definition: AccessManagementClient.h:15
Aws::RoboMaker::Model::CreateSimulationApplicationRequest::AddTags
CreateSimulationApplicationRequest & AddTags(Aws::String &&key, Aws::String &&value)
Definition: CreateSimulationApplicationRequest.h:280
Aws::RoboMaker::Model::CreateSimulationApplicationRequest::WithName
CreateSimulationApplicationRequest & WithName(const Aws::String &value)
Definition: CreateSimulationApplicationRequest.h:69
RobotSoftwareSuite.h
Aws::RoboMaker::RoboMakerRequest
Definition: RoboMakerRequest.h:17
Aws::RoboMaker::Model::CreateSimulationApplicationRequest::WithRenderingEngine
CreateSimulationApplicationRequest & WithRenderingEngine(const RenderingEngine &value)
Definition: CreateSimulationApplicationRequest.h:214
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RoboMaker::Model::CreateSimulationApplicationRequest::WithSources
CreateSimulationApplicationRequest & WithSources(const Aws::Vector< SourceConfig > &value)
Definition: CreateSimulationApplicationRequest.h:105
Aws::RoboMaker::Model::CreateSimulationApplicationRequest::SourcesHasBeenSet
bool SourcesHasBeenSet() const
Definition: CreateSimulationApplicationRequest.h:90
Aws::RoboMaker::Model::CreateSimulationApplicationRequest::GetRenderingEngine
const RenderingEngine & GetRenderingEngine() const
Definition: CreateSimulationApplicationRequest.h:194
AWSMap.h
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::RoboMaker::Model::CreateSimulationApplicationRequest::SetName
void SetName(const char *value)
Definition: CreateSimulationApplicationRequest.h:64
Aws::RoboMaker::Model::CreateSimulationApplicationRequest::SimulationSoftwareSuiteHasBeenSet
bool SimulationSoftwareSuiteHasBeenSet() const
Definition: CreateSimulationApplicationRequest.h:131