AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
JobMember.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 JobMember();
37 AWS_DEADLINE_API JobMember(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DEADLINE_API JobMember& 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 JobMember& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;}
52 inline JobMember& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;}
53 inline JobMember& WithFarmId(const char* value) { SetFarmId(value); return *this;}
55
57
60 inline const Aws::String& GetQueueId() const{ return m_queueId; }
61 inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; }
62 inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; }
63 inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); }
64 inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); }
65 inline JobMember& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;}
66 inline JobMember& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;}
67 inline JobMember& WithQueueId(const char* value) { SetQueueId(value); return *this;}
69
71
74 inline const Aws::String& GetJobId() const{ return m_jobId; }
75 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
76 inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
77 inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); }
78 inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
79 inline JobMember& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
80 inline JobMember& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
81 inline JobMember& WithJobId(const char* value) { SetJobId(value); return *this;}
83
85
88 inline const Aws::String& GetPrincipalId() const{ return m_principalId; }
89 inline bool PrincipalIdHasBeenSet() const { return m_principalIdHasBeenSet; }
90 inline void SetPrincipalId(const Aws::String& value) { m_principalIdHasBeenSet = true; m_principalId = value; }
91 inline void SetPrincipalId(Aws::String&& value) { m_principalIdHasBeenSet = true; m_principalId = std::move(value); }
92 inline void SetPrincipalId(const char* value) { m_principalIdHasBeenSet = true; m_principalId.assign(value); }
93 inline JobMember& WithPrincipalId(const Aws::String& value) { SetPrincipalId(value); return *this;}
94 inline JobMember& WithPrincipalId(Aws::String&& value) { SetPrincipalId(std::move(value)); return *this;}
95 inline JobMember& WithPrincipalId(const char* value) { SetPrincipalId(value); return *this;}
97
99
102 inline const PrincipalType& GetPrincipalType() const{ return m_principalType; }
103 inline bool PrincipalTypeHasBeenSet() const { return m_principalTypeHasBeenSet; }
104 inline void SetPrincipalType(const PrincipalType& value) { m_principalTypeHasBeenSet = true; m_principalType = value; }
105 inline void SetPrincipalType(PrincipalType&& value) { m_principalTypeHasBeenSet = true; m_principalType = std::move(value); }
106 inline JobMember& WithPrincipalType(const PrincipalType& value) { SetPrincipalType(value); return *this;}
107 inline JobMember& WithPrincipalType(PrincipalType&& value) { SetPrincipalType(std::move(value)); return *this;}
109
111
114 inline const Aws::String& GetIdentityStoreId() const{ return m_identityStoreId; }
115 inline bool IdentityStoreIdHasBeenSet() const { return m_identityStoreIdHasBeenSet; }
116 inline void SetIdentityStoreId(const Aws::String& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = value; }
117 inline void SetIdentityStoreId(Aws::String&& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = std::move(value); }
118 inline void SetIdentityStoreId(const char* value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId.assign(value); }
119 inline JobMember& WithIdentityStoreId(const Aws::String& value) { SetIdentityStoreId(value); return *this;}
120 inline JobMember& WithIdentityStoreId(Aws::String&& value) { SetIdentityStoreId(std::move(value)); return *this;}
121 inline JobMember& WithIdentityStoreId(const char* value) { SetIdentityStoreId(value); return *this;}
123
125
128 inline const MembershipLevel& GetMembershipLevel() const{ return m_membershipLevel; }
129 inline bool MembershipLevelHasBeenSet() const { return m_membershipLevelHasBeenSet; }
130 inline void SetMembershipLevel(const MembershipLevel& value) { m_membershipLevelHasBeenSet = true; m_membershipLevel = value; }
131 inline void SetMembershipLevel(MembershipLevel&& value) { m_membershipLevelHasBeenSet = true; m_membershipLevel = std::move(value); }
132 inline JobMember& WithMembershipLevel(const MembershipLevel& value) { SetMembershipLevel(value); return *this;}
133 inline JobMember& WithMembershipLevel(MembershipLevel&& value) { SetMembershipLevel(std::move(value)); return *this;}
135 private:
136
137 Aws::String m_farmId;
138 bool m_farmIdHasBeenSet = false;
139
140 Aws::String m_queueId;
141 bool m_queueIdHasBeenSet = false;
142
143 Aws::String m_jobId;
144 bool m_jobIdHasBeenSet = false;
145
146 Aws::String m_principalId;
147 bool m_principalIdHasBeenSet = false;
148
149 PrincipalType m_principalType;
150 bool m_principalTypeHasBeenSet = false;
151
152 Aws::String m_identityStoreId;
153 bool m_identityStoreIdHasBeenSet = false;
154
155 MembershipLevel m_membershipLevel;
156 bool m_membershipLevelHasBeenSet = false;
157 };
158
159} // namespace Model
160} // namespace deadline
161} // namespace Aws
void SetJobId(Aws::String &&value)
Definition JobMember.h:77
void SetPrincipalId(Aws::String &&value)
Definition JobMember.h:91
const Aws::String & GetQueueId() const
Definition JobMember.h:60
const Aws::String & GetFarmId() const
Definition JobMember.h:46
JobMember & WithFarmId(Aws::String &&value)
Definition JobMember.h:52
const MembershipLevel & GetMembershipLevel() const
Definition JobMember.h:128
const PrincipalType & GetPrincipalType() const
Definition JobMember.h:102
JobMember & WithPrincipalId(Aws::String &&value)
Definition JobMember.h:94
JobMember & WithIdentityStoreId(Aws::String &&value)
Definition JobMember.h:120
void SetFarmId(const char *value)
Definition JobMember.h:50
JobMember & WithMembershipLevel(MembershipLevel &&value)
Definition JobMember.h:133
JobMember & WithPrincipalType(const PrincipalType &value)
Definition JobMember.h:106
void SetPrincipalType(PrincipalType &&value)
Definition JobMember.h:105
JobMember & WithQueueId(Aws::String &&value)
Definition JobMember.h:66
JobMember & WithPrincipalType(PrincipalType &&value)
Definition JobMember.h:107
void SetJobId(const char *value)
Definition JobMember.h:78
void SetQueueId(Aws::String &&value)
Definition JobMember.h:63
JobMember & WithMembershipLevel(const MembershipLevel &value)
Definition JobMember.h:132
AWS_DEADLINE_API JobMember()
void SetPrincipalType(const PrincipalType &value)
Definition JobMember.h:104
JobMember & WithIdentityStoreId(const Aws::String &value)
Definition JobMember.h:119
void SetIdentityStoreId(const char *value)
Definition JobMember.h:118
JobMember & WithFarmId(const Aws::String &value)
Definition JobMember.h:51
JobMember & WithPrincipalId(const Aws::String &value)
Definition JobMember.h:93
JobMember & WithIdentityStoreId(const char *value)
Definition JobMember.h:121
JobMember & WithPrincipalId(const char *value)
Definition JobMember.h:95
bool IdentityStoreIdHasBeenSet() const
Definition JobMember.h:115
void SetPrincipalId(const Aws::String &value)
Definition JobMember.h:90
void SetPrincipalId(const char *value)
Definition JobMember.h:92
void SetJobId(const Aws::String &value)
Definition JobMember.h:76
JobMember & WithJobId(const Aws::String &value)
Definition JobMember.h:79
AWS_DEADLINE_API JobMember(Aws::Utils::Json::JsonView jsonValue)
void SetIdentityStoreId(const Aws::String &value)
Definition JobMember.h:116
void SetQueueId(const char *value)
Definition JobMember.h:64
JobMember & WithJobId(const char *value)
Definition JobMember.h:81
JobMember & WithQueueId(const Aws::String &value)
Definition JobMember.h:65
bool MembershipLevelHasBeenSet() const
Definition JobMember.h:129
const Aws::String & GetJobId() const
Definition JobMember.h:74
JobMember & WithFarmId(const char *value)
Definition JobMember.h:53
AWS_DEADLINE_API JobMember & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetIdentityStoreId(Aws::String &&value)
Definition JobMember.h:117
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMembershipLevel(MembershipLevel &&value)
Definition JobMember.h:131
const Aws::String & GetPrincipalId() const
Definition JobMember.h:88
void SetQueueId(const Aws::String &value)
Definition JobMember.h:62
void SetFarmId(const Aws::String &value)
Definition JobMember.h:48
void SetMembershipLevel(const MembershipLevel &value)
Definition JobMember.h:130
JobMember & WithQueueId(const char *value)
Definition JobMember.h:67
void SetFarmId(Aws::String &&value)
Definition JobMember.h:49
const Aws::String & GetIdentityStoreId() const
Definition JobMember.h:114
JobMember & WithJobId(Aws::String &&value)
Definition JobMember.h:80
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue