/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include #include #include namespace Aws { namespace RoboMaker { namespace Model { /** */ class UpdateSimulationApplicationRequest : public RoboMakerRequest { public: AWS_ROBOMAKER_API UpdateSimulationApplicationRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "UpdateSimulationApplication"; } AWS_ROBOMAKER_API Aws::String SerializePayload() const override; /** *

The application information for the simulation application.

*/ inline const Aws::String& GetApplication() const{ return m_application; } /** *

The application information for the simulation application.

*/ inline bool ApplicationHasBeenSet() const { return m_applicationHasBeenSet; } /** *

The application information for the simulation application.

*/ inline void SetApplication(const Aws::String& value) { m_applicationHasBeenSet = true; m_application = value; } /** *

The application information for the simulation application.

*/ inline void SetApplication(Aws::String&& value) { m_applicationHasBeenSet = true; m_application = std::move(value); } /** *

The application information for the simulation application.

*/ inline void SetApplication(const char* value) { m_applicationHasBeenSet = true; m_application.assign(value); } /** *

The application information for the simulation application.

*/ inline UpdateSimulationApplicationRequest& WithApplication(const Aws::String& value) { SetApplication(value); return *this;} /** *

The application information for the simulation application.

*/ inline UpdateSimulationApplicationRequest& WithApplication(Aws::String&& value) { SetApplication(std::move(value)); return *this;} /** *

The application information for the simulation application.

*/ inline UpdateSimulationApplicationRequest& WithApplication(const char* value) { SetApplication(value); return *this;} /** *

The sources of the simulation application.

*/ inline const Aws::Vector& GetSources() const{ return m_sources; } /** *

The sources of the simulation application.

*/ inline bool SourcesHasBeenSet() const { return m_sourcesHasBeenSet; } /** *

The sources of the simulation application.

*/ inline void SetSources(const Aws::Vector& value) { m_sourcesHasBeenSet = true; m_sources = value; } /** *

The sources of the simulation application.

*/ inline void SetSources(Aws::Vector&& value) { m_sourcesHasBeenSet = true; m_sources = std::move(value); } /** *

The sources of the simulation application.

*/ inline UpdateSimulationApplicationRequest& WithSources(const Aws::Vector& value) { SetSources(value); return *this;} /** *

The sources of the simulation application.

*/ inline UpdateSimulationApplicationRequest& WithSources(Aws::Vector&& value) { SetSources(std::move(value)); return *this;} /** *

The sources of the simulation application.

*/ inline UpdateSimulationApplicationRequest& AddSources(const SourceConfig& value) { m_sourcesHasBeenSet = true; m_sources.push_back(value); return *this; } /** *

The sources of the simulation application.

*/ inline UpdateSimulationApplicationRequest& AddSources(SourceConfig&& value) { m_sourcesHasBeenSet = true; m_sources.push_back(std::move(value)); return *this; } /** *

The simulation software suite used by the simulation application.

*/ inline const SimulationSoftwareSuite& GetSimulationSoftwareSuite() const{ return m_simulationSoftwareSuite; } /** *

The simulation software suite used by the simulation application.

*/ inline bool SimulationSoftwareSuiteHasBeenSet() const { return m_simulationSoftwareSuiteHasBeenSet; } /** *

The simulation software suite used by the simulation application.

*/ inline void SetSimulationSoftwareSuite(const SimulationSoftwareSuite& value) { m_simulationSoftwareSuiteHasBeenSet = true; m_simulationSoftwareSuite = value; } /** *

The simulation software suite used by the simulation application.

*/ inline void SetSimulationSoftwareSuite(SimulationSoftwareSuite&& value) { m_simulationSoftwareSuiteHasBeenSet = true; m_simulationSoftwareSuite = std::move(value); } /** *

The simulation software suite used by the simulation application.

*/ inline UpdateSimulationApplicationRequest& WithSimulationSoftwareSuite(const SimulationSoftwareSuite& value) { SetSimulationSoftwareSuite(value); return *this;} /** *

The simulation software suite used by the simulation application.

*/ inline UpdateSimulationApplicationRequest& WithSimulationSoftwareSuite(SimulationSoftwareSuite&& value) { SetSimulationSoftwareSuite(std::move(value)); return *this;} /** *

Information about the robot software suite (ROS distribution).

*/ inline const RobotSoftwareSuite& GetRobotSoftwareSuite() const{ return m_robotSoftwareSuite; } /** *

Information about the robot software suite (ROS distribution).

*/ inline bool RobotSoftwareSuiteHasBeenSet() const { return m_robotSoftwareSuiteHasBeenSet; } /** *

Information about the robot software suite (ROS distribution).

*/ inline void SetRobotSoftwareSuite(const RobotSoftwareSuite& value) { m_robotSoftwareSuiteHasBeenSet = true; m_robotSoftwareSuite = value; } /** *

Information about the robot software suite (ROS distribution).

*/ inline void SetRobotSoftwareSuite(RobotSoftwareSuite&& value) { m_robotSoftwareSuiteHasBeenSet = true; m_robotSoftwareSuite = std::move(value); } /** *

Information about the robot software suite (ROS distribution).

*/ inline UpdateSimulationApplicationRequest& WithRobotSoftwareSuite(const RobotSoftwareSuite& value) { SetRobotSoftwareSuite(value); return *this;} /** *

Information about the robot software suite (ROS distribution).

*/ inline UpdateSimulationApplicationRequest& WithRobotSoftwareSuite(RobotSoftwareSuite&& value) { SetRobotSoftwareSuite(std::move(value)); return *this;} /** *

The rendering engine for the simulation application.

*/ inline const RenderingEngine& GetRenderingEngine() const{ return m_renderingEngine; } /** *

The rendering engine for the simulation application.

*/ inline bool RenderingEngineHasBeenSet() const { return m_renderingEngineHasBeenSet; } /** *

The rendering engine for the simulation application.

*/ inline void SetRenderingEngine(const RenderingEngine& value) { m_renderingEngineHasBeenSet = true; m_renderingEngine = value; } /** *

The rendering engine for the simulation application.

*/ inline void SetRenderingEngine(RenderingEngine&& value) { m_renderingEngineHasBeenSet = true; m_renderingEngine = std::move(value); } /** *

The rendering engine for the simulation application.

*/ inline UpdateSimulationApplicationRequest& WithRenderingEngine(const RenderingEngine& value) { SetRenderingEngine(value); return *this;} /** *

The rendering engine for the simulation application.

*/ inline UpdateSimulationApplicationRequest& WithRenderingEngine(RenderingEngine&& value) { SetRenderingEngine(std::move(value)); return *this;} /** *

The revision id for the robot application.

*/ inline const Aws::String& GetCurrentRevisionId() const{ return m_currentRevisionId; } /** *

The revision id for the robot application.

*/ inline bool CurrentRevisionIdHasBeenSet() const { return m_currentRevisionIdHasBeenSet; } /** *

The revision id for the robot application.

*/ inline void SetCurrentRevisionId(const Aws::String& value) { m_currentRevisionIdHasBeenSet = true; m_currentRevisionId = value; } /** *

The revision id for the robot application.

*/ inline void SetCurrentRevisionId(Aws::String&& value) { m_currentRevisionIdHasBeenSet = true; m_currentRevisionId = std::move(value); } /** *

The revision id for the robot application.

*/ inline void SetCurrentRevisionId(const char* value) { m_currentRevisionIdHasBeenSet = true; m_currentRevisionId.assign(value); } /** *

The revision id for the robot application.

*/ inline UpdateSimulationApplicationRequest& WithCurrentRevisionId(const Aws::String& value) { SetCurrentRevisionId(value); return *this;} /** *

The revision id for the robot application.

*/ inline UpdateSimulationApplicationRequest& WithCurrentRevisionId(Aws::String&& value) { SetCurrentRevisionId(std::move(value)); return *this;} /** *

The revision id for the robot application.

*/ inline UpdateSimulationApplicationRequest& WithCurrentRevisionId(const char* value) { SetCurrentRevisionId(value); return *this;} /** *

The object that contains the Docker image URI for your simulation * application.

*/ inline const Environment& GetEnvironment() const{ return m_environment; } /** *

The object that contains the Docker image URI for your simulation * application.

*/ inline bool EnvironmentHasBeenSet() const { return m_environmentHasBeenSet; } /** *

The object that contains the Docker image URI for your simulation * application.

*/ inline void SetEnvironment(const Environment& value) { m_environmentHasBeenSet = true; m_environment = value; } /** *

The object that contains the Docker image URI for your simulation * application.

*/ inline void SetEnvironment(Environment&& value) { m_environmentHasBeenSet = true; m_environment = std::move(value); } /** *

The object that contains the Docker image URI for your simulation * application.

*/ inline UpdateSimulationApplicationRequest& WithEnvironment(const Environment& value) { SetEnvironment(value); return *this;} /** *

The object that contains the Docker image URI for your simulation * application.

*/ inline UpdateSimulationApplicationRequest& WithEnvironment(Environment&& value) { SetEnvironment(std::move(value)); return *this;} private: Aws::String m_application; bool m_applicationHasBeenSet = false; Aws::Vector m_sources; bool m_sourcesHasBeenSet = false; SimulationSoftwareSuite m_simulationSoftwareSuite; bool m_simulationSoftwareSuiteHasBeenSet = false; RobotSoftwareSuite m_robotSoftwareSuite; bool m_robotSoftwareSuiteHasBeenSet = false; RenderingEngine m_renderingEngine; bool m_renderingEngineHasBeenSet = false; Aws::String m_currentRevisionId; bool m_currentRevisionIdHasBeenSet = false; Environment m_environment; bool m_environmentHasBeenSet = false; }; } // namespace Model } // namespace RoboMaker } // namespace Aws