AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ProjectMember.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/model/UserDesignation.h>
9#include <aws/datazone/model/MemberDetails.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 ProjectMember();
36 AWS_DATAZONE_API ProjectMember(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const UserDesignation& GetDesignation() const{ return m_designation; }
46 inline bool DesignationHasBeenSet() const { return m_designationHasBeenSet; }
47 inline void SetDesignation(const UserDesignation& value) { m_designationHasBeenSet = true; m_designation = value; }
48 inline void SetDesignation(UserDesignation&& value) { m_designationHasBeenSet = true; m_designation = std::move(value); }
49 inline ProjectMember& WithDesignation(const UserDesignation& value) { SetDesignation(value); return *this;}
50 inline ProjectMember& WithDesignation(UserDesignation&& value) { SetDesignation(std::move(value)); return *this;}
52
54
57 inline const MemberDetails& GetMemberDetails() const{ return m_memberDetails; }
58 inline bool MemberDetailsHasBeenSet() const { return m_memberDetailsHasBeenSet; }
59 inline void SetMemberDetails(const MemberDetails& value) { m_memberDetailsHasBeenSet = true; m_memberDetails = value; }
60 inline void SetMemberDetails(MemberDetails&& value) { m_memberDetailsHasBeenSet = true; m_memberDetails = std::move(value); }
61 inline ProjectMember& WithMemberDetails(const MemberDetails& value) { SetMemberDetails(value); return *this;}
62 inline ProjectMember& WithMemberDetails(MemberDetails&& value) { SetMemberDetails(std::move(value)); return *this;}
64 private:
65
66 UserDesignation m_designation;
67 bool m_designationHasBeenSet = false;
68
69 MemberDetails m_memberDetails;
70 bool m_memberDetailsHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace DataZone
75} // namespace Aws
void SetMemberDetails(MemberDetails &&value)
void SetDesignation(UserDesignation &&value)
ProjectMember & WithDesignation(const UserDesignation &value)
ProjectMember & WithMemberDetails(MemberDetails &&value)
AWS_DATAZONE_API ProjectMember & operator=(Aws::Utils::Json::JsonView jsonValue)
ProjectMember & WithDesignation(UserDesignation &&value)
const MemberDetails & GetMemberDetails() const
void SetMemberDetails(const MemberDetails &value)
const UserDesignation & GetDesignation() const
AWS_DATAZONE_API ProjectMember(Aws::Utils::Json::JsonView jsonValue)
void SetDesignation(const UserDesignation &value)
ProjectMember & WithMemberDetails(const MemberDetails &value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue