AWS SDK for C++  1.9.123
AWS SDK for C++
FunctionExecutionConfig.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 Greengrass
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
42 
43  inline const FunctionIsolationMode& GetIsolationMode() const{ return m_isolationMode; }
44 
45 
46  inline bool IsolationModeHasBeenSet() const { return m_isolationModeHasBeenSet; }
47 
48 
49  inline void SetIsolationMode(const FunctionIsolationMode& value) { m_isolationModeHasBeenSet = true; m_isolationMode = value; }
50 
51 
52  inline void SetIsolationMode(FunctionIsolationMode&& value) { m_isolationModeHasBeenSet = true; m_isolationMode = std::move(value); }
53 
54 
55  inline FunctionExecutionConfig& WithIsolationMode(const FunctionIsolationMode& value) { SetIsolationMode(value); return *this;}
56 
57 
58  inline FunctionExecutionConfig& WithIsolationMode(FunctionIsolationMode&& value) { SetIsolationMode(std::move(value)); return *this;}
59 
60 
61 
62  inline const FunctionRunAsConfig& GetRunAs() const{ return m_runAs; }
63 
64 
65  inline bool RunAsHasBeenSet() const { return m_runAsHasBeenSet; }
66 
67 
68  inline void SetRunAs(const FunctionRunAsConfig& value) { m_runAsHasBeenSet = true; m_runAs = value; }
69 
70 
71  inline void SetRunAs(FunctionRunAsConfig&& value) { m_runAsHasBeenSet = true; m_runAs = std::move(value); }
72 
73 
74  inline FunctionExecutionConfig& WithRunAs(const FunctionRunAsConfig& value) { SetRunAs(value); return *this;}
75 
76 
77  inline FunctionExecutionConfig& WithRunAs(FunctionRunAsConfig&& value) { SetRunAs(std::move(value)); return *this;}
78 
79  private:
80 
81  FunctionIsolationMode m_isolationMode;
82  bool m_isolationModeHasBeenSet;
83 
84  FunctionRunAsConfig m_runAs;
85  bool m_runAsHasBeenSet;
86  };
87 
88 } // namespace Model
89 } // namespace Greengrass
90 } // namespace Aws
Greengrass_EXPORTS.h
Aws::Greengrass::Model::FunctionExecutionConfig::WithRunAs
FunctionExecutionConfig & WithRunAs(const FunctionRunAsConfig &value)
Definition: FunctionExecutionConfig.h:74
AWS_GREENGRASS_API
#define AWS_GREENGRASS_API
Definition: Greengrass_EXPORTS.h:28
Aws::Greengrass::Model::FunctionExecutionConfig::SetRunAs
void SetRunAs(const FunctionRunAsConfig &value)
Definition: FunctionExecutionConfig.h:68
Aws::Greengrass::Model::FunctionExecutionConfig::SetRunAs
void SetRunAs(FunctionRunAsConfig &&value)
Definition: FunctionExecutionConfig.h:71
Aws::Greengrass::Model::FunctionExecutionConfig::GetIsolationMode
const FunctionIsolationMode & GetIsolationMode() const
Definition: FunctionExecutionConfig.h:43
Aws::Greengrass::Model::FunctionExecutionConfig::WithIsolationMode
FunctionExecutionConfig & WithIsolationMode(FunctionIsolationMode &&value)
Definition: FunctionExecutionConfig.h:58
Aws::Greengrass::Model::FunctionExecutionConfig::GetRunAs
const FunctionRunAsConfig & GetRunAs() const
Definition: FunctionExecutionConfig.h:62
Aws::Greengrass::Model::FunctionExecutionConfig::SetIsolationMode
void SetIsolationMode(FunctionIsolationMode &&value)
Definition: FunctionExecutionConfig.h:52
FunctionRunAsConfig.h
Aws::Greengrass::Model::FunctionExecutionConfig
Definition: FunctionExecutionConfig.h:34
Aws::Greengrass::Model::FunctionExecutionConfig::WithRunAs
FunctionExecutionConfig & WithRunAs(FunctionRunAsConfig &&value)
Definition: FunctionExecutionConfig.h:77
Aws::Greengrass::Model::FunctionExecutionConfig::WithIsolationMode
FunctionExecutionConfig & WithIsolationMode(const FunctionIsolationMode &value)
Definition: FunctionExecutionConfig.h:55
Aws::Greengrass::Model::FunctionExecutionConfig::FunctionExecutionConfig
FunctionExecutionConfig()
FunctionIsolationMode.h
Aws::Greengrass::Model::FunctionExecutionConfig::SetIsolationMode
void SetIsolationMode(const FunctionIsolationMode &value)
Definition: FunctionExecutionConfig.h:49
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Greengrass::Model::FunctionIsolationMode
FunctionIsolationMode
Definition: FunctionIsolationMode.h:17
Aws::Greengrass::Model::FunctionExecutionConfig::RunAsHasBeenSet
bool RunAsHasBeenSet() const
Definition: FunctionExecutionConfig.h:65
Aws::Greengrass::Model::FunctionExecutionConfig::FunctionExecutionConfig
FunctionExecutionConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::Greengrass::Model::FunctionExecutionConfig::operator=
FunctionExecutionConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Greengrass::Model::FunctionRunAsConfig
Definition: FunctionRunAsConfig.h:36
Aws
Definition: AccessManagementClient.h:15
Aws::Greengrass::Model::FunctionExecutionConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Greengrass::Model::FunctionExecutionConfig::IsolationModeHasBeenSet
bool IsolationModeHasBeenSet() const
Definition: FunctionExecutionConfig.h:46