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/ContainerMountPoint.h>
14#include <aws/gamelift/model/ContainerPortConfiguration.h>
15#include <aws/gamelift/model/LinuxCapabilities.h>
58 AWS_GAMELIFT_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
67 template <
typename ContainerNameT = Aws::String>
69 m_containerNameHasBeenSet =
true;
70 m_containerName = std::forward<ContainerNameT>(value);
72 template <
typename ContainerNameT = Aws::String>
87 template <
typename DependsOnT = Aws::Vector<ContainerDependency>>
89 m_dependsOnHasBeenSet =
true;
90 m_dependsOn = std::forward<DependsOnT>(value);
92 template <
typename DependsOnT = Aws::Vector<ContainerDependency>>
97 template <
typename DependsOnT = ContainerDependency>
99 m_dependsOnHasBeenSet =
true;
100 m_dependsOn.emplace_back(std::forward<DependsOnT>(value));
112 template <
typename MountPo
intsT = Aws::Vector<ContainerMountPo
int>>
114 m_mountPointsHasBeenSet =
true;
115 m_mountPoints = std::forward<MountPointsT>(value);
117 template <
typename MountPo
intsT = Aws::Vector<ContainerMountPo
int>>
122 template <
typename MountPo
intsT = ContainerMountPo
int>
124 m_mountPointsHasBeenSet =
true;
125 m_mountPoints.emplace_back(std::forward<MountPointsT>(value));
139 template <
typename EnvironmentOverr
ideT = Aws::Vector<ContainerEnvironment>>
141 m_environmentOverrideHasBeenSet =
true;
142 m_environmentOverride = std::forward<EnvironmentOverrideT>(value);
144 template <
typename EnvironmentOverr
ideT = Aws::Vector<ContainerEnvironment>>
149 template <
typename EnvironmentOverr
ideT = ContainerEnvironment>
151 m_environmentOverrideHasBeenSet =
true;
152 m_environmentOverride.emplace_back(std::forward<EnvironmentOverrideT>(value));
165 template <
typename ImageUriT = Aws::String>
167 m_imageUriHasBeenSet =
true;
168 m_imageUri = std::forward<ImageUriT>(value);
170 template <
typename ImageUriT = Aws::String>
188 template <
typename PortConfigurationT = ContainerPortConfiguration>
190 m_portConfigurationHasBeenSet =
true;
191 m_portConfiguration = std::forward<PortConfigurationT>(value);
193 template <
typename PortConfigurationT = ContainerPortConfiguration>
207 template <
typename ResolvedImageDigestT = Aws::String>
209 m_resolvedImageDigestHasBeenSet =
true;
210 m_resolvedImageDigest = std::forward<ResolvedImageDigestT>(value);
212 template <
typename ResolvedImageDigestT = Aws::String>
227 template <
typename ServerSdkVersionT = Aws::String>
229 m_serverSdkVersionHasBeenSet =
true;
230 m_serverSdkVersion = std::forward<ServerSdkVersionT>(value);
232 template <
typename ServerSdkVersionT = Aws::String>
247 template <
typename LinuxCapabilitiesT = LinuxCapabilities>
249 m_linuxCapabilitiesHasBeenSet =
true;
250 m_linuxCapabilities = std::forward<LinuxCapabilitiesT>(value);
252 template <
typename LinuxCapabilitiesT = LinuxCapabilities>
276 bool m_containerNameHasBeenSet =
false;
277 bool m_dependsOnHasBeenSet =
false;
278 bool m_mountPointsHasBeenSet =
false;
279 bool m_environmentOverrideHasBeenSet =
false;
280 bool m_imageUriHasBeenSet =
false;
281 bool m_portConfigurationHasBeenSet =
false;
282 bool m_resolvedImageDigestHasBeenSet =
false;
283 bool m_serverSdkVersionHasBeenSet =
false;
284 bool m_linuxCapabilitiesHasBeenSet =
false;
AWS_GAMELIFT_API GameServerContainerDefinition()=default
const Aws::Vector< ContainerEnvironment > & GetEnvironmentOverride() const
const ContainerPortConfiguration & GetPortConfiguration() const
GameServerContainerDefinition & WithLinuxCapabilities(LinuxCapabilitiesT &&value)
GameServerContainerDefinition & WithImageUri(ImageUriT &&value)
void SetLinuxCapabilities(LinuxCapabilitiesT &&value)
const Aws::Vector< ContainerDependency > & GetDependsOn() const
GameServerContainerDefinition & WithPortConfiguration(PortConfigurationT &&value)
void SetDependsOn(DependsOnT &&value)
GameServerContainerDefinition & WithContainerName(ContainerNameT &&value)
GameServerContainerDefinition & WithEnvironmentOverride(EnvironmentOverrideT &&value)
const Aws::String & GetImageUri() const
void SetServerSdkVersion(ServerSdkVersionT &&value)
bool ResolvedImageDigestHasBeenSet() const
void SetImageUri(ImageUriT &&value)
GameServerContainerDefinition & AddEnvironmentOverride(EnvironmentOverrideT &&value)
GameServerContainerDefinition & AddDependsOn(DependsOnT &&value)
bool LinuxCapabilitiesHasBeenSet() const
bool ServerSdkVersionHasBeenSet() const
bool EnvironmentOverrideHasBeenSet() const
void SetEnvironmentOverride(EnvironmentOverrideT &&value)
const Aws::String & GetResolvedImageDigest() const
AWS_GAMELIFT_API GameServerContainerDefinition(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetMountPoints(MountPointsT &&value)
GameServerContainerDefinition & WithMountPoints(MountPointsT &&value)
AWS_GAMELIFT_API GameServerContainerDefinition & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
const Aws::String & GetServerSdkVersion() const
GameServerContainerDefinition & WithResolvedImageDigest(ResolvedImageDigestT &&value)
bool MountPointsHasBeenSet() const
bool DependsOnHasBeenSet() const
void SetPortConfiguration(PortConfigurationT &&value)
bool ImageUriHasBeenSet() const
bool PortConfigurationHasBeenSet() const
void SetResolvedImageDigest(ResolvedImageDigestT &&value)
const Aws::String & GetContainerName() const
const Aws::Vector< ContainerMountPoint > & GetMountPoints() const
bool ContainerNameHasBeenSet() const
GameServerContainerDefinition & WithDependsOn(DependsOnT &&value)
GameServerContainerDefinition & WithServerSdkVersion(ServerSdkVersionT &&value)
const LinuxCapabilities & GetLinuxCapabilities() const
GameServerContainerDefinition & AddMountPoints(MountPointsT &&value)
AWS_GAMELIFT_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
void SetContainerName(ContainerNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector