AWS SDK for C++

AWS SDK for C++ Version 1.11.795

Loading...
Searching...
No Matches
ProjectMembershipAssignment.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/model/Member.h>
9#include <aws/datazone/model/UserDesignation.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace DataZone {
21namespace Model {
22
30 public:
31 AWS_DATAZONE_API ProjectMembershipAssignment() = default;
34 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Member& GetMember() const { return m_member; }
41 inline bool MemberHasBeenSet() const { return m_memberHasBeenSet; }
42 template <typename MemberT = Member>
43 void SetMember(MemberT&& value) {
44 m_memberHasBeenSet = true;
45 m_member = std::forward<MemberT>(value);
46 }
47 template <typename MemberT = Member>
49 SetMember(std::forward<MemberT>(value));
50 return *this;
51 }
53
55
58 inline UserDesignation GetDesignation() const { return m_designation; }
59 inline bool DesignationHasBeenSet() const { return m_designationHasBeenSet; }
60 inline void SetDesignation(UserDesignation value) {
61 m_designationHasBeenSet = true;
62 m_designation = value;
63 }
65 SetDesignation(value);
66 return *this;
67 }
69 private:
70 Member m_member;
71
73 bool m_memberHasBeenSet = false;
74 bool m_designationHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace DataZone
79} // namespace Aws
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
ProjectMembershipAssignment & WithMember(MemberT &&value)
AWS_DATAZONE_API ProjectMembershipAssignment & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAZONE_API ProjectMembershipAssignment()=default
ProjectMembershipAssignment & WithDesignation(UserDesignation value)
AWS_DATAZONE_API ProjectMembershipAssignment(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue