AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CreateSimulationApplicationRequest.h
1
6#pragma once
7#include <aws/robomaker/RoboMaker_EXPORTS.h>
8#include <aws/robomaker/RoboMakerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/robomaker/model/SimulationSoftwareSuite.h>
12#include <aws/robomaker/model/RobotSoftwareSuite.h>
13#include <aws/robomaker/model/RenderingEngine.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
15#include <aws/robomaker/model/Environment.h>
16#include <aws/robomaker/model/SourceConfig.h>
17#include <utility>
18
19namespace Aws
20{
21namespace RoboMaker
22{
23namespace Model
24{
25
29 {
30 public:
31 AWS_ROBOMAKER_API CreateSimulationApplicationRequest() = default;
32
33 // Service request name is the Operation name which will send this request out,
34 // each operation should has unique request name, so that we can get operation's name from this request.
35 // Note: this is not true for response, multiple operations may have the same response name,
36 // so we can not get operation's name from response.
37 inline virtual const char* GetServiceRequestName() const override { return "CreateSimulationApplication"; }
38
39 AWS_ROBOMAKER_API Aws::String SerializePayload() const override;
40
41
43
46 inline const Aws::String& GetName() const { return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 template<typename NameT = Aws::String>
49 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
50 template<typename NameT = Aws::String>
51 CreateSimulationApplicationRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
53
55
58 inline const Aws::Vector<SourceConfig>& GetSources() const { return m_sources; }
59 inline bool SourcesHasBeenSet() const { return m_sourcesHasBeenSet; }
60 template<typename SourcesT = Aws::Vector<SourceConfig>>
61 void SetSources(SourcesT&& value) { m_sourcesHasBeenSet = true; m_sources = std::forward<SourcesT>(value); }
62 template<typename SourcesT = Aws::Vector<SourceConfig>>
63 CreateSimulationApplicationRequest& WithSources(SourcesT&& value) { SetSources(std::forward<SourcesT>(value)); return *this;}
64 template<typename SourcesT = SourceConfig>
65 CreateSimulationApplicationRequest& AddSources(SourcesT&& value) { m_sourcesHasBeenSet = true; m_sources.emplace_back(std::forward<SourcesT>(value)); return *this; }
67
69
72 inline const SimulationSoftwareSuite& GetSimulationSoftwareSuite() const { return m_simulationSoftwareSuite; }
73 inline bool SimulationSoftwareSuiteHasBeenSet() const { return m_simulationSoftwareSuiteHasBeenSet; }
74 template<typename SimulationSoftwareSuiteT = SimulationSoftwareSuite>
75 void SetSimulationSoftwareSuite(SimulationSoftwareSuiteT&& value) { m_simulationSoftwareSuiteHasBeenSet = true; m_simulationSoftwareSuite = std::forward<SimulationSoftwareSuiteT>(value); }
76 template<typename SimulationSoftwareSuiteT = SimulationSoftwareSuite>
77 CreateSimulationApplicationRequest& WithSimulationSoftwareSuite(SimulationSoftwareSuiteT&& value) { SetSimulationSoftwareSuite(std::forward<SimulationSoftwareSuiteT>(value)); return *this;}
79
81
84 inline const RobotSoftwareSuite& GetRobotSoftwareSuite() const { return m_robotSoftwareSuite; }
85 inline bool RobotSoftwareSuiteHasBeenSet() const { return m_robotSoftwareSuiteHasBeenSet; }
86 template<typename RobotSoftwareSuiteT = RobotSoftwareSuite>
87 void SetRobotSoftwareSuite(RobotSoftwareSuiteT&& value) { m_robotSoftwareSuiteHasBeenSet = true; m_robotSoftwareSuite = std::forward<RobotSoftwareSuiteT>(value); }
88 template<typename RobotSoftwareSuiteT = RobotSoftwareSuite>
89 CreateSimulationApplicationRequest& WithRobotSoftwareSuite(RobotSoftwareSuiteT&& value) { SetRobotSoftwareSuite(std::forward<RobotSoftwareSuiteT>(value)); return *this;}
91
93
96 inline const RenderingEngine& GetRenderingEngine() const { return m_renderingEngine; }
97 inline bool RenderingEngineHasBeenSet() const { return m_renderingEngineHasBeenSet; }
98 template<typename RenderingEngineT = RenderingEngine>
99 void SetRenderingEngine(RenderingEngineT&& value) { m_renderingEngineHasBeenSet = true; m_renderingEngine = std::forward<RenderingEngineT>(value); }
100 template<typename RenderingEngineT = RenderingEngine>
101 CreateSimulationApplicationRequest& WithRenderingEngine(RenderingEngineT&& value) { SetRenderingEngine(std::forward<RenderingEngineT>(value)); return *this;}
103
105
109 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
110 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
111 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
112 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
113 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
114 CreateSimulationApplicationRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
115 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
116 CreateSimulationApplicationRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
117 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
118 }
120
122
126 inline const Environment& GetEnvironment() const { return m_environment; }
127 inline bool EnvironmentHasBeenSet() const { return m_environmentHasBeenSet; }
128 template<typename EnvironmentT = Environment>
129 void SetEnvironment(EnvironmentT&& value) { m_environmentHasBeenSet = true; m_environment = std::forward<EnvironmentT>(value); }
130 template<typename EnvironmentT = Environment>
131 CreateSimulationApplicationRequest& WithEnvironment(EnvironmentT&& value) { SetEnvironment(std::forward<EnvironmentT>(value)); return *this;}
133 private:
134
135 Aws::String m_name;
136 bool m_nameHasBeenSet = false;
137
139 bool m_sourcesHasBeenSet = false;
140
141 SimulationSoftwareSuite m_simulationSoftwareSuite;
142 bool m_simulationSoftwareSuiteHasBeenSet = false;
143
144 RobotSoftwareSuite m_robotSoftwareSuite;
145 bool m_robotSoftwareSuiteHasBeenSet = false;
146
147 RenderingEngine m_renderingEngine;
148 bool m_renderingEngineHasBeenSet = false;
149
151 bool m_tagsHasBeenSet = false;
152
153 Environment m_environment;
154 bool m_environmentHasBeenSet = false;
155 };
156
157} // namespace Model
158} // namespace RoboMaker
159} // namespace Aws
CreateSimulationApplicationRequest & WithRobotSoftwareSuite(RobotSoftwareSuiteT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateSimulationApplicationRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateSimulationApplicationRequest & WithSources(SourcesT &&value)
AWS_ROBOMAKER_API CreateSimulationApplicationRequest()=default
CreateSimulationApplicationRequest & AddSources(SourcesT &&value)
CreateSimulationApplicationRequest & WithSimulationSoftwareSuite(SimulationSoftwareSuiteT &&value)
CreateSimulationApplicationRequest & WithName(NameT &&value)
CreateSimulationApplicationRequest & WithEnvironment(EnvironmentT &&value)
AWS_ROBOMAKER_API Aws::String SerializePayload() const override
CreateSimulationApplicationRequest & WithRenderingEngine(RenderingEngineT &&value)
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