AWS SDK for C++  1.9.159
AWS SDK for C++
DeleteFolderMembershipRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace QuickSight
16 {
17 namespace 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 "DeleteFolderMembership"; }
32 
33  Aws::String SerializePayload() const override;
34 
35 
39  inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
40 
44  inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
45 
49  inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
50 
54  inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
55 
59  inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
60 
64  inline DeleteFolderMembershipRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
65 
69  inline DeleteFolderMembershipRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
70 
74  inline DeleteFolderMembershipRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
75 
76 
80  inline const Aws::String& GetFolderId() const{ return m_folderId; }
81 
85  inline bool FolderIdHasBeenSet() const { return m_folderIdHasBeenSet; }
86 
90  inline void SetFolderId(const Aws::String& value) { m_folderIdHasBeenSet = true; m_folderId = value; }
91 
95  inline void SetFolderId(Aws::String&& value) { m_folderIdHasBeenSet = true; m_folderId = std::move(value); }
96 
100  inline void SetFolderId(const char* value) { m_folderIdHasBeenSet = true; m_folderId.assign(value); }
101 
105  inline DeleteFolderMembershipRequest& WithFolderId(const Aws::String& value) { SetFolderId(value); return *this;}
106 
110  inline DeleteFolderMembershipRequest& WithFolderId(Aws::String&& value) { SetFolderId(std::move(value)); return *this;}
111 
115  inline DeleteFolderMembershipRequest& WithFolderId(const char* value) { SetFolderId(value); return *this;}
116 
117 
122  inline const Aws::String& GetMemberId() const{ return m_memberId; }
123 
128  inline bool MemberIdHasBeenSet() const { return m_memberIdHasBeenSet; }
129 
134  inline void SetMemberId(const Aws::String& value) { m_memberIdHasBeenSet = true; m_memberId = value; }
135 
140  inline void SetMemberId(Aws::String&& value) { m_memberIdHasBeenSet = true; m_memberId = std::move(value); }
141 
146  inline void SetMemberId(const char* value) { m_memberIdHasBeenSet = true; m_memberId.assign(value); }
147 
152  inline DeleteFolderMembershipRequest& WithMemberId(const Aws::String& value) { SetMemberId(value); return *this;}
153 
158  inline DeleteFolderMembershipRequest& WithMemberId(Aws::String&& value) { SetMemberId(std::move(value)); return *this;}
159 
164  inline DeleteFolderMembershipRequest& WithMemberId(const char* value) { SetMemberId(value); return *this;}
165 
166 
171  inline const MemberType& GetMemberType() const{ return m_memberType; }
172 
177  inline bool MemberTypeHasBeenSet() const { return m_memberTypeHasBeenSet; }
178 
183  inline void SetMemberType(const MemberType& value) { m_memberTypeHasBeenSet = true; m_memberType = value; }
184 
189  inline void SetMemberType(MemberType&& value) { m_memberTypeHasBeenSet = true; m_memberType = std::move(value); }
190 
195  inline DeleteFolderMembershipRequest& WithMemberType(const MemberType& value) { SetMemberType(value); return *this;}
196 
201  inline DeleteFolderMembershipRequest& WithMemberType(MemberType&& value) { SetMemberType(std::move(value)); return *this;}
202 
203  private:
204 
205  Aws::String m_awsAccountId;
206  bool m_awsAccountIdHasBeenSet;
207 
208  Aws::String m_folderId;
209  bool m_folderIdHasBeenSet;
210 
211  Aws::String m_memberId;
212  bool m_memberIdHasBeenSet;
213 
214  MemberType m_memberType;
215  bool m_memberTypeHasBeenSet;
216  };
217 
218 } // namespace Model
219 } // namespace QuickSight
220 } // namespace Aws
Aws::QuickSight::Model::DeleteFolderMembershipRequest::SetMemberType
void SetMemberType(const MemberType &value)
Definition: DeleteFolderMembershipRequest.h:183
Aws::QuickSight::Model::DeleteFolderMembershipRequest::WithMemberId
DeleteFolderMembershipRequest & WithMemberId(const Aws::String &value)
Definition: DeleteFolderMembershipRequest.h:152
Aws::QuickSight::Model::DeleteFolderMembershipRequest::WithMemberType
DeleteFolderMembershipRequest & WithMemberType(MemberType &&value)
Definition: DeleteFolderMembershipRequest.h:201
QuickSight_EXPORTS.h
Aws::QuickSight::Model::DeleteFolderMembershipRequest::SetMemberType
void SetMemberType(MemberType &&value)
Definition: DeleteFolderMembershipRequest.h:189
Aws::QuickSight::Model::DeleteFolderMembershipRequest::GetFolderId
const Aws::String & GetFolderId() const
Definition: DeleteFolderMembershipRequest.h:80
Aws::QuickSight::Model::DeleteFolderMembershipRequest::SetFolderId
void SetFolderId(const char *value)
Definition: DeleteFolderMembershipRequest.h:100
Aws::QuickSight::Model::DeleteFolderMembershipRequest::GetAwsAccountId
const Aws::String & GetAwsAccountId() const
Definition: DeleteFolderMembershipRequest.h:39
Aws::QuickSight::Model::MemberType
MemberType
Definition: MemberType.h:17
Aws::QuickSight::Model::DeleteFolderMembershipRequest::AwsAccountIdHasBeenSet
bool AwsAccountIdHasBeenSet() const
Definition: DeleteFolderMembershipRequest.h:44
Aws::QuickSight::Model::DeleteFolderMembershipRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::QuickSight::Model::DeleteFolderMembershipRequest::GetMemberType
const MemberType & GetMemberType() const
Definition: DeleteFolderMembershipRequest.h:171
Aws::QuickSight::Model::DeleteFolderMembershipRequest::WithAwsAccountId
DeleteFolderMembershipRequest & WithAwsAccountId(Aws::String &&value)
Definition: DeleteFolderMembershipRequest.h:69
Aws::QuickSight::Model::DeleteFolderMembershipRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteFolderMembershipRequest.h:31
Aws::QuickSight::Model::DeleteFolderMembershipRequest::SetMemberId
void SetMemberId(const Aws::String &value)
Definition: DeleteFolderMembershipRequest.h:134
Aws::QuickSight::Model::DeleteFolderMembershipRequest::SetMemberId
void SetMemberId(Aws::String &&value)
Definition: DeleteFolderMembershipRequest.h:140
Aws::QuickSight::Model::DeleteFolderMembershipRequest::SetAwsAccountId
void SetAwsAccountId(const char *value)
Definition: DeleteFolderMembershipRequest.h:59
Aws::QuickSight::Model::DeleteFolderMembershipRequest::SetMemberId
void SetMemberId(const char *value)
Definition: DeleteFolderMembershipRequest.h:146
Aws::QuickSight::Model::DeleteFolderMembershipRequest::WithFolderId
DeleteFolderMembershipRequest & WithFolderId(const Aws::String &value)
Definition: DeleteFolderMembershipRequest.h:105
Aws::QuickSight::Model::DeleteFolderMembershipRequest::SetAwsAccountId
void SetAwsAccountId(const Aws::String &value)
Definition: DeleteFolderMembershipRequest.h:49
Aws::QuickSight::Model::DeleteFolderMembershipRequest::MemberIdHasBeenSet
bool MemberIdHasBeenSet() const
Definition: DeleteFolderMembershipRequest.h:128
Aws::QuickSight::Model::DeleteFolderMembershipRequest::WithAwsAccountId
DeleteFolderMembershipRequest & WithAwsAccountId(const char *value)
Definition: DeleteFolderMembershipRequest.h:74
QuickSightRequest.h
Aws::QuickSight::Model::DeleteFolderMembershipRequest::MemberTypeHasBeenSet
bool MemberTypeHasBeenSet() const
Definition: DeleteFolderMembershipRequest.h:177
Aws::QuickSight::Model::DeleteFolderMembershipRequest::SetFolderId
void SetFolderId(const Aws::String &value)
Definition: DeleteFolderMembershipRequest.h:90
Aws::QuickSight::Model::DeleteFolderMembershipRequest::DeleteFolderMembershipRequest
DeleteFolderMembershipRequest()
AWSString.h
Aws::QuickSight::Model::DeleteFolderMembershipRequest::WithMemberId
DeleteFolderMembershipRequest & WithMemberId(const char *value)
Definition: DeleteFolderMembershipRequest.h:164
Aws::QuickSight::Model::DeleteFolderMembershipRequest::GetMemberId
const Aws::String & GetMemberId() const
Definition: DeleteFolderMembershipRequest.h:122
Aws::QuickSight::Model::DeleteFolderMembershipRequest::WithMemberType
DeleteFolderMembershipRequest & WithMemberType(const MemberType &value)
Definition: DeleteFolderMembershipRequest.h:195
Aws::QuickSight::Model::DeleteFolderMembershipRequest::SetFolderId
void SetFolderId(Aws::String &&value)
Definition: DeleteFolderMembershipRequest.h:95
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::QuickSight::Model::DeleteFolderMembershipRequest::WithFolderId
DeleteFolderMembershipRequest & WithFolderId(Aws::String &&value)
Definition: DeleteFolderMembershipRequest.h:110
Aws::QuickSight::Model::DeleteFolderMembershipRequest::WithAwsAccountId
DeleteFolderMembershipRequest & WithAwsAccountId(const Aws::String &value)
Definition: DeleteFolderMembershipRequest.h:64
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::DeleteFolderMembershipRequest
Definition: DeleteFolderMembershipRequest.h:23
Aws::QuickSight::Model::DeleteFolderMembershipRequest::SetAwsAccountId
void SetAwsAccountId(Aws::String &&value)
Definition: DeleteFolderMembershipRequest.h:54
MemberType.h
Aws::QuickSight::Model::DeleteFolderMembershipRequest::WithFolderId
DeleteFolderMembershipRequest & WithFolderId(const char *value)
Definition: DeleteFolderMembershipRequest.h:115
Aws::QuickSight::QuickSightRequest
Definition: QuickSightRequest.h:17
Aws::QuickSight::Model::DeleteFolderMembershipRequest::FolderIdHasBeenSet
bool FolderIdHasBeenSet() const
Definition: DeleteFolderMembershipRequest.h:85
Aws::QuickSight::Model::DeleteFolderMembershipRequest::WithMemberId
DeleteFolderMembershipRequest & WithMemberId(Aws::String &&value)
Definition: DeleteFolderMembershipRequest.h:158