AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DeleteProjectMembershipRequest.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/DataZoneRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/datazone/model/Member.h>
11#include <utility>
12
13namespace Aws
14{
15namespace DataZone
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_DATAZONE_API DeleteProjectMembershipRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "DeleteProjectMembership"; }
32
33 AWS_DATAZONE_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
41 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
42 template<typename DomainIdentifierT = Aws::String>
43 void SetDomainIdentifier(DomainIdentifierT&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::forward<DomainIdentifierT>(value); }
44 template<typename DomainIdentifierT = Aws::String>
45 DeleteProjectMembershipRequest& WithDomainIdentifier(DomainIdentifierT&& value) { SetDomainIdentifier(std::forward<DomainIdentifierT>(value)); return *this;}
47
49
52 inline const Member& GetMember() const { return m_member; }
53 inline bool MemberHasBeenSet() const { return m_memberHasBeenSet; }
54 template<typename MemberT = Member>
55 void SetMember(MemberT&& value) { m_memberHasBeenSet = true; m_member = std::forward<MemberT>(value); }
56 template<typename MemberT = Member>
57 DeleteProjectMembershipRequest& WithMember(MemberT&& value) { SetMember(std::forward<MemberT>(value)); return *this;}
59
61
64 inline const Aws::String& GetProjectIdentifier() const { return m_projectIdentifier; }
65 inline bool ProjectIdentifierHasBeenSet() const { return m_projectIdentifierHasBeenSet; }
66 template<typename ProjectIdentifierT = Aws::String>
67 void SetProjectIdentifier(ProjectIdentifierT&& value) { m_projectIdentifierHasBeenSet = true; m_projectIdentifier = std::forward<ProjectIdentifierT>(value); }
68 template<typename ProjectIdentifierT = Aws::String>
69 DeleteProjectMembershipRequest& WithProjectIdentifier(ProjectIdentifierT&& value) { SetProjectIdentifier(std::forward<ProjectIdentifierT>(value)); return *this;}
71 private:
72
73 Aws::String m_domainIdentifier;
74 bool m_domainIdentifierHasBeenSet = false;
75
76 Member m_member;
77 bool m_memberHasBeenSet = false;
78
79 Aws::String m_projectIdentifier;
80 bool m_projectIdentifierHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace DataZone
85} // 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