AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetGroupMembershipIdRequest.h
1
6#pragma once
7#include <aws/identitystore/IdentityStore_EXPORTS.h>
8#include <aws/identitystore/IdentityStoreRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/identitystore/model/MemberId.h>
11#include <utility>
12
13namespace Aws
14{
15namespace IdentityStore
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_IDENTITYSTORE_API GetGroupMembershipIdRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "GetGroupMembershipId"; }
32
33 AWS_IDENTITYSTORE_API Aws::String SerializePayload() const override;
34
35 AWS_IDENTITYSTORE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
42 inline const Aws::String& GetIdentityStoreId() const{ return m_identityStoreId; }
43 inline bool IdentityStoreIdHasBeenSet() const { return m_identityStoreIdHasBeenSet; }
44 inline void SetIdentityStoreId(const Aws::String& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = value; }
45 inline void SetIdentityStoreId(Aws::String&& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = std::move(value); }
46 inline void SetIdentityStoreId(const char* value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId.assign(value); }
48 inline GetGroupMembershipIdRequest& WithIdentityStoreId(Aws::String&& value) { SetIdentityStoreId(std::move(value)); return *this;}
49 inline GetGroupMembershipIdRequest& WithIdentityStoreId(const char* value) { SetIdentityStoreId(value); return *this;}
51
53
56 inline const Aws::String& GetGroupId() const{ return m_groupId; }
57 inline bool GroupIdHasBeenSet() const { return m_groupIdHasBeenSet; }
58 inline void SetGroupId(const Aws::String& value) { m_groupIdHasBeenSet = true; m_groupId = value; }
59 inline void SetGroupId(Aws::String&& value) { m_groupIdHasBeenSet = true; m_groupId = std::move(value); }
60 inline void SetGroupId(const char* value) { m_groupIdHasBeenSet = true; m_groupId.assign(value); }
61 inline GetGroupMembershipIdRequest& WithGroupId(const Aws::String& value) { SetGroupId(value); return *this;}
62 inline GetGroupMembershipIdRequest& WithGroupId(Aws::String&& value) { SetGroupId(std::move(value)); return *this;}
63 inline GetGroupMembershipIdRequest& WithGroupId(const char* value) { SetGroupId(value); return *this;}
65
67
72 inline const MemberId& GetMemberId() const{ return m_memberId; }
73 inline bool MemberIdHasBeenSet() const { return m_memberIdHasBeenSet; }
74 inline void SetMemberId(const MemberId& value) { m_memberIdHasBeenSet = true; m_memberId = value; }
75 inline void SetMemberId(MemberId&& value) { m_memberIdHasBeenSet = true; m_memberId = std::move(value); }
76 inline GetGroupMembershipIdRequest& WithMemberId(const MemberId& value) { SetMemberId(value); return *this;}
77 inline GetGroupMembershipIdRequest& WithMemberId(MemberId&& value) { SetMemberId(std::move(value)); return *this;}
79 private:
80
81 Aws::String m_identityStoreId;
82 bool m_identityStoreIdHasBeenSet = false;
83
84 Aws::String m_groupId;
85 bool m_groupIdHasBeenSet = false;
86
87 MemberId m_memberId;
88 bool m_memberIdHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace IdentityStore
93} // namespace Aws
GetGroupMembershipIdRequest & WithIdentityStoreId(const Aws::String &value)
GetGroupMembershipIdRequest & WithIdentityStoreId(Aws::String &&value)
AWS_IDENTITYSTORE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetGroupMembershipIdRequest & WithMemberId(const MemberId &value)
GetGroupMembershipIdRequest & WithIdentityStoreId(const char *value)
GetGroupMembershipIdRequest & WithGroupId(const char *value)
GetGroupMembershipIdRequest & WithGroupId(Aws::String &&value)
GetGroupMembershipIdRequest & WithGroupId(const Aws::String &value)
AWS_IDENTITYSTORE_API Aws::String SerializePayload() const override
GetGroupMembershipIdRequest & WithMemberId(MemberId &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String