AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetApplication(const Aws::String& value) { m_applicationHasBeenSet = true; m_application = value; }
53 inline void SetApplication(Aws::String&& value) { m_applicationHasBeenSet = true; m_application = std::move(value); }
54 inline void SetApplication(const char* value) { m_applicationHasBeenSet = true; m_application.assign(value); }
55 inline SimulationApplicationConfig& WithApplication(const Aws::String& value) { SetApplication(value); return *this;}
56 inline SimulationApplicationConfig& WithApplication(Aws::String&& value) { SetApplication(std::move(value)); return *this;}
57 inline SimulationApplicationConfig& WithApplication(const char* value) { SetApplication(value); return *this;}
59
61
64 inline const Aws::String& GetApplicationVersion() const{ return m_applicationVersion; }
65 inline bool ApplicationVersionHasBeenSet() const { return m_applicationVersionHasBeenSet; }
66 inline void SetApplicationVersion(const Aws::String& value) { m_applicationVersionHasBeenSet = true; m_applicationVersion = value; }
67 inline void SetApplicationVersion(Aws::String&& value) { m_applicationVersionHasBeenSet = true; m_applicationVersion = std::move(value); }
68 inline void SetApplicationVersion(const char* value) { m_applicationVersionHasBeenSet = true; m_applicationVersion.assign(value); }
70 inline SimulationApplicationConfig& WithApplicationVersion(Aws::String&& value) { SetApplicationVersion(std::move(value)); return *this;}
71 inline SimulationApplicationConfig& WithApplicationVersion(const char* value) { SetApplicationVersion(value); return *this;}
73
75
78 inline const LaunchConfig& GetLaunchConfig() const{ return m_launchConfig; }
79 inline bool LaunchConfigHasBeenSet() const { return m_launchConfigHasBeenSet; }
80 inline void SetLaunchConfig(const LaunchConfig& value) { m_launchConfigHasBeenSet = true; m_launchConfig = value; }
81 inline void SetLaunchConfig(LaunchConfig&& value) { m_launchConfigHasBeenSet = true; m_launchConfig = std::move(value); }
82 inline SimulationApplicationConfig& WithLaunchConfig(const LaunchConfig& value) { SetLaunchConfig(value); return *this;}
83 inline SimulationApplicationConfig& WithLaunchConfig(LaunchConfig&& value) { SetLaunchConfig(std::move(value)); return *this;}
85
87
90 inline const Aws::Vector<UploadConfiguration>& GetUploadConfigurations() const{ return m_uploadConfigurations; }
91 inline bool UploadConfigurationsHasBeenSet() const { return m_uploadConfigurationsHasBeenSet; }
92 inline void SetUploadConfigurations(const Aws::Vector<UploadConfiguration>& value) { m_uploadConfigurationsHasBeenSet = true; m_uploadConfigurations = value; }
93 inline void SetUploadConfigurations(Aws::Vector<UploadConfiguration>&& value) { m_uploadConfigurationsHasBeenSet = true; m_uploadConfigurations = std::move(value); }
96 inline SimulationApplicationConfig& AddUploadConfigurations(const UploadConfiguration& value) { m_uploadConfigurationsHasBeenSet = true; m_uploadConfigurations.push_back(value); return *this; }
97 inline SimulationApplicationConfig& AddUploadConfigurations(UploadConfiguration&& value) { m_uploadConfigurationsHasBeenSet = true; m_uploadConfigurations.push_back(std::move(value)); return *this; }
99
101
105 inline const Aws::Vector<WorldConfig>& GetWorldConfigs() const{ return m_worldConfigs; }
106 inline bool WorldConfigsHasBeenSet() const { return m_worldConfigsHasBeenSet; }
107 inline void SetWorldConfigs(const Aws::Vector<WorldConfig>& value) { m_worldConfigsHasBeenSet = true; m_worldConfigs = value; }
108 inline void SetWorldConfigs(Aws::Vector<WorldConfig>&& value) { m_worldConfigsHasBeenSet = true; m_worldConfigs = std::move(value); }
111 inline SimulationApplicationConfig& AddWorldConfigs(const WorldConfig& value) { m_worldConfigsHasBeenSet = true; m_worldConfigs.push_back(value); return *this; }
112 inline SimulationApplicationConfig& AddWorldConfigs(WorldConfig&& value) { m_worldConfigsHasBeenSet = true; m_worldConfigs.push_back(std::move(value)); return *this; }
114
116
119 inline const Aws::Vector<Tool>& GetTools() const{ return m_tools; }
120 inline bool ToolsHasBeenSet() const { return m_toolsHasBeenSet; }
121 inline void SetTools(const Aws::Vector<Tool>& value) { m_toolsHasBeenSet = true; m_tools = value; }
122 inline void SetTools(Aws::Vector<Tool>&& value) { m_toolsHasBeenSet = true; m_tools = std::move(value); }
123 inline SimulationApplicationConfig& WithTools(const Aws::Vector<Tool>& value) { SetTools(value); return *this;}
124 inline SimulationApplicationConfig& WithTools(Aws::Vector<Tool>&& value) { SetTools(std::move(value)); return *this;}
125 inline SimulationApplicationConfig& AddTools(const Tool& value) { m_toolsHasBeenSet = true; m_tools.push_back(value); return *this; }
126 inline SimulationApplicationConfig& AddTools(Tool&& value) { m_toolsHasBeenSet = true; m_tools.push_back(std::move(value)); return *this; }
128 private:
129
130 Aws::String m_application;
131 bool m_applicationHasBeenSet = false;
132
133 Aws::String m_applicationVersion;
134 bool m_applicationVersionHasBeenSet = false;
135
136 LaunchConfig m_launchConfig;
137 bool m_launchConfigHasBeenSet = false;
138
139 Aws::Vector<UploadConfiguration> m_uploadConfigurations;
140 bool m_uploadConfigurationsHasBeenSet = false;
141
142 Aws::Vector<WorldConfig> m_worldConfigs;
143 bool m_worldConfigsHasBeenSet = false;
144
145 Aws::Vector<Tool> m_tools;
146 bool m_toolsHasBeenSet = false;
147 };
148
149} // namespace Model
150} // namespace RoboMaker
151} // namespace Aws
SimulationApplicationConfig & WithUploadConfigurations(Aws::Vector< UploadConfiguration > &&value)
AWS_ROBOMAKER_API SimulationApplicationConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
SimulationApplicationConfig & WithLaunchConfig(LaunchConfig &&value)
SimulationApplicationConfig & AddTools(const Tool &value)
SimulationApplicationConfig & AddUploadConfigurations(const UploadConfiguration &value)
void SetWorldConfigs(Aws::Vector< WorldConfig > &&value)
SimulationApplicationConfig & WithApplicationVersion(Aws::String &&value)
void SetWorldConfigs(const Aws::Vector< WorldConfig > &value)
SimulationApplicationConfig & WithApplicationVersion(const char *value)
SimulationApplicationConfig & WithTools(const Aws::Vector< Tool > &value)
SimulationApplicationConfig & AddTools(Tool &&value)
SimulationApplicationConfig & AddUploadConfigurations(UploadConfiguration &&value)
const Aws::Vector< UploadConfiguration > & GetUploadConfigurations() const
SimulationApplicationConfig & WithWorldConfigs(Aws::Vector< WorldConfig > &&value)
SimulationApplicationConfig & WithApplicationVersion(const Aws::String &value)
const Aws::Vector< WorldConfig > & GetWorldConfigs() const
SimulationApplicationConfig & AddWorldConfigs(WorldConfig &&value)
SimulationApplicationConfig & WithWorldConfigs(const Aws::Vector< WorldConfig > &value)
SimulationApplicationConfig & WithApplication(const Aws::String &value)
SimulationApplicationConfig & WithApplication(Aws::String &&value)
SimulationApplicationConfig & WithUploadConfigurations(const Aws::Vector< UploadConfiguration > &value)
SimulationApplicationConfig & WithApplication(const char *value)
SimulationApplicationConfig & AddWorldConfigs(const WorldConfig &value)
AWS_ROBOMAKER_API SimulationApplicationConfig(Aws::Utils::Json::JsonView jsonValue)
void SetUploadConfigurations(const Aws::Vector< UploadConfiguration > &value)
AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
SimulationApplicationConfig & WithLaunchConfig(const LaunchConfig &value)
SimulationApplicationConfig & WithTools(Aws::Vector< Tool > &&value)
void SetUploadConfigurations(Aws::Vector< UploadConfiguration > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue