7#include <aws/apprunner/AppRunner_EXPORTS.h>
8#include <aws/apprunner/model/Runtime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
62 template<
typename BuildCommandT = Aws::String>
63 void SetBuildCommand(BuildCommandT&& value) { m_buildCommandHasBeenSet =
true; m_buildCommand = std::forward<BuildCommandT>(value); }
64 template<
typename BuildCommandT = Aws::String>
74 template<
typename StartCommandT = Aws::String>
75 void SetStartCommand(StartCommandT&& value) { m_startCommandHasBeenSet =
true; m_startCommand = std::forward<StartCommandT>(value); }
76 template<
typename StartCommandT = Aws::String>
87 template<
typename PortT = Aws::String>
88 void SetPort(PortT&& value) { m_portHasBeenSet =
true; m_port = std::forward<PortT>(value); }
89 template<
typename PortT = Aws::String>
100 template<
typename RuntimeEnvironmentVariablesT = Aws::Map<Aws::String, Aws::String>>
101 void SetRuntimeEnvironmentVariables(RuntimeEnvironmentVariablesT&& value) { m_runtimeEnvironmentVariablesHasBeenSet =
true; m_runtimeEnvironmentVariables = std::forward<RuntimeEnvironmentVariablesT>(value); }
102 template<
typename RuntimeEnvironmentVariablesT = Aws::Map<Aws::String, Aws::String>>
104 template<
typename RuntimeEnvironmentVariablesKeyT = Aws::String,
typename RuntimeEnvironmentVariablesValueT = Aws::String>
106 m_runtimeEnvironmentVariablesHasBeenSet =
true; m_runtimeEnvironmentVariables.emplace(std::forward<RuntimeEnvironmentVariablesKeyT>(key), std::forward<RuntimeEnvironmentVariablesValueT>(value));
return *
this;
126 template<
typename RuntimeEnvironmentSecretsT = Aws::Map<Aws::String, Aws::String>>
127 void SetRuntimeEnvironmentSecrets(RuntimeEnvironmentSecretsT&& value) { m_runtimeEnvironmentSecretsHasBeenSet =
true; m_runtimeEnvironmentSecrets = std::forward<RuntimeEnvironmentSecretsT>(value); }
128 template<
typename RuntimeEnvironmentSecretsT = Aws::Map<Aws::String, Aws::String>>
130 template<
typename RuntimeEnvironmentSecretsKeyT = Aws::String,
typename RuntimeEnvironmentSecretsValueT = Aws::String>
132 m_runtimeEnvironmentSecretsHasBeenSet =
true; m_runtimeEnvironmentSecrets.emplace(std::forward<RuntimeEnvironmentSecretsKeyT>(key), std::forward<RuntimeEnvironmentSecretsValueT>(value));
return *
this;
138 bool m_runtimeHasBeenSet =
false;
141 bool m_buildCommandHasBeenSet =
false;
144 bool m_startCommandHasBeenSet =
false;
147 bool m_portHasBeenSet =
false;
150 bool m_runtimeEnvironmentVariablesHasBeenSet =
false;
153 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