AWS SDK for C++  1.9.21
AWS SDK for C++
DeploymentLaunchConfig.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace RoboMaker
23 {
24 namespace Model
25 {
26 
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 DeploymentLaunchConfig& WithPackageName(const Aws::String& value) { SetPackageName(value); return *this;}
71 
75  inline DeploymentLaunchConfig& WithPackageName(Aws::String&& value) { SetPackageName(std::move(value)); return *this;}
76 
80  inline DeploymentLaunchConfig& WithPackageName(const char* value) { SetPackageName(value); return *this;}
81 
82 
87  inline const Aws::String& GetPreLaunchFile() const{ return m_preLaunchFile; }
88 
93  inline bool PreLaunchFileHasBeenSet() const { return m_preLaunchFileHasBeenSet; }
94 
99  inline void SetPreLaunchFile(const Aws::String& value) { m_preLaunchFileHasBeenSet = true; m_preLaunchFile = value; }
100 
105  inline void SetPreLaunchFile(Aws::String&& value) { m_preLaunchFileHasBeenSet = true; m_preLaunchFile = std::move(value); }
106 
111  inline void SetPreLaunchFile(const char* value) { m_preLaunchFileHasBeenSet = true; m_preLaunchFile.assign(value); }
112 
117  inline DeploymentLaunchConfig& WithPreLaunchFile(const Aws::String& value) { SetPreLaunchFile(value); return *this;}
118 
123  inline DeploymentLaunchConfig& WithPreLaunchFile(Aws::String&& value) { SetPreLaunchFile(std::move(value)); return *this;}
124 
129  inline DeploymentLaunchConfig& WithPreLaunchFile(const char* value) { SetPreLaunchFile(value); return *this;}
130 
131 
135  inline const Aws::String& GetLaunchFile() const{ return m_launchFile; }
136 
140  inline bool LaunchFileHasBeenSet() const { return m_launchFileHasBeenSet; }
141 
145  inline void SetLaunchFile(const Aws::String& value) { m_launchFileHasBeenSet = true; m_launchFile = value; }
146 
150  inline void SetLaunchFile(Aws::String&& value) { m_launchFileHasBeenSet = true; m_launchFile = std::move(value); }
151 
155  inline void SetLaunchFile(const char* value) { m_launchFileHasBeenSet = true; m_launchFile.assign(value); }
156 
160  inline DeploymentLaunchConfig& WithLaunchFile(const Aws::String& value) { SetLaunchFile(value); return *this;}
161 
165  inline DeploymentLaunchConfig& WithLaunchFile(Aws::String&& value) { SetLaunchFile(std::move(value)); return *this;}
166 
170  inline DeploymentLaunchConfig& WithLaunchFile(const char* value) { SetLaunchFile(value); return *this;}
171 
172 
177  inline const Aws::String& GetPostLaunchFile() const{ return m_postLaunchFile; }
178 
183  inline bool PostLaunchFileHasBeenSet() const { return m_postLaunchFileHasBeenSet; }
184 
189  inline void SetPostLaunchFile(const Aws::String& value) { m_postLaunchFileHasBeenSet = true; m_postLaunchFile = value; }
190 
195  inline void SetPostLaunchFile(Aws::String&& value) { m_postLaunchFileHasBeenSet = true; m_postLaunchFile = std::move(value); }
196 
201  inline void SetPostLaunchFile(const char* value) { m_postLaunchFileHasBeenSet = true; m_postLaunchFile.assign(value); }
202 
207  inline DeploymentLaunchConfig& WithPostLaunchFile(const Aws::String& value) { SetPostLaunchFile(value); return *this;}
208 
213  inline DeploymentLaunchConfig& WithPostLaunchFile(Aws::String&& value) { SetPostLaunchFile(std::move(value)); return *this;}
214 
219  inline DeploymentLaunchConfig& WithPostLaunchFile(const char* value) { SetPostLaunchFile(value); return *this;}
220 
221 
226  inline const Aws::Map<Aws::String, Aws::String>& GetEnvironmentVariables() const{ return m_environmentVariables; }
227 
232  inline bool EnvironmentVariablesHasBeenSet() const { return m_environmentVariablesHasBeenSet; }
233 
238  inline void SetEnvironmentVariables(const Aws::Map<Aws::String, Aws::String>& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables = value; }
239 
244  inline void SetEnvironmentVariables(Aws::Map<Aws::String, Aws::String>&& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables = std::move(value); }
245 
250  inline DeploymentLaunchConfig& WithEnvironmentVariables(const Aws::Map<Aws::String, Aws::String>& value) { SetEnvironmentVariables(value); return *this;}
251 
256  inline DeploymentLaunchConfig& WithEnvironmentVariables(Aws::Map<Aws::String, Aws::String>&& value) { SetEnvironmentVariables(std::move(value)); return *this;}
257 
262  inline DeploymentLaunchConfig& AddEnvironmentVariables(const Aws::String& key, const Aws::String& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(key, value); return *this; }
263 
268  inline DeploymentLaunchConfig& AddEnvironmentVariables(Aws::String&& key, const Aws::String& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(std::move(key), value); return *this; }
269 
274  inline DeploymentLaunchConfig& AddEnvironmentVariables(const Aws::String& key, Aws::String&& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(key, std::move(value)); return *this; }
275 
280  inline DeploymentLaunchConfig& AddEnvironmentVariables(Aws::String&& key, Aws::String&& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(std::move(key), std::move(value)); return *this; }
281 
286  inline DeploymentLaunchConfig& AddEnvironmentVariables(const char* key, Aws::String&& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(key, std::move(value)); return *this; }
287 
292  inline DeploymentLaunchConfig& AddEnvironmentVariables(Aws::String&& key, const char* value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(std::move(key), value); return *this; }
293 
298  inline DeploymentLaunchConfig& AddEnvironmentVariables(const char* key, const char* value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(key, value); return *this; }
299 
300  private:
301 
302  Aws::String m_packageName;
303  bool m_packageNameHasBeenSet;
304 
305  Aws::String m_preLaunchFile;
306  bool m_preLaunchFileHasBeenSet;
307 
308  Aws::String m_launchFile;
309  bool m_launchFileHasBeenSet;
310 
311  Aws::String m_postLaunchFile;
312  bool m_postLaunchFileHasBeenSet;
313 
314  Aws::Map<Aws::String, Aws::String> m_environmentVariables;
315  bool m_environmentVariablesHasBeenSet;
316  };
317 
318 } // namespace Model
319 } // namespace RoboMaker
320 } // namespace Aws
Aws::RoboMaker::Model::DeploymentLaunchConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::RoboMaker::Model::DeploymentLaunchConfig::operator=
DeploymentLaunchConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::RoboMaker::Model::DeploymentLaunchConfig::SetPreLaunchFile
void SetPreLaunchFile(const char *value)
Definition: DeploymentLaunchConfig.h:111
Aws::RoboMaker::Model::DeploymentLaunchConfig::GetPostLaunchFile
const Aws::String & GetPostLaunchFile() const
Definition: DeploymentLaunchConfig.h:177
Aws::RoboMaker::Model::DeploymentLaunchConfig::GetPackageName
const Aws::String & GetPackageName() const
Definition: DeploymentLaunchConfig.h:45
Aws::RoboMaker::Model::DeploymentLaunchConfig::WithPreLaunchFile
DeploymentLaunchConfig & WithPreLaunchFile(const char *value)
Definition: DeploymentLaunchConfig.h:129
Aws::RoboMaker::Model::DeploymentLaunchConfig::WithPackageName
DeploymentLaunchConfig & WithPackageName(const char *value)
Definition: DeploymentLaunchConfig.h:80
Aws::RoboMaker::Model::DeploymentLaunchConfig::WithLaunchFile
DeploymentLaunchConfig & WithLaunchFile(const char *value)
Definition: DeploymentLaunchConfig.h:170
Aws::RoboMaker::Model::DeploymentLaunchConfig::AddEnvironmentVariables
DeploymentLaunchConfig & AddEnvironmentVariables(Aws::String &&key, const char *value)
Definition: DeploymentLaunchConfig.h:292
Aws::RoboMaker::Model::DeploymentLaunchConfig::AddEnvironmentVariables
DeploymentLaunchConfig & AddEnvironmentVariables(const char *key, const char *value)
Definition: DeploymentLaunchConfig.h:298
Aws::RoboMaker::Model::DeploymentLaunchConfig::SetLaunchFile
void SetLaunchFile(Aws::String &&value)
Definition: DeploymentLaunchConfig.h:150
Aws::RoboMaker::Model::DeploymentLaunchConfig::GetLaunchFile
const Aws::String & GetLaunchFile() const
Definition: DeploymentLaunchConfig.h:135
Aws::RoboMaker::Model::DeploymentLaunchConfig::AddEnvironmentVariables
DeploymentLaunchConfig & AddEnvironmentVariables(Aws::String &&key, const Aws::String &value)
Definition: DeploymentLaunchConfig.h:268
Aws::RoboMaker::Model::DeploymentLaunchConfig::WithLaunchFile
DeploymentLaunchConfig & WithLaunchFile(Aws::String &&value)
Definition: DeploymentLaunchConfig.h:165
Aws::RoboMaker::Model::DeploymentLaunchConfig::LaunchFileHasBeenSet
bool LaunchFileHasBeenSet() const
Definition: DeploymentLaunchConfig.h:140
Aws::RoboMaker::Model::DeploymentLaunchConfig::SetEnvironmentVariables
void SetEnvironmentVariables(Aws::Map< Aws::String, Aws::String > &&value)
Definition: DeploymentLaunchConfig.h:244
AWS_ROBOMAKER_API
#define AWS_ROBOMAKER_API
Definition: RoboMaker_EXPORTS.h:28
Aws::RoboMaker::Model::DeploymentLaunchConfig::WithPreLaunchFile
DeploymentLaunchConfig & WithPreLaunchFile(const Aws::String &value)
Definition: DeploymentLaunchConfig.h:117
Aws::RoboMaker::Model::DeploymentLaunchConfig::SetPostLaunchFile
void SetPostLaunchFile(const char *value)
Definition: DeploymentLaunchConfig.h:201
Aws::RoboMaker::Model::DeploymentLaunchConfig::AddEnvironmentVariables
DeploymentLaunchConfig & AddEnvironmentVariables(const Aws::String &key, const Aws::String &value)
Definition: DeploymentLaunchConfig.h:262
Aws::RoboMaker::Model::DeploymentLaunchConfig::SetLaunchFile
void SetLaunchFile(const Aws::String &value)
Definition: DeploymentLaunchConfig.h:145
RoboMaker_EXPORTS.h
Aws::RoboMaker::Model::DeploymentLaunchConfig::PostLaunchFileHasBeenSet
bool PostLaunchFileHasBeenSet() const
Definition: DeploymentLaunchConfig.h:183
Aws::RoboMaker::Model::DeploymentLaunchConfig::WithEnvironmentVariables
DeploymentLaunchConfig & WithEnvironmentVariables(const Aws::Map< Aws::String, Aws::String > &value)
Definition: DeploymentLaunchConfig.h:250
Aws::RoboMaker::Model::DeploymentLaunchConfig::EnvironmentVariablesHasBeenSet
bool EnvironmentVariablesHasBeenSet() const
Definition: DeploymentLaunchConfig.h:232
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::RoboMaker::Model::DeploymentLaunchConfig::SetPreLaunchFile
void SetPreLaunchFile(Aws::String &&value)
Definition: DeploymentLaunchConfig.h:105
AWSString.h
Aws::RoboMaker::Model::DeploymentLaunchConfig::WithPostLaunchFile
DeploymentLaunchConfig & WithPostLaunchFile(const Aws::String &value)
Definition: DeploymentLaunchConfig.h:207
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::RoboMaker::Model::DeploymentLaunchConfig::SetPackageName
void SetPackageName(const char *value)
Definition: DeploymentLaunchConfig.h:65
Aws::RoboMaker::Model::DeploymentLaunchConfig::SetPackageName
void SetPackageName(Aws::String &&value)
Definition: DeploymentLaunchConfig.h:60
Aws::RoboMaker::Model::DeploymentLaunchConfig::WithPostLaunchFile
DeploymentLaunchConfig & WithPostLaunchFile(Aws::String &&value)
Definition: DeploymentLaunchConfig.h:213
Aws::RoboMaker::Model::DeploymentLaunchConfig::SetPostLaunchFile
void SetPostLaunchFile(Aws::String &&value)
Definition: DeploymentLaunchConfig.h:195
Aws::RoboMaker::Model::DeploymentLaunchConfig::WithPackageName
DeploymentLaunchConfig & WithPackageName(Aws::String &&value)
Definition: DeploymentLaunchConfig.h:75
Aws::RoboMaker::Model::DeploymentLaunchConfig::SetLaunchFile
void SetLaunchFile(const char *value)
Definition: DeploymentLaunchConfig.h:155
Aws::RoboMaker::Model::DeploymentLaunchConfig::GetEnvironmentVariables
const Aws::Map< Aws::String, Aws::String > & GetEnvironmentVariables() const
Definition: DeploymentLaunchConfig.h:226
Aws::RoboMaker::Model::DeploymentLaunchConfig::SetEnvironmentVariables
void SetEnvironmentVariables(const Aws::Map< Aws::String, Aws::String > &value)
Definition: DeploymentLaunchConfig.h:238
Aws::RoboMaker::Model::DeploymentLaunchConfig::AddEnvironmentVariables
DeploymentLaunchConfig & AddEnvironmentVariables(const char *key, Aws::String &&value)
Definition: DeploymentLaunchConfig.h:286
Aws::RoboMaker::Model::DeploymentLaunchConfig::AddEnvironmentVariables
DeploymentLaunchConfig & AddEnvironmentVariables(const Aws::String &key, Aws::String &&value)
Definition: DeploymentLaunchConfig.h:274
Aws::RoboMaker::Model::DeploymentLaunchConfig::WithLaunchFile
DeploymentLaunchConfig & WithLaunchFile(const Aws::String &value)
Definition: DeploymentLaunchConfig.h:160
Aws::RoboMaker::Model::DeploymentLaunchConfig::WithEnvironmentVariables
DeploymentLaunchConfig & WithEnvironmentVariables(Aws::Map< Aws::String, Aws::String > &&value)
Definition: DeploymentLaunchConfig.h:256
Aws
Definition: AccessManagementClient.h:15
Aws::RoboMaker::Model::DeploymentLaunchConfig::SetPackageName
void SetPackageName(const Aws::String &value)
Definition: DeploymentLaunchConfig.h:55
Aws::RoboMaker::Model::DeploymentLaunchConfig::WithPackageName
DeploymentLaunchConfig & WithPackageName(const Aws::String &value)
Definition: DeploymentLaunchConfig.h:70
Aws::RoboMaker::Model::DeploymentLaunchConfig::WithPreLaunchFile
DeploymentLaunchConfig & WithPreLaunchFile(Aws::String &&value)
Definition: DeploymentLaunchConfig.h:123
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RoboMaker::Model::DeploymentLaunchConfig::SetPreLaunchFile
void SetPreLaunchFile(const Aws::String &value)
Definition: DeploymentLaunchConfig.h:99
Aws::RoboMaker::Model::DeploymentLaunchConfig::DeploymentLaunchConfig
DeploymentLaunchConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::RoboMaker::Model::DeploymentLaunchConfig::DeploymentLaunchConfig
DeploymentLaunchConfig()
Aws::RoboMaker::Model::DeploymentLaunchConfig::PackageNameHasBeenSet
bool PackageNameHasBeenSet() const
Definition: DeploymentLaunchConfig.h:50
Aws::RoboMaker::Model::DeploymentLaunchConfig::GetPreLaunchFile
const Aws::String & GetPreLaunchFile() const
Definition: DeploymentLaunchConfig.h:87
AWSMap.h
Aws::RoboMaker::Model::DeploymentLaunchConfig
Definition: DeploymentLaunchConfig.h:34
Aws::RoboMaker::Model::DeploymentLaunchConfig::AddEnvironmentVariables
DeploymentLaunchConfig & AddEnvironmentVariables(Aws::String &&key, Aws::String &&value)
Definition: DeploymentLaunchConfig.h:280
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::RoboMaker::Model::DeploymentLaunchConfig::PreLaunchFileHasBeenSet
bool PreLaunchFileHasBeenSet() const
Definition: DeploymentLaunchConfig.h:93
Aws::RoboMaker::Model::DeploymentLaunchConfig::SetPostLaunchFile
void SetPostLaunchFile(const Aws::String &value)
Definition: DeploymentLaunchConfig.h:189
Aws::RoboMaker::Model::DeploymentLaunchConfig::WithPostLaunchFile
DeploymentLaunchConfig & WithPostLaunchFile(const char *value)
Definition: DeploymentLaunchConfig.h:219