7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ecs/ECS_EXPORTS.h>
10#include <aws/ecs/model/ExpressGatewayRepositoryCredentials.h>
11#include <aws/ecs/model/ExpressGatewayServiceAwsLogsConfiguration.h>
12#include <aws/ecs/model/KeyValuePair.h>
13#include <aws/ecs/model/Secret.h>
56 template <
typename ImageT = Aws::String>
58 m_imageHasBeenSet =
true;
59 m_image = std::forward<ImageT>(value);
61 template <
typename ImageT = Aws::String>
63 SetImage(std::forward<ImageT>(value));
76 m_containerPortHasBeenSet =
true;
77 m_containerPort = value;
91 template <
typename AwsLogsConfigurationT = ExpressGatewayServiceAwsLogsConfiguration>
93 m_awsLogsConfigurationHasBeenSet =
true;
94 m_awsLogsConfiguration = std::forward<AwsLogsConfigurationT>(value);
96 template <
typename AwsLogsConfigurationT = ExpressGatewayServiceAwsLogsConfiguration>
110 template <
typename RepositoryCredentialsT = ExpressGatewayRepositoryCredentials>
112 m_repositoryCredentialsHasBeenSet =
true;
113 m_repositoryCredentials = std::forward<RepositoryCredentialsT>(value);
115 template <
typename RepositoryCredentialsT = ExpressGatewayRepositoryCredentials>
128 template <
typename CommandT = Aws::Vector<Aws::String>>
130 m_commandHasBeenSet =
true;
131 m_command = std::forward<CommandT>(value);
133 template <
typename CommandT = Aws::Vector<Aws::String>>
138 template <
typename CommandT = Aws::String>
140 m_commandHasBeenSet =
true;
141 m_command.emplace_back(std::forward<CommandT>(value));
152 template <
typename EnvironmentT = Aws::Vector<KeyValuePair>>
154 m_environmentHasBeenSet =
true;
155 m_environment = std::forward<EnvironmentT>(value);
157 template <
typename EnvironmentT = Aws::Vector<KeyValuePair>>
162 template <
typename EnvironmentT = KeyValuePair>
164 m_environmentHasBeenSet =
true;
165 m_environment.emplace_back(std::forward<EnvironmentT>(value));
176 template <
typename SecretsT = Aws::Vector<Secret>>
178 m_secretsHasBeenSet =
true;
179 m_secrets = std::forward<SecretsT>(value);
181 template <
typename SecretsT = Aws::Vector<Secret>>
186 template <
typename SecretsT = Secret>
188 m_secretsHasBeenSet =
true;
189 m_secrets.emplace_back(std::forward<SecretsT>(value));
196 int m_containerPort{0};
198 ExpressGatewayServiceAwsLogsConfiguration m_awsLogsConfiguration;
200 ExpressGatewayRepositoryCredentials m_repositoryCredentials;
207 bool m_imageHasBeenSet =
false;
208 bool m_containerPortHasBeenSet =
false;
209 bool m_awsLogsConfigurationHasBeenSet =
false;
210 bool m_repositoryCredentialsHasBeenSet =
false;
211 bool m_commandHasBeenSet =
false;
212 bool m_environmentHasBeenSet =
false;
213 bool m_secretsHasBeenSet =
false;
bool ContainerPortHasBeenSet() const
ExpressGatewayContainer & WithImage(ImageT &&value)
AWS_ECS_API ExpressGatewayContainer(Aws::Utils::Json::JsonView jsonValue)
ExpressGatewayContainer & AddSecrets(SecretsT &&value)
void SetRepositoryCredentials(RepositoryCredentialsT &&value)
ExpressGatewayContainer & AddEnvironment(EnvironmentT &&value)
void SetSecrets(SecretsT &&value)
const Aws::Vector< KeyValuePair > & GetEnvironment() const
void SetAwsLogsConfiguration(AwsLogsConfigurationT &&value)
ExpressGatewayContainer & WithEnvironment(EnvironmentT &&value)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
bool AwsLogsConfigurationHasBeenSet() const
AWS_ECS_API ExpressGatewayContainer()=default
ExpressGatewayContainer & AddCommand(CommandT &&value)
void SetContainerPort(int value)
const Aws::Vector< Aws::String > & GetCommand() const
int GetContainerPort() const
ExpressGatewayContainer & WithContainerPort(int value)
const Aws::String & GetImage() const
bool ImageHasBeenSet() const
void SetCommand(CommandT &&value)
const ExpressGatewayRepositoryCredentials & GetRepositoryCredentials() const
ExpressGatewayContainer & WithAwsLogsConfiguration(AwsLogsConfigurationT &&value)
AWS_ECS_API ExpressGatewayContainer & operator=(Aws::Utils::Json::JsonView jsonValue)
ExpressGatewayContainer & WithCommand(CommandT &&value)
void SetEnvironment(EnvironmentT &&value)
bool EnvironmentHasBeenSet() const
ExpressGatewayContainer & WithRepositoryCredentials(RepositoryCredentialsT &&value)
const Aws::Vector< Secret > & GetSecrets() const
void SetImage(ImageT &&value)
bool CommandHasBeenSet() const
bool RepositoryCredentialsHasBeenSet() const
bool SecretsHasBeenSet() const
const ExpressGatewayServiceAwsLogsConfiguration & GetAwsLogsConfiguration() const
ExpressGatewayContainer & WithSecrets(SecretsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue