7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/crt/cbor/Cbor.h>
10#include <aws/gamelift/GameLift_EXPORTS.h>
11#include <aws/gamelift/model/ContainerDependency.h>
12#include <aws/gamelift/model/ContainerEnvironment.h>
13#include <aws/gamelift/model/ContainerHealthCheck.h>
14#include <aws/gamelift/model/ContainerMountPoint.h>
15#include <aws/gamelift/model/ContainerPortConfiguration.h>
16#include <aws/gamelift/model/LinuxCapabilities.h>
57 AWS_GAMELIFT_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
66 template <
typename ContainerNameT = Aws::String>
68 m_containerNameHasBeenSet =
true;
69 m_containerName = std::forward<ContainerNameT>(value);
71 template <
typename ContainerNameT = Aws::String>
86 template <
typename DependsOnT = Aws::Vector<ContainerDependency>>
88 m_dependsOnHasBeenSet =
true;
89 m_dependsOn = std::forward<DependsOnT>(value);
91 template <
typename DependsOnT = Aws::Vector<ContainerDependency>>
96 template <
typename DependsOnT = ContainerDependency>
98 m_dependsOnHasBeenSet =
true;
99 m_dependsOn.emplace_back(std::forward<DependsOnT>(value));
111 template <
typename MountPo
intsT = Aws::Vector<ContainerMountPo
int>>
113 m_mountPointsHasBeenSet =
true;
114 m_mountPoints = std::forward<MountPointsT>(value);
116 template <
typename MountPo
intsT = Aws::Vector<ContainerMountPo
int>>
121 template <
typename MountPo
intsT = ContainerMountPo
int>
123 m_mountPointsHasBeenSet =
true;
124 m_mountPoints.emplace_back(std::forward<MountPointsT>(value));
138 template <
typename EnvironmentOverr
ideT = Aws::Vector<ContainerEnvironment>>
140 m_environmentOverrideHasBeenSet =
true;
141 m_environmentOverride = std::forward<EnvironmentOverrideT>(value);
143 template <
typename EnvironmentOverr
ideT = Aws::Vector<ContainerEnvironment>>
148 template <
typename EnvironmentOverr
ideT = ContainerEnvironment>
150 m_environmentOverrideHasBeenSet =
true;
151 m_environmentOverride.emplace_back(std::forward<EnvironmentOverrideT>(value));
164 m_essentialHasBeenSet =
true;
181 template <
typename HealthCheckT = ContainerHealthCheck>
183 m_healthCheckHasBeenSet =
true;
184 m_healthCheck = std::forward<HealthCheckT>(value);
186 template <
typename HealthCheckT = ContainerHealthCheck>
201 template <
typename ImageUriT = Aws::String>
203 m_imageUriHasBeenSet =
true;
204 m_imageUri = std::forward<ImageUriT>(value);
206 template <
typename ImageUriT = Aws::String>
225 m_memoryHardLimitMebibytesHasBeenSet =
true;
226 m_memoryHardLimitMebibytes = value;
245 template <
typename PortConfigurationT = ContainerPortConfiguration>
247 m_portConfigurationHasBeenSet =
true;
248 m_portConfiguration = std::forward<PortConfigurationT>(value);
250 template <
typename PortConfigurationT = ContainerPortConfiguration>
264 template <
typename ResolvedImageDigestT = Aws::String>
266 m_resolvedImageDigestHasBeenSet =
true;
267 m_resolvedImageDigest = std::forward<ResolvedImageDigestT>(value);
269 template <
typename ResolvedImageDigestT = Aws::String>
284 inline double GetVcpu()
const {
return m_vcpu; }
287 m_vcpuHasBeenSet =
true;
304 template <
typename LinuxCapabilitiesT = LinuxCapabilities>
306 m_linuxCapabilitiesHasBeenSet =
true;
307 m_linuxCapabilities = std::forward<LinuxCapabilitiesT>(value);
309 template <
typename LinuxCapabilitiesT = LinuxCapabilities>
324 bool m_essential{
false};
326 ContainerHealthCheck m_healthCheck;
330 int64_t m_memoryHardLimitMebibytes{0};
332 ContainerPortConfiguration m_portConfiguration;
338 LinuxCapabilities m_linuxCapabilities;
339 bool m_containerNameHasBeenSet =
false;
340 bool m_dependsOnHasBeenSet =
false;
341 bool m_mountPointsHasBeenSet =
false;
342 bool m_environmentOverrideHasBeenSet =
false;
343 bool m_essentialHasBeenSet =
false;
344 bool m_healthCheckHasBeenSet =
false;
345 bool m_imageUriHasBeenSet =
false;
346 bool m_memoryHardLimitMebibytesHasBeenSet =
false;
347 bool m_portConfigurationHasBeenSet =
false;
348 bool m_resolvedImageDigestHasBeenSet =
false;
349 bool m_vcpuHasBeenSet =
false;
350 bool m_linuxCapabilitiesHasBeenSet =
false;
SupportContainerDefinition & AddEnvironmentOverride(EnvironmentOverrideT &&value)
SupportContainerDefinition & WithEssential(bool value)
void SetResolvedImageDigest(ResolvedImageDigestT &&value)
SupportContainerDefinition & WithHealthCheck(HealthCheckT &&value)
void SetLinuxCapabilities(LinuxCapabilitiesT &&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
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 SupportContainerDefinition & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
const Aws::String & GetImageUri() const
bool ImageUriHasBeenSet() const
const ContainerPortConfiguration & GetPortConfiguration() const
const Aws::Vector< ContainerDependency > & GetDependsOn() const
void SetImageUri(ImageUriT &&value)
SupportContainerDefinition & WithEnvironmentOverride(EnvironmentOverrideT &&value)
AWS_GAMELIFT_API SupportContainerDefinition(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool LinuxCapabilitiesHasBeenSet() const
SupportContainerDefinition & WithMemoryHardLimitMebibytes(int64_t value)
const Aws::Vector< ContainerEnvironment > & GetEnvironmentOverride() const
void SetHealthCheck(HealthCheckT &&value)
SupportContainerDefinition & WithLinuxCapabilities(LinuxCapabilitiesT &&value)
void SetPortConfiguration(PortConfigurationT &&value)
bool EnvironmentOverrideHasBeenSet() const
const Aws::String & GetResolvedImageDigest() const
void SetEnvironmentOverride(EnvironmentOverrideT &&value)
AWS_GAMELIFT_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
void SetMemoryHardLimitMebibytes(int64_t value)
bool MemoryHardLimitMebibytesHasBeenSet() const
bool MountPointsHasBeenSet() const
int64_t GetMemoryHardLimitMebibytes() const
const LinuxCapabilities & GetLinuxCapabilities() const
SupportContainerDefinition & AddDependsOn(DependsOnT &&value)
const Aws::Vector< ContainerMountPoint > & GetMountPoints() const
bool ResolvedImageDigestHasBeenSet() const
bool ContainerNameHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector