AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LambdaLinuxProcessParams.h
1
6#pragma once
7#include <aws/greengrassv2/GreengrassV2_EXPORTS.h>
8#include <aws/greengrassv2/model/LambdaIsolationMode.h>
9#include <aws/greengrassv2/model/LambdaContainerParams.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace GreengrassV2
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_GREENGRASSV2_API LambdaLinuxProcessParams();
39 AWS_GREENGRASSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
49 inline const LambdaIsolationMode& GetIsolationMode() const{ return m_isolationMode; }
50 inline bool IsolationModeHasBeenSet() const { return m_isolationModeHasBeenSet; }
51 inline void SetIsolationMode(const LambdaIsolationMode& value) { m_isolationModeHasBeenSet = true; m_isolationMode = value; }
52 inline void SetIsolationMode(LambdaIsolationMode&& value) { m_isolationModeHasBeenSet = true; m_isolationMode = std::move(value); }
54 inline LambdaLinuxProcessParams& WithIsolationMode(LambdaIsolationMode&& value) { SetIsolationMode(std::move(value)); return *this;}
56
58
61 inline const LambdaContainerParams& GetContainerParams() const{ return m_containerParams; }
62 inline bool ContainerParamsHasBeenSet() const { return m_containerParamsHasBeenSet; }
63 inline void SetContainerParams(const LambdaContainerParams& value) { m_containerParamsHasBeenSet = true; m_containerParams = value; }
64 inline void SetContainerParams(LambdaContainerParams&& value) { m_containerParamsHasBeenSet = true; m_containerParams = std::move(value); }
66 inline LambdaLinuxProcessParams& WithContainerParams(LambdaContainerParams&& value) { SetContainerParams(std::move(value)); return *this;}
68 private:
69
70 LambdaIsolationMode m_isolationMode;
71 bool m_isolationModeHasBeenSet = false;
72
73 LambdaContainerParams m_containerParams;
74 bool m_containerParamsHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace GreengrassV2
79} // namespace Aws
LambdaLinuxProcessParams & WithContainerParams(const LambdaContainerParams &value)
AWS_GREENGRASSV2_API Aws::Utils::Json::JsonValue Jsonize() const
LambdaLinuxProcessParams & WithContainerParams(LambdaContainerParams &&value)
void SetIsolationMode(const LambdaIsolationMode &value)
void SetContainerParams(const LambdaContainerParams &value)
AWS_GREENGRASSV2_API LambdaLinuxProcessParams & operator=(Aws::Utils::Json::JsonView jsonValue)
const LambdaContainerParams & GetContainerParams() const
AWS_GREENGRASSV2_API LambdaLinuxProcessParams(Aws::Utils::Json::JsonView jsonValue)
LambdaLinuxProcessParams & WithIsolationMode(LambdaIsolationMode &&value)
LambdaLinuxProcessParams & WithIsolationMode(const LambdaIsolationMode &value)
Aws::Utils::Json::JsonValue JsonValue