AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FleetMember.h
1
6#pragma once
7#include <aws/deadline/Deadline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/deadline/model/PrincipalType.h>
10#include <aws/deadline/model/MembershipLevel.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace deadline
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_DEADLINE_API FleetMember();
37 AWS_DEADLINE_API FleetMember(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DEADLINE_API FleetMember& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetFarmId() const{ return m_farmId; }
47 inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; }
48 inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; }
49 inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); }
50 inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); }
51 inline FleetMember& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;}
52 inline FleetMember& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;}
53 inline FleetMember& WithFarmId(const char* value) { SetFarmId(value); return *this;}
55
57
60 inline const Aws::String& GetFleetId() const{ return m_fleetId; }
61 inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; }
62 inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; }
63 inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::move(value); }
64 inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); }
65 inline FleetMember& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;}
66 inline FleetMember& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;}
67 inline FleetMember& WithFleetId(const char* value) { SetFleetId(value); return *this;}
69
71
74 inline const Aws::String& GetPrincipalId() const{ return m_principalId; }
75 inline bool PrincipalIdHasBeenSet() const { return m_principalIdHasBeenSet; }
76 inline void SetPrincipalId(const Aws::String& value) { m_principalIdHasBeenSet = true; m_principalId = value; }
77 inline void SetPrincipalId(Aws::String&& value) { m_principalIdHasBeenSet = true; m_principalId = std::move(value); }
78 inline void SetPrincipalId(const char* value) { m_principalIdHasBeenSet = true; m_principalId.assign(value); }
79 inline FleetMember& WithPrincipalId(const Aws::String& value) { SetPrincipalId(value); return *this;}
80 inline FleetMember& WithPrincipalId(Aws::String&& value) { SetPrincipalId(std::move(value)); return *this;}
81 inline FleetMember& WithPrincipalId(const char* value) { SetPrincipalId(value); return *this;}
83
85
88 inline const PrincipalType& GetPrincipalType() const{ return m_principalType; }
89 inline bool PrincipalTypeHasBeenSet() const { return m_principalTypeHasBeenSet; }
90 inline void SetPrincipalType(const PrincipalType& value) { m_principalTypeHasBeenSet = true; m_principalType = value; }
91 inline void SetPrincipalType(PrincipalType&& value) { m_principalTypeHasBeenSet = true; m_principalType = std::move(value); }
92 inline FleetMember& WithPrincipalType(const PrincipalType& value) { SetPrincipalType(value); return *this;}
93 inline FleetMember& WithPrincipalType(PrincipalType&& value) { SetPrincipalType(std::move(value)); return *this;}
95
97
100 inline const Aws::String& GetIdentityStoreId() const{ return m_identityStoreId; }
101 inline bool IdentityStoreIdHasBeenSet() const { return m_identityStoreIdHasBeenSet; }
102 inline void SetIdentityStoreId(const Aws::String& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = value; }
103 inline void SetIdentityStoreId(Aws::String&& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = std::move(value); }
104 inline void SetIdentityStoreId(const char* value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId.assign(value); }
105 inline FleetMember& WithIdentityStoreId(const Aws::String& value) { SetIdentityStoreId(value); return *this;}
106 inline FleetMember& WithIdentityStoreId(Aws::String&& value) { SetIdentityStoreId(std::move(value)); return *this;}
107 inline FleetMember& WithIdentityStoreId(const char* value) { SetIdentityStoreId(value); return *this;}
109
111
114 inline const MembershipLevel& GetMembershipLevel() const{ return m_membershipLevel; }
115 inline bool MembershipLevelHasBeenSet() const { return m_membershipLevelHasBeenSet; }
116 inline void SetMembershipLevel(const MembershipLevel& value) { m_membershipLevelHasBeenSet = true; m_membershipLevel = value; }
117 inline void SetMembershipLevel(MembershipLevel&& value) { m_membershipLevelHasBeenSet = true; m_membershipLevel = std::move(value); }
118 inline FleetMember& WithMembershipLevel(const MembershipLevel& value) { SetMembershipLevel(value); return *this;}
119 inline FleetMember& WithMembershipLevel(MembershipLevel&& value) { SetMembershipLevel(std::move(value)); return *this;}
121 private:
122
123 Aws::String m_farmId;
124 bool m_farmIdHasBeenSet = false;
125
126 Aws::String m_fleetId;
127 bool m_fleetIdHasBeenSet = false;
128
129 Aws::String m_principalId;
130 bool m_principalIdHasBeenSet = false;
131
132 PrincipalType m_principalType;
133 bool m_principalTypeHasBeenSet = false;
134
135 Aws::String m_identityStoreId;
136 bool m_identityStoreIdHasBeenSet = false;
137
138 MembershipLevel m_membershipLevel;
139 bool m_membershipLevelHasBeenSet = false;
140 };
141
142} // namespace Model
143} // namespace deadline
144} // namespace Aws
FleetMember & WithPrincipalId(const char *value)
Definition FleetMember.h:81
void SetPrincipalType(PrincipalType &&value)
Definition FleetMember.h:91
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMembershipLevel(MembershipLevel &&value)
FleetMember & WithIdentityStoreId(const char *value)
const Aws::String & GetIdentityStoreId() const
void SetFleetId(const char *value)
Definition FleetMember.h:64
FleetMember & WithPrincipalId(Aws::String &&value)
Definition FleetMember.h:80
FleetMember & WithFleetId(const Aws::String &value)
Definition FleetMember.h:65
FleetMember & WithPrincipalId(const Aws::String &value)
Definition FleetMember.h:79
FleetMember & WithFarmId(const Aws::String &value)
Definition FleetMember.h:51
FleetMember & WithFleetId(Aws::String &&value)
Definition FleetMember.h:66
FleetMember & WithIdentityStoreId(const Aws::String &value)
const Aws::String & GetFleetId() const
Definition FleetMember.h:60
void SetFarmId(const Aws::String &value)
Definition FleetMember.h:48
FleetMember & WithIdentityStoreId(Aws::String &&value)
void SetMembershipLevel(const MembershipLevel &value)
void SetPrincipalId(const char *value)
Definition FleetMember.h:78
const MembershipLevel & GetMembershipLevel() const
void SetIdentityStoreId(Aws::String &&value)
FleetMember & WithFleetId(const char *value)
Definition FleetMember.h:67
FleetMember & WithPrincipalType(PrincipalType &&value)
Definition FleetMember.h:93
FleetMember & WithMembershipLevel(MembershipLevel &&value)
const Aws::String & GetPrincipalId() const
Definition FleetMember.h:74
const PrincipalType & GetPrincipalType() const
Definition FleetMember.h:88
AWS_DEADLINE_API FleetMember(Aws::Utils::Json::JsonView jsonValue)
void SetPrincipalId(const Aws::String &value)
Definition FleetMember.h:76
void SetFarmId(const char *value)
Definition FleetMember.h:50
void SetPrincipalId(Aws::String &&value)
Definition FleetMember.h:77
FleetMember & WithFarmId(Aws::String &&value)
Definition FleetMember.h:52
void SetPrincipalType(const PrincipalType &value)
Definition FleetMember.h:90
void SetFleetId(const Aws::String &value)
Definition FleetMember.h:62
FleetMember & WithPrincipalType(const PrincipalType &value)
Definition FleetMember.h:92
FleetMember & WithMembershipLevel(const MembershipLevel &value)
void SetFarmId(Aws::String &&value)
Definition FleetMember.h:49
void SetIdentityStoreId(const Aws::String &value)
const Aws::String & GetFarmId() const
Definition FleetMember.h:46
AWS_DEADLINE_API FleetMember & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetFleetId(Aws::String &&value)
Definition FleetMember.h:63
FleetMember & WithFarmId(const char *value)
Definition FleetMember.h:53
void SetIdentityStoreId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue