7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/batch/model/Device.h>
9#include <aws/batch/model/Tmpfs.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
51 template <
typename DevicesT = Aws::Vector<Device>>
53 m_devicesHasBeenSet =
true;
54 m_devices = std::forward<DevicesT>(value);
56 template <
typename DevicesT = Aws::Vector<Device>>
61 template <
typename DevicesT = Device>
63 m_devicesHasBeenSet =
true;
64 m_devices.emplace_back(std::forward<DevicesT>(value));
82 m_initProcessEnabledHasBeenSet =
true;
83 m_initProcessEnabled = value;
102 m_sharedMemorySizeHasBeenSet =
true;
103 m_sharedMemorySize = value;
121 template <
typename TmpfsT = Aws::Vector<Tmpfs>>
123 m_tmpfsHasBeenSet =
true;
124 m_tmpfs = std::forward<TmpfsT>(value);
126 template <
typename TmpfsT = Aws::Vector<Tmpfs>>
128 SetTmpfs(std::forward<TmpfsT>(value));
131 template <
typename TmpfsT = Tmpfs>
133 m_tmpfsHasBeenSet =
true;
134 m_tmpfs.emplace_back(std::forward<TmpfsT>(value));
159 m_maxSwapHasBeenSet =
true;
202 m_swappinessHasBeenSet =
true;
203 m_swappiness = value;
213 bool m_initProcessEnabled{
false};
215 int m_sharedMemorySize{0};
222 bool m_devicesHasBeenSet =
false;
223 bool m_initProcessEnabledHasBeenSet =
false;
224 bool m_sharedMemorySizeHasBeenSet =
false;
225 bool m_tmpfsHasBeenSet =
false;
226 bool m_maxSwapHasBeenSet =
false;
227 bool m_swappinessHasBeenSet =
false;
bool DevicesHasBeenSet() const
bool InitProcessEnabledHasBeenSet() const
AWS_BATCH_API LinuxParameters()=default
LinuxParameters & WithTmpfs(TmpfsT &&value)
void SetDevices(DevicesT &&value)
bool SwappinessHasBeenSet() const
int GetSwappiness() const
void SetTmpfs(TmpfsT &&value)
LinuxParameters & WithDevices(DevicesT &&value)
void SetSwappiness(int value)
LinuxParameters & WithInitProcessEnabled(bool value)
LinuxParameters & WithSharedMemorySize(int value)
AWS_BATCH_API LinuxParameters(Aws::Utils::Json::JsonView jsonValue)
LinuxParameters & AddTmpfs(TmpfsT &&value)
bool TmpfsHasBeenSet() const
LinuxParameters & AddDevices(DevicesT &&value)
bool GetInitProcessEnabled() const
int GetSharedMemorySize() const
const Aws::Vector< Device > & GetDevices() const
bool MaxSwapHasBeenSet() const
bool SharedMemorySizeHasBeenSet() const
LinuxParameters & WithSwappiness(int value)
AWS_BATCH_API LinuxParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSharedMemorySize(int value)
void SetInitProcessEnabled(bool value)
void SetMaxSwap(int value)
const Aws::Vector< Tmpfs > & GetTmpfs() const
LinuxParameters & WithMaxSwap(int value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue