AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateSimulationApplicationRequest.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/robomaker/model/Environment.h>
15#include <aws/robomaker/model/SourceConfig.h>
16#include <utility>
17
18namespace Aws
19{
20namespace RoboMaker
21{
22namespace 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 "UpdateSimulationApplication"; }
37
38 AWS_ROBOMAKER_API Aws::String SerializePayload() const override;
39
40
42
45 inline const Aws::String& GetApplication() const{ return m_application; }
46 inline bool ApplicationHasBeenSet() const { return m_applicationHasBeenSet; }
47 inline void SetApplication(const Aws::String& value) { m_applicationHasBeenSet = true; m_application = value; }
48 inline void SetApplication(Aws::String&& value) { m_applicationHasBeenSet = true; m_application = std::move(value); }
49 inline void SetApplication(const char* value) { m_applicationHasBeenSet = true; m_application.assign(value); }
51 inline UpdateSimulationApplicationRequest& WithApplication(Aws::String&& value) { SetApplication(std::move(value)); return *this;}
52 inline UpdateSimulationApplicationRequest& WithApplication(const char* value) { SetApplication(value); return *this;}
54
56
59 inline const Aws::Vector<SourceConfig>& GetSources() const{ return m_sources; }
60 inline bool SourcesHasBeenSet() const { return m_sourcesHasBeenSet; }
61 inline void SetSources(const Aws::Vector<SourceConfig>& value) { m_sourcesHasBeenSet = true; m_sources = value; }
62 inline void SetSources(Aws::Vector<SourceConfig>&& value) { m_sourcesHasBeenSet = true; m_sources = std::move(value); }
64 inline UpdateSimulationApplicationRequest& WithSources(Aws::Vector<SourceConfig>&& value) { SetSources(std::move(value)); return *this;}
65 inline UpdateSimulationApplicationRequest& AddSources(const SourceConfig& value) { m_sourcesHasBeenSet = true; m_sources.push_back(value); return *this; }
66 inline UpdateSimulationApplicationRequest& AddSources(SourceConfig&& value) { m_sourcesHasBeenSet = true; m_sources.push_back(std::move(value)); return *this; }
68
70
73 inline const SimulationSoftwareSuite& GetSimulationSoftwareSuite() const{ return m_simulationSoftwareSuite; }
74 inline bool SimulationSoftwareSuiteHasBeenSet() const { return m_simulationSoftwareSuiteHasBeenSet; }
75 inline void SetSimulationSoftwareSuite(const SimulationSoftwareSuite& value) { m_simulationSoftwareSuiteHasBeenSet = true; m_simulationSoftwareSuite = value; }
76 inline void SetSimulationSoftwareSuite(SimulationSoftwareSuite&& value) { m_simulationSoftwareSuiteHasBeenSet = true; m_simulationSoftwareSuite = std::move(value); }
80
82
85 inline const RobotSoftwareSuite& GetRobotSoftwareSuite() const{ return m_robotSoftwareSuite; }
86 inline bool RobotSoftwareSuiteHasBeenSet() const { return m_robotSoftwareSuiteHasBeenSet; }
87 inline void SetRobotSoftwareSuite(const RobotSoftwareSuite& value) { m_robotSoftwareSuiteHasBeenSet = true; m_robotSoftwareSuite = value; }
88 inline void SetRobotSoftwareSuite(RobotSoftwareSuite&& value) { m_robotSoftwareSuiteHasBeenSet = true; m_robotSoftwareSuite = std::move(value); }
92
94
97 inline const RenderingEngine& GetRenderingEngine() const{ return m_renderingEngine; }
98 inline bool RenderingEngineHasBeenSet() const { return m_renderingEngineHasBeenSet; }
99 inline void SetRenderingEngine(const RenderingEngine& value) { m_renderingEngineHasBeenSet = true; m_renderingEngine = value; }
100 inline void SetRenderingEngine(RenderingEngine&& value) { m_renderingEngineHasBeenSet = true; m_renderingEngine = std::move(value); }
104
106
109 inline const Aws::String& GetCurrentRevisionId() const{ return m_currentRevisionId; }
110 inline bool CurrentRevisionIdHasBeenSet() const { return m_currentRevisionIdHasBeenSet; }
111 inline void SetCurrentRevisionId(const Aws::String& value) { m_currentRevisionIdHasBeenSet = true; m_currentRevisionId = value; }
112 inline void SetCurrentRevisionId(Aws::String&& value) { m_currentRevisionIdHasBeenSet = true; m_currentRevisionId = std::move(value); }
113 inline void SetCurrentRevisionId(const char* value) { m_currentRevisionIdHasBeenSet = true; m_currentRevisionId.assign(value); }
116 inline UpdateSimulationApplicationRequest& WithCurrentRevisionId(const char* value) { SetCurrentRevisionId(value); return *this;}
118
120
124 inline const Environment& GetEnvironment() const{ return m_environment; }
125 inline bool EnvironmentHasBeenSet() const { return m_environmentHasBeenSet; }
126 inline void SetEnvironment(const Environment& value) { m_environmentHasBeenSet = true; m_environment = value; }
127 inline void SetEnvironment(Environment&& value) { m_environmentHasBeenSet = true; m_environment = std::move(value); }
129 inline UpdateSimulationApplicationRequest& WithEnvironment(Environment&& value) { SetEnvironment(std::move(value)); return *this;}
131 private:
132
133 Aws::String m_application;
134 bool m_applicationHasBeenSet = false;
135
137 bool m_sourcesHasBeenSet = false;
138
139 SimulationSoftwareSuite m_simulationSoftwareSuite;
140 bool m_simulationSoftwareSuiteHasBeenSet = false;
141
142 RobotSoftwareSuite m_robotSoftwareSuite;
143 bool m_robotSoftwareSuiteHasBeenSet = false;
144
145 RenderingEngine m_renderingEngine;
146 bool m_renderingEngineHasBeenSet = false;
147
148 Aws::String m_currentRevisionId;
149 bool m_currentRevisionIdHasBeenSet = false;
150
151 Environment m_environment;
152 bool m_environmentHasBeenSet = false;
153 };
154
155} // namespace Model
156} // namespace RoboMaker
157} // namespace Aws
UpdateSimulationApplicationRequest & WithSources(Aws::Vector< SourceConfig > &&value)
UpdateSimulationApplicationRequest & WithSimulationSoftwareSuite(const SimulationSoftwareSuite &value)
UpdateSimulationApplicationRequest & AddSources(const SourceConfig &value)
UpdateSimulationApplicationRequest & WithSimulationSoftwareSuite(SimulationSoftwareSuite &&value)
UpdateSimulationApplicationRequest & WithRenderingEngine(const RenderingEngine &value)
UpdateSimulationApplicationRequest & WithCurrentRevisionId(const Aws::String &value)
UpdateSimulationApplicationRequest & WithRobotSoftwareSuite(RobotSoftwareSuite &&value)
UpdateSimulationApplicationRequest & WithEnvironment(const Environment &value)
UpdateSimulationApplicationRequest & WithEnvironment(Environment &&value)
UpdateSimulationApplicationRequest & WithRenderingEngine(RenderingEngine &&value)
UpdateSimulationApplicationRequest & WithRobotSoftwareSuite(const RobotSoftwareSuite &value)
UpdateSimulationApplicationRequest & WithCurrentRevisionId(Aws::String &&value)
UpdateSimulationApplicationRequest & WithApplication(Aws::String &&value)
AWS_ROBOMAKER_API Aws::String SerializePayload() const override
UpdateSimulationApplicationRequest & WithCurrentRevisionId(const char *value)
UpdateSimulationApplicationRequest & AddSources(SourceConfig &&value)
UpdateSimulationApplicationRequest & WithApplication(const Aws::String &value)
UpdateSimulationApplicationRequest & WithSources(const Aws::Vector< SourceConfig > &value)
UpdateSimulationApplicationRequest & WithApplication(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector