AWS SDK for C++  1.9.122
AWS SDK for C++
LambdaLinuxProcessParams.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace GreengrassV2
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
48  inline const LambdaIsolationMode& GetIsolationMode() const{ return m_isolationMode; }
49 
56  inline bool IsolationModeHasBeenSet() const { return m_isolationModeHasBeenSet; }
57 
64  inline void SetIsolationMode(const LambdaIsolationMode& value) { m_isolationModeHasBeenSet = true; m_isolationMode = value; }
65 
72  inline void SetIsolationMode(LambdaIsolationMode&& value) { m_isolationModeHasBeenSet = true; m_isolationMode = std::move(value); }
73 
80  inline LambdaLinuxProcessParams& WithIsolationMode(const LambdaIsolationMode& value) { SetIsolationMode(value); return *this;}
81 
88  inline LambdaLinuxProcessParams& WithIsolationMode(LambdaIsolationMode&& value) { SetIsolationMode(std::move(value)); return *this;}
89 
90 
94  inline const LambdaContainerParams& GetContainerParams() const{ return m_containerParams; }
95 
99  inline bool ContainerParamsHasBeenSet() const { return m_containerParamsHasBeenSet; }
100 
104  inline void SetContainerParams(const LambdaContainerParams& value) { m_containerParamsHasBeenSet = true; m_containerParams = value; }
105 
109  inline void SetContainerParams(LambdaContainerParams&& value) { m_containerParamsHasBeenSet = true; m_containerParams = std::move(value); }
110 
114  inline LambdaLinuxProcessParams& WithContainerParams(const LambdaContainerParams& value) { SetContainerParams(value); return *this;}
115 
119  inline LambdaLinuxProcessParams& WithContainerParams(LambdaContainerParams&& value) { SetContainerParams(std::move(value)); return *this;}
120 
121  private:
122 
123  LambdaIsolationMode m_isolationMode;
124  bool m_isolationModeHasBeenSet;
125 
126  LambdaContainerParams m_containerParams;
127  bool m_containerParamsHasBeenSet;
128  };
129 
130 } // namespace Model
131 } // namespace GreengrassV2
132 } // namespace Aws
Aws::GreengrassV2::Model::LambdaLinuxProcessParams::WithContainerParams
LambdaLinuxProcessParams & WithContainerParams(LambdaContainerParams &&value)
Definition: LambdaLinuxProcessParams.h:119
Aws::GreengrassV2::Model::LambdaLinuxProcessParams::GetIsolationMode
const LambdaIsolationMode & GetIsolationMode() const
Definition: LambdaLinuxProcessParams.h:48
Aws::GreengrassV2::Model::LambdaLinuxProcessParams::SetContainerParams
void SetContainerParams(LambdaContainerParams &&value)
Definition: LambdaLinuxProcessParams.h:109
Aws::GreengrassV2::Model::LambdaLinuxProcessParams::LambdaLinuxProcessParams
LambdaLinuxProcessParams(Aws::Utils::Json::JsonView jsonValue)
Aws::GreengrassV2::Model::LambdaIsolationMode
LambdaIsolationMode
Definition: LambdaIsolationMode.h:17
LambdaContainerParams.h
GreengrassV2_EXPORTS.h
LambdaIsolationMode.h
AWS_GREENGRASSV2_API
#define AWS_GREENGRASSV2_API
Definition: GreengrassV2_EXPORTS.h:28
Aws::GreengrassV2::Model::LambdaLinuxProcessParams::WithContainerParams
LambdaLinuxProcessParams & WithContainerParams(const LambdaContainerParams &value)
Definition: LambdaLinuxProcessParams.h:114
Aws::GreengrassV2::Model::LambdaLinuxProcessParams::WithIsolationMode
LambdaLinuxProcessParams & WithIsolationMode(const LambdaIsolationMode &value)
Definition: LambdaLinuxProcessParams.h:80
Aws::GreengrassV2::Model::LambdaLinuxProcessParams::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::GreengrassV2::Model::LambdaLinuxProcessParams::GetContainerParams
const LambdaContainerParams & GetContainerParams() const
Definition: LambdaLinuxProcessParams.h:94
Aws::GreengrassV2::Model::LambdaLinuxProcessParams::SetIsolationMode
void SetIsolationMode(LambdaIsolationMode &&value)
Definition: LambdaLinuxProcessParams.h:72
Aws::GreengrassV2::Model::LambdaLinuxProcessParams::LambdaLinuxProcessParams
LambdaLinuxProcessParams()
Aws::GreengrassV2::Model::LambdaLinuxProcessParams::WithIsolationMode
LambdaLinuxProcessParams & WithIsolationMode(LambdaIsolationMode &&value)
Definition: LambdaLinuxProcessParams.h:88
Aws::GreengrassV2::Model::LambdaContainerParams
Definition: LambdaContainerParams.h:35
Aws
Definition: AccessManagementClient.h:15
Aws::GreengrassV2::Model::LambdaLinuxProcessParams
Definition: LambdaLinuxProcessParams.h:34
Aws::GreengrassV2::Model::LambdaLinuxProcessParams::SetIsolationMode
void SetIsolationMode(const LambdaIsolationMode &value)
Definition: LambdaLinuxProcessParams.h:64
Aws::GreengrassV2::Model::LambdaLinuxProcessParams::operator=
LambdaLinuxProcessParams & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::GreengrassV2::Model::LambdaLinuxProcessParams::SetContainerParams
void SetContainerParams(const LambdaContainerParams &value)
Definition: LambdaLinuxProcessParams.h:104
Aws::GreengrassV2::Model::LambdaLinuxProcessParams::ContainerParamsHasBeenSet
bool ContainerParamsHasBeenSet() const
Definition: LambdaLinuxProcessParams.h:99
Aws::GreengrassV2::Model::LambdaLinuxProcessParams::IsolationModeHasBeenSet
bool IsolationModeHasBeenSet() const
Definition: LambdaLinuxProcessParams.h:56