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/ContainerPortConfiguration.h>
11#include <aws/gamelift/model/ContainerDependency.h>
12#include <aws/gamelift/model/ContainerMountPoint.h>
13#include <aws/gamelift/model/ContainerEnvironment.h>
68 template<
typename ContainerNameT = Aws::String>
69 void SetContainerName(ContainerNameT&& value) { m_containerNameHasBeenSet =
true; m_containerName = std::forward<ContainerNameT>(value); }
70 template<
typename ContainerNameT = Aws::String>
82 template<
typename DependsOnT = Aws::Vector<ContainerDependency>>
83 void SetDependsOn(DependsOnT&& value) { m_dependsOnHasBeenSet =
true; m_dependsOn = std::forward<DependsOnT>(value); }
84 template<
typename DependsOnT = Aws::Vector<ContainerDependency>>
86 template<
typename DependsOnT = ContainerDependency>
97 template<
typename MountPo
intsT = Aws::Vector<ContainerMountPo
int>>
98 void SetMountPoints(MountPointsT&& value) { m_mountPointsHasBeenSet =
true; m_mountPoints = std::forward<MountPointsT>(value); }
99 template<
typename MountPo
intsT = Aws::Vector<ContainerMountPo
int>>
101 template<
typename MountPo
intsT = ContainerMountPo
int>
114 template<
typename EnvironmentOverr
ideT = Aws::Vector<ContainerEnvironment>>
115 void SetEnvironmentOverride(EnvironmentOverrideT&& value) { m_environmentOverrideHasBeenSet =
true; m_environmentOverride = std::forward<EnvironmentOverrideT>(value); }
116 template<
typename EnvironmentOverr
ideT = Aws::Vector<ContainerEnvironment>>
118 template<
typename EnvironmentOverr
ideT = ContainerEnvironment>
130 template<
typename ImageUriT = Aws::String>
131 void SetImageUri(ImageUriT&& value) { m_imageUriHasBeenSet =
true; m_imageUri = std::forward<ImageUriT>(value); }
132 template<
typename ImageUriT = Aws::String>
147 template<
typename PortConfigurationT = ContainerPortConfiguration>
148 void SetPortConfiguration(PortConfigurationT&& value) { m_portConfigurationHasBeenSet =
true; m_portConfiguration = std::forward<PortConfigurationT>(value); }
149 template<
typename PortConfigurationT = ContainerPortConfiguration>
160 template<
typename ResolvedImageDigestT = Aws::String>
161 void SetResolvedImageDigest(ResolvedImageDigestT&& value) { m_resolvedImageDigestHasBeenSet =
true; m_resolvedImageDigest = std::forward<ResolvedImageDigestT>(value); }
162 template<
typename ResolvedImageDigestT = Aws::String>
174 template<
typename ServerSdkVersionT = Aws::String>
175 void SetServerSdkVersion(ServerSdkVersionT&& value) { m_serverSdkVersionHasBeenSet =
true; m_serverSdkVersion = std::forward<ServerSdkVersionT>(value); }
176 template<
typename ServerSdkVersionT = Aws::String>
182 bool m_containerNameHasBeenSet =
false;
185 bool m_dependsOnHasBeenSet =
false;
188 bool m_mountPointsHasBeenSet =
false;
191 bool m_environmentOverrideHasBeenSet =
false;
194 bool m_imageUriHasBeenSet =
false;
197 bool m_portConfigurationHasBeenSet =
false;
200 bool m_resolvedImageDigestHasBeenSet =
false;
203 bool m_serverSdkVersionHasBeenSet =
false;
AWS_GAMELIFT_API GameServerContainerDefinition()=default
AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< ContainerEnvironment > & GetEnvironmentOverride() const
const ContainerPortConfiguration & GetPortConfiguration() const
GameServerContainerDefinition & WithImageUri(ImageUriT &&value)
const Aws::Vector< ContainerDependency > & GetDependsOn() const
GameServerContainerDefinition & WithPortConfiguration(PortConfigurationT &&value)
void SetDependsOn(DependsOnT &&value)
AWS_GAMELIFT_API GameServerContainerDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
GameServerContainerDefinition & WithContainerName(ContainerNameT &&value)
GameServerContainerDefinition & WithEnvironmentOverride(EnvironmentOverrideT &&value)
AWS_GAMELIFT_API GameServerContainerDefinition(Aws::Utils::Json::JsonView jsonValue)
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 ServerSdkVersionHasBeenSet() const
bool EnvironmentOverrideHasBeenSet() const
void SetEnvironmentOverride(EnvironmentOverrideT &&value)
const Aws::String & GetResolvedImageDigest() const
void SetMountPoints(MountPointsT &&value)
GameServerContainerDefinition & WithMountPoints(MountPointsT &&value)
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)
GameServerContainerDefinition & AddMountPoints(MountPointsT &&value)
void SetContainerName(ContainerNameT &&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