AWS SDK for C++  1.9.19
AWS SDK for C++
RobotApplicationConfig.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22  class JsonView;
23 } // namespace Json
24 } // namespace Utils
25 namespace RoboMaker
26 {
27 namespace Model
28 {
29 
37  {
38  public:
43 
44 
48  inline const Aws::String& GetApplication() const{ return m_application; }
49 
53  inline bool ApplicationHasBeenSet() const { return m_applicationHasBeenSet; }
54 
58  inline void SetApplication(const Aws::String& value) { m_applicationHasBeenSet = true; m_application = value; }
59 
63  inline void SetApplication(Aws::String&& value) { m_applicationHasBeenSet = true; m_application = std::move(value); }
64 
68  inline void SetApplication(const char* value) { m_applicationHasBeenSet = true; m_application.assign(value); }
69 
73  inline RobotApplicationConfig& WithApplication(const Aws::String& value) { SetApplication(value); return *this;}
74 
78  inline RobotApplicationConfig& WithApplication(Aws::String&& value) { SetApplication(std::move(value)); return *this;}
79 
83  inline RobotApplicationConfig& WithApplication(const char* value) { SetApplication(value); return *this;}
84 
85 
89  inline const Aws::String& GetApplicationVersion() const{ return m_applicationVersion; }
90 
94  inline bool ApplicationVersionHasBeenSet() const { return m_applicationVersionHasBeenSet; }
95 
99  inline void SetApplicationVersion(const Aws::String& value) { m_applicationVersionHasBeenSet = true; m_applicationVersion = value; }
100 
104  inline void SetApplicationVersion(Aws::String&& value) { m_applicationVersionHasBeenSet = true; m_applicationVersion = std::move(value); }
105 
109  inline void SetApplicationVersion(const char* value) { m_applicationVersionHasBeenSet = true; m_applicationVersion.assign(value); }
110 
114  inline RobotApplicationConfig& WithApplicationVersion(const Aws::String& value) { SetApplicationVersion(value); return *this;}
115 
119  inline RobotApplicationConfig& WithApplicationVersion(Aws::String&& value) { SetApplicationVersion(std::move(value)); return *this;}
120 
124  inline RobotApplicationConfig& WithApplicationVersion(const char* value) { SetApplicationVersion(value); return *this;}
125 
126 
130  inline const LaunchConfig& GetLaunchConfig() const{ return m_launchConfig; }
131 
135  inline bool LaunchConfigHasBeenSet() const { return m_launchConfigHasBeenSet; }
136 
140  inline void SetLaunchConfig(const LaunchConfig& value) { m_launchConfigHasBeenSet = true; m_launchConfig = value; }
141 
145  inline void SetLaunchConfig(LaunchConfig&& value) { m_launchConfigHasBeenSet = true; m_launchConfig = std::move(value); }
146 
150  inline RobotApplicationConfig& WithLaunchConfig(const LaunchConfig& value) { SetLaunchConfig(value); return *this;}
151 
155  inline RobotApplicationConfig& WithLaunchConfig(LaunchConfig&& value) { SetLaunchConfig(std::move(value)); return *this;}
156 
157 
161  inline const Aws::Vector<UploadConfiguration>& GetUploadConfigurations() const{ return m_uploadConfigurations; }
162 
166  inline bool UploadConfigurationsHasBeenSet() const { return m_uploadConfigurationsHasBeenSet; }
167 
171  inline void SetUploadConfigurations(const Aws::Vector<UploadConfiguration>& value) { m_uploadConfigurationsHasBeenSet = true; m_uploadConfigurations = value; }
172 
176  inline void SetUploadConfigurations(Aws::Vector<UploadConfiguration>&& value) { m_uploadConfigurationsHasBeenSet = true; m_uploadConfigurations = std::move(value); }
177 
181  inline RobotApplicationConfig& WithUploadConfigurations(const Aws::Vector<UploadConfiguration>& value) { SetUploadConfigurations(value); return *this;}
182 
186  inline RobotApplicationConfig& WithUploadConfigurations(Aws::Vector<UploadConfiguration>&& value) { SetUploadConfigurations(std::move(value)); return *this;}
187 
191  inline RobotApplicationConfig& AddUploadConfigurations(const UploadConfiguration& value) { m_uploadConfigurationsHasBeenSet = true; m_uploadConfigurations.push_back(value); return *this; }
192 
196  inline RobotApplicationConfig& AddUploadConfigurations(UploadConfiguration&& value) { m_uploadConfigurationsHasBeenSet = true; m_uploadConfigurations.push_back(std::move(value)); return *this; }
197 
198 
205  inline bool GetUseDefaultUploadConfigurations() const{ return m_useDefaultUploadConfigurations; }
206 
213  inline bool UseDefaultUploadConfigurationsHasBeenSet() const { return m_useDefaultUploadConfigurationsHasBeenSet; }
214 
221  inline void SetUseDefaultUploadConfigurations(bool value) { m_useDefaultUploadConfigurationsHasBeenSet = true; m_useDefaultUploadConfigurations = value; }
222 
229  inline RobotApplicationConfig& WithUseDefaultUploadConfigurations(bool value) { SetUseDefaultUploadConfigurations(value); return *this;}
230 
231 
235  inline const Aws::Vector<Tool>& GetTools() const{ return m_tools; }
236 
240  inline bool ToolsHasBeenSet() const { return m_toolsHasBeenSet; }
241 
245  inline void SetTools(const Aws::Vector<Tool>& value) { m_toolsHasBeenSet = true; m_tools = value; }
246 
250  inline void SetTools(Aws::Vector<Tool>&& value) { m_toolsHasBeenSet = true; m_tools = std::move(value); }
251 
255  inline RobotApplicationConfig& WithTools(const Aws::Vector<Tool>& value) { SetTools(value); return *this;}
256 
260  inline RobotApplicationConfig& WithTools(Aws::Vector<Tool>&& value) { SetTools(std::move(value)); return *this;}
261 
265  inline RobotApplicationConfig& AddTools(const Tool& value) { m_toolsHasBeenSet = true; m_tools.push_back(value); return *this; }
266 
270  inline RobotApplicationConfig& AddTools(Tool&& value) { m_toolsHasBeenSet = true; m_tools.push_back(std::move(value)); return *this; }
271 
272 
278  inline bool GetUseDefaultTools() const{ return m_useDefaultTools; }
279 
285  inline bool UseDefaultToolsHasBeenSet() const { return m_useDefaultToolsHasBeenSet; }
286 
292  inline void SetUseDefaultTools(bool value) { m_useDefaultToolsHasBeenSet = true; m_useDefaultTools = value; }
293 
299  inline RobotApplicationConfig& WithUseDefaultTools(bool value) { SetUseDefaultTools(value); return *this;}
300 
301  private:
302 
303  Aws::String m_application;
304  bool m_applicationHasBeenSet;
305 
306  Aws::String m_applicationVersion;
307  bool m_applicationVersionHasBeenSet;
308 
309  LaunchConfig m_launchConfig;
310  bool m_launchConfigHasBeenSet;
311 
312  Aws::Vector<UploadConfiguration> m_uploadConfigurations;
313  bool m_uploadConfigurationsHasBeenSet;
314 
315  bool m_useDefaultUploadConfigurations;
316  bool m_useDefaultUploadConfigurationsHasBeenSet;
317 
318  Aws::Vector<Tool> m_tools;
319  bool m_toolsHasBeenSet;
320 
321  bool m_useDefaultTools;
322  bool m_useDefaultToolsHasBeenSet;
323  };
324 
325 } // namespace Model
326 } // namespace RoboMaker
327 } // namespace Aws
Aws::RoboMaker::Model::RobotApplicationConfig::GetUseDefaultUploadConfigurations
bool GetUseDefaultUploadConfigurations() const
Definition: RobotApplicationConfig.h:205
Aws::RoboMaker::Model::RobotApplicationConfig::WithUseDefaultTools
RobotApplicationConfig & WithUseDefaultTools(bool value)
Definition: RobotApplicationConfig.h:299
Aws::RoboMaker::Model::Tool
Definition: Tool.h:34
Aws::RoboMaker::Model::RobotApplicationConfig::ApplicationVersionHasBeenSet
bool ApplicationVersionHasBeenSet() const
Definition: RobotApplicationConfig.h:94
Aws::RoboMaker::Model::RobotApplicationConfig::WithLaunchConfig
RobotApplicationConfig & WithLaunchConfig(LaunchConfig &&value)
Definition: RobotApplicationConfig.h:155
Aws::RoboMaker::Model::RobotApplicationConfig::WithTools
RobotApplicationConfig & WithTools(const Aws::Vector< Tool > &value)
Definition: RobotApplicationConfig.h:255
Aws::RoboMaker::Model::RobotApplicationConfig::SetApplication
void SetApplication(Aws::String &&value)
Definition: RobotApplicationConfig.h:63
Aws::RoboMaker::Model::RobotApplicationConfig::WithUseDefaultUploadConfigurations
RobotApplicationConfig & WithUseDefaultUploadConfigurations(bool value)
Definition: RobotApplicationConfig.h:229
Aws::RoboMaker::Model::RobotApplicationConfig::SetApplicationVersion
void SetApplicationVersion(Aws::String &&value)
Definition: RobotApplicationConfig.h:104
Aws::RoboMaker::Model::RobotApplicationConfig::GetApplicationVersion
const Aws::String & GetApplicationVersion() const
Definition: RobotApplicationConfig.h:89
Aws::RoboMaker::Model::RobotApplicationConfig::SetTools
void SetTools(const Aws::Vector< Tool > &value)
Definition: RobotApplicationConfig.h:245
Aws::RoboMaker::Model::RobotApplicationConfig::GetApplication
const Aws::String & GetApplication() const
Definition: RobotApplicationConfig.h:48
Aws::RoboMaker::Model::RobotApplicationConfig::SetLaunchConfig
void SetLaunchConfig(const LaunchConfig &value)
Definition: RobotApplicationConfig.h:140
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Tool.h
Aws::RoboMaker::Model::RobotApplicationConfig::WithUploadConfigurations
RobotApplicationConfig & WithUploadConfigurations(const Aws::Vector< UploadConfiguration > &value)
Definition: RobotApplicationConfig.h:181
Aws::RoboMaker::Model::RobotApplicationConfig::WithLaunchConfig
RobotApplicationConfig & WithLaunchConfig(const LaunchConfig &value)
Definition: RobotApplicationConfig.h:150
AWSVector.h
Aws::RoboMaker::Model::RobotApplicationConfig::GetLaunchConfig
const LaunchConfig & GetLaunchConfig() const
Definition: RobotApplicationConfig.h:130
Aws::RoboMaker::Model::RobotApplicationConfig::SetApplicationVersion
void SetApplicationVersion(const Aws::String &value)
Definition: RobotApplicationConfig.h:99
Aws::RoboMaker::Model::RobotApplicationConfig::LaunchConfigHasBeenSet
bool LaunchConfigHasBeenSet() const
Definition: RobotApplicationConfig.h:135
Aws::RoboMaker::Model::RobotApplicationConfig::SetUploadConfigurations
void SetUploadConfigurations(Aws::Vector< UploadConfiguration > &&value)
Definition: RobotApplicationConfig.h:176
Aws::RoboMaker::Model::RobotApplicationConfig::SetApplicationVersion
void SetApplicationVersion(const char *value)
Definition: RobotApplicationConfig.h:109
AWS_ROBOMAKER_API
#define AWS_ROBOMAKER_API
Definition: RoboMaker_EXPORTS.h:28
Aws::RoboMaker::Model::RobotApplicationConfig::AddUploadConfigurations
RobotApplicationConfig & AddUploadConfigurations(const UploadConfiguration &value)
Definition: RobotApplicationConfig.h:191
Aws::RoboMaker::Model::RobotApplicationConfig::WithUploadConfigurations
RobotApplicationConfig & WithUploadConfigurations(Aws::Vector< UploadConfiguration > &&value)
Definition: RobotApplicationConfig.h:186
Aws::RoboMaker::Model::RobotApplicationConfig
Definition: RobotApplicationConfig.h:37
Aws::RoboMaker::Model::RobotApplicationConfig::UseDefaultToolsHasBeenSet
bool UseDefaultToolsHasBeenSet() const
Definition: RobotApplicationConfig.h:285
Aws::RoboMaker::Model::RobotApplicationConfig::AddTools
RobotApplicationConfig & AddTools(const Tool &value)
Definition: RobotApplicationConfig.h:265
Aws::RoboMaker::Model::RobotApplicationConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::RoboMaker::Model::RobotApplicationConfig::SetUploadConfigurations
void SetUploadConfigurations(const Aws::Vector< UploadConfiguration > &value)
Definition: RobotApplicationConfig.h:171
Aws::RoboMaker::Model::RobotApplicationConfig::WithApplicationVersion
RobotApplicationConfig & WithApplicationVersion(const char *value)
Definition: RobotApplicationConfig.h:124
LaunchConfig.h
RoboMaker_EXPORTS.h
Aws::RoboMaker::Model::RobotApplicationConfig::SetUseDefaultTools
void SetUseDefaultTools(bool value)
Definition: RobotApplicationConfig.h:292
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::RoboMaker::Model::RobotApplicationConfig::ToolsHasBeenSet
bool ToolsHasBeenSet() const
Definition: RobotApplicationConfig.h:240
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::RoboMaker::Model::RobotApplicationConfig::RobotApplicationConfig
RobotApplicationConfig()
UploadConfiguration.h
Aws::RoboMaker::Model::RobotApplicationConfig::WithApplication
RobotApplicationConfig & WithApplication(const char *value)
Definition: RobotApplicationConfig.h:83
Aws::RoboMaker::Model::RobotApplicationConfig::WithApplicationVersion
RobotApplicationConfig & WithApplicationVersion(Aws::String &&value)
Definition: RobotApplicationConfig.h:119
Aws::RoboMaker::Model::RobotApplicationConfig::SetApplication
void SetApplication(const char *value)
Definition: RobotApplicationConfig.h:68
Aws::RoboMaker::Model::RobotApplicationConfig::GetUseDefaultTools
bool GetUseDefaultTools() const
Definition: RobotApplicationConfig.h:278
Aws::RoboMaker::Model::RobotApplicationConfig::ApplicationHasBeenSet
bool ApplicationHasBeenSet() const
Definition: RobotApplicationConfig.h:53
Aws::RoboMaker::Model::RobotApplicationConfig::GetTools
const Aws::Vector< Tool > & GetTools() const
Definition: RobotApplicationConfig.h:235
Aws
Definition: AccessManagementClient.h:15
Aws::RoboMaker::Model::RobotApplicationConfig::operator=
RobotApplicationConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::RoboMaker::Model::RobotApplicationConfig::UploadConfigurationsHasBeenSet
bool UploadConfigurationsHasBeenSet() const
Definition: RobotApplicationConfig.h:166
Aws::RoboMaker::Model::RobotApplicationConfig::RobotApplicationConfig
RobotApplicationConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::RoboMaker::Model::RobotApplicationConfig::SetUseDefaultUploadConfigurations
void SetUseDefaultUploadConfigurations(bool value)
Definition: RobotApplicationConfig.h:221
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RoboMaker::Model::RobotApplicationConfig::AddTools
RobotApplicationConfig & AddTools(Tool &&value)
Definition: RobotApplicationConfig.h:270
Aws::RoboMaker::Model::RobotApplicationConfig::UseDefaultUploadConfigurationsHasBeenSet
bool UseDefaultUploadConfigurationsHasBeenSet() const
Definition: RobotApplicationConfig.h:213
Aws::RoboMaker::Model::UploadConfiguration
Definition: UploadConfiguration.h:34
Aws::RoboMaker::Model::RobotApplicationConfig::SetLaunchConfig
void SetLaunchConfig(LaunchConfig &&value)
Definition: RobotApplicationConfig.h:145
Aws::RoboMaker::Model::RobotApplicationConfig::WithApplication
RobotApplicationConfig & WithApplication(Aws::String &&value)
Definition: RobotApplicationConfig.h:78
Aws::RoboMaker::Model::RobotApplicationConfig::WithApplicationVersion
RobotApplicationConfig & WithApplicationVersion(const Aws::String &value)
Definition: RobotApplicationConfig.h:114
Aws::RoboMaker::Model::RobotApplicationConfig::WithTools
RobotApplicationConfig & WithTools(Aws::Vector< Tool > &&value)
Definition: RobotApplicationConfig.h:260
Aws::RoboMaker::Model::RobotApplicationConfig::SetTools
void SetTools(Aws::Vector< Tool > &&value)
Definition: RobotApplicationConfig.h:250
Aws::RoboMaker::Model::RobotApplicationConfig::SetApplication
void SetApplication(const Aws::String &value)
Definition: RobotApplicationConfig.h:58
Aws::RoboMaker::Model::RobotApplicationConfig::GetUploadConfigurations
const Aws::Vector< UploadConfiguration > & GetUploadConfigurations() const
Definition: RobotApplicationConfig.h:161
Aws::RoboMaker::Model::RobotApplicationConfig::WithApplication
RobotApplicationConfig & WithApplication(const Aws::String &value)
Definition: RobotApplicationConfig.h:73
Aws::RoboMaker::Model::LaunchConfig
Definition: LaunchConfig.h:34
Aws::RoboMaker::Model::RobotApplicationConfig::AddUploadConfigurations
RobotApplicationConfig & AddUploadConfigurations(UploadConfiguration &&value)
Definition: RobotApplicationConfig.h:196