AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteFolderMembershipRequest.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/QuickSightRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/quicksight/model/MemberType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace QuickSight
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_QUICKSIGHT_API DeleteFolderMembershipRequest();
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 "DeleteFolderMembership"; }
32
33 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
41 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
42 inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
43 inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
44 inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
45 inline DeleteFolderMembershipRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
46 inline DeleteFolderMembershipRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
47 inline DeleteFolderMembershipRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
49
51
54 inline const Aws::String& GetFolderId() const{ return m_folderId; }
55 inline bool FolderIdHasBeenSet() const { return m_folderIdHasBeenSet; }
56 inline void SetFolderId(const Aws::String& value) { m_folderIdHasBeenSet = true; m_folderId = value; }
57 inline void SetFolderId(Aws::String&& value) { m_folderIdHasBeenSet = true; m_folderId = std::move(value); }
58 inline void SetFolderId(const char* value) { m_folderIdHasBeenSet = true; m_folderId.assign(value); }
59 inline DeleteFolderMembershipRequest& WithFolderId(const Aws::String& value) { SetFolderId(value); return *this;}
60 inline DeleteFolderMembershipRequest& WithFolderId(Aws::String&& value) { SetFolderId(std::move(value)); return *this;}
61 inline DeleteFolderMembershipRequest& WithFolderId(const char* value) { SetFolderId(value); return *this;}
63
65
68 inline const Aws::String& GetMemberId() const{ return m_memberId; }
69 inline bool MemberIdHasBeenSet() const { return m_memberIdHasBeenSet; }
70 inline void SetMemberId(const Aws::String& value) { m_memberIdHasBeenSet = true; m_memberId = value; }
71 inline void SetMemberId(Aws::String&& value) { m_memberIdHasBeenSet = true; m_memberId = std::move(value); }
72 inline void SetMemberId(const char* value) { m_memberIdHasBeenSet = true; m_memberId.assign(value); }
73 inline DeleteFolderMembershipRequest& WithMemberId(const Aws::String& value) { SetMemberId(value); return *this;}
74 inline DeleteFolderMembershipRequest& WithMemberId(Aws::String&& value) { SetMemberId(std::move(value)); return *this;}
75 inline DeleteFolderMembershipRequest& WithMemberId(const char* value) { SetMemberId(value); return *this;}
77
79
82 inline const MemberType& GetMemberType() const{ return m_memberType; }
83 inline bool MemberTypeHasBeenSet() const { return m_memberTypeHasBeenSet; }
84 inline void SetMemberType(const MemberType& value) { m_memberTypeHasBeenSet = true; m_memberType = value; }
85 inline void SetMemberType(MemberType&& value) { m_memberTypeHasBeenSet = true; m_memberType = std::move(value); }
86 inline DeleteFolderMembershipRequest& WithMemberType(const MemberType& value) { SetMemberType(value); return *this;}
87 inline DeleteFolderMembershipRequest& WithMemberType(MemberType&& value) { SetMemberType(std::move(value)); return *this;}
89 private:
90
91 Aws::String m_awsAccountId;
92 bool m_awsAccountIdHasBeenSet = false;
93
94 Aws::String m_folderId;
95 bool m_folderIdHasBeenSet = false;
96
97 Aws::String m_memberId;
98 bool m_memberIdHasBeenSet = false;
99
100 MemberType m_memberType;
101 bool m_memberTypeHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace QuickSight
106} // namespace Aws
DeleteFolderMembershipRequest & WithMemberId(Aws::String &&value)
DeleteFolderMembershipRequest & WithAwsAccountId(const char *value)
DeleteFolderMembershipRequest & WithFolderId(const Aws::String &value)
DeleteFolderMembershipRequest & WithAwsAccountId(const Aws::String &value)
DeleteFolderMembershipRequest & WithMemberType(MemberType &&value)
DeleteFolderMembershipRequest & WithAwsAccountId(Aws::String &&value)
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
DeleteFolderMembershipRequest & WithMemberType(const MemberType &value)
DeleteFolderMembershipRequest & WithMemberId(const Aws::String &value)
DeleteFolderMembershipRequest & WithFolderId(const char *value)
DeleteFolderMembershipRequest & WithMemberId(const char *value)
DeleteFolderMembershipRequest & WithFolderId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String