AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetDomainIdentifier(const Aws::String& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = value; }
43 inline void SetDomainIdentifier(Aws::String&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::move(value); }
44 inline void SetDomainIdentifier(const char* value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier.assign(value); }
46 inline DeleteProjectMembershipRequest& WithDomainIdentifier(Aws::String&& value) { SetDomainIdentifier(std::move(value)); return *this;}
47 inline DeleteProjectMembershipRequest& WithDomainIdentifier(const char* value) { SetDomainIdentifier(value); return *this;}
49
51
54 inline const Member& GetMember() const{ return m_member; }
55 inline bool MemberHasBeenSet() const { return m_memberHasBeenSet; }
56 inline void SetMember(const Member& value) { m_memberHasBeenSet = true; m_member = value; }
57 inline void SetMember(Member&& value) { m_memberHasBeenSet = true; m_member = std::move(value); }
58 inline DeleteProjectMembershipRequest& WithMember(const Member& value) { SetMember(value); return *this;}
59 inline DeleteProjectMembershipRequest& WithMember(Member&& value) { SetMember(std::move(value)); return *this;}
61
63
66 inline const Aws::String& GetProjectIdentifier() const{ return m_projectIdentifier; }
67 inline bool ProjectIdentifierHasBeenSet() const { return m_projectIdentifierHasBeenSet; }
68 inline void SetProjectIdentifier(const Aws::String& value) { m_projectIdentifierHasBeenSet = true; m_projectIdentifier = value; }
69 inline void SetProjectIdentifier(Aws::String&& value) { m_projectIdentifierHasBeenSet = true; m_projectIdentifier = std::move(value); }
70 inline void SetProjectIdentifier(const char* value) { m_projectIdentifierHasBeenSet = true; m_projectIdentifier.assign(value); }
72 inline DeleteProjectMembershipRequest& WithProjectIdentifier(Aws::String&& value) { SetProjectIdentifier(std::move(value)); return *this;}
73 inline DeleteProjectMembershipRequest& WithProjectIdentifier(const char* value) { SetProjectIdentifier(value); return *this;}
75 private:
76
77 Aws::String m_domainIdentifier;
78 bool m_domainIdentifierHasBeenSet = false;
79
80 Member m_member;
81 bool m_memberHasBeenSet = false;
82
83 Aws::String m_projectIdentifier;
84 bool m_projectIdentifierHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace DataZone
89} // namespace Aws
DeleteProjectMembershipRequest & WithDomainIdentifier(const Aws::String &value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
DeleteProjectMembershipRequest & WithProjectIdentifier(Aws::String &&value)
DeleteProjectMembershipRequest & WithDomainIdentifier(const char *value)
DeleteProjectMembershipRequest & WithMember(const Member &value)
DeleteProjectMembershipRequest & WithDomainIdentifier(Aws::String &&value)
DeleteProjectMembershipRequest & WithProjectIdentifier(const char *value)
DeleteProjectMembershipRequest & WithProjectIdentifier(const Aws::String &value)
DeleteProjectMembershipRequest & WithMember(Member &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String