AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PosixProfile.h
1
6#pragma once
7#include <aws/awstransfer/Transfer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Transfer
22{
23namespace Model
24{
25
37 {
38 public:
39 AWS_TRANSFER_API PosixProfile();
40 AWS_TRANSFER_API PosixProfile(Aws::Utils::Json::JsonView jsonValue);
42 AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline long long GetUid() const{ return m_uid; }
50 inline bool UidHasBeenSet() const { return m_uidHasBeenSet; }
51 inline void SetUid(long long value) { m_uidHasBeenSet = true; m_uid = value; }
52 inline PosixProfile& WithUid(long long value) { SetUid(value); return *this;}
54
56
59 inline long long GetGid() const{ return m_gid; }
60 inline bool GidHasBeenSet() const { return m_gidHasBeenSet; }
61 inline void SetGid(long long value) { m_gidHasBeenSet = true; m_gid = value; }
62 inline PosixProfile& WithGid(long long value) { SetGid(value); return *this;}
64
66
69 inline const Aws::Vector<long long>& GetSecondaryGids() const{ return m_secondaryGids; }
70 inline bool SecondaryGidsHasBeenSet() const { return m_secondaryGidsHasBeenSet; }
71 inline void SetSecondaryGids(const Aws::Vector<long long>& value) { m_secondaryGidsHasBeenSet = true; m_secondaryGids = value; }
72 inline void SetSecondaryGids(Aws::Vector<long long>&& value) { m_secondaryGidsHasBeenSet = true; m_secondaryGids = std::move(value); }
73 inline PosixProfile& WithSecondaryGids(const Aws::Vector<long long>& value) { SetSecondaryGids(value); return *this;}
74 inline PosixProfile& WithSecondaryGids(Aws::Vector<long long>&& value) { SetSecondaryGids(std::move(value)); return *this;}
75 inline PosixProfile& AddSecondaryGids(long long value) { m_secondaryGidsHasBeenSet = true; m_secondaryGids.push_back(value); return *this; }
77 private:
78
79 long long m_uid;
80 bool m_uidHasBeenSet = false;
81
82 long long m_gid;
83 bool m_gidHasBeenSet = false;
84
85 Aws::Vector<long long> m_secondaryGids;
86 bool m_secondaryGidsHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace Transfer
91} // namespace Aws
const Aws::Vector< long long > & GetSecondaryGids() const
PosixProfile & WithSecondaryGids(const Aws::Vector< long long > &value)
void SetSecondaryGids(Aws::Vector< long long > &&value)
PosixProfile & WithGid(long long value)
void SetSecondaryGids(const Aws::Vector< long long > &value)
AWS_TRANSFER_API PosixProfile & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const
PosixProfile & WithSecondaryGids(Aws::Vector< long long > &&value)
PosixProfile & AddSecondaryGids(long long value)
PosixProfile & WithUid(long long value)
AWS_TRANSFER_API PosixProfile(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue