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