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>
19#include <aws/batch/model/NetworkInterface.h>
128 inline void SetEssential(
bool value) { m_essentialHasBeenSet =
true; m_essential = value; }
152 inline void SetImage(
const char* value) { m_imageHasBeenSet =
true; m_image.assign(value); }
246 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
267 inline void SetPrivileged(
bool value) { m_privilegedHasBeenSet =
true; m_privileged = value; }
384 inline void SetUser(
const char* value) { m_userHasBeenSet =
true; m_user.assign(value); }
396 inline void SetExitCode(
int value) { m_exitCodeHasBeenSet =
true; m_exitCode = value; }
409 inline void SetReason(
const char* value) { m_reasonHasBeenSet =
true; m_reason.assign(value); }
426 inline void SetLogStreamName(
const char* value) { m_logStreamNameHasBeenSet =
true; m_logStreamName.assign(value); }
448 bool m_commandHasBeenSet =
false;
451 bool m_dependsOnHasBeenSet =
false;
454 bool m_environmentHasBeenSet =
false;
457 bool m_essentialHasBeenSet =
false;
460 bool m_imageHasBeenSet =
false;
463 bool m_linuxParametersHasBeenSet =
false;
466 bool m_logConfigurationHasBeenSet =
false;
469 bool m_mountPointsHasBeenSet =
false;
472 bool m_nameHasBeenSet =
false;
475 bool m_privilegedHasBeenSet =
false;
477 bool m_readonlyRootFilesystem;
478 bool m_readonlyRootFilesystemHasBeenSet =
false;
481 bool m_repositoryCredentialsHasBeenSet =
false;
484 bool m_resourceRequirementsHasBeenSet =
false;
487 bool m_secretsHasBeenSet =
false;
490 bool m_ulimitsHasBeenSet =
false;
493 bool m_userHasBeenSet =
false;
496 bool m_exitCodeHasBeenSet =
false;
499 bool m_reasonHasBeenSet =
false;
502 bool m_logStreamNameHasBeenSet =
false;
505 bool m_networkInterfacesHasBeenSet =
false;
TaskContainerDetails & WithLinuxParameters(const LinuxParameters &value)
bool UlimitsHasBeenSet() const
void SetImage(const Aws::String &value)
TaskContainerDetails & WithUser(Aws::String &&value)
void SetLogConfiguration(LogConfiguration &&value)
const Aws::Vector< Aws::String > & GetCommand() const
void SetReason(const char *value)
bool LogStreamNameHasBeenSet() const
bool GetPrivileged() const
bool ExitCodeHasBeenSet() const
bool NameHasBeenSet() const
TaskContainerDetails & WithDependsOn(const Aws::Vector< TaskContainerDependency > &value)
TaskContainerDetails & WithLogConfiguration(const LogConfiguration &value)
TaskContainerDetails & AddDependsOn(TaskContainerDependency &&value)
const Aws::Vector< ResourceRequirement > & GetResourceRequirements() const
void SetLogStreamName(Aws::String &&value)
void SetMountPoints(const Aws::Vector< MountPoint > &value)
void SetResourceRequirements(Aws::Vector< ResourceRequirement > &&value)
TaskContainerDetails & WithCommand(const Aws::Vector< Aws::String > &value)
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
TaskContainerDetails & WithLogConfiguration(LogConfiguration &&value)
TaskContainerDetails & AddNetworkInterfaces(NetworkInterface &&value)
void SetEnvironment(const Aws::Vector< KeyValuePair > &value)
void SetLogConfiguration(const LogConfiguration &value)
const Aws::String & GetLogStreamName() const
const Aws::Vector< TaskContainerDependency > & GetDependsOn() const
TaskContainerDetails & AddUlimits(const Ulimit &value)
void SetDependsOn(Aws::Vector< TaskContainerDependency > &&value)
bool GetEssential() const
TaskContainerDetails & WithName(const Aws::String &value)
void SetRepositoryCredentials(const RepositoryCredentials &value)
TaskContainerDetails & WithName(Aws::String &&value)
TaskContainerDetails & AddEnvironment(KeyValuePair &&value)
TaskContainerDetails & AddSecrets(Secret &&value)
TaskContainerDetails & WithReason(const char *value)
const Aws::String & GetReason() const
void SetPrivileged(bool value)
void SetSecrets(Aws::Vector< Secret > &&value)
TaskContainerDetails & WithLogStreamName(const Aws::String &value)
void SetUlimits(Aws::Vector< Ulimit > &&value)
void SetRepositoryCredentials(RepositoryCredentials &&value)
void SetLinuxParameters(const LinuxParameters &value)
const Aws::Vector< KeyValuePair > & GetEnvironment() const
void SetNetworkInterfaces(Aws::Vector< NetworkInterface > &&value)
const RepositoryCredentials & GetRepositoryCredentials() const
bool SecretsHasBeenSet() const
TaskContainerDetails & WithEssential(bool value)
TaskContainerDetails & WithUser(const char *value)
TaskContainerDetails & WithSecrets(const Aws::Vector< Secret > &value)
void SetLogStreamName(const Aws::String &value)
const Aws::Vector< NetworkInterface > & GetNetworkInterfaces() const
TaskContainerDetails & WithPrivileged(bool value)
void SetUlimits(const Aws::Vector< Ulimit > &value)
bool ReadonlyRootFilesystemHasBeenSet() const
TaskContainerDetails & WithUlimits(Aws::Vector< Ulimit > &&value)
void SetEnvironment(Aws::Vector< KeyValuePair > &&value)
void SetDependsOn(const Aws::Vector< TaskContainerDependency > &value)
TaskContainerDetails & AddResourceRequirements(const ResourceRequirement &value)
TaskContainerDetails & AddNetworkInterfaces(const NetworkInterface &value)
const Aws::String & GetUser() const
void SetCommand(const Aws::Vector< Aws::String > &value)
TaskContainerDetails & WithUser(const Aws::String &value)
TaskContainerDetails & WithRepositoryCredentials(const RepositoryCredentials &value)
void SetUser(const char *value)
TaskContainerDetails & WithNetworkInterfaces(Aws::Vector< NetworkInterface > &&value)
TaskContainerDetails & WithRepositoryCredentials(RepositoryCredentials &&value)
void SetReadonlyRootFilesystem(bool value)
void SetCommand(Aws::Vector< Aws::String > &&value)
bool GetReadonlyRootFilesystem() const
TaskContainerDetails & WithImage(Aws::String &&value)
TaskContainerDetails & AddEnvironment(const KeyValuePair &value)
bool RepositoryCredentialsHasBeenSet() const
bool LogConfigurationHasBeenSet() const
TaskContainerDetails & WithReason(Aws::String &&value)
const LinuxParameters & GetLinuxParameters() const
TaskContainerDetails & WithMountPoints(const Aws::Vector< MountPoint > &value)
TaskContainerDetails & WithImage(const Aws::String &value)
TaskContainerDetails & WithResourceRequirements(Aws::Vector< ResourceRequirement > &&value)
void SetLinuxParameters(LinuxParameters &&value)
AWS_BATCH_API TaskContainerDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
const LogConfiguration & GetLogConfiguration() const
TaskContainerDetails & AddCommand(const char *value)
void SetNetworkInterfaces(const Aws::Vector< NetworkInterface > &value)
void SetSecrets(const Aws::Vector< Secret > &value)
bool EnvironmentHasBeenSet() const
TaskContainerDetails & WithExitCode(int value)
AWS_BATCH_API TaskContainerDetails(Aws::Utils::Json::JsonView jsonValue)
TaskContainerDetails & WithCommand(Aws::Vector< Aws::String > &&value)
bool EssentialHasBeenSet() const
TaskContainerDetails & WithDependsOn(Aws::Vector< TaskContainerDependency > &&value)
bool ReasonHasBeenSet() const
TaskContainerDetails & WithReason(const Aws::String &value)
TaskContainerDetails & WithResourceRequirements(const Aws::Vector< ResourceRequirement > &value)
TaskContainerDetails & AddResourceRequirements(ResourceRequirement &&value)
void SetResourceRequirements(const Aws::Vector< ResourceRequirement > &value)
bool DependsOnHasBeenSet() const
void SetUser(Aws::String &&value)
TaskContainerDetails & WithLinuxParameters(LinuxParameters &&value)
TaskContainerDetails & WithLogStreamName(const char *value)
const Aws::String & GetName() const
void SetMountPoints(Aws::Vector< MountPoint > &&value)
const Aws::Vector< Secret > & GetSecrets() const
TaskContainerDetails & AddMountPoints(const MountPoint &value)
bool PrivilegedHasBeenSet() const
void SetUser(const Aws::String &value)
TaskContainerDetails & AddCommand(const Aws::String &value)
void SetExitCode(int value)
TaskContainerDetails & AddDependsOn(const TaskContainerDependency &value)
const Aws::Vector< MountPoint > & GetMountPoints() const
TaskContainerDetails & WithName(const char *value)
bool LinuxParametersHasBeenSet() const
TaskContainerDetails & AddMountPoints(MountPoint &&value)
TaskContainerDetails & WithEnvironment(Aws::Vector< KeyValuePair > &&value)
void SetLogStreamName(const char *value)
bool ImageHasBeenSet() const
void SetImage(const char *value)
const Aws::String & GetImage() const
TaskContainerDetails & AddSecrets(const Secret &value)
bool NetworkInterfacesHasBeenSet() const
TaskContainerDetails & WithReadonlyRootFilesystem(bool value)
void SetEssential(bool value)
void SetReason(Aws::String &&value)
TaskContainerDetails & AddUlimits(Ulimit &&value)
TaskContainerDetails & AddCommand(Aws::String &&value)
TaskContainerDetails & WithLogStreamName(Aws::String &&value)
bool UserHasBeenSet() const
bool CommandHasBeenSet() const
TaskContainerDetails & WithEnvironment(const Aws::Vector< KeyValuePair > &value)
TaskContainerDetails & WithImage(const char *value)
void SetImage(Aws::String &&value)
TaskContainerDetails & WithNetworkInterfaces(const Aws::Vector< NetworkInterface > &value)
void SetName(const char *value)
AWS_BATCH_API TaskContainerDetails()
void SetName(Aws::String &&value)
void SetName(const Aws::String &value)
TaskContainerDetails & WithSecrets(Aws::Vector< Secret > &&value)
const Aws::Vector< Ulimit > & GetUlimits() const
TaskContainerDetails & WithUlimits(const Aws::Vector< Ulimit > &value)
bool ResourceRequirementsHasBeenSet() const
bool MountPointsHasBeenSet() const
TaskContainerDetails & WithMountPoints(Aws::Vector< MountPoint > &&value)
void SetReason(const 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