AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IsMemberInGroupsRequest.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 <aws/core/utils/memory/stl/AWSVector.h>
12#include <utility>
13
14namespace Aws
15{
16namespace IdentityStore
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_IDENTITYSTORE_API IsMemberInGroupsRequest();
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 "IsMemberInGroups"; }
33
34 AWS_IDENTITYSTORE_API Aws::String SerializePayload() const override;
35
36 AWS_IDENTITYSTORE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37
38
40
43 inline const Aws::String& GetIdentityStoreId() const{ return m_identityStoreId; }
44 inline bool IdentityStoreIdHasBeenSet() const { return m_identityStoreIdHasBeenSet; }
45 inline void SetIdentityStoreId(const Aws::String& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = value; }
46 inline void SetIdentityStoreId(Aws::String&& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = std::move(value); }
47 inline void SetIdentityStoreId(const char* value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId.assign(value); }
48 inline IsMemberInGroupsRequest& WithIdentityStoreId(const Aws::String& value) { SetIdentityStoreId(value); return *this;}
49 inline IsMemberInGroupsRequest& WithIdentityStoreId(Aws::String&& value) { SetIdentityStoreId(std::move(value)); return *this;}
50 inline IsMemberInGroupsRequest& WithIdentityStoreId(const char* value) { SetIdentityStoreId(value); return *this;}
52
54
57 inline const MemberId& GetMemberId() const{ return m_memberId; }
58 inline bool MemberIdHasBeenSet() const { return m_memberIdHasBeenSet; }
59 inline void SetMemberId(const MemberId& value) { m_memberIdHasBeenSet = true; m_memberId = value; }
60 inline void SetMemberId(MemberId&& value) { m_memberIdHasBeenSet = true; m_memberId = std::move(value); }
61 inline IsMemberInGroupsRequest& WithMemberId(const MemberId& value) { SetMemberId(value); return *this;}
62 inline IsMemberInGroupsRequest& WithMemberId(MemberId&& value) { SetMemberId(std::move(value)); return *this;}
64
66
69 inline const Aws::Vector<Aws::String>& GetGroupIds() const{ return m_groupIds; }
70 inline bool GroupIdsHasBeenSet() const { return m_groupIdsHasBeenSet; }
71 inline void SetGroupIds(const Aws::Vector<Aws::String>& value) { m_groupIdsHasBeenSet = true; m_groupIds = value; }
72 inline void SetGroupIds(Aws::Vector<Aws::String>&& value) { m_groupIdsHasBeenSet = true; m_groupIds = std::move(value); }
73 inline IsMemberInGroupsRequest& WithGroupIds(const Aws::Vector<Aws::String>& value) { SetGroupIds(value); return *this;}
74 inline IsMemberInGroupsRequest& WithGroupIds(Aws::Vector<Aws::String>&& value) { SetGroupIds(std::move(value)); return *this;}
75 inline IsMemberInGroupsRequest& AddGroupIds(const Aws::String& value) { m_groupIdsHasBeenSet = true; m_groupIds.push_back(value); return *this; }
76 inline IsMemberInGroupsRequest& AddGroupIds(Aws::String&& value) { m_groupIdsHasBeenSet = true; m_groupIds.push_back(std::move(value)); return *this; }
77 inline IsMemberInGroupsRequest& AddGroupIds(const char* value) { m_groupIdsHasBeenSet = true; m_groupIds.push_back(value); return *this; }
79 private:
80
81 Aws::String m_identityStoreId;
82 bool m_identityStoreIdHasBeenSet = false;
83
84 MemberId m_memberId;
85 bool m_memberIdHasBeenSet = false;
86
87 Aws::Vector<Aws::String> m_groupIds;
88 bool m_groupIdsHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace IdentityStore
93} // namespace Aws
IsMemberInGroupsRequest & AddGroupIds(Aws::String &&value)
IsMemberInGroupsRequest & AddGroupIds(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
IsMemberInGroupsRequest & WithGroupIds(Aws::Vector< Aws::String > &&value)
IsMemberInGroupsRequest & WithIdentityStoreId(const Aws::String &value)
AWS_IDENTITYSTORE_API Aws::String SerializePayload() const override
IsMemberInGroupsRequest & WithGroupIds(const Aws::Vector< Aws::String > &value)
void SetGroupIds(Aws::Vector< Aws::String > &&value)
AWS_IDENTITYSTORE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
IsMemberInGroupsRequest & WithIdentityStoreId(Aws::String &&value)
IsMemberInGroupsRequest & WithIdentityStoreId(const char *value)
IsMemberInGroupsRequest & WithMemberId(const MemberId &value)
IsMemberInGroupsRequest & WithMemberId(MemberId &&value)
const Aws::Vector< Aws::String > & GetGroupIds() const
IsMemberInGroupsRequest & AddGroupIds(const char *value)
void SetGroupIds(const Aws::Vector< Aws::String > &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector