AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AssociateMemberToQueueRequest.h
1
6#pragma once
7#include <aws/deadline/Deadline_EXPORTS.h>
8#include <aws/deadline/DeadlineRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/deadline/model/PrincipalType.h>
11#include <aws/deadline/model/MembershipLevel.h>
12#include <utility>
13
14namespace Aws
15{
16namespace deadline
17{
18namespace Model
19{
20
24 {
25 public:
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "AssociateMemberToQueue"; }
33
34 AWS_DEADLINE_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::String& GetFarmId() const{ return m_farmId; }
42 inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; }
43 inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; }
44 inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); }
45 inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); }
46 inline AssociateMemberToQueueRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;}
47 inline AssociateMemberToQueueRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;}
48 inline AssociateMemberToQueueRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;}
50
52
55 inline const Aws::String& GetQueueId() const{ return m_queueId; }
56 inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; }
57 inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; }
58 inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); }
59 inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); }
60 inline AssociateMemberToQueueRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;}
61 inline AssociateMemberToQueueRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;}
62 inline AssociateMemberToQueueRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;}
64
66
69 inline const Aws::String& GetPrincipalId() const{ return m_principalId; }
70 inline bool PrincipalIdHasBeenSet() const { return m_principalIdHasBeenSet; }
71 inline void SetPrincipalId(const Aws::String& value) { m_principalIdHasBeenSet = true; m_principalId = value; }
72 inline void SetPrincipalId(Aws::String&& value) { m_principalIdHasBeenSet = true; m_principalId = std::move(value); }
73 inline void SetPrincipalId(const char* value) { m_principalIdHasBeenSet = true; m_principalId.assign(value); }
74 inline AssociateMemberToQueueRequest& WithPrincipalId(const Aws::String& value) { SetPrincipalId(value); return *this;}
75 inline AssociateMemberToQueueRequest& WithPrincipalId(Aws::String&& value) { SetPrincipalId(std::move(value)); return *this;}
76 inline AssociateMemberToQueueRequest& WithPrincipalId(const char* value) { SetPrincipalId(value); return *this;}
78
80
83 inline const PrincipalType& GetPrincipalType() const{ return m_principalType; }
84 inline bool PrincipalTypeHasBeenSet() const { return m_principalTypeHasBeenSet; }
85 inline void SetPrincipalType(const PrincipalType& value) { m_principalTypeHasBeenSet = true; m_principalType = value; }
86 inline void SetPrincipalType(PrincipalType&& value) { m_principalTypeHasBeenSet = true; m_principalType = std::move(value); }
88 inline AssociateMemberToQueueRequest& WithPrincipalType(PrincipalType&& value) { SetPrincipalType(std::move(value)); return *this;}
90
92
95 inline const Aws::String& GetIdentityStoreId() const{ return m_identityStoreId; }
96 inline bool IdentityStoreIdHasBeenSet() const { return m_identityStoreIdHasBeenSet; }
97 inline void SetIdentityStoreId(const Aws::String& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = value; }
98 inline void SetIdentityStoreId(Aws::String&& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = std::move(value); }
99 inline void SetIdentityStoreId(const char* value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId.assign(value); }
101 inline AssociateMemberToQueueRequest& WithIdentityStoreId(Aws::String&& value) { SetIdentityStoreId(std::move(value)); return *this;}
102 inline AssociateMemberToQueueRequest& WithIdentityStoreId(const char* value) { SetIdentityStoreId(value); return *this;}
104
106
109 inline const MembershipLevel& GetMembershipLevel() const{ return m_membershipLevel; }
110 inline bool MembershipLevelHasBeenSet() const { return m_membershipLevelHasBeenSet; }
111 inline void SetMembershipLevel(const MembershipLevel& value) { m_membershipLevelHasBeenSet = true; m_membershipLevel = value; }
112 inline void SetMembershipLevel(MembershipLevel&& value) { m_membershipLevelHasBeenSet = true; m_membershipLevel = std::move(value); }
114 inline AssociateMemberToQueueRequest& WithMembershipLevel(MembershipLevel&& value) { SetMembershipLevel(std::move(value)); return *this;}
116 private:
117
118 Aws::String m_farmId;
119 bool m_farmIdHasBeenSet = false;
120
121 Aws::String m_queueId;
122 bool m_queueIdHasBeenSet = false;
123
124 Aws::String m_principalId;
125 bool m_principalIdHasBeenSet = false;
126
127 PrincipalType m_principalType;
128 bool m_principalTypeHasBeenSet = false;
129
130 Aws::String m_identityStoreId;
131 bool m_identityStoreIdHasBeenSet = false;
132
133 MembershipLevel m_membershipLevel;
134 bool m_membershipLevelHasBeenSet = false;
135 };
136
137} // namespace Model
138} // namespace deadline
139} // namespace Aws
AssociateMemberToQueueRequest & WithQueueId(Aws::String &&value)
AssociateMemberToQueueRequest & WithMembershipLevel(MembershipLevel &&value)
AssociateMemberToQueueRequest & WithFarmId(const Aws::String &value)
AssociateMemberToQueueRequest & WithMembershipLevel(const MembershipLevel &value)
AssociateMemberToQueueRequest & WithIdentityStoreId(const char *value)
AssociateMemberToQueueRequest & WithIdentityStoreId(const Aws::String &value)
AssociateMemberToQueueRequest & WithFarmId(Aws::String &&value)
AssociateMemberToQueueRequest & WithPrincipalId(Aws::String &&value)
AssociateMemberToQueueRequest & WithIdentityStoreId(Aws::String &&value)
AssociateMemberToQueueRequest & WithPrincipalType(PrincipalType &&value)
AssociateMemberToQueueRequest & WithPrincipalId(const Aws::String &value)
AssociateMemberToQueueRequest & WithFarmId(const char *value)
AssociateMemberToQueueRequest & WithPrincipalType(const PrincipalType &value)
AssociateMemberToQueueRequest & WithPrincipalId(const char *value)
AssociateMemberToQueueRequest & WithQueueId(const Aws::String &value)
AssociateMemberToQueueRequest & WithQueueId(const char *value)
AWS_DEADLINE_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String