AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
QueueMember.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 QueueMember();
37 AWS_DEADLINE_API QueueMember(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DEADLINE_API QueueMember& 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 QueueMember& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;}
52 inline QueueMember& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;}
53 inline QueueMember& 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 QueueMember& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;}
66 inline QueueMember& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;}
67 inline QueueMember& WithQueueId(const char* value) { SetQueueId(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 QueueMember& WithPrincipalId(const Aws::String& value) { SetPrincipalId(value); return *this;}
80 inline QueueMember& WithPrincipalId(Aws::String&& value) { SetPrincipalId(std::move(value)); return *this;}
81 inline QueueMember& 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 QueueMember& WithPrincipalType(const PrincipalType& value) { SetPrincipalType(value); return *this;}
93 inline QueueMember& 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 QueueMember& WithIdentityStoreId(const Aws::String& value) { SetIdentityStoreId(value); return *this;}
106 inline QueueMember& WithIdentityStoreId(Aws::String&& value) { SetIdentityStoreId(std::move(value)); return *this;}
107 inline QueueMember& 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 QueueMember& WithMembershipLevel(const MembershipLevel& value) { SetMembershipLevel(value); return *this;}
119 inline QueueMember& 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_queueId;
127 bool m_queueIdHasBeenSet = 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
void SetIdentityStoreId(Aws::String &&value)
QueueMember & WithPrincipalId(Aws::String &&value)
Definition QueueMember.h:80
QueueMember & WithQueueId(const char *value)
Definition QueueMember.h:67
AWS_DEADLINE_API QueueMember(Aws::Utils::Json::JsonView jsonValue)
void SetFarmId(const char *value)
Definition QueueMember.h:50
QueueMember & WithIdentityStoreId(Aws::String &&value)
void SetPrincipalId(const Aws::String &value)
Definition QueueMember.h:76
QueueMember & WithFarmId(Aws::String &&value)
Definition QueueMember.h:52
QueueMember & WithPrincipalType(PrincipalType &&value)
Definition QueueMember.h:93
const Aws::String & GetFarmId() const
Definition QueueMember.h:46
QueueMember & WithIdentityStoreId(const char *value)
const Aws::String & GetPrincipalId() const
Definition QueueMember.h:74
void SetMembershipLevel(MembershipLevel &&value)
void SetPrincipalType(PrincipalType &&value)
Definition QueueMember.h:91
void SetFarmId(Aws::String &&value)
Definition QueueMember.h:49
void SetFarmId(const Aws::String &value)
Definition QueueMember.h:48
const PrincipalType & GetPrincipalType() const
Definition QueueMember.h:88
void SetQueueId(const Aws::String &value)
Definition QueueMember.h:62
void SetIdentityStoreId(const char *value)
AWS_DEADLINE_API QueueMember & operator=(Aws::Utils::Json::JsonView jsonValue)
QueueMember & WithMembershipLevel(MembershipLevel &&value)
void SetPrincipalId(Aws::String &&value)
Definition QueueMember.h:77
QueueMember & WithPrincipalId(const Aws::String &value)
Definition QueueMember.h:79
void SetIdentityStoreId(const Aws::String &value)
const Aws::String & GetQueueId() const
Definition QueueMember.h:60
const Aws::String & GetIdentityStoreId() const
void SetMembershipLevel(const MembershipLevel &value)
void SetQueueId(Aws::String &&value)
Definition QueueMember.h:63
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
QueueMember & WithFarmId(const char *value)
Definition QueueMember.h:53
QueueMember & WithPrincipalType(const PrincipalType &value)
Definition QueueMember.h:92
const MembershipLevel & GetMembershipLevel() const
void SetPrincipalId(const char *value)
Definition QueueMember.h:78
QueueMember & WithMembershipLevel(const MembershipLevel &value)
QueueMember & WithQueueId(Aws::String &&value)
Definition QueueMember.h:66
void SetQueueId(const char *value)
Definition QueueMember.h:64
QueueMember & WithPrincipalId(const char *value)
Definition QueueMember.h:81
void SetPrincipalType(const PrincipalType &value)
Definition QueueMember.h:90
QueueMember & WithFarmId(const Aws::String &value)
Definition QueueMember.h:51
QueueMember & WithIdentityStoreId(const Aws::String &value)
QueueMember & WithQueueId(const Aws::String &value)
Definition QueueMember.h:65
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue