AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetPackageName(const Aws::String& value) { m_packageNameHasBeenSet = true; m_packageName = value; }
49 inline void SetPackageName(Aws::String&& value) { m_packageNameHasBeenSet = true; m_packageName = std::move(value); }
50 inline void SetPackageName(const char* value) { m_packageNameHasBeenSet = true; m_packageName.assign(value); }
51 inline DeploymentLaunchConfig& WithPackageName(const Aws::String& value) { SetPackageName(value); return *this;}
52 inline DeploymentLaunchConfig& WithPackageName(Aws::String&& value) { SetPackageName(std::move(value)); return *this;}
53 inline DeploymentLaunchConfig& WithPackageName(const char* value) { SetPackageName(value); return *this;}
55
57
61 inline const Aws::String& GetPreLaunchFile() const{ return m_preLaunchFile; }
62 inline bool PreLaunchFileHasBeenSet() const { return m_preLaunchFileHasBeenSet; }
63 inline void SetPreLaunchFile(const Aws::String& value) { m_preLaunchFileHasBeenSet = true; m_preLaunchFile = value; }
64 inline void SetPreLaunchFile(Aws::String&& value) { m_preLaunchFileHasBeenSet = true; m_preLaunchFile = std::move(value); }
65 inline void SetPreLaunchFile(const char* value) { m_preLaunchFileHasBeenSet = true; m_preLaunchFile.assign(value); }
66 inline DeploymentLaunchConfig& WithPreLaunchFile(const Aws::String& value) { SetPreLaunchFile(value); return *this;}
67 inline DeploymentLaunchConfig& WithPreLaunchFile(Aws::String&& value) { SetPreLaunchFile(std::move(value)); return *this;}
68 inline DeploymentLaunchConfig& WithPreLaunchFile(const char* value) { SetPreLaunchFile(value); return *this;}
70
72
75 inline const Aws::String& GetLaunchFile() const{ return m_launchFile; }
76 inline bool LaunchFileHasBeenSet() const { return m_launchFileHasBeenSet; }
77 inline void SetLaunchFile(const Aws::String& value) { m_launchFileHasBeenSet = true; m_launchFile = value; }
78 inline void SetLaunchFile(Aws::String&& value) { m_launchFileHasBeenSet = true; m_launchFile = std::move(value); }
79 inline void SetLaunchFile(const char* value) { m_launchFileHasBeenSet = true; m_launchFile.assign(value); }
80 inline DeploymentLaunchConfig& WithLaunchFile(const Aws::String& value) { SetLaunchFile(value); return *this;}
81 inline DeploymentLaunchConfig& WithLaunchFile(Aws::String&& value) { SetLaunchFile(std::move(value)); return *this;}
82 inline DeploymentLaunchConfig& WithLaunchFile(const char* value) { SetLaunchFile(value); return *this;}
84
86
90 inline const Aws::String& GetPostLaunchFile() const{ return m_postLaunchFile; }
91 inline bool PostLaunchFileHasBeenSet() const { return m_postLaunchFileHasBeenSet; }
92 inline void SetPostLaunchFile(const Aws::String& value) { m_postLaunchFileHasBeenSet = true; m_postLaunchFile = value; }
93 inline void SetPostLaunchFile(Aws::String&& value) { m_postLaunchFileHasBeenSet = true; m_postLaunchFile = std::move(value); }
94 inline void SetPostLaunchFile(const char* value) { m_postLaunchFileHasBeenSet = true; m_postLaunchFile.assign(value); }
95 inline DeploymentLaunchConfig& WithPostLaunchFile(const Aws::String& value) { SetPostLaunchFile(value); return *this;}
96 inline DeploymentLaunchConfig& WithPostLaunchFile(Aws::String&& value) { SetPostLaunchFile(std::move(value)); return *this;}
97 inline DeploymentLaunchConfig& WithPostLaunchFile(const char* value) { SetPostLaunchFile(value); return *this;}
99
101
105 inline const Aws::Map<Aws::String, Aws::String>& GetEnvironmentVariables() const{ return m_environmentVariables; }
106 inline bool EnvironmentVariablesHasBeenSet() const { return m_environmentVariablesHasBeenSet; }
107 inline void SetEnvironmentVariables(const Aws::Map<Aws::String, Aws::String>& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables = value; }
108 inline void SetEnvironmentVariables(Aws::Map<Aws::String, Aws::String>&& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables = std::move(value); }
111 inline DeploymentLaunchConfig& AddEnvironmentVariables(const Aws::String& key, const Aws::String& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(key, value); return *this; }
112 inline DeploymentLaunchConfig& AddEnvironmentVariables(Aws::String&& key, const Aws::String& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(std::move(key), value); return *this; }
113 inline DeploymentLaunchConfig& AddEnvironmentVariables(const Aws::String& key, Aws::String&& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(key, std::move(value)); return *this; }
114 inline DeploymentLaunchConfig& AddEnvironmentVariables(Aws::String&& key, Aws::String&& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(std::move(key), std::move(value)); return *this; }
115 inline DeploymentLaunchConfig& AddEnvironmentVariables(const char* key, Aws::String&& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(key, std::move(value)); return *this; }
116 inline DeploymentLaunchConfig& AddEnvironmentVariables(Aws::String&& key, const char* value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(std::move(key), value); return *this; }
117 inline DeploymentLaunchConfig& AddEnvironmentVariables(const char* key, const char* value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(key, value); return *this; }
119 private:
120
121 Aws::String m_packageName;
122 bool m_packageNameHasBeenSet = false;
123
124 Aws::String m_preLaunchFile;
125 bool m_preLaunchFileHasBeenSet = false;
126
127 Aws::String m_launchFile;
128 bool m_launchFileHasBeenSet = false;
129
130 Aws::String m_postLaunchFile;
131 bool m_postLaunchFileHasBeenSet = false;
132
133 Aws::Map<Aws::String, Aws::String> m_environmentVariables;
134 bool m_environmentVariablesHasBeenSet = false;
135 };
136
137} // namespace Model
138} // namespace RoboMaker
139} // namespace Aws
DeploymentLaunchConfig & AddEnvironmentVariables(Aws::String &&key, const char *value)
const Aws::Map< Aws::String, Aws::String > & GetEnvironmentVariables() const
DeploymentLaunchConfig & WithPackageName(Aws::String &&value)
DeploymentLaunchConfig & AddEnvironmentVariables(Aws::String &&key, const Aws::String &value)
DeploymentLaunchConfig & AddEnvironmentVariables(const char *key, const char *value)
DeploymentLaunchConfig & WithPreLaunchFile(const Aws::String &value)
DeploymentLaunchConfig & WithPreLaunchFile(Aws::String &&value)
AWS_ROBOMAKER_API DeploymentLaunchConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
DeploymentLaunchConfig & WithEnvironmentVariables(Aws::Map< Aws::String, Aws::String > &&value)
AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
DeploymentLaunchConfig & AddEnvironmentVariables(const char *key, Aws::String &&value)
DeploymentLaunchConfig & WithLaunchFile(Aws::String &&value)
DeploymentLaunchConfig & AddEnvironmentVariables(const Aws::String &key, Aws::String &&value)
DeploymentLaunchConfig & WithPostLaunchFile(const char *value)
DeploymentLaunchConfig & WithPostLaunchFile(Aws::String &&value)
DeploymentLaunchConfig & WithEnvironmentVariables(const Aws::Map< Aws::String, Aws::String > &value)
AWS_ROBOMAKER_API DeploymentLaunchConfig(Aws::Utils::Json::JsonView jsonValue)
DeploymentLaunchConfig & WithLaunchFile(const char *value)
void SetEnvironmentVariables(Aws::Map< Aws::String, Aws::String > &&value)
DeploymentLaunchConfig & AddEnvironmentVariables(Aws::String &&key, Aws::String &&value)
DeploymentLaunchConfig & WithLaunchFile(const Aws::String &value)
DeploymentLaunchConfig & WithPreLaunchFile(const char *value)
DeploymentLaunchConfig & WithPackageName(const Aws::String &value)
DeploymentLaunchConfig & WithPackageName(const char *value)
DeploymentLaunchConfig & WithPostLaunchFile(const Aws::String &value)
DeploymentLaunchConfig & AddEnvironmentVariables(const Aws::String &key, const Aws::String &value)
void SetEnvironmentVariables(const Aws::Map< Aws::String, Aws::String > &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