AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GroupMembershipExistenceResult.h
1
6#pragma once
7#include <aws/identitystore/IdentityStore_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/identitystore/model/MemberId.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace IdentityStore
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_IDENTITYSTORE_API GroupMembershipExistenceResult();
39 AWS_IDENTITYSTORE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetGroupId() const{ return m_groupId; }
47 inline bool GroupIdHasBeenSet() const { return m_groupIdHasBeenSet; }
48 inline void SetGroupId(const Aws::String& value) { m_groupIdHasBeenSet = true; m_groupId = value; }
49 inline void SetGroupId(Aws::String&& value) { m_groupIdHasBeenSet = true; m_groupId = std::move(value); }
50 inline void SetGroupId(const char* value) { m_groupIdHasBeenSet = true; m_groupId.assign(value); }
51 inline GroupMembershipExistenceResult& WithGroupId(const Aws::String& value) { SetGroupId(value); return *this;}
52 inline GroupMembershipExistenceResult& WithGroupId(Aws::String&& value) { SetGroupId(std::move(value)); return *this;}
53 inline GroupMembershipExistenceResult& WithGroupId(const char* value) { SetGroupId(value); return *this;}
55
57
62 inline const MemberId& GetMemberId() const{ return m_memberId; }
63 inline bool MemberIdHasBeenSet() const { return m_memberIdHasBeenSet; }
64 inline void SetMemberId(const MemberId& value) { m_memberIdHasBeenSet = true; m_memberId = value; }
65 inline void SetMemberId(MemberId&& value) { m_memberIdHasBeenSet = true; m_memberId = std::move(value); }
66 inline GroupMembershipExistenceResult& WithMemberId(const MemberId& value) { SetMemberId(value); return *this;}
67 inline GroupMembershipExistenceResult& WithMemberId(MemberId&& value) { SetMemberId(std::move(value)); return *this;}
69
71
74 inline bool GetMembershipExists() const{ return m_membershipExists; }
75 inline bool MembershipExistsHasBeenSet() const { return m_membershipExistsHasBeenSet; }
76 inline void SetMembershipExists(bool value) { m_membershipExistsHasBeenSet = true; m_membershipExists = value; }
77 inline GroupMembershipExistenceResult& WithMembershipExists(bool value) { SetMembershipExists(value); return *this;}
79 private:
80
81 Aws::String m_groupId;
82 bool m_groupIdHasBeenSet = false;
83
84 MemberId m_memberId;
85 bool m_memberIdHasBeenSet = false;
86
87 bool m_membershipExists;
88 bool m_membershipExistsHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace IdentityStore
93} // namespace Aws
GroupMembershipExistenceResult & WithGroupId(const char *value)
GroupMembershipExistenceResult & WithGroupId(Aws::String &&value)
GroupMembershipExistenceResult & WithMembershipExists(bool value)
GroupMembershipExistenceResult & WithGroupId(const Aws::String &value)
GroupMembershipExistenceResult & WithMemberId(MemberId &&value)
AWS_IDENTITYSTORE_API GroupMembershipExistenceResult(Aws::Utils::Json::JsonView jsonValue)
AWS_IDENTITYSTORE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IDENTITYSTORE_API GroupMembershipExistenceResult & operator=(Aws::Utils::Json::JsonView jsonValue)
GroupMembershipExistenceResult & WithMemberId(const MemberId &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue