AWS SDK for C++  1.9.19
AWS SDK for C++
LaunchConfig.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace RoboMaker
24 {
25 namespace Model
26 {
27 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetPackageName() const{ return m_packageName; }
46 
50  inline bool PackageNameHasBeenSet() const { return m_packageNameHasBeenSet; }
51 
55  inline void SetPackageName(const Aws::String& value) { m_packageNameHasBeenSet = true; m_packageName = value; }
56 
60  inline void SetPackageName(Aws::String&& value) { m_packageNameHasBeenSet = true; m_packageName = std::move(value); }
61 
65  inline void SetPackageName(const char* value) { m_packageNameHasBeenSet = true; m_packageName.assign(value); }
66 
70  inline LaunchConfig& WithPackageName(const Aws::String& value) { SetPackageName(value); return *this;}
71 
75  inline LaunchConfig& WithPackageName(Aws::String&& value) { SetPackageName(std::move(value)); return *this;}
76 
80  inline LaunchConfig& WithPackageName(const char* value) { SetPackageName(value); return *this;}
81 
82 
86  inline const Aws::String& GetLaunchFile() const{ return m_launchFile; }
87 
91  inline bool LaunchFileHasBeenSet() const { return m_launchFileHasBeenSet; }
92 
96  inline void SetLaunchFile(const Aws::String& value) { m_launchFileHasBeenSet = true; m_launchFile = value; }
97 
101  inline void SetLaunchFile(Aws::String&& value) { m_launchFileHasBeenSet = true; m_launchFile = std::move(value); }
102 
106  inline void SetLaunchFile(const char* value) { m_launchFileHasBeenSet = true; m_launchFile.assign(value); }
107 
111  inline LaunchConfig& WithLaunchFile(const Aws::String& value) { SetLaunchFile(value); return *this;}
112 
116  inline LaunchConfig& WithLaunchFile(Aws::String&& value) { SetLaunchFile(std::move(value)); return *this;}
117 
121  inline LaunchConfig& WithLaunchFile(const char* value) { SetLaunchFile(value); return *this;}
122 
123 
127  inline const Aws::Map<Aws::String, Aws::String>& GetEnvironmentVariables() const{ return m_environmentVariables; }
128 
132  inline bool EnvironmentVariablesHasBeenSet() const { return m_environmentVariablesHasBeenSet; }
133 
137  inline void SetEnvironmentVariables(const Aws::Map<Aws::String, Aws::String>& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables = value; }
138 
142  inline void SetEnvironmentVariables(Aws::Map<Aws::String, Aws::String>&& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables = std::move(value); }
143 
147  inline LaunchConfig& WithEnvironmentVariables(const Aws::Map<Aws::String, Aws::String>& value) { SetEnvironmentVariables(value); return *this;}
148 
152  inline LaunchConfig& WithEnvironmentVariables(Aws::Map<Aws::String, Aws::String>&& value) { SetEnvironmentVariables(std::move(value)); return *this;}
153 
157  inline LaunchConfig& AddEnvironmentVariables(const Aws::String& key, const Aws::String& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(key, value); return *this; }
158 
162  inline LaunchConfig& AddEnvironmentVariables(Aws::String&& key, const Aws::String& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(std::move(key), value); return *this; }
163 
167  inline LaunchConfig& AddEnvironmentVariables(const Aws::String& key, Aws::String&& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(key, std::move(value)); return *this; }
168 
172  inline LaunchConfig& AddEnvironmentVariables(Aws::String&& key, Aws::String&& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(std::move(key), std::move(value)); return *this; }
173 
177  inline LaunchConfig& AddEnvironmentVariables(const char* key, Aws::String&& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(key, std::move(value)); return *this; }
178 
182  inline LaunchConfig& AddEnvironmentVariables(Aws::String&& key, const char* value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(std::move(key), value); return *this; }
183 
187  inline LaunchConfig& AddEnvironmentVariables(const char* key, const char* value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(key, value); return *this; }
188 
189 
193  inline const PortForwardingConfig& GetPortForwardingConfig() const{ return m_portForwardingConfig; }
194 
198  inline bool PortForwardingConfigHasBeenSet() const { return m_portForwardingConfigHasBeenSet; }
199 
203  inline void SetPortForwardingConfig(const PortForwardingConfig& value) { m_portForwardingConfigHasBeenSet = true; m_portForwardingConfig = value; }
204 
208  inline void SetPortForwardingConfig(PortForwardingConfig&& value) { m_portForwardingConfigHasBeenSet = true; m_portForwardingConfig = std::move(value); }
209 
213  inline LaunchConfig& WithPortForwardingConfig(const PortForwardingConfig& value) { SetPortForwardingConfig(value); return *this;}
214 
218  inline LaunchConfig& WithPortForwardingConfig(PortForwardingConfig&& value) { SetPortForwardingConfig(std::move(value)); return *this;}
219 
220 
228  inline bool GetStreamUI() const{ return m_streamUI; }
229 
237  inline bool StreamUIHasBeenSet() const { return m_streamUIHasBeenSet; }
238 
246  inline void SetStreamUI(bool value) { m_streamUIHasBeenSet = true; m_streamUI = value; }
247 
255  inline LaunchConfig& WithStreamUI(bool value) { SetStreamUI(value); return *this;}
256 
257  private:
258 
259  Aws::String m_packageName;
260  bool m_packageNameHasBeenSet;
261 
262  Aws::String m_launchFile;
263  bool m_launchFileHasBeenSet;
264 
265  Aws::Map<Aws::String, Aws::String> m_environmentVariables;
266  bool m_environmentVariablesHasBeenSet;
267 
268  PortForwardingConfig m_portForwardingConfig;
269  bool m_portForwardingConfigHasBeenSet;
270 
271  bool m_streamUI;
272  bool m_streamUIHasBeenSet;
273  };
274 
275 } // namespace Model
276 } // namespace RoboMaker
277 } // namespace Aws
Aws::RoboMaker::Model::LaunchConfig::SetStreamUI
void SetStreamUI(bool value)
Definition: LaunchConfig.h:246
Aws::RoboMaker::Model::LaunchConfig::operator=
LaunchConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::RoboMaker::Model::LaunchConfig::WithPackageName
LaunchConfig & WithPackageName(const char *value)
Definition: LaunchConfig.h:80
Aws::RoboMaker::Model::LaunchConfig::WithPortForwardingConfig
LaunchConfig & WithPortForwardingConfig(const PortForwardingConfig &value)
Definition: LaunchConfig.h:213
Aws::RoboMaker::Model::LaunchConfig::SetPortForwardingConfig
void SetPortForwardingConfig(const PortForwardingConfig &value)
Definition: LaunchConfig.h:203
Aws::RoboMaker::Model::LaunchConfig::SetPackageName
void SetPackageName(const Aws::String &value)
Definition: LaunchConfig.h:55
Aws::RoboMaker::Model::LaunchConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::RoboMaker::Model::LaunchConfig::SetLaunchFile
void SetLaunchFile(Aws::String &&value)
Definition: LaunchConfig.h:101
Aws::RoboMaker::Model::LaunchConfig::WithLaunchFile
LaunchConfig & WithLaunchFile(const char *value)
Definition: LaunchConfig.h:121
Aws::RoboMaker::Model::LaunchConfig::SetLaunchFile
void SetLaunchFile(const char *value)
Definition: LaunchConfig.h:106
Aws::RoboMaker::Model::LaunchConfig::WithEnvironmentVariables
LaunchConfig & WithEnvironmentVariables(Aws::Map< Aws::String, Aws::String > &&value)
Definition: LaunchConfig.h:152
Aws::RoboMaker::Model::LaunchConfig::SetPackageName
void SetPackageName(const char *value)
Definition: LaunchConfig.h:65
Aws::RoboMaker::Model::LaunchConfig::AddEnvironmentVariables
LaunchConfig & AddEnvironmentVariables(const char *key, Aws::String &&value)
Definition: LaunchConfig.h:177
Aws::RoboMaker::Model::LaunchConfig::AddEnvironmentVariables
LaunchConfig & AddEnvironmentVariables(Aws::String &&key, Aws::String &&value)
Definition: LaunchConfig.h:172
Aws::RoboMaker::Model::LaunchConfig::SetPackageName
void SetPackageName(Aws::String &&value)
Definition: LaunchConfig.h:60
Aws::RoboMaker::Model::LaunchConfig::SetEnvironmentVariables
void SetEnvironmentVariables(Aws::Map< Aws::String, Aws::String > &&value)
Definition: LaunchConfig.h:142
Aws::RoboMaker::Model::LaunchConfig::GetEnvironmentVariables
const Aws::Map< Aws::String, Aws::String > & GetEnvironmentVariables() const
Definition: LaunchConfig.h:127
Aws::RoboMaker::Model::LaunchConfig::StreamUIHasBeenSet
bool StreamUIHasBeenSet() const
Definition: LaunchConfig.h:237
AWS_ROBOMAKER_API
#define AWS_ROBOMAKER_API
Definition: RoboMaker_EXPORTS.h:28
Aws::RoboMaker::Model::LaunchConfig::GetLaunchFile
const Aws::String & GetLaunchFile() const
Definition: LaunchConfig.h:86
Aws::RoboMaker::Model::LaunchConfig::GetPortForwardingConfig
const PortForwardingConfig & GetPortForwardingConfig() const
Definition: LaunchConfig.h:193
Aws::RoboMaker::Model::LaunchConfig::WithPackageName
LaunchConfig & WithPackageName(const Aws::String &value)
Definition: LaunchConfig.h:70
Aws::RoboMaker::Model::LaunchConfig::LaunchConfig
LaunchConfig(Aws::Utils::Json::JsonView jsonValue)
RoboMaker_EXPORTS.h
Aws::RoboMaker::Model::PortForwardingConfig
Definition: PortForwardingConfig.h:33
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::RoboMaker::Model::LaunchConfig::LaunchConfig
LaunchConfig()
AWSString.h
Aws::RoboMaker::Model::LaunchConfig::SetLaunchFile
void SetLaunchFile(const Aws::String &value)
Definition: LaunchConfig.h:96
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::RoboMaker::Model::LaunchConfig::WithPortForwardingConfig
LaunchConfig & WithPortForwardingConfig(PortForwardingConfig &&value)
Definition: LaunchConfig.h:218
Aws::RoboMaker::Model::LaunchConfig::PortForwardingConfigHasBeenSet
bool PortForwardingConfigHasBeenSet() const
Definition: LaunchConfig.h:198
Aws::RoboMaker::Model::LaunchConfig::GetPackageName
const Aws::String & GetPackageName() const
Definition: LaunchConfig.h:45
Aws::RoboMaker::Model::LaunchConfig::PackageNameHasBeenSet
bool PackageNameHasBeenSet() const
Definition: LaunchConfig.h:50
Aws::RoboMaker::Model::LaunchConfig::SetPortForwardingConfig
void SetPortForwardingConfig(PortForwardingConfig &&value)
Definition: LaunchConfig.h:208
PortForwardingConfig.h
Aws
Definition: AccessManagementClient.h:15
Aws::RoboMaker::Model::LaunchConfig::WithLaunchFile
LaunchConfig & WithLaunchFile(const Aws::String &value)
Definition: LaunchConfig.h:111
Aws::RoboMaker::Model::LaunchConfig::AddEnvironmentVariables
LaunchConfig & AddEnvironmentVariables(const Aws::String &key, Aws::String &&value)
Definition: LaunchConfig.h:167
Aws::RoboMaker::Model::LaunchConfig::AddEnvironmentVariables
LaunchConfig & AddEnvironmentVariables(const Aws::String &key, const Aws::String &value)
Definition: LaunchConfig.h:157
Aws::RoboMaker::Model::LaunchConfig::LaunchFileHasBeenSet
bool LaunchFileHasBeenSet() const
Definition: LaunchConfig.h:91
Aws::RoboMaker::Model::LaunchConfig::GetStreamUI
bool GetStreamUI() const
Definition: LaunchConfig.h:228
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RoboMaker::Model::LaunchConfig::AddEnvironmentVariables
LaunchConfig & AddEnvironmentVariables(Aws::String &&key, const char *value)
Definition: LaunchConfig.h:182
Aws::RoboMaker::Model::LaunchConfig::WithPackageName
LaunchConfig & WithPackageName(Aws::String &&value)
Definition: LaunchConfig.h:75
Aws::RoboMaker::Model::LaunchConfig::AddEnvironmentVariables
LaunchConfig & AddEnvironmentVariables(const char *key, const char *value)
Definition: LaunchConfig.h:187
AWSMap.h
Aws::RoboMaker::Model::LaunchConfig::SetEnvironmentVariables
void SetEnvironmentVariables(const Aws::Map< Aws::String, Aws::String > &value)
Definition: LaunchConfig.h:137
Aws::RoboMaker::Model::LaunchConfig::EnvironmentVariablesHasBeenSet
bool EnvironmentVariablesHasBeenSet() const
Definition: LaunchConfig.h:132
Aws::RoboMaker::Model::LaunchConfig::WithEnvironmentVariables
LaunchConfig & WithEnvironmentVariables(const Aws::Map< Aws::String, Aws::String > &value)
Definition: LaunchConfig.h:147
Aws::RoboMaker::Model::LaunchConfig::WithStreamUI
LaunchConfig & WithStreamUI(bool value)
Definition: LaunchConfig.h:255
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::RoboMaker::Model::LaunchConfig::WithLaunchFile
LaunchConfig & WithLaunchFile(Aws::String &&value)
Definition: LaunchConfig.h:116
Aws::RoboMaker::Model::LaunchConfig
Definition: LaunchConfig.h:34
Aws::RoboMaker::Model::LaunchConfig::AddEnvironmentVariables
LaunchConfig & AddEnvironmentVariables(Aws::String &&key, const Aws::String &value)
Definition: LaunchConfig.h:162