AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
SimulationApplicationConfig.h
1
6#pragma once
7#include <aws/robomaker/RoboMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/robomaker/model/LaunchConfig.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/robomaker/model/UploadConfiguration.h>
12#include <aws/robomaker/model/WorldConfig.h>
13#include <aws/robomaker/model/Tool.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace RoboMaker
27{
28namespace Model
29{
30
38 {
39 public:
40 AWS_ROBOMAKER_API SimulationApplicationConfig() = default;
43 AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetApplication() const { return m_application; }
51 inline bool ApplicationHasBeenSet() const { return m_applicationHasBeenSet; }
52 template<typename ApplicationT = Aws::String>
53 void SetApplication(ApplicationT&& value) { m_applicationHasBeenSet = true; m_application = std::forward<ApplicationT>(value); }
54 template<typename ApplicationT = Aws::String>
55 SimulationApplicationConfig& WithApplication(ApplicationT&& value) { SetApplication(std::forward<ApplicationT>(value)); return *this;}
57
59
62 inline const Aws::String& GetApplicationVersion() const { return m_applicationVersion; }
63 inline bool ApplicationVersionHasBeenSet() const { return m_applicationVersionHasBeenSet; }
64 template<typename ApplicationVersionT = Aws::String>
65 void SetApplicationVersion(ApplicationVersionT&& value) { m_applicationVersionHasBeenSet = true; m_applicationVersion = std::forward<ApplicationVersionT>(value); }
66 template<typename ApplicationVersionT = Aws::String>
67 SimulationApplicationConfig& WithApplicationVersion(ApplicationVersionT&& value) { SetApplicationVersion(std::forward<ApplicationVersionT>(value)); return *this;}
69
71
74 inline const LaunchConfig& GetLaunchConfig() const { return m_launchConfig; }
75 inline bool LaunchConfigHasBeenSet() const { return m_launchConfigHasBeenSet; }
76 template<typename LaunchConfigT = LaunchConfig>
77 void SetLaunchConfig(LaunchConfigT&& value) { m_launchConfigHasBeenSet = true; m_launchConfig = std::forward<LaunchConfigT>(value); }
78 template<typename LaunchConfigT = LaunchConfig>
79 SimulationApplicationConfig& WithLaunchConfig(LaunchConfigT&& value) { SetLaunchConfig(std::forward<LaunchConfigT>(value)); return *this;}
81
83
86 inline const Aws::Vector<UploadConfiguration>& GetUploadConfigurations() const { return m_uploadConfigurations; }
87 inline bool UploadConfigurationsHasBeenSet() const { return m_uploadConfigurationsHasBeenSet; }
88 template<typename UploadConfigurationsT = Aws::Vector<UploadConfiguration>>
89 void SetUploadConfigurations(UploadConfigurationsT&& value) { m_uploadConfigurationsHasBeenSet = true; m_uploadConfigurations = std::forward<UploadConfigurationsT>(value); }
90 template<typename UploadConfigurationsT = Aws::Vector<UploadConfiguration>>
91 SimulationApplicationConfig& WithUploadConfigurations(UploadConfigurationsT&& value) { SetUploadConfigurations(std::forward<UploadConfigurationsT>(value)); return *this;}
92 template<typename UploadConfigurationsT = UploadConfiguration>
93 SimulationApplicationConfig& AddUploadConfigurations(UploadConfigurationsT&& value) { m_uploadConfigurationsHasBeenSet = true; m_uploadConfigurations.emplace_back(std::forward<UploadConfigurationsT>(value)); return *this; }
95
97
101 inline const Aws::Vector<WorldConfig>& GetWorldConfigs() const { return m_worldConfigs; }
102 inline bool WorldConfigsHasBeenSet() const { return m_worldConfigsHasBeenSet; }
103 template<typename WorldConfigsT = Aws::Vector<WorldConfig>>
104 void SetWorldConfigs(WorldConfigsT&& value) { m_worldConfigsHasBeenSet = true; m_worldConfigs = std::forward<WorldConfigsT>(value); }
105 template<typename WorldConfigsT = Aws::Vector<WorldConfig>>
106 SimulationApplicationConfig& WithWorldConfigs(WorldConfigsT&& value) { SetWorldConfigs(std::forward<WorldConfigsT>(value)); return *this;}
107 template<typename WorldConfigsT = WorldConfig>
108 SimulationApplicationConfig& AddWorldConfigs(WorldConfigsT&& value) { m_worldConfigsHasBeenSet = true; m_worldConfigs.emplace_back(std::forward<WorldConfigsT>(value)); return *this; }
110
112
115 inline const Aws::Vector<Tool>& GetTools() const { return m_tools; }
116 inline bool ToolsHasBeenSet() const { return m_toolsHasBeenSet; }
117 template<typename ToolsT = Aws::Vector<Tool>>
118 void SetTools(ToolsT&& value) { m_toolsHasBeenSet = true; m_tools = std::forward<ToolsT>(value); }
119 template<typename ToolsT = Aws::Vector<Tool>>
120 SimulationApplicationConfig& WithTools(ToolsT&& value) { SetTools(std::forward<ToolsT>(value)); return *this;}
121 template<typename ToolsT = Tool>
122 SimulationApplicationConfig& AddTools(ToolsT&& value) { m_toolsHasBeenSet = true; m_tools.emplace_back(std::forward<ToolsT>(value)); return *this; }
124 private:
125
126 Aws::String m_application;
127 bool m_applicationHasBeenSet = false;
128
129 Aws::String m_applicationVersion;
130 bool m_applicationVersionHasBeenSet = false;
131
132 LaunchConfig m_launchConfig;
133 bool m_launchConfigHasBeenSet = false;
134
135 Aws::Vector<UploadConfiguration> m_uploadConfigurations;
136 bool m_uploadConfigurationsHasBeenSet = false;
137
138 Aws::Vector<WorldConfig> m_worldConfigs;
139 bool m_worldConfigsHasBeenSet = false;
140
141 Aws::Vector<Tool> m_tools;
142 bool m_toolsHasBeenSet = false;
143 };
144
145} // namespace Model
146} // namespace RoboMaker
147} // namespace Aws
SimulationApplicationConfig & AddUploadConfigurations(UploadConfigurationsT &&value)
AWS_ROBOMAKER_API SimulationApplicationConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
SimulationApplicationConfig & WithWorldConfigs(WorldConfigsT &&value)
SimulationApplicationConfig & WithTools(ToolsT &&value)
SimulationApplicationConfig & WithApplicationVersion(ApplicationVersionT &&value)
SimulationApplicationConfig & AddWorldConfigs(WorldConfigsT &&value)
SimulationApplicationConfig & WithApplication(ApplicationT &&value)
SimulationApplicationConfig & AddTools(ToolsT &&value)
const Aws::Vector< UploadConfiguration > & GetUploadConfigurations() const
const Aws::Vector< WorldConfig > & GetWorldConfigs() const
SimulationApplicationConfig & WithLaunchConfig(LaunchConfigT &&value)
SimulationApplicationConfig & WithUploadConfigurations(UploadConfigurationsT &&value)
AWS_ROBOMAKER_API SimulationApplicationConfig()=default
AWS_ROBOMAKER_API SimulationApplicationConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue