AWS SDK for C++  1.8.129
AWS SDK for C++
FunctionRunAsConfig.h
Go to the documentation of this file.
1 
6 #pragma once
8 
9 namespace Aws
10 {
11 namespace Utils
12 {
13 namespace Json
14 {
15  class JsonValue;
16  class JsonView;
17 } // namespace Json
18 } // namespace Utils
19 namespace Greengrass
20 {
21 namespace Model
22 {
23 
36  {
37  public:
42 
43 
47  inline int GetGid() const{ return m_gid; }
48 
52  inline bool GidHasBeenSet() const { return m_gidHasBeenSet; }
53 
57  inline void SetGid(int value) { m_gidHasBeenSet = true; m_gid = value; }
58 
62  inline FunctionRunAsConfig& WithGid(int value) { SetGid(value); return *this;}
63 
64 
68  inline int GetUid() const{ return m_uid; }
69 
73  inline bool UidHasBeenSet() const { return m_uidHasBeenSet; }
74 
78  inline void SetUid(int value) { m_uidHasBeenSet = true; m_uid = value; }
79 
83  inline FunctionRunAsConfig& WithUid(int value) { SetUid(value); return *this;}
84 
85  private:
86 
87  int m_gid;
88  bool m_gidHasBeenSet;
89 
90  int m_uid;
91  bool m_uidHasBeenSet;
92  };
93 
94 } // namespace Model
95 } // namespace Greengrass
96 } // namespace Aws
Aws::Greengrass::Model::FunctionRunAsConfig::WithGid
FunctionRunAsConfig & WithGid(int value)
Definition: FunctionRunAsConfig.h:62
Aws::Greengrass::Model::FunctionRunAsConfig::GetUid
int GetUid() const
Definition: FunctionRunAsConfig.h:68
Aws::Greengrass::Model::FunctionRunAsConfig::FunctionRunAsConfig
FunctionRunAsConfig()
Aws::Greengrass::Model::FunctionRunAsConfig::GidHasBeenSet
bool GidHasBeenSet() const
Definition: FunctionRunAsConfig.h:52
Greengrass_EXPORTS.h
AWS_GREENGRASS_API
#define AWS_GREENGRASS_API
Definition: Greengrass_EXPORTS.h:28
Aws::Greengrass::Model::FunctionRunAsConfig::WithUid
FunctionRunAsConfig & WithUid(int value)
Definition: FunctionRunAsConfig.h:83
Aws::Greengrass::Model::FunctionRunAsConfig::GetGid
int GetGid() const
Definition: FunctionRunAsConfig.h:47
Aws::Greengrass::Model::FunctionRunAsConfig::UidHasBeenSet
bool UidHasBeenSet() const
Definition: FunctionRunAsConfig.h:73
Aws::Greengrass::Model::FunctionRunAsConfig::SetGid
void SetGid(int value)
Definition: FunctionRunAsConfig.h:57
Aws::Greengrass::Model::FunctionRunAsConfig::SetUid
void SetUid(int value)
Definition: FunctionRunAsConfig.h:78
Aws::Greengrass::Model::FunctionRunAsConfig::FunctionRunAsConfig
FunctionRunAsConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::Greengrass::Model::FunctionRunAsConfig::operator=
FunctionRunAsConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::Greengrass::Model::FunctionRunAsConfig
Definition: FunctionRunAsConfig.h:36
Aws
Definition: AccessManagementClient.h:15
Aws::Greengrass::Model::FunctionRunAsConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const