7#include <aws/greengrassv2/GreengrassV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/greengrassv2/model/LambdaVolumeMount.h>
10#include <aws/greengrassv2/model/LambdaDeviceMount.h>
50 inline void SetMemorySizeInKB(
int value) { m_memorySizeInKBHasBeenSet =
true; m_memorySizeInKB = value; }
61 inline void SetMountROSysfs(
bool value) { m_mountROSysfsHasBeenSet =
true; m_mountROSysfs = value; }
71 template<
typename VolumesT = Aws::Vector<LambdaVolumeMount>>
72 void SetVolumes(VolumesT&& value) { m_volumesHasBeenSet =
true; m_volumes = std::forward<VolumesT>(value); }
73 template<
typename VolumesT = Aws::Vector<LambdaVolumeMount>>
75 template<
typename VolumesT = LambdaVolumeMount>
85 template<
typename DevicesT = Aws::Vector<LambdaDeviceMount>>
86 void SetDevices(DevicesT&& value) { m_devicesHasBeenSet =
true; m_devices = std::forward<DevicesT>(value); }
87 template<
typename DevicesT = Aws::Vector<LambdaDeviceMount>>
89 template<
typename DevicesT = LambdaDeviceMount>
94 int m_memorySizeInKB{0};
95 bool m_memorySizeInKBHasBeenSet =
false;
97 bool m_mountROSysfs{
false};
98 bool m_mountROSysfsHasBeenSet =
false;
101 bool m_volumesHasBeenSet =
false;
104 bool m_devicesHasBeenSet =
false;
LambdaContainerParams & AddDevices(DevicesT &&value)
int GetMemorySizeInKB() const
bool VolumesHasBeenSet() const
LambdaContainerParams & WithMemorySizeInKB(int value)
bool MountROSysfsHasBeenSet() const
AWS_GREENGRASSV2_API LambdaContainerParams & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GREENGRASSV2_API LambdaContainerParams()=default
LambdaContainerParams & WithMountROSysfs(bool value)
const Aws::Vector< LambdaVolumeMount > & GetVolumes() const
void SetVolumes(VolumesT &&value)
bool MemorySizeInKBHasBeenSet() const
bool GetMountROSysfs() const
bool DevicesHasBeenSet() const
AWS_GREENGRASSV2_API LambdaContainerParams(Aws::Utils::Json::JsonView jsonValue)
void SetMountROSysfs(bool value)
const Aws::Vector< LambdaDeviceMount > & GetDevices() const
void SetMemorySizeInKB(int value)
LambdaContainerParams & WithVolumes(VolumesT &&value)
void SetDevices(DevicesT &&value)
AWS_GREENGRASSV2_API Aws::Utils::Json::JsonValue Jsonize() const
LambdaContainerParams & AddVolumes(VolumesT &&value)
LambdaContainerParams & WithDevices(DevicesT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue