AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename ApplicationT = Aws::String>
52 void SetApplication(ApplicationT&& value) { m_applicationHasBeenSet = true; m_application = std::forward<ApplicationT>(value); }
53 template<typename ApplicationT = Aws::String>
54 RobotApplicationConfig& WithApplication(ApplicationT&& value) { SetApplication(std::forward<ApplicationT>(value)); return *this;}
56
58
61 inline const Aws::String& GetApplicationVersion() const { return m_applicationVersion; }
62 inline bool ApplicationVersionHasBeenSet() const { return m_applicationVersionHasBeenSet; }
63 template<typename ApplicationVersionT = Aws::String>
64 void SetApplicationVersion(ApplicationVersionT&& value) { m_applicationVersionHasBeenSet = true; m_applicationVersion = std::forward<ApplicationVersionT>(value); }
65 template<typename ApplicationVersionT = Aws::String>
66 RobotApplicationConfig& WithApplicationVersion(ApplicationVersionT&& value) { SetApplicationVersion(std::forward<ApplicationVersionT>(value)); return *this;}
68
70
73 inline const LaunchConfig& GetLaunchConfig() const { return m_launchConfig; }
74 inline bool LaunchConfigHasBeenSet() const { return m_launchConfigHasBeenSet; }
75 template<typename LaunchConfigT = LaunchConfig>
76 void SetLaunchConfig(LaunchConfigT&& value) { m_launchConfigHasBeenSet = true; m_launchConfig = std::forward<LaunchConfigT>(value); }
77 template<typename LaunchConfigT = LaunchConfig>
78 RobotApplicationConfig& WithLaunchConfig(LaunchConfigT&& value) { SetLaunchConfig(std::forward<LaunchConfigT>(value)); return *this;}
80
82
85 inline const Aws::Vector<UploadConfiguration>& GetUploadConfigurations() const { return m_uploadConfigurations; }
86 inline bool UploadConfigurationsHasBeenSet() const { return m_uploadConfigurationsHasBeenSet; }
87 template<typename UploadConfigurationsT = Aws::Vector<UploadConfiguration>>
88 void SetUploadConfigurations(UploadConfigurationsT&& value) { m_uploadConfigurationsHasBeenSet = true; m_uploadConfigurations = std::forward<UploadConfigurationsT>(value); }
89 template<typename UploadConfigurationsT = Aws::Vector<UploadConfiguration>>
90 RobotApplicationConfig& WithUploadConfigurations(UploadConfigurationsT&& value) { SetUploadConfigurations(std::forward<UploadConfigurationsT>(value)); return *this;}
91 template<typename UploadConfigurationsT = UploadConfiguration>
92 RobotApplicationConfig& AddUploadConfigurations(UploadConfigurationsT&& value) { m_uploadConfigurationsHasBeenSet = true; m_uploadConfigurations.emplace_back(std::forward<UploadConfigurationsT>(value)); return *this; }
94
96
99 inline const Aws::Vector<Tool>& GetTools() const { return m_tools; }
100 inline bool ToolsHasBeenSet() const { return m_toolsHasBeenSet; }
101 template<typename ToolsT = Aws::Vector<Tool>>
102 void SetTools(ToolsT&& value) { m_toolsHasBeenSet = true; m_tools = std::forward<ToolsT>(value); }
103 template<typename ToolsT = Aws::Vector<Tool>>
104 RobotApplicationConfig& WithTools(ToolsT&& value) { SetTools(std::forward<ToolsT>(value)); return *this;}
105 template<typename ToolsT = Tool>
106 RobotApplicationConfig& AddTools(ToolsT&& value) { m_toolsHasBeenSet = true; m_tools.emplace_back(std::forward<ToolsT>(value)); return *this; }
108 private:
109
110 Aws::String m_application;
111 bool m_applicationHasBeenSet = false;
112
113 Aws::String m_applicationVersion;
114 bool m_applicationVersionHasBeenSet = false;
115
116 LaunchConfig m_launchConfig;
117 bool m_launchConfigHasBeenSet = false;
118
119 Aws::Vector<UploadConfiguration> m_uploadConfigurations;
120 bool m_uploadConfigurationsHasBeenSet = false;
121
122 Aws::Vector<Tool> m_tools;
123 bool m_toolsHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace RoboMaker
128} // namespace Aws
const Aws::Vector< Tool > & GetTools() const
RobotApplicationConfig & AddTools(ToolsT &&value)
const Aws::Vector< UploadConfiguration > & GetUploadConfigurations() const
void SetApplicationVersion(ApplicationVersionT &&value)
AWS_ROBOMAKER_API RobotApplicationConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
RobotApplicationConfig & WithUploadConfigurations(UploadConfigurationsT &&value)
RobotApplicationConfig & WithApplication(ApplicationT &&value)
AWS_ROBOMAKER_API RobotApplicationConfig()=default
AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
RobotApplicationConfig & WithLaunchConfig(LaunchConfigT &&value)
RobotApplicationConfig & AddUploadConfigurations(UploadConfigurationsT &&value)
AWS_ROBOMAKER_API RobotApplicationConfig(Aws::Utils::Json::JsonView jsonValue)
RobotApplicationConfig & WithApplicationVersion(ApplicationVersionT &&value)
RobotApplicationConfig & WithTools(ToolsT &&value)
void SetUploadConfigurations(UploadConfigurationsT &&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