7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/gamelift/GameLift_EXPORTS.h>
10#include <aws/gamelift/model/ContainerDependency.h>
11#include <aws/gamelift/model/ContainerEnvironment.h>
12#include <aws/gamelift/model/ContainerHealthCheck.h>
13#include <aws/gamelift/model/ContainerMountPoint.h>
14#include <aws/gamelift/model/ContainerPortConfiguration.h>
61 template <
typename ContainerNameT = Aws::String>
63 m_containerNameHasBeenSet =
true;
64 m_containerName = std::forward<ContainerNameT>(value);
66 template <
typename ContainerNameT = Aws::String>
81 template <
typename DependsOnT = Aws::Vector<ContainerDependency>>
83 m_dependsOnHasBeenSet =
true;
84 m_dependsOn = std::forward<DependsOnT>(value);
86 template <
typename DependsOnT = Aws::Vector<ContainerDependency>>
91 template <
typename DependsOnT = ContainerDependency>
93 m_dependsOnHasBeenSet =
true;
94 m_dependsOn.emplace_back(std::forward<DependsOnT>(value));
106 template <
typename MountPo
intsT = Aws::Vector<ContainerMountPo
int>>
108 m_mountPointsHasBeenSet =
true;
109 m_mountPoints = std::forward<MountPointsT>(value);
111 template <
typename MountPo
intsT = Aws::Vector<ContainerMountPo
int>>
116 template <
typename MountPo
intsT = ContainerMountPo
int>
118 m_mountPointsHasBeenSet =
true;
119 m_mountPoints.emplace_back(std::forward<MountPointsT>(value));
133 template <
typename EnvironmentOverr
ideT = Aws::Vector<ContainerEnvironment>>
135 m_environmentOverrideHasBeenSet =
true;
136 m_environmentOverride = std::forward<EnvironmentOverrideT>(value);
138 template <
typename EnvironmentOverr
ideT = Aws::Vector<ContainerEnvironment>>
143 template <
typename EnvironmentOverr
ideT = ContainerEnvironment>
145 m_environmentOverrideHasBeenSet =
true;
146 m_environmentOverride.emplace_back(std::forward<EnvironmentOverrideT>(value));
159 m_essentialHasBeenSet =
true;
176 template <
typename HealthCheckT = ContainerHealthCheck>
178 m_healthCheckHasBeenSet =
true;
179 m_healthCheck = std::forward<HealthCheckT>(value);
181 template <
typename HealthCheckT = ContainerHealthCheck>
196 template <
typename ImageUriT = Aws::String>
198 m_imageUriHasBeenSet =
true;
199 m_imageUri = std::forward<ImageUriT>(value);
201 template <
typename ImageUriT = Aws::String>
220 m_memoryHardLimitMebibytesHasBeenSet =
true;
221 m_memoryHardLimitMebibytes = value;
240 template <
typename PortConfigurationT = ContainerPortConfiguration>
242 m_portConfigurationHasBeenSet =
true;
243 m_portConfiguration = std::forward<PortConfigurationT>(value);
245 template <
typename PortConfigurationT = ContainerPortConfiguration>
259 template <
typename ResolvedImageDigestT = Aws::String>
261 m_resolvedImageDigestHasBeenSet =
true;
262 m_resolvedImageDigest = std::forward<ResolvedImageDigestT>(value);
264 template <
typename ResolvedImageDigestT = Aws::String>
279 inline double GetVcpu()
const {
return m_vcpu; }
282 m_vcpuHasBeenSet =
true;
299 bool m_essential{
false};
301 ContainerHealthCheck m_healthCheck;
305 int m_memoryHardLimitMebibytes{0};
307 ContainerPortConfiguration m_portConfiguration;
312 bool m_containerNameHasBeenSet =
false;
313 bool m_dependsOnHasBeenSet =
false;
314 bool m_mountPointsHasBeenSet =
false;
315 bool m_environmentOverrideHasBeenSet =
false;
316 bool m_essentialHasBeenSet =
false;
317 bool m_healthCheckHasBeenSet =
false;
318 bool m_imageUriHasBeenSet =
false;
319 bool m_memoryHardLimitMebibytesHasBeenSet =
false;
320 bool m_portConfigurationHasBeenSet =
false;
321 bool m_resolvedImageDigestHasBeenSet =
false;
322 bool m_vcpuHasBeenSet =
false;
SupportContainerDefinition & AddEnvironmentOverride(EnvironmentOverrideT &&value)
SupportContainerDefinition & WithEssential(bool value)
void SetResolvedImageDigest(ResolvedImageDigestT &&value)
SupportContainerDefinition & WithHealthCheck(HealthCheckT &&value)
bool VcpuHasBeenSet() const
bool GetEssential() const
SupportContainerDefinition & WithVcpu(double value)
SupportContainerDefinition & WithContainerName(ContainerNameT &&value)
SupportContainerDefinition & WithResolvedImageDigest(ResolvedImageDigestT &&value)
void SetVcpu(double value)
SupportContainerDefinition & AddMountPoints(MountPointsT &&value)
SupportContainerDefinition & WithDependsOn(DependsOnT &&value)
const ContainerHealthCheck & GetHealthCheck() const
AWS_GAMELIFT_API SupportContainerDefinition(Aws::Utils::Json::JsonView jsonValue)
bool EssentialHasBeenSet() const
SupportContainerDefinition & WithPortConfiguration(PortConfigurationT &&value)
void SetContainerName(ContainerNameT &&value)
bool PortConfigurationHasBeenSet() const
bool HealthCheckHasBeenSet() const
AWS_GAMELIFT_API SupportContainerDefinition()=default
const Aws::String & GetContainerName() const
bool DependsOnHasBeenSet() const
void SetMountPoints(MountPointsT &&value)
void SetEssential(bool value)
SupportContainerDefinition & WithImageUri(ImageUriT &&value)
SupportContainerDefinition & WithMountPoints(MountPointsT &&value)
void SetDependsOn(DependsOnT &&value)
AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GAMELIFT_API SupportContainerDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetImageUri() const
bool ImageUriHasBeenSet() const
const ContainerPortConfiguration & GetPortConfiguration() const
const Aws::Vector< ContainerDependency > & GetDependsOn() const
void SetImageUri(ImageUriT &&value)
int GetMemoryHardLimitMebibytes() const
SupportContainerDefinition & WithMemoryHardLimitMebibytes(int value)
SupportContainerDefinition & WithEnvironmentOverride(EnvironmentOverrideT &&value)
const Aws::Vector< ContainerEnvironment > & GetEnvironmentOverride() const
void SetHealthCheck(HealthCheckT &&value)
void SetPortConfiguration(PortConfigurationT &&value)
bool EnvironmentOverrideHasBeenSet() const
const Aws::String & GetResolvedImageDigest() const
void SetEnvironmentOverride(EnvironmentOverrideT &&value)
bool MemoryHardLimitMebibytesHasBeenSet() const
bool MountPointsHasBeenSet() const
SupportContainerDefinition & AddDependsOn(DependsOnT &&value)
const Aws::Vector< ContainerMountPoint > & GetMountPoints() const
bool ResolvedImageDigestHasBeenSet() const
bool ContainerNameHasBeenSet() const
void SetMemoryHardLimitMebibytes(int 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