AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateProjectMembershipRequest.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/DataZoneRequest.h>
9#include <aws/datazone/model/UserDesignation.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/datazone/model/Member.h>
12#include <utility>
13
14namespace Aws
15{
16namespace DataZone
17{
18namespace Model
19{
20
24 {
25 public:
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "CreateProjectMembership"; }
33
34 AWS_DATAZONE_API Aws::String SerializePayload() const override;
35
36
38
41 inline const UserDesignation& GetDesignation() const{ return m_designation; }
42 inline bool DesignationHasBeenSet() const { return m_designationHasBeenSet; }
43 inline void SetDesignation(const UserDesignation& value) { m_designationHasBeenSet = true; m_designation = value; }
44 inline void SetDesignation(UserDesignation&& value) { m_designationHasBeenSet = true; m_designation = std::move(value); }
46 inline CreateProjectMembershipRequest& WithDesignation(UserDesignation&& value) { SetDesignation(std::move(value)); return *this;}
48
50
54 inline const Aws::String& GetDomainIdentifier() const{ return m_domainIdentifier; }
55 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
56 inline void SetDomainIdentifier(const Aws::String& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = value; }
57 inline void SetDomainIdentifier(Aws::String&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::move(value); }
58 inline void SetDomainIdentifier(const char* value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier.assign(value); }
60 inline CreateProjectMembershipRequest& WithDomainIdentifier(Aws::String&& value) { SetDomainIdentifier(std::move(value)); return *this;}
61 inline CreateProjectMembershipRequest& WithDomainIdentifier(const char* value) { SetDomainIdentifier(value); return *this;}
63
65
68 inline const Member& GetMember() const{ return m_member; }
69 inline bool MemberHasBeenSet() const { return m_memberHasBeenSet; }
70 inline void SetMember(const Member& value) { m_memberHasBeenSet = true; m_member = value; }
71 inline void SetMember(Member&& value) { m_memberHasBeenSet = true; m_member = std::move(value); }
72 inline CreateProjectMembershipRequest& WithMember(const Member& value) { SetMember(value); return *this;}
73 inline CreateProjectMembershipRequest& WithMember(Member&& value) { SetMember(std::move(value)); return *this;}
75
77
80 inline const Aws::String& GetProjectIdentifier() const{ return m_projectIdentifier; }
81 inline bool ProjectIdentifierHasBeenSet() const { return m_projectIdentifierHasBeenSet; }
82 inline void SetProjectIdentifier(const Aws::String& value) { m_projectIdentifierHasBeenSet = true; m_projectIdentifier = value; }
83 inline void SetProjectIdentifier(Aws::String&& value) { m_projectIdentifierHasBeenSet = true; m_projectIdentifier = std::move(value); }
84 inline void SetProjectIdentifier(const char* value) { m_projectIdentifierHasBeenSet = true; m_projectIdentifier.assign(value); }
86 inline CreateProjectMembershipRequest& WithProjectIdentifier(Aws::String&& value) { SetProjectIdentifier(std::move(value)); return *this;}
87 inline CreateProjectMembershipRequest& WithProjectIdentifier(const char* value) { SetProjectIdentifier(value); return *this;}
89 private:
90
91 UserDesignation m_designation;
92 bool m_designationHasBeenSet = false;
93
94 Aws::String m_domainIdentifier;
95 bool m_domainIdentifierHasBeenSet = false;
96
97 Member m_member;
98 bool m_memberHasBeenSet = false;
99
100 Aws::String m_projectIdentifier;
101 bool m_projectIdentifierHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace DataZone
106} // namespace Aws
CreateProjectMembershipRequest & WithProjectIdentifier(const char *value)
CreateProjectMembershipRequest & WithProjectIdentifier(Aws::String &&value)
CreateProjectMembershipRequest & WithDesignation(UserDesignation &&value)
CreateProjectMembershipRequest & WithDomainIdentifier(const Aws::String &value)
CreateProjectMembershipRequest & WithProjectIdentifier(const Aws::String &value)
CreateProjectMembershipRequest & WithDomainIdentifier(Aws::String &&value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
CreateProjectMembershipRequest & WithDesignation(const UserDesignation &value)
CreateProjectMembershipRequest & WithDomainIdentifier(const char *value)
CreateProjectMembershipRequest & WithMember(const Member &value)
CreateProjectMembershipRequest & WithMember(Member &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String