AWS SDK for C++  1.9.159
AWS SDK for C++
CreateFolderMembershipRequest.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 "CreateFolderMembership"; }
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 CreateFolderMembershipRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
65 
69  inline CreateFolderMembershipRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
70 
74  inline CreateFolderMembershipRequest& 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 CreateFolderMembershipRequest& WithFolderId(const Aws::String& value) { SetFolderId(value); return *this;}
106 
110  inline CreateFolderMembershipRequest& WithFolderId(Aws::String&& value) { SetFolderId(std::move(value)); return *this;}
111 
115  inline CreateFolderMembershipRequest& WithFolderId(const char* value) { SetFolderId(value); return *this;}
116 
117 
121  inline const Aws::String& GetMemberId() const{ return m_memberId; }
122 
126  inline bool MemberIdHasBeenSet() const { return m_memberIdHasBeenSet; }
127 
131  inline void SetMemberId(const Aws::String& value) { m_memberIdHasBeenSet = true; m_memberId = value; }
132 
136  inline void SetMemberId(Aws::String&& value) { m_memberIdHasBeenSet = true; m_memberId = std::move(value); }
137 
141  inline void SetMemberId(const char* value) { m_memberIdHasBeenSet = true; m_memberId.assign(value); }
142 
146  inline CreateFolderMembershipRequest& WithMemberId(const Aws::String& value) { SetMemberId(value); return *this;}
147 
151  inline CreateFolderMembershipRequest& WithMemberId(Aws::String&& value) { SetMemberId(std::move(value)); return *this;}
152 
156  inline CreateFolderMembershipRequest& WithMemberId(const char* value) { SetMemberId(value); return *this;}
157 
158 
163  inline const MemberType& GetMemberType() const{ return m_memberType; }
164 
169  inline bool MemberTypeHasBeenSet() const { return m_memberTypeHasBeenSet; }
170 
175  inline void SetMemberType(const MemberType& value) { m_memberTypeHasBeenSet = true; m_memberType = value; }
176 
181  inline void SetMemberType(MemberType&& value) { m_memberTypeHasBeenSet = true; m_memberType = std::move(value); }
182 
187  inline CreateFolderMembershipRequest& WithMemberType(const MemberType& value) { SetMemberType(value); return *this;}
188 
193  inline CreateFolderMembershipRequest& WithMemberType(MemberType&& value) { SetMemberType(std::move(value)); return *this;}
194 
195  private:
196 
197  Aws::String m_awsAccountId;
198  bool m_awsAccountIdHasBeenSet;
199 
200  Aws::String m_folderId;
201  bool m_folderIdHasBeenSet;
202 
203  Aws::String m_memberId;
204  bool m_memberIdHasBeenSet;
205 
206  MemberType m_memberType;
207  bool m_memberTypeHasBeenSet;
208  };
209 
210 } // namespace Model
211 } // namespace QuickSight
212 } // namespace Aws
Aws::QuickSight::Model::CreateFolderMembershipRequest::WithMemberType
CreateFolderMembershipRequest & WithMemberType(MemberType &&value)
Definition: CreateFolderMembershipRequest.h:193
Aws::QuickSight::Model::CreateFolderMembershipRequest::SetFolderId
void SetFolderId(const Aws::String &value)
Definition: CreateFolderMembershipRequest.h:90
Aws::QuickSight::Model::CreateFolderMembershipRequest::WithFolderId
CreateFolderMembershipRequest & WithFolderId(Aws::String &&value)
Definition: CreateFolderMembershipRequest.h:110
Aws::QuickSight::Model::CreateFolderMembershipRequest::WithMemberId
CreateFolderMembershipRequest & WithMemberId(Aws::String &&value)
Definition: CreateFolderMembershipRequest.h:151
QuickSight_EXPORTS.h
Aws::QuickSight::Model::CreateFolderMembershipRequest::SetMemberType
void SetMemberType(const MemberType &value)
Definition: CreateFolderMembershipRequest.h:175
Aws::QuickSight::Model::MemberType
MemberType
Definition: MemberType.h:17
Aws::QuickSight::Model::CreateFolderMembershipRequest::WithMemberType
CreateFolderMembershipRequest & WithMemberType(const MemberType &value)
Definition: CreateFolderMembershipRequest.h:187
Aws::QuickSight::Model::CreateFolderMembershipRequest::SetFolderId
void SetFolderId(const char *value)
Definition: CreateFolderMembershipRequest.h:100
Aws::QuickSight::Model::CreateFolderMembershipRequest::SetMemberId
void SetMemberId(Aws::String &&value)
Definition: CreateFolderMembershipRequest.h:136
Aws::QuickSight::Model::CreateFolderMembershipRequest::SetAwsAccountId
void SetAwsAccountId(const char *value)
Definition: CreateFolderMembershipRequest.h:59
Aws::QuickSight::Model::CreateFolderMembershipRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::QuickSight::Model::CreateFolderMembershipRequest::SetMemberId
void SetMemberId(const Aws::String &value)
Definition: CreateFolderMembershipRequest.h:131
Aws::QuickSight::Model::CreateFolderMembershipRequest::GetAwsAccountId
const Aws::String & GetAwsAccountId() const
Definition: CreateFolderMembershipRequest.h:39
Aws::QuickSight::Model::CreateFolderMembershipRequest::WithFolderId
CreateFolderMembershipRequest & WithFolderId(const Aws::String &value)
Definition: CreateFolderMembershipRequest.h:105
Aws::QuickSight::Model::CreateFolderMembershipRequest::CreateFolderMembershipRequest
CreateFolderMembershipRequest()
Aws::QuickSight::Model::CreateFolderMembershipRequest::WithAwsAccountId
CreateFolderMembershipRequest & WithAwsAccountId(const char *value)
Definition: CreateFolderMembershipRequest.h:74
Aws::QuickSight::Model::CreateFolderMembershipRequest::MemberTypeHasBeenSet
bool MemberTypeHasBeenSet() const
Definition: CreateFolderMembershipRequest.h:169
Aws::QuickSight::Model::CreateFolderMembershipRequest::GetMemberType
const MemberType & GetMemberType() const
Definition: CreateFolderMembershipRequest.h:163
Aws::QuickSight::Model::CreateFolderMembershipRequest::WithMemberId
CreateFolderMembershipRequest & WithMemberId(const Aws::String &value)
Definition: CreateFolderMembershipRequest.h:146
QuickSightRequest.h
Aws::QuickSight::Model::CreateFolderMembershipRequest::SetMemberType
void SetMemberType(MemberType &&value)
Definition: CreateFolderMembershipRequest.h:181
Aws::QuickSight::Model::CreateFolderMembershipRequest::GetFolderId
const Aws::String & GetFolderId() const
Definition: CreateFolderMembershipRequest.h:80
AWSString.h
Aws::QuickSight::Model::CreateFolderMembershipRequest
Definition: CreateFolderMembershipRequest.h:23
Aws::QuickSight::Model::CreateFolderMembershipRequest::SetMemberId
void SetMemberId(const char *value)
Definition: CreateFolderMembershipRequest.h:141
Aws::QuickSight::Model::CreateFolderMembershipRequest::MemberIdHasBeenSet
bool MemberIdHasBeenSet() const
Definition: CreateFolderMembershipRequest.h:126
Aws::QuickSight::Model::CreateFolderMembershipRequest::GetMemberId
const Aws::String & GetMemberId() const
Definition: CreateFolderMembershipRequest.h:121
Aws::QuickSight::Model::CreateFolderMembershipRequest::FolderIdHasBeenSet
bool FolderIdHasBeenSet() const
Definition: CreateFolderMembershipRequest.h:85
Aws::QuickSight::Model::CreateFolderMembershipRequest::WithAwsAccountId
CreateFolderMembershipRequest & WithAwsAccountId(const Aws::String &value)
Definition: CreateFolderMembershipRequest.h:64
Aws::QuickSight::Model::CreateFolderMembershipRequest::WithFolderId
CreateFolderMembershipRequest & WithFolderId(const char *value)
Definition: CreateFolderMembershipRequest.h:115
Aws::QuickSight::Model::CreateFolderMembershipRequest::SetAwsAccountId
void SetAwsAccountId(const Aws::String &value)
Definition: CreateFolderMembershipRequest.h:49
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::QuickSight::Model::CreateFolderMembershipRequest::AwsAccountIdHasBeenSet
bool AwsAccountIdHasBeenSet() const
Definition: CreateFolderMembershipRequest.h:44
Aws::QuickSight::Model::CreateFolderMembershipRequest::WithAwsAccountId
CreateFolderMembershipRequest & WithAwsAccountId(Aws::String &&value)
Definition: CreateFolderMembershipRequest.h:69
Aws::QuickSight::Model::CreateFolderMembershipRequest::SetAwsAccountId
void SetAwsAccountId(Aws::String &&value)
Definition: CreateFolderMembershipRequest.h:54
Aws::QuickSight::Model::CreateFolderMembershipRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateFolderMembershipRequest.h:31
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
MemberType.h
Aws::QuickSight::Model::CreateFolderMembershipRequest::SetFolderId
void SetFolderId(Aws::String &&value)
Definition: CreateFolderMembershipRequest.h:95
Aws::QuickSight::QuickSightRequest
Definition: QuickSightRequest.h:17
Aws::QuickSight::Model::CreateFolderMembershipRequest::WithMemberId
CreateFolderMembershipRequest & WithMemberId(const char *value)
Definition: CreateFolderMembershipRequest.h:156