7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/batch/model/Device.h>
10#include <aws/batch/model/Tmpfs.h>
77 inline void SetInitProcessEnabled(
bool value) { m_initProcessEnabledHasBeenSet =
true; m_initProcessEnabled = value; }
91 inline void SetSharedMemorySize(
int value) { m_sharedMemorySizeHasBeenSet =
true; m_sharedMemorySize = value; }
132 inline void SetMaxSwap(
int value) { m_maxSwapHasBeenSet =
true; m_maxSwap = value; }
169 inline void SetSwappiness(
int value) { m_swappinessHasBeenSet =
true; m_swappiness = value; }
175 bool m_devicesHasBeenSet =
false;
177 bool m_initProcessEnabled;
178 bool m_initProcessEnabledHasBeenSet =
false;
180 int m_sharedMemorySize;
181 bool m_sharedMemorySizeHasBeenSet =
false;
184 bool m_tmpfsHasBeenSet =
false;
187 bool m_maxSwapHasBeenSet =
false;
190 bool m_swappinessHasBeenSet =
false;
AWS_BATCH_API LinuxParameters()
bool DevicesHasBeenSet() const
bool InitProcessEnabledHasBeenSet() const
void SetTmpfs(const Aws::Vector< Tmpfs > &value)
bool SwappinessHasBeenSet() const
void SetDevices(Aws::Vector< Device > &&value)
int GetSwappiness() const
void SetDevices(const Aws::Vector< Device > &value)
void SetSwappiness(int value)
LinuxParameters & WithInitProcessEnabled(bool value)
LinuxParameters & WithSharedMemorySize(int value)
void SetTmpfs(Aws::Vector< Tmpfs > &&value)
AWS_BATCH_API LinuxParameters(Aws::Utils::Json::JsonView jsonValue)
bool TmpfsHasBeenSet() const
LinuxParameters & WithDevices(Aws::Vector< Device > &&value)
bool GetInitProcessEnabled() const
LinuxParameters & WithDevices(const Aws::Vector< Device > &value)
int GetSharedMemorySize() const
LinuxParameters & WithTmpfs(Aws::Vector< Tmpfs > &&value)
const Aws::Vector< Device > & GetDevices() const
bool MaxSwapHasBeenSet() const
bool SharedMemorySizeHasBeenSet() const
LinuxParameters & WithSwappiness(int value)
LinuxParameters & AddTmpfs(const Tmpfs &value)
AWS_BATCH_API LinuxParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
LinuxParameters & AddTmpfs(Tmpfs &&value)
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSharedMemorySize(int value)
void SetInitProcessEnabled(bool value)
LinuxParameters & WithTmpfs(const Aws::Vector< Tmpfs > &value)
void SetMaxSwap(int value)
LinuxParameters & AddDevices(const Device &value)
const Aws::Vector< Tmpfs > & GetTmpfs() const
LinuxParameters & AddDevices(Device &&value)
LinuxParameters & WithMaxSwap(int value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue