AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FunctionRunAsConfig.h
1
6#pragma once
7#include <aws/greengrass/Greengrass_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Greengrass
20{
21namespace Model
22{
23
36 {
37 public:
38 AWS_GREENGRASS_API FunctionRunAsConfig();
39 AWS_GREENGRASS_API FunctionRunAsConfig(Aws::Utils::Json::JsonView jsonValue);
41 AWS_GREENGRASS_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline int GetGid() const{ return m_gid; }
49 inline bool GidHasBeenSet() const { return m_gidHasBeenSet; }
50 inline void SetGid(int value) { m_gidHasBeenSet = true; m_gid = value; }
51 inline FunctionRunAsConfig& WithGid(int value) { SetGid(value); return *this;}
53
55
58 inline int GetUid() const{ return m_uid; }
59 inline bool UidHasBeenSet() const { return m_uidHasBeenSet; }
60 inline void SetUid(int value) { m_uidHasBeenSet = true; m_uid = value; }
61 inline FunctionRunAsConfig& WithUid(int value) { SetUid(value); return *this;}
63 private:
64
65 int m_gid;
66 bool m_gidHasBeenSet = false;
67
68 int m_uid;
69 bool m_uidHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace Greengrass
74} // namespace Aws
FunctionRunAsConfig & WithUid(int value)
AWS_GREENGRASS_API FunctionRunAsConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_GREENGRASS_API FunctionRunAsConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
FunctionRunAsConfig & WithGid(int value)
AWS_GREENGRASS_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue