AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
CustomPosixUserConfig.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace SageMaker {
17namespace Model {
18
26 public:
27 AWS_SAGEMAKER_API CustomPosixUserConfig() = default;
30 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
36 inline long long GetUid() const { return m_uid; }
37 inline bool UidHasBeenSet() const { return m_uidHasBeenSet; }
38 inline void SetUid(long long value) {
39 m_uidHasBeenSet = true;
40 m_uid = value;
41 }
42 inline CustomPosixUserConfig& WithUid(long long value) {
43 SetUid(value);
44 return *this;
45 }
47
49
52 inline long long GetGid() const { return m_gid; }
53 inline bool GidHasBeenSet() const { return m_gidHasBeenSet; }
54 inline void SetGid(long long value) {
55 m_gidHasBeenSet = true;
56 m_gid = value;
57 }
58 inline CustomPosixUserConfig& WithGid(long long value) {
59 SetGid(value);
60 return *this;
61 }
63 private:
64 long long m_uid{0};
65
66 long long m_gid{0};
67 bool m_uidHasBeenSet = false;
68 bool m_gidHasBeenSet = false;
69};
70
71} // namespace Model
72} // namespace SageMaker
73} // namespace Aws
CustomPosixUserConfig & WithGid(long long value)
AWS_SAGEMAKER_API CustomPosixUserConfig()=default
AWS_SAGEMAKER_API CustomPosixUserConfig(Aws::Utils::Json::JsonView jsonValue)
CustomPosixUserConfig & WithUid(long long value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API CustomPosixUserConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue