AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
49 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
50 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
51 inline CreateSimulationApplicationRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
52 inline CreateSimulationApplicationRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
53 inline CreateSimulationApplicationRequest& WithName(const char* value) { SetName(value); return *this;}
55
57
60 inline const Aws::Vector<SourceConfig>& GetSources() const{ return m_sources; }
61 inline bool SourcesHasBeenSet() const { return m_sourcesHasBeenSet; }
62 inline void SetSources(const Aws::Vector<SourceConfig>& value) { m_sourcesHasBeenSet = true; m_sources = value; }
63 inline void SetSources(Aws::Vector<SourceConfig>&& value) { m_sourcesHasBeenSet = true; m_sources = std::move(value); }
65 inline CreateSimulationApplicationRequest& WithSources(Aws::Vector<SourceConfig>&& value) { SetSources(std::move(value)); return *this;}
66 inline CreateSimulationApplicationRequest& AddSources(const SourceConfig& value) { m_sourcesHasBeenSet = true; m_sources.push_back(value); return *this; }
67 inline CreateSimulationApplicationRequest& AddSources(SourceConfig&& value) { m_sourcesHasBeenSet = true; m_sources.push_back(std::move(value)); return *this; }
69
71
74 inline const SimulationSoftwareSuite& GetSimulationSoftwareSuite() const{ return m_simulationSoftwareSuite; }
75 inline bool SimulationSoftwareSuiteHasBeenSet() const { return m_simulationSoftwareSuiteHasBeenSet; }
76 inline void SetSimulationSoftwareSuite(const SimulationSoftwareSuite& value) { m_simulationSoftwareSuiteHasBeenSet = true; m_simulationSoftwareSuite = value; }
77 inline void SetSimulationSoftwareSuite(SimulationSoftwareSuite&& value) { m_simulationSoftwareSuiteHasBeenSet = true; m_simulationSoftwareSuite = std::move(value); }
81
83
86 inline const RobotSoftwareSuite& GetRobotSoftwareSuite() const{ return m_robotSoftwareSuite; }
87 inline bool RobotSoftwareSuiteHasBeenSet() const { return m_robotSoftwareSuiteHasBeenSet; }
88 inline void SetRobotSoftwareSuite(const RobotSoftwareSuite& value) { m_robotSoftwareSuiteHasBeenSet = true; m_robotSoftwareSuite = value; }
89 inline void SetRobotSoftwareSuite(RobotSoftwareSuite&& value) { m_robotSoftwareSuiteHasBeenSet = true; m_robotSoftwareSuite = std::move(value); }
93
95
98 inline const RenderingEngine& GetRenderingEngine() const{ return m_renderingEngine; }
99 inline bool RenderingEngineHasBeenSet() const { return m_renderingEngineHasBeenSet; }
100 inline void SetRenderingEngine(const RenderingEngine& value) { m_renderingEngineHasBeenSet = true; m_renderingEngine = value; }
101 inline void SetRenderingEngine(RenderingEngine&& value) { m_renderingEngineHasBeenSet = true; m_renderingEngine = std::move(value); }
105
107
111 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
112 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
113 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
114 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
117 inline CreateSimulationApplicationRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
118 inline CreateSimulationApplicationRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
119 inline CreateSimulationApplicationRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
120 inline CreateSimulationApplicationRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
121 inline CreateSimulationApplicationRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
122 inline CreateSimulationApplicationRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
123 inline CreateSimulationApplicationRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
125
127
131 inline const Environment& GetEnvironment() const{ return m_environment; }
132 inline bool EnvironmentHasBeenSet() const { return m_environmentHasBeenSet; }
133 inline void SetEnvironment(const Environment& value) { m_environmentHasBeenSet = true; m_environment = value; }
134 inline void SetEnvironment(Environment&& value) { m_environmentHasBeenSet = true; m_environment = std::move(value); }
136 inline CreateSimulationApplicationRequest& WithEnvironment(Environment&& value) { SetEnvironment(std::move(value)); return *this;}
138 private:
139
140 Aws::String m_name;
141 bool m_nameHasBeenSet = false;
142
144 bool m_sourcesHasBeenSet = false;
145
146 SimulationSoftwareSuite m_simulationSoftwareSuite;
147 bool m_simulationSoftwareSuiteHasBeenSet = false;
148
149 RobotSoftwareSuite m_robotSoftwareSuite;
150 bool m_robotSoftwareSuiteHasBeenSet = false;
151
152 RenderingEngine m_renderingEngine;
153 bool m_renderingEngineHasBeenSet = false;
154
156 bool m_tagsHasBeenSet = false;
157
158 Environment m_environment;
159 bool m_environmentHasBeenSet = false;
160 };
161
162} // namespace Model
163} // namespace RoboMaker
164} // namespace Aws
CreateSimulationApplicationRequest & AddSources(const SourceConfig &value)
CreateSimulationApplicationRequest & WithRenderingEngine(RenderingEngine &&value)
CreateSimulationApplicationRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateSimulationApplicationRequest & WithName(const char *value)
CreateSimulationApplicationRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateSimulationApplicationRequest & AddTags(Aws::String &&key, const char *value)
CreateSimulationApplicationRequest & WithRobotSoftwareSuite(RobotSoftwareSuite &&value)
CreateSimulationApplicationRequest & WithSources(const Aws::Vector< SourceConfig > &value)
CreateSimulationApplicationRequest & WithSimulationSoftwareSuite(SimulationSoftwareSuite &&value)
CreateSimulationApplicationRequest & WithRenderingEngine(const RenderingEngine &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateSimulationApplicationRequest & WithName(Aws::String &&value)
CreateSimulationApplicationRequest & AddTags(const char *key, const char *value)
CreateSimulationApplicationRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateSimulationApplicationRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateSimulationApplicationRequest & AddSources(SourceConfig &&value)
CreateSimulationApplicationRequest & WithSources(Aws::Vector< SourceConfig > &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateSimulationApplicationRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateSimulationApplicationRequest & WithSimulationSoftwareSuite(const SimulationSoftwareSuite &value)
CreateSimulationApplicationRequest & AddTags(const char *key, Aws::String &&value)
CreateSimulationApplicationRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateSimulationApplicationRequest & WithEnvironment(Environment &&value)
CreateSimulationApplicationRequest & WithName(const Aws::String &value)
CreateSimulationApplicationRequest & WithRobotSoftwareSuite(const RobotSoftwareSuite &value)
AWS_ROBOMAKER_API Aws::String SerializePayload() const override
CreateSimulationApplicationRequest & WithEnvironment(const Environment &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