AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
DeleteProjectMembershipRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/datazone/DataZoneRequest.h>
9#include <aws/datazone/DataZone_EXPORTS.h>
10#include <aws/datazone/model/Member.h>
11
12#include <utility>
13
14namespace Aws {
15namespace DataZone {
16namespace Model {
17
21 public:
22 AWS_DATAZONE_API DeleteProjectMembershipRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "DeleteProjectMembership"; }
29
30 AWS_DATAZONE_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
37 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
38 template <typename DomainIdentifierT = Aws::String>
39 void SetDomainIdentifier(DomainIdentifierT&& value) {
40 m_domainIdentifierHasBeenSet = true;
41 m_domainIdentifier = std::forward<DomainIdentifierT>(value);
42 }
43 template <typename DomainIdentifierT = Aws::String>
45 SetDomainIdentifier(std::forward<DomainIdentifierT>(value));
46 return *this;
47 }
49
51
54 inline const Member& GetMember() const { return m_member; }
55 inline bool MemberHasBeenSet() const { return m_memberHasBeenSet; }
56 template <typename MemberT = Member>
57 void SetMember(MemberT&& value) {
58 m_memberHasBeenSet = true;
59 m_member = std::forward<MemberT>(value);
60 }
61 template <typename MemberT = Member>
63 SetMember(std::forward<MemberT>(value));
64 return *this;
65 }
67
69
72 inline const Aws::String& GetProjectIdentifier() const { return m_projectIdentifier; }
73 inline bool ProjectIdentifierHasBeenSet() const { return m_projectIdentifierHasBeenSet; }
74 template <typename ProjectIdentifierT = Aws::String>
75 void SetProjectIdentifier(ProjectIdentifierT&& value) {
76 m_projectIdentifierHasBeenSet = true;
77 m_projectIdentifier = std::forward<ProjectIdentifierT>(value);
78 }
79 template <typename ProjectIdentifierT = Aws::String>
81 SetProjectIdentifier(std::forward<ProjectIdentifierT>(value));
82 return *this;
83 }
85 private:
86 Aws::String m_domainIdentifier;
87 bool m_domainIdentifierHasBeenSet = false;
88
89 Member m_member;
90 bool m_memberHasBeenSet = false;
91
92 Aws::String m_projectIdentifier;
93 bool m_projectIdentifierHasBeenSet = false;
94};
95
96} // namespace Model
97} // namespace DataZone
98} // namespace Aws
DeleteProjectMembershipRequest & WithDomainIdentifier(DomainIdentifierT &&value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
DeleteProjectMembershipRequest & WithMember(MemberT &&value)
AWS_DATAZONE_API DeleteProjectMembershipRequest()=default
DeleteProjectMembershipRequest & WithProjectIdentifier(ProjectIdentifierT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String