7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/batch/model/LinuxParameters.h>
11#include <aws/batch/model/LogConfiguration.h>
12#include <aws/batch/model/RepositoryCredentials.h>
13#include <aws/batch/model/TaskContainerDependency.h>
14#include <aws/batch/model/KeyValuePair.h>
15#include <aws/batch/model/MountPoint.h>
16#include <aws/batch/model/ResourceRequirement.h>
17#include <aws/batch/model/Secret.h>
18#include <aws/batch/model/Ulimit.h>
131 inline void SetEssential(
bool value) { m_essentialHasBeenSet =
true; m_essential = value; }
155 inline void SetImage(
const char* value) { m_imageHasBeenSet =
true; m_image.assign(value); }
249 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
270 inline void SetPrivileged(
bool value) { m_privilegedHasBeenSet =
true; m_privileged = value; }
387 inline void SetUser(
const char* value) { m_userHasBeenSet =
true; m_user.assign(value); }
395 bool m_commandHasBeenSet =
false;
398 bool m_dependsOnHasBeenSet =
false;
401 bool m_environmentHasBeenSet =
false;
404 bool m_essentialHasBeenSet =
false;
407 bool m_imageHasBeenSet =
false;
410 bool m_linuxParametersHasBeenSet =
false;
413 bool m_logConfigurationHasBeenSet =
false;
416 bool m_mountPointsHasBeenSet =
false;
419 bool m_nameHasBeenSet =
false;
422 bool m_privilegedHasBeenSet =
false;
424 bool m_readonlyRootFilesystem;
425 bool m_readonlyRootFilesystemHasBeenSet =
false;
428 bool m_repositoryCredentialsHasBeenSet =
false;
431 bool m_resourceRequirementsHasBeenSet =
false;
434 bool m_secretsHasBeenSet =
false;
437 bool m_ulimitsHasBeenSet =
false;
440 bool m_userHasBeenSet =
false;
bool PrivilegedHasBeenSet() const
const Aws::Vector< ResourceRequirement > & GetResourceRequirements() const
void SetSecrets(const Aws::Vector< Secret > &value)
void SetLinuxParameters(const LinuxParameters &value)
const Aws::String & GetImage() const
TaskContainerProperties & WithDependsOn(Aws::Vector< TaskContainerDependency > &&value)
TaskContainerProperties & AddUlimits(const Ulimit &value)
TaskContainerProperties & WithName(const Aws::String &value)
bool UserHasBeenSet() const
void SetCommand(const Aws::Vector< Aws::String > &value)
bool UlimitsHasBeenSet() const
TaskContainerProperties & AddCommand(Aws::String &&value)
const Aws::Vector< Secret > & GetSecrets() const
TaskContainerProperties & WithName(Aws::String &&value)
TaskContainerProperties & WithUlimits(Aws::Vector< Ulimit > &&value)
bool NameHasBeenSet() const
TaskContainerProperties & AddDependsOn(TaskContainerDependency &&value)
TaskContainerProperties & WithPrivileged(bool value)
bool SecretsHasBeenSet() const
bool ImageHasBeenSet() const
TaskContainerProperties & AddCommand(const Aws::String &value)
const RepositoryCredentials & GetRepositoryCredentials() const
void SetDependsOn(Aws::Vector< TaskContainerDependency > &&value)
const Aws::Vector< TaskContainerDependency > & GetDependsOn() const
TaskContainerProperties & WithUser(const Aws::String &value)
TaskContainerProperties & WithMountPoints(const Aws::Vector< MountPoint > &value)
TaskContainerProperties & WithName(const char *value)
bool CommandHasBeenSet() const
TaskContainerProperties & AddEnvironment(KeyValuePair &&value)
TaskContainerProperties & AddResourceRequirements(ResourceRequirement &&value)
const LinuxParameters & GetLinuxParameters() const
TaskContainerProperties & AddMountPoints(const MountPoint &value)
const Aws::Vector< Aws::String > & GetCommand() const
TaskContainerProperties & WithLogConfiguration(const LogConfiguration &value)
void SetResourceRequirements(Aws::Vector< ResourceRequirement > &&value)
bool GetPrivileged() const
TaskContainerProperties & WithCommand(Aws::Vector< Aws::String > &&value)
TaskContainerProperties & AddUlimits(Ulimit &&value)
TaskContainerProperties & WithMountPoints(Aws::Vector< MountPoint > &&value)
void SetImage(Aws::String &&value)
TaskContainerProperties & WithSecrets(Aws::Vector< Secret > &&value)
TaskContainerProperties & AddSecrets(const Secret &value)
AWS_BATCH_API TaskContainerProperties(Aws::Utils::Json::JsonView jsonValue)
TaskContainerProperties & WithUser(Aws::String &&value)
bool ReadonlyRootFilesystemHasBeenSet() const
void SetUlimits(Aws::Vector< Ulimit > &&value)
TaskContainerProperties & WithImage(const Aws::String &value)
void SetUser(const Aws::String &value)
void SetEssential(bool value)
bool GetReadonlyRootFilesystem() const
bool EssentialHasBeenSet() const
TaskContainerProperties & WithReadonlyRootFilesystem(bool value)
void SetUser(Aws::String &&value)
bool RepositoryCredentialsHasBeenSet() const
const Aws::Vector< Ulimit > & GetUlimits() const
void SetMountPoints(Aws::Vector< MountPoint > &&value)
TaskContainerProperties & AddEnvironment(const KeyValuePair &value)
TaskContainerProperties & WithCommand(const Aws::Vector< Aws::String > &value)
TaskContainerProperties & WithEnvironment(Aws::Vector< KeyValuePair > &&value)
void SetSecrets(Aws::Vector< Secret > &&value)
TaskContainerProperties & AddDependsOn(const TaskContainerDependency &value)
void SetLogConfiguration(LogConfiguration &&value)
void SetUser(const char *value)
TaskContainerProperties & AddSecrets(Secret &&value)
TaskContainerProperties & AddCommand(const char *value)
void SetLinuxParameters(LinuxParameters &&value)
const Aws::Vector< KeyValuePair > & GetEnvironment() const
const Aws::String & GetUser() const
bool LogConfigurationHasBeenSet() const
TaskContainerProperties & WithLinuxParameters(const LinuxParameters &value)
const Aws::String & GetName() const
TaskContainerProperties & WithImage(const char *value)
AWS_BATCH_API TaskContainerProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetUlimits(const Aws::Vector< Ulimit > &value)
void SetReadonlyRootFilesystem(bool value)
TaskContainerProperties & AddResourceRequirements(const ResourceRequirement &value)
void SetResourceRequirements(const Aws::Vector< ResourceRequirement > &value)
void SetMountPoints(const Aws::Vector< MountPoint > &value)
void SetName(const char *value)
TaskContainerProperties & WithLinuxParameters(LinuxParameters &&value)
TaskContainerProperties & WithRepositoryCredentials(const RepositoryCredentials &value)
TaskContainerProperties & WithResourceRequirements(const Aws::Vector< ResourceRequirement > &value)
TaskContainerProperties & WithLogConfiguration(LogConfiguration &&value)
void SetName(const Aws::String &value)
TaskContainerProperties & WithEssential(bool value)
void SetImage(const char *value)
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BATCH_API TaskContainerProperties()
void SetLogConfiguration(const LogConfiguration &value)
bool MountPointsHasBeenSet() const
bool DependsOnHasBeenSet() const
TaskContainerProperties & WithSecrets(const Aws::Vector< Secret > &value)
TaskContainerProperties & WithImage(Aws::String &&value)
TaskContainerProperties & WithUser(const char *value)
void SetDependsOn(const Aws::Vector< TaskContainerDependency > &value)
TaskContainerProperties & WithResourceRequirements(Aws::Vector< ResourceRequirement > &&value)
TaskContainerProperties & WithRepositoryCredentials(RepositoryCredentials &&value)
void SetImage(const Aws::String &value)
const LogConfiguration & GetLogConfiguration() const
void SetRepositoryCredentials(const RepositoryCredentials &value)
TaskContainerProperties & AddMountPoints(MountPoint &&value)
bool LinuxParametersHasBeenSet() const
const Aws::Vector< MountPoint > & GetMountPoints() const
TaskContainerProperties & WithEnvironment(const Aws::Vector< KeyValuePair > &value)
void SetRepositoryCredentials(RepositoryCredentials &&value)
void SetEnvironment(const Aws::Vector< KeyValuePair > &value)
void SetPrivileged(bool value)
bool ResourceRequirementsHasBeenSet() const
TaskContainerProperties & WithDependsOn(const Aws::Vector< TaskContainerDependency > &value)
TaskContainerProperties & WithUlimits(const Aws::Vector< Ulimit > &value)
bool EnvironmentHasBeenSet() const
void SetCommand(Aws::Vector< Aws::String > &&value)
void SetEnvironment(Aws::Vector< KeyValuePair > &&value)
bool GetEssential() const
void SetName(Aws::String &&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