AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MemberDetails.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/model/GroupDetails.h>
9#include <aws/datazone/model/UserDetails.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 DataZone
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_DATAZONE_API MemberDetails();
36 AWS_DATAZONE_API MemberDetails(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const GroupDetails& GetGroup() const{ return m_group; }
46 inline bool GroupHasBeenSet() const { return m_groupHasBeenSet; }
47 inline void SetGroup(const GroupDetails& value) { m_groupHasBeenSet = true; m_group = value; }
48 inline void SetGroup(GroupDetails&& value) { m_groupHasBeenSet = true; m_group = std::move(value); }
49 inline MemberDetails& WithGroup(const GroupDetails& value) { SetGroup(value); return *this;}
50 inline MemberDetails& WithGroup(GroupDetails&& value) { SetGroup(std::move(value)); return *this;}
52
54
57 inline const UserDetails& GetUser() const{ return m_user; }
58 inline bool UserHasBeenSet() const { return m_userHasBeenSet; }
59 inline void SetUser(const UserDetails& value) { m_userHasBeenSet = true; m_user = value; }
60 inline void SetUser(UserDetails&& value) { m_userHasBeenSet = true; m_user = std::move(value); }
61 inline MemberDetails& WithUser(const UserDetails& value) { SetUser(value); return *this;}
62 inline MemberDetails& WithUser(UserDetails&& value) { SetUser(std::move(value)); return *this;}
64 private:
65
66 GroupDetails m_group;
67 bool m_groupHasBeenSet = false;
68
69 UserDetails m_user;
70 bool m_userHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace DataZone
75} // namespace Aws
void SetUser(const UserDetails &value)
MemberDetails & WithGroup(GroupDetails &&value)
MemberDetails & WithGroup(const GroupDetails &value)
MemberDetails & WithUser(const UserDetails &value)
const GroupDetails & GetGroup() const
void SetUser(UserDetails &&value)
AWS_DATAZONE_API MemberDetails(Aws::Utils::Json::JsonView jsonValue)
void SetGroup(GroupDetails &&value)
void SetGroup(const GroupDetails &value)
AWS_DATAZONE_API MemberDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
const UserDetails & GetUser() const
MemberDetails & WithUser(UserDetails &&value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue