AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RobotApplicationConfig.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/Tool.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace RoboMaker
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_ROBOMAKER_API RobotApplicationConfig();
42 AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetApplication() const{ return m_application; }
50 inline bool ApplicationHasBeenSet() const { return m_applicationHasBeenSet; }
51 inline void SetApplication(const Aws::String& value) { m_applicationHasBeenSet = true; m_application = value; }
52 inline void SetApplication(Aws::String&& value) { m_applicationHasBeenSet = true; m_application = std::move(value); }
53 inline void SetApplication(const char* value) { m_applicationHasBeenSet = true; m_application.assign(value); }
54 inline RobotApplicationConfig& WithApplication(const Aws::String& value) { SetApplication(value); return *this;}
55 inline RobotApplicationConfig& WithApplication(Aws::String&& value) { SetApplication(std::move(value)); return *this;}
56 inline RobotApplicationConfig& WithApplication(const char* value) { SetApplication(value); return *this;}
58
60
63 inline const Aws::String& GetApplicationVersion() const{ return m_applicationVersion; }
64 inline bool ApplicationVersionHasBeenSet() const { return m_applicationVersionHasBeenSet; }
65 inline void SetApplicationVersion(const Aws::String& value) { m_applicationVersionHasBeenSet = true; m_applicationVersion = value; }
66 inline void SetApplicationVersion(Aws::String&& value) { m_applicationVersionHasBeenSet = true; m_applicationVersion = std::move(value); }
67 inline void SetApplicationVersion(const char* value) { m_applicationVersionHasBeenSet = true; m_applicationVersion.assign(value); }
69 inline RobotApplicationConfig& WithApplicationVersion(Aws::String&& value) { SetApplicationVersion(std::move(value)); return *this;}
70 inline RobotApplicationConfig& WithApplicationVersion(const char* value) { SetApplicationVersion(value); return *this;}
72
74
77 inline const LaunchConfig& GetLaunchConfig() const{ return m_launchConfig; }
78 inline bool LaunchConfigHasBeenSet() const { return m_launchConfigHasBeenSet; }
79 inline void SetLaunchConfig(const LaunchConfig& value) { m_launchConfigHasBeenSet = true; m_launchConfig = value; }
80 inline void SetLaunchConfig(LaunchConfig&& value) { m_launchConfigHasBeenSet = true; m_launchConfig = std::move(value); }
81 inline RobotApplicationConfig& WithLaunchConfig(const LaunchConfig& value) { SetLaunchConfig(value); return *this;}
82 inline RobotApplicationConfig& WithLaunchConfig(LaunchConfig&& value) { SetLaunchConfig(std::move(value)); return *this;}
84
86
89 inline const Aws::Vector<UploadConfiguration>& GetUploadConfigurations() const{ return m_uploadConfigurations; }
90 inline bool UploadConfigurationsHasBeenSet() const { return m_uploadConfigurationsHasBeenSet; }
91 inline void SetUploadConfigurations(const Aws::Vector<UploadConfiguration>& value) { m_uploadConfigurationsHasBeenSet = true; m_uploadConfigurations = value; }
92 inline void SetUploadConfigurations(Aws::Vector<UploadConfiguration>&& value) { m_uploadConfigurationsHasBeenSet = true; m_uploadConfigurations = std::move(value); }
95 inline RobotApplicationConfig& AddUploadConfigurations(const UploadConfiguration& value) { m_uploadConfigurationsHasBeenSet = true; m_uploadConfigurations.push_back(value); return *this; }
96 inline RobotApplicationConfig& AddUploadConfigurations(UploadConfiguration&& value) { m_uploadConfigurationsHasBeenSet = true; m_uploadConfigurations.push_back(std::move(value)); return *this; }
98
100
103 inline const Aws::Vector<Tool>& GetTools() const{ return m_tools; }
104 inline bool ToolsHasBeenSet() const { return m_toolsHasBeenSet; }
105 inline void SetTools(const Aws::Vector<Tool>& value) { m_toolsHasBeenSet = true; m_tools = value; }
106 inline void SetTools(Aws::Vector<Tool>&& value) { m_toolsHasBeenSet = true; m_tools = std::move(value); }
107 inline RobotApplicationConfig& WithTools(const Aws::Vector<Tool>& value) { SetTools(value); return *this;}
108 inline RobotApplicationConfig& WithTools(Aws::Vector<Tool>&& value) { SetTools(std::move(value)); return *this;}
109 inline RobotApplicationConfig& AddTools(const Tool& value) { m_toolsHasBeenSet = true; m_tools.push_back(value); return *this; }
110 inline RobotApplicationConfig& AddTools(Tool&& value) { m_toolsHasBeenSet = true; m_tools.push_back(std::move(value)); return *this; }
112 private:
113
114 Aws::String m_application;
115 bool m_applicationHasBeenSet = false;
116
117 Aws::String m_applicationVersion;
118 bool m_applicationVersionHasBeenSet = false;
119
120 LaunchConfig m_launchConfig;
121 bool m_launchConfigHasBeenSet = false;
122
123 Aws::Vector<UploadConfiguration> m_uploadConfigurations;
124 bool m_uploadConfigurationsHasBeenSet = false;
125
126 Aws::Vector<Tool> m_tools;
127 bool m_toolsHasBeenSet = false;
128 };
129
130} // namespace Model
131} // namespace RoboMaker
132} // namespace Aws
const Aws::Vector< UploadConfiguration > & GetUploadConfigurations() const
RobotApplicationConfig & WithApplication(Aws::String &&value)
RobotApplicationConfig & AddTools(Tool &&value)
RobotApplicationConfig & WithTools(const Aws::Vector< Tool > &value)
RobotApplicationConfig & WithApplicationVersion(const char *value)
RobotApplicationConfig & WithApplicationVersion(const Aws::String &value)
void SetUploadConfigurations(const Aws::Vector< UploadConfiguration > &value)
AWS_ROBOMAKER_API RobotApplicationConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
RobotApplicationConfig & WithApplication(const Aws::String &value)
void SetTools(const Aws::Vector< Tool > &value)
RobotApplicationConfig & AddTools(const Tool &value)
void SetUploadConfigurations(Aws::Vector< UploadConfiguration > &&value)
RobotApplicationConfig & WithLaunchConfig(const LaunchConfig &value)
RobotApplicationConfig & AddUploadConfigurations(UploadConfiguration &&value)
AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
RobotApplicationConfig & WithApplication(const char *value)
RobotApplicationConfig & WithTools(Aws::Vector< Tool > &&value)
AWS_ROBOMAKER_API RobotApplicationConfig(Aws::Utils::Json::JsonView jsonValue)
RobotApplicationConfig & AddUploadConfigurations(const UploadConfiguration &value)
RobotApplicationConfig & WithApplicationVersion(Aws::String &&value)
RobotApplicationConfig & WithUploadConfigurations(Aws::Vector< UploadConfiguration > &&value)
RobotApplicationConfig & WithLaunchConfig(LaunchConfig &&value)
RobotApplicationConfig & WithUploadConfigurations(const 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