7#include <aws/apprunner/AppRunner_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
50 template<
typename RuntimeEnvironmentVariablesT = Aws::Map<Aws::String, Aws::String>>
51 void SetRuntimeEnvironmentVariables(RuntimeEnvironmentVariablesT&& value) { m_runtimeEnvironmentVariablesHasBeenSet =
true; m_runtimeEnvironmentVariables = std::forward<RuntimeEnvironmentVariablesT>(value); }
52 template<
typename RuntimeEnvironmentVariablesT = Aws::Map<Aws::String, Aws::String>>
54 template<
typename RuntimeEnvironmentVariablesKeyT = Aws::String,
typename RuntimeEnvironmentVariablesValueT = Aws::String>
56 m_runtimeEnvironmentVariablesHasBeenSet =
true; m_runtimeEnvironmentVariables.emplace(std::forward<RuntimeEnvironmentVariablesKeyT>(key), std::forward<RuntimeEnvironmentVariablesValueT>(value));
return *
this;
68 template<
typename StartCommandT = Aws::String>
69 void SetStartCommand(StartCommandT&& value) { m_startCommandHasBeenSet =
true; m_startCommand = std::forward<StartCommandT>(value); }
70 template<
typename StartCommandT = Aws::String>
81 template<
typename PortT = Aws::String>
82 void SetPort(PortT&& value) { m_portHasBeenSet =
true; m_port = std::forward<PortT>(value); }
83 template<
typename PortT = Aws::String>
103 template<
typename RuntimeEnvironmentSecretsT = Aws::Map<Aws::String, Aws::String>>
104 void SetRuntimeEnvironmentSecrets(RuntimeEnvironmentSecretsT&& value) { m_runtimeEnvironmentSecretsHasBeenSet =
true; m_runtimeEnvironmentSecrets = std::forward<RuntimeEnvironmentSecretsT>(value); }
105 template<
typename RuntimeEnvironmentSecretsT = Aws::Map<Aws::String, Aws::String>>
107 template<
typename RuntimeEnvironmentSecretsKeyT = Aws::String,
typename RuntimeEnvironmentSecretsValueT = Aws::String>
109 m_runtimeEnvironmentSecretsHasBeenSet =
true; m_runtimeEnvironmentSecrets.emplace(std::forward<RuntimeEnvironmentSecretsKeyT>(key), std::forward<RuntimeEnvironmentSecretsValueT>(value));
return *
this;
115 bool m_runtimeEnvironmentVariablesHasBeenSet =
false;
118 bool m_startCommandHasBeenSet =
false;
121 bool m_portHasBeenSet =
false;
124 bool m_runtimeEnvironmentSecretsHasBeenSet =
false;
const Aws::Map< Aws::String, Aws::String > & GetRuntimeEnvironmentVariables() const
const Aws::Map< Aws::String, Aws::String > & GetRuntimeEnvironmentSecrets() const
ImageConfiguration & WithRuntimeEnvironmentVariables(RuntimeEnvironmentVariablesT &&value)
ImageConfiguration & WithStartCommand(StartCommandT &&value)
ImageConfiguration & AddRuntimeEnvironmentSecrets(RuntimeEnvironmentSecretsKeyT &&key, RuntimeEnvironmentSecretsValueT &&value)
void SetRuntimeEnvironmentSecrets(RuntimeEnvironmentSecretsT &&value)
ImageConfiguration & AddRuntimeEnvironmentVariables(RuntimeEnvironmentVariablesKeyT &&key, RuntimeEnvironmentVariablesValueT &&value)
ImageConfiguration & WithPort(PortT &&value)
bool StartCommandHasBeenSet() const
AWS_APPRUNNER_API ImageConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_APPRUNNER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRuntimeEnvironmentVariables(RuntimeEnvironmentVariablesT &&value)
const Aws::String & GetPort() const
void SetStartCommand(StartCommandT &&value)
const Aws::String & GetStartCommand() const
bool PortHasBeenSet() const
bool RuntimeEnvironmentVariablesHasBeenSet() const
AWS_APPRUNNER_API ImageConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPRUNNER_API ImageConfiguration()=default
bool RuntimeEnvironmentSecretsHasBeenSet() const
ImageConfiguration & WithRuntimeEnvironmentSecrets(RuntimeEnvironmentSecretsT &&value)
void SetPort(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