7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/greengrassv2/GreengrassV2_EXPORTS.h>
9#include <aws/greengrassv2/model/LambdaDeviceMount.h>
10#include <aws/greengrassv2/model/LambdaVolumeMount.h>
21namespace GreengrassV2 {
45 m_memorySizeInKBHasBeenSet =
true;
46 m_memorySizeInKB = value;
62 m_mountROSysfsHasBeenSet =
true;
63 m_mountROSysfs = value;
77 template <
typename VolumesT = Aws::Vector<LambdaVolumeMount>>
79 m_volumesHasBeenSet =
true;
80 m_volumes = std::forward<VolumesT>(value);
82 template <
typename VolumesT = Aws::Vector<LambdaVolumeMount>>
87 template <
typename VolumesT = LambdaVolumeMount>
89 m_volumesHasBeenSet =
true;
90 m_volumes.emplace_back(std::forward<VolumesT>(value));
101 template <
typename DevicesT = Aws::Vector<LambdaDeviceMount>>
103 m_devicesHasBeenSet =
true;
104 m_devices = std::forward<DevicesT>(value);
106 template <
typename DevicesT = Aws::Vector<LambdaDeviceMount>>
111 template <
typename DevicesT = LambdaDeviceMount>
113 m_devicesHasBeenSet =
true;
114 m_devices.emplace_back(std::forward<DevicesT>(value));
119 int m_memorySizeInKB{0};
121 bool m_mountROSysfs{
false};
126 bool m_memorySizeInKBHasBeenSet =
false;
127 bool m_mountROSysfsHasBeenSet =
false;
128 bool m_volumesHasBeenSet =
false;
129 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