AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PermissionGroupByUser.h
1
6#pragma once
7#include <aws/finspace-data/FinSpaceData_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/finspace-data/model/PermissionGroupMembershipStatus.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 FinSpaceData
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_FINSPACEDATA_API PermissionGroupByUser();
37 AWS_FINSPACEDATA_API PermissionGroupByUser(Aws::Utils::Json::JsonView jsonValue);
39 AWS_FINSPACEDATA_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetPermissionGroupId() const{ return m_permissionGroupId; }
47 inline bool PermissionGroupIdHasBeenSet() const { return m_permissionGroupIdHasBeenSet; }
48 inline void SetPermissionGroupId(const Aws::String& value) { m_permissionGroupIdHasBeenSet = true; m_permissionGroupId = value; }
49 inline void SetPermissionGroupId(Aws::String&& value) { m_permissionGroupIdHasBeenSet = true; m_permissionGroupId = std::move(value); }
50 inline void SetPermissionGroupId(const char* value) { m_permissionGroupIdHasBeenSet = true; m_permissionGroupId.assign(value); }
51 inline PermissionGroupByUser& WithPermissionGroupId(const Aws::String& value) { SetPermissionGroupId(value); return *this;}
52 inline PermissionGroupByUser& WithPermissionGroupId(Aws::String&& value) { SetPermissionGroupId(std::move(value)); return *this;}
53 inline PermissionGroupByUser& WithPermissionGroupId(const char* value) { SetPermissionGroupId(value); return *this;}
55
57
60 inline const Aws::String& GetName() const{ return m_name; }
61 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
62 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
63 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
64 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
65 inline PermissionGroupByUser& WithName(const Aws::String& value) { SetName(value); return *this;}
66 inline PermissionGroupByUser& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
67 inline PermissionGroupByUser& WithName(const char* value) { SetName(value); return *this;}
69
71
79 inline const PermissionGroupMembershipStatus& GetMembershipStatus() const{ return m_membershipStatus; }
80 inline bool MembershipStatusHasBeenSet() const { return m_membershipStatusHasBeenSet; }
81 inline void SetMembershipStatus(const PermissionGroupMembershipStatus& value) { m_membershipStatusHasBeenSet = true; m_membershipStatus = value; }
82 inline void SetMembershipStatus(PermissionGroupMembershipStatus&& value) { m_membershipStatusHasBeenSet = true; m_membershipStatus = std::move(value); }
86 private:
87
88 Aws::String m_permissionGroupId;
89 bool m_permissionGroupIdHasBeenSet = false;
90
91 Aws::String m_name;
92 bool m_nameHasBeenSet = false;
93
94 PermissionGroupMembershipStatus m_membershipStatus;
95 bool m_membershipStatusHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace FinSpaceData
100} // namespace Aws
PermissionGroupByUser & WithPermissionGroupId(Aws::String &&value)
PermissionGroupByUser & WithName(const char *value)
PermissionGroupByUser & WithMembershipStatus(PermissionGroupMembershipStatus &&value)
PermissionGroupByUser & WithName(Aws::String &&value)
PermissionGroupByUser & WithMembershipStatus(const PermissionGroupMembershipStatus &value)
void SetMembershipStatus(PermissionGroupMembershipStatus &&value)
PermissionGroupByUser & WithPermissionGroupId(const char *value)
AWS_FINSPACEDATA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMembershipStatus(const PermissionGroupMembershipStatus &value)
AWS_FINSPACEDATA_API PermissionGroupByUser(Aws::Utils::Json::JsonView jsonValue)
PermissionGroupByUser & WithName(const Aws::String &value)
const PermissionGroupMembershipStatus & GetMembershipStatus() const
PermissionGroupByUser & WithPermissionGroupId(const Aws::String &value)
AWS_FINSPACEDATA_API PermissionGroupByUser & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue