AWS SDK for C++

AWS SDK for C++ Version 1.11.916

Loading...
Searching...
No Matches
ProjectMembershipAssignment.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/datazone/DataZone_EXPORTS.h>
9#include <aws/datazone/model/Member.h>
10#include <aws/datazone/model/UserDesignation.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace DataZone {
22namespace Model {
23
31 public:
32 AWS_DATAZONE_API ProjectMembershipAssignment() = default;
35 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Member& GetMember() const { return m_member; }
42 inline bool MemberHasBeenSet() const { return m_memberHasBeenSet; }
43 template <typename MemberT = Member>
44 void SetMember(MemberT&& value) {
45 m_memberHasBeenSet = true;
46 m_member = std::forward<MemberT>(value);
47 }
48 template <typename MemberT = Member>
50 SetMember(std::forward<MemberT>(value));
51 return *this;
52 }
54
56
59 inline UserDesignation GetDesignation() const { return m_designation; }
60 inline bool DesignationHasBeenSet() const { return m_designationHasBeenSet; }
61 inline void SetDesignation(UserDesignation value) {
62 m_designationHasBeenSet = true;
63 m_designation = value;
64 }
66 SetDesignation(value);
67 return *this;
68 }
70
72
77 inline const Aws::String& GetUserCreatedDesignationId() const { return m_userCreatedDesignationId; }
78 inline bool UserCreatedDesignationIdHasBeenSet() const { return m_userCreatedDesignationIdHasBeenSet; }
79 template <typename UserCreatedDesignationIdT = Aws::String>
80 void SetUserCreatedDesignationId(UserCreatedDesignationIdT&& value) {
81 m_userCreatedDesignationIdHasBeenSet = true;
82 m_userCreatedDesignationId = std::forward<UserCreatedDesignationIdT>(value);
83 }
84 template <typename UserCreatedDesignationIdT = Aws::String>
85 ProjectMembershipAssignment& WithUserCreatedDesignationId(UserCreatedDesignationIdT&& value) {
86 SetUserCreatedDesignationId(std::forward<UserCreatedDesignationIdT>(value));
87 return *this;
88 }
90 private:
91 Member m_member;
92
94
95 Aws::String m_userCreatedDesignationId;
96 bool m_memberHasBeenSet = false;
97 bool m_designationHasBeenSet = false;
98 bool m_userCreatedDesignationIdHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace DataZone
103} // namespace Aws
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
ProjectMembershipAssignment & WithMember(MemberT &&value)
void SetUserCreatedDesignationId(UserCreatedDesignationIdT &&value)
AWS_DATAZONE_API ProjectMembershipAssignment & operator=(Aws::Utils::Json::JsonView jsonValue)
ProjectMembershipAssignment & WithUserCreatedDesignationId(UserCreatedDesignationIdT &&value)
AWS_DATAZONE_API ProjectMembershipAssignment()=default
ProjectMembershipAssignment & WithDesignation(UserDesignation value)
AWS_DATAZONE_API ProjectMembershipAssignment(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue