AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DeploymentLaunchConfig.h
1
6#pragma once
7#include <aws/robomaker/RoboMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace RoboMaker
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_ROBOMAKER_API DeploymentLaunchConfig() = default;
39 AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetPackageName() const { return m_packageName; }
47 inline bool PackageNameHasBeenSet() const { return m_packageNameHasBeenSet; }
48 template<typename PackageNameT = Aws::String>
49 void SetPackageName(PackageNameT&& value) { m_packageNameHasBeenSet = true; m_packageName = std::forward<PackageNameT>(value); }
50 template<typename PackageNameT = Aws::String>
51 DeploymentLaunchConfig& WithPackageName(PackageNameT&& value) { SetPackageName(std::forward<PackageNameT>(value)); return *this;}
53
55
59 inline const Aws::String& GetPreLaunchFile() const { return m_preLaunchFile; }
60 inline bool PreLaunchFileHasBeenSet() const { return m_preLaunchFileHasBeenSet; }
61 template<typename PreLaunchFileT = Aws::String>
62 void SetPreLaunchFile(PreLaunchFileT&& value) { m_preLaunchFileHasBeenSet = true; m_preLaunchFile = std::forward<PreLaunchFileT>(value); }
63 template<typename PreLaunchFileT = Aws::String>
64 DeploymentLaunchConfig& WithPreLaunchFile(PreLaunchFileT&& value) { SetPreLaunchFile(std::forward<PreLaunchFileT>(value)); return *this;}
66
68
71 inline const Aws::String& GetLaunchFile() const { return m_launchFile; }
72 inline bool LaunchFileHasBeenSet() const { return m_launchFileHasBeenSet; }
73 template<typename LaunchFileT = Aws::String>
74 void SetLaunchFile(LaunchFileT&& value) { m_launchFileHasBeenSet = true; m_launchFile = std::forward<LaunchFileT>(value); }
75 template<typename LaunchFileT = Aws::String>
76 DeploymentLaunchConfig& WithLaunchFile(LaunchFileT&& value) { SetLaunchFile(std::forward<LaunchFileT>(value)); return *this;}
78
80
84 inline const Aws::String& GetPostLaunchFile() const { return m_postLaunchFile; }
85 inline bool PostLaunchFileHasBeenSet() const { return m_postLaunchFileHasBeenSet; }
86 template<typename PostLaunchFileT = Aws::String>
87 void SetPostLaunchFile(PostLaunchFileT&& value) { m_postLaunchFileHasBeenSet = true; m_postLaunchFile = std::forward<PostLaunchFileT>(value); }
88 template<typename PostLaunchFileT = Aws::String>
89 DeploymentLaunchConfig& WithPostLaunchFile(PostLaunchFileT&& value) { SetPostLaunchFile(std::forward<PostLaunchFileT>(value)); return *this;}
91
93
97 inline const Aws::Map<Aws::String, Aws::String>& GetEnvironmentVariables() const { return m_environmentVariables; }
98 inline bool EnvironmentVariablesHasBeenSet() const { return m_environmentVariablesHasBeenSet; }
99 template<typename EnvironmentVariablesT = Aws::Map<Aws::String, Aws::String>>
100 void SetEnvironmentVariables(EnvironmentVariablesT&& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables = std::forward<EnvironmentVariablesT>(value); }
101 template<typename EnvironmentVariablesT = Aws::Map<Aws::String, Aws::String>>
102 DeploymentLaunchConfig& WithEnvironmentVariables(EnvironmentVariablesT&& value) { SetEnvironmentVariables(std::forward<EnvironmentVariablesT>(value)); return *this;}
103 template<typename EnvironmentVariablesKeyT = Aws::String, typename EnvironmentVariablesValueT = Aws::String>
104 DeploymentLaunchConfig& AddEnvironmentVariables(EnvironmentVariablesKeyT&& key, EnvironmentVariablesValueT&& value) {
105 m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(std::forward<EnvironmentVariablesKeyT>(key), std::forward<EnvironmentVariablesValueT>(value)); return *this;
106 }
108 private:
109
110 Aws::String m_packageName;
111 bool m_packageNameHasBeenSet = false;
112
113 Aws::String m_preLaunchFile;
114 bool m_preLaunchFileHasBeenSet = false;
115
116 Aws::String m_launchFile;
117 bool m_launchFileHasBeenSet = false;
118
119 Aws::String m_postLaunchFile;
120 bool m_postLaunchFileHasBeenSet = false;
121
122 Aws::Map<Aws::String, Aws::String> m_environmentVariables;
123 bool m_environmentVariablesHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace RoboMaker
128} // namespace Aws
DeploymentLaunchConfig & WithPackageName(PackageNameT &&value)
const Aws::Map< Aws::String, Aws::String > & GetEnvironmentVariables() const
void SetEnvironmentVariables(EnvironmentVariablesT &&value)
DeploymentLaunchConfig & AddEnvironmentVariables(EnvironmentVariablesKeyT &&key, EnvironmentVariablesValueT &&value)
AWS_ROBOMAKER_API DeploymentLaunchConfig()=default
AWS_ROBOMAKER_API DeploymentLaunchConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ROBOMAKER_API DeploymentLaunchConfig(Aws::Utils::Json::JsonView jsonValue)
DeploymentLaunchConfig & WithPostLaunchFile(PostLaunchFileT &&value)
DeploymentLaunchConfig & WithLaunchFile(LaunchFileT &&value)
DeploymentLaunchConfig & WithPreLaunchFile(PreLaunchFileT &&value)
DeploymentLaunchConfig & WithEnvironmentVariables(EnvironmentVariablesT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue