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>
44 template <
typename RuntimeEnvironmentVariablesT = Aws::Map<Aws::String, Aws::String>>
46 m_runtimeEnvironmentVariablesHasBeenSet =
true;
47 m_runtimeEnvironmentVariables = std::forward<RuntimeEnvironmentVariablesT>(value);
49 template <
typename RuntimeEnvironmentVariablesT = Aws::Map<Aws::String, Aws::String>>
54 template <
typename RuntimeEnvironmentVariablesKeyT = Aws::String,
typename RuntimeEnvironmentVariablesValueT = Aws::String>
56 m_runtimeEnvironmentVariablesHasBeenSet =
true;
57 m_runtimeEnvironmentVariables.emplace(std::forward<RuntimeEnvironmentVariablesKeyT>(key),
58 std::forward<RuntimeEnvironmentVariablesValueT>(value));
71 template <
typename StartCommandT = Aws::String>
73 m_startCommandHasBeenSet =
true;
74 m_startCommand = std::forward<StartCommandT>(value);
76 template <
typename StartCommandT = Aws::String>
90 template <
typename PortT = Aws::String>
92 m_portHasBeenSet =
true;
93 m_port = std::forward<PortT>(value);
95 template <
typename PortT = Aws::String>
97 SetPort(std::forward<PortT>(value));
118 template <
typename RuntimeEnvironmentSecretsT = Aws::Map<Aws::String, Aws::String>>
120 m_runtimeEnvironmentSecretsHasBeenSet =
true;
121 m_runtimeEnvironmentSecrets = std::forward<RuntimeEnvironmentSecretsT>(value);
123 template <
typename RuntimeEnvironmentSecretsT = Aws::Map<Aws::String, Aws::String>>
128 template <
typename RuntimeEnvironmentSecretsKeyT = Aws::String,
typename RuntimeEnvironmentSecretsValueT = Aws::String>
130 m_runtimeEnvironmentSecretsHasBeenSet =
true;
131 m_runtimeEnvironmentSecrets.emplace(std::forward<RuntimeEnvironmentSecretsKeyT>(key),
132 std::forward<RuntimeEnvironmentSecretsValueT>(value));
144 bool m_runtimeEnvironmentVariablesHasBeenSet =
false;
145 bool m_startCommandHasBeenSet =
false;
146 bool m_portHasBeenSet =
false;
147 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