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/ContainerMountPoint.h>
13#include <aws/gamelift/model/ContainerPortConfiguration.h>
62 template <
typename ContainerNameT = Aws::String>
64 m_containerNameHasBeenSet =
true;
65 m_containerName = std::forward<ContainerNameT>(value);
67 template <
typename ContainerNameT = Aws::String>
82 template <
typename DependsOnT = Aws::Vector<ContainerDependency>>
84 m_dependsOnHasBeenSet =
true;
85 m_dependsOn = std::forward<DependsOnT>(value);
87 template <
typename DependsOnT = Aws::Vector<ContainerDependency>>
92 template <
typename DependsOnT = ContainerDependency>
94 m_dependsOnHasBeenSet =
true;
95 m_dependsOn.emplace_back(std::forward<DependsOnT>(value));
107 template <
typename MountPo
intsT = Aws::Vector<ContainerMountPo
int>>
109 m_mountPointsHasBeenSet =
true;
110 m_mountPoints = std::forward<MountPointsT>(value);
112 template <
typename MountPo
intsT = Aws::Vector<ContainerMountPo
int>>
117 template <
typename MountPo
intsT = ContainerMountPo
int>
119 m_mountPointsHasBeenSet =
true;
120 m_mountPoints.emplace_back(std::forward<MountPointsT>(value));
134 template <
typename EnvironmentOverr
ideT = Aws::Vector<ContainerEnvironment>>
136 m_environmentOverrideHasBeenSet =
true;
137 m_environmentOverride = std::forward<EnvironmentOverrideT>(value);
139 template <
typename EnvironmentOverr
ideT = Aws::Vector<ContainerEnvironment>>
144 template <
typename EnvironmentOverr
ideT = ContainerEnvironment>
146 m_environmentOverrideHasBeenSet =
true;
147 m_environmentOverride.emplace_back(std::forward<EnvironmentOverrideT>(value));
160 template <
typename ImageUriT = Aws::String>
162 m_imageUriHasBeenSet =
true;
163 m_imageUri = std::forward<ImageUriT>(value);
165 template <
typename ImageUriT = Aws::String>
183 template <
typename PortConfigurationT = ContainerPortConfiguration>
185 m_portConfigurationHasBeenSet =
true;
186 m_portConfiguration = std::forward<PortConfigurationT>(value);
188 template <
typename PortConfigurationT = ContainerPortConfiguration>
202 template <
typename ResolvedImageDigestT = Aws::String>
204 m_resolvedImageDigestHasBeenSet =
true;
205 m_resolvedImageDigest = std::forward<ResolvedImageDigestT>(value);
207 template <
typename ResolvedImageDigestT = Aws::String>
222 template <
typename ServerSdkVersionT = Aws::String>
224 m_serverSdkVersionHasBeenSet =
true;
225 m_serverSdkVersion = std::forward<ServerSdkVersionT>(value);
227 template <
typename ServerSdkVersionT = Aws::String>
235 bool m_containerNameHasBeenSet =
false;
238 bool m_dependsOnHasBeenSet =
false;
241 bool m_mountPointsHasBeenSet =
false;
244 bool m_environmentOverrideHasBeenSet =
false;
247 bool m_imageUriHasBeenSet =
false;
250 bool m_portConfigurationHasBeenSet =
false;
253 bool m_resolvedImageDigestHasBeenSet =
false;
256 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