AWS SDK for C++  1.9.160
AWS SDK for C++
PosixProfile.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace Transfer
22 {
23 namespace Model
24 {
25 
37  {
38  public:
43 
44 
48  inline long long GetUid() const{ return m_uid; }
49 
53  inline bool UidHasBeenSet() const { return m_uidHasBeenSet; }
54 
58  inline void SetUid(long long value) { m_uidHasBeenSet = true; m_uid = value; }
59 
63  inline PosixProfile& WithUid(long long value) { SetUid(value); return *this;}
64 
65 
69  inline long long GetGid() const{ return m_gid; }
70 
74  inline bool GidHasBeenSet() const { return m_gidHasBeenSet; }
75 
79  inline void SetGid(long long value) { m_gidHasBeenSet = true; m_gid = value; }
80 
84  inline PosixProfile& WithGid(long long value) { SetGid(value); return *this;}
85 
86 
90  inline const Aws::Vector<long long>& GetSecondaryGids() const{ return m_secondaryGids; }
91 
95  inline bool SecondaryGidsHasBeenSet() const { return m_secondaryGidsHasBeenSet; }
96 
100  inline void SetSecondaryGids(const Aws::Vector<long long>& value) { m_secondaryGidsHasBeenSet = true; m_secondaryGids = value; }
101 
105  inline void SetSecondaryGids(Aws::Vector<long long>&& value) { m_secondaryGidsHasBeenSet = true; m_secondaryGids = std::move(value); }
106 
110  inline PosixProfile& WithSecondaryGids(const Aws::Vector<long long>& value) { SetSecondaryGids(value); return *this;}
111 
115  inline PosixProfile& WithSecondaryGids(Aws::Vector<long long>&& value) { SetSecondaryGids(std::move(value)); return *this;}
116 
120  inline PosixProfile& AddSecondaryGids(long long value) { m_secondaryGidsHasBeenSet = true; m_secondaryGids.push_back(value); return *this; }
121 
122  private:
123 
124  long long m_uid;
125  bool m_uidHasBeenSet;
126 
127  long long m_gid;
128  bool m_gidHasBeenSet;
129 
130  Aws::Vector<long long> m_secondaryGids;
131  bool m_secondaryGidsHasBeenSet;
132  };
133 
134 } // namespace Model
135 } // namespace Transfer
136 } // namespace Aws
Aws::Transfer::Model::PosixProfile::GetUid
long long GetUid() const
Definition: PosixProfile.h:48
Aws::Transfer::Model::PosixProfile::SetUid
void SetUid(long long value)
Definition: PosixProfile.h:58
Aws::Transfer::Model::PosixProfile::AddSecondaryGids
PosixProfile & AddSecondaryGids(long long value)
Definition: PosixProfile.h:120
Aws::Transfer::Model::PosixProfile::WithUid
PosixProfile & WithUid(long long value)
Definition: PosixProfile.h:63
Aws::Transfer::Model::PosixProfile::SetGid
void SetGid(long long value)
Definition: PosixProfile.h:79
Aws::Transfer::Model::PosixProfile::SetSecondaryGids
void SetSecondaryGids(const Aws::Vector< long long > &value)
Definition: PosixProfile.h:100
Aws::Transfer::Model::PosixProfile::operator=
PosixProfile & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Transfer::Model::PosixProfile::UidHasBeenSet
bool UidHasBeenSet() const
Definition: PosixProfile.h:53
AWSVector.h
Aws::Transfer::Model::PosixProfile::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Transfer::Model::PosixProfile::WithSecondaryGids
PosixProfile & WithSecondaryGids(const Aws::Vector< long long > &value)
Definition: PosixProfile.h:110
Aws::Transfer::Model::PosixProfile::WithSecondaryGids
PosixProfile & WithSecondaryGids(Aws::Vector< long long > &&value)
Definition: PosixProfile.h:115
Transfer_EXPORTS.h
Aws::Transfer::Model::PosixProfile::GetSecondaryGids
const Aws::Vector< long long > & GetSecondaryGids() const
Definition: PosixProfile.h:90
Aws::Transfer::Model::PosixProfile
Definition: PosixProfile.h:37
Aws::Transfer::Model::PosixProfile::PosixProfile
PosixProfile(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Transfer::Model::PosixProfile::SetSecondaryGids
void SetSecondaryGids(Aws::Vector< long long > &&value)
Definition: PosixProfile.h:105
Aws::Transfer::Model::PosixProfile::GetGid
long long GetGid() const
Definition: PosixProfile.h:69
Aws::Transfer::Model::PosixProfile::WithGid
PosixProfile & WithGid(long long value)
Definition: PosixProfile.h:84
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Transfer::Model::PosixProfile::SecondaryGidsHasBeenSet
bool SecondaryGidsHasBeenSet() const
Definition: PosixProfile.h:95
Aws::Transfer::Model::PosixProfile::PosixProfile
PosixProfile()
Aws::Transfer::Model::PosixProfile::GidHasBeenSet
bool GidHasBeenSet() const
Definition: PosixProfile.h:74
AWS_TRANSFER_API
#define AWS_TRANSFER_API
Definition: Transfer_EXPORTS.h:28