7#include <aws/apprunner/AppRunner_EXPORTS.h>
8#include <aws/apprunner/model/Runtime.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
47 m_runtimeHasBeenSet =
true;
62 template <
typename BuildCommandT = Aws::String>
64 m_buildCommandHasBeenSet =
true;
65 m_buildCommand = std::forward<BuildCommandT>(value);
67 template <
typename BuildCommandT = Aws::String>
80 template <
typename StartCommandT = Aws::String>
82 m_startCommandHasBeenSet =
true;
83 m_startCommand = std::forward<StartCommandT>(value);
85 template <
typename StartCommandT = Aws::String>
99 template <
typename PortT = Aws::String>
101 m_portHasBeenSet =
true;
102 m_port = std::forward<PortT>(value);
104 template <
typename PortT = Aws::String>
106 SetPort(std::forward<PortT>(value));
118 template <
typename RuntimeEnvironmentVariablesT = Aws::Map<Aws::String, Aws::String>>
120 m_runtimeEnvironmentVariablesHasBeenSet =
true;
121 m_runtimeEnvironmentVariables = std::forward<RuntimeEnvironmentVariablesT>(value);
123 template <
typename RuntimeEnvironmentVariablesT = Aws::Map<Aws::String, Aws::String>>
128 template <
typename RuntimeEnvironmentVariablesKeyT = Aws::String,
typename RuntimeEnvironmentVariablesValueT = Aws::String>
130 RuntimeEnvironmentVariablesValueT&& value) {
131 m_runtimeEnvironmentVariablesHasBeenSet =
true;
132 m_runtimeEnvironmentVariables.emplace(std::forward<RuntimeEnvironmentVariablesKeyT>(key),
133 std::forward<RuntimeEnvironmentVariablesValueT>(value));
154 template <
typename RuntimeEnvironmentSecretsT = Aws::Map<Aws::String, Aws::String>>
156 m_runtimeEnvironmentSecretsHasBeenSet =
true;
157 m_runtimeEnvironmentSecrets = std::forward<RuntimeEnvironmentSecretsT>(value);
159 template <
typename RuntimeEnvironmentSecretsT = Aws::Map<Aws::String, Aws::String>>
164 template <
typename RuntimeEnvironmentSecretsKeyT = Aws::String,
typename RuntimeEnvironmentSecretsValueT = Aws::String>
166 m_runtimeEnvironmentSecretsHasBeenSet =
true;
167 m_runtimeEnvironmentSecrets.emplace(std::forward<RuntimeEnvironmentSecretsKeyT>(key),
168 std::forward<RuntimeEnvironmentSecretsValueT>(value));
184 bool m_runtimeHasBeenSet =
false;
185 bool m_buildCommandHasBeenSet =
false;
186 bool m_startCommandHasBeenSet =
false;
187 bool m_portHasBeenSet =
false;
188 bool m_runtimeEnvironmentVariablesHasBeenSet =
false;
189 bool m_runtimeEnvironmentSecretsHasBeenSet =
false;
void SetRuntimeEnvironmentVariables(RuntimeEnvironmentVariablesT &&value)
void SetBuildCommand(BuildCommandT &&value)
bool BuildCommandHasBeenSet() const
void SetStartCommand(StartCommandT &&value)
bool RuntimeEnvironmentSecretsHasBeenSet() const
AWS_APPRUNNER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRuntimeEnvironmentSecrets(RuntimeEnvironmentSecretsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetRuntimeEnvironmentVariables() const
const Aws::String & GetStartCommand() const
CodeConfigurationValues & WithRuntimeEnvironmentSecrets(RuntimeEnvironmentSecretsT &&value)
void SetPort(PortT &&value)
CodeConfigurationValues & WithRuntime(Runtime value)
CodeConfigurationValues & WithStartCommand(StartCommandT &&value)
CodeConfigurationValues & WithBuildCommand(BuildCommandT &&value)
void SetRuntime(Runtime value)
AWS_APPRUNNER_API CodeConfigurationValues()=default
AWS_APPRUNNER_API CodeConfigurationValues(Aws::Utils::Json::JsonView jsonValue)
CodeConfigurationValues & AddRuntimeEnvironmentVariables(RuntimeEnvironmentVariablesKeyT &&key, RuntimeEnvironmentVariablesValueT &&value)
const Aws::String & GetPort() const
const Aws::String & GetBuildCommand() const
CodeConfigurationValues & AddRuntimeEnvironmentSecrets(RuntimeEnvironmentSecretsKeyT &&key, RuntimeEnvironmentSecretsValueT &&value)
bool RuntimeHasBeenSet() const
AWS_APPRUNNER_API CodeConfigurationValues & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Map< Aws::String, Aws::String > & GetRuntimeEnvironmentSecrets() const
bool PortHasBeenSet() const
CodeConfigurationValues & WithRuntimeEnvironmentVariables(RuntimeEnvironmentVariablesT &&value)
Runtime GetRuntime() const
bool RuntimeEnvironmentVariablesHasBeenSet() const
bool StartCommandHasBeenSet() const
CodeConfigurationValues & WithPort(PortT &&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