7#include <aws/gamelift/GameLift_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/gamelift/model/ContainerHealthCheck.h>
11#include <aws/gamelift/model/ContainerPortConfiguration.h>
12#include <aws/gamelift/model/ContainerDependency.h>
13#include <aws/gamelift/model/ContainerMountPoint.h>
14#include <aws/gamelift/model/ContainerEnvironment.h>
67 template<
typename ContainerNameT = Aws::String>
68 void SetContainerName(ContainerNameT&& value) { m_containerNameHasBeenSet =
true; m_containerName = std::forward<ContainerNameT>(value); }
69 template<
typename ContainerNameT = Aws::String>
81 template<
typename DependsOnT = Aws::Vector<ContainerDependency>>
82 void SetDependsOn(DependsOnT&& value) { m_dependsOnHasBeenSet =
true; m_dependsOn = std::forward<DependsOnT>(value); }
83 template<
typename DependsOnT = Aws::Vector<ContainerDependency>>
85 template<
typename DependsOnT = ContainerDependency>
96 template<
typename MountPo
intsT = Aws::Vector<ContainerMountPo
int>>
97 void SetMountPoints(MountPointsT&& value) { m_mountPointsHasBeenSet =
true; m_mountPoints = std::forward<MountPointsT>(value); }
98 template<
typename MountPo
intsT = Aws::Vector<ContainerMountPo
int>>
100 template<
typename MountPo
intsT = ContainerMountPo
int>
113 template<
typename EnvironmentOverr
ideT = Aws::Vector<ContainerEnvironment>>
114 void SetEnvironmentOverride(EnvironmentOverrideT&& value) { m_environmentOverrideHasBeenSet =
true; m_environmentOverride = std::forward<EnvironmentOverrideT>(value); }
115 template<
typename EnvironmentOverr
ideT = Aws::Vector<ContainerEnvironment>>
117 template<
typename EnvironmentOverr
ideT = ContainerEnvironment>
128 inline void SetEssential(
bool value) { m_essentialHasBeenSet =
true; m_essential = value; }
140 template<
typename HealthCheckT = ContainerHealthCheck>
141 void SetHealthCheck(HealthCheckT&& value) { m_healthCheckHasBeenSet =
true; m_healthCheck = std::forward<HealthCheckT>(value); }
142 template<
typename HealthCheckT = ContainerHealthCheck>
154 template<
typename ImageUriT = Aws::String>
155 void SetImageUri(ImageUriT&& value) { m_imageUriHasBeenSet =
true; m_imageUri = std::forward<ImageUriT>(value); }
156 template<
typename ImageUriT = Aws::String>
186 template<
typename PortConfigurationT = ContainerPortConfiguration>
187 void SetPortConfiguration(PortConfigurationT&& value) { m_portConfigurationHasBeenSet =
true; m_portConfiguration = std::forward<PortConfigurationT>(value); }
188 template<
typename PortConfigurationT = ContainerPortConfiguration>
199 template<
typename ResolvedImageDigestT = Aws::String>
200 void SetResolvedImageDigest(ResolvedImageDigestT&& value) { m_resolvedImageDigestHasBeenSet =
true; m_resolvedImageDigest = std::forward<ResolvedImageDigestT>(value); }
201 template<
typename ResolvedImageDigestT = Aws::String>
213 inline double GetVcpu()
const {
return m_vcpu; }
215 inline void SetVcpu(
double value) { m_vcpuHasBeenSet =
true; m_vcpu = value; }
221 bool m_containerNameHasBeenSet =
false;
224 bool m_dependsOnHasBeenSet =
false;
227 bool m_mountPointsHasBeenSet =
false;
230 bool m_environmentOverrideHasBeenSet =
false;
232 bool m_essential{
false};
233 bool m_essentialHasBeenSet =
false;
235 ContainerHealthCheck m_healthCheck;
236 bool m_healthCheckHasBeenSet =
false;
239 bool m_imageUriHasBeenSet =
false;
241 int m_memoryHardLimitMebibytes{0};
242 bool m_memoryHardLimitMebibytesHasBeenSet =
false;
244 ContainerPortConfiguration m_portConfiguration;
245 bool m_portConfigurationHasBeenSet =
false;
248 bool m_resolvedImageDigestHasBeenSet =
false;
251 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