AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateFolderMembershipRequest.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 CreateFolderMembershipRequest();
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_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 CreateFolderMembershipRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
46 inline CreateFolderMembershipRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
47 inline CreateFolderMembershipRequest& 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 CreateFolderMembershipRequest& WithFolderId(const Aws::String& value) { SetFolderId(value); return *this;}
60 inline CreateFolderMembershipRequest& WithFolderId(Aws::String&& value) { SetFolderId(std::move(value)); return *this;}
61 inline CreateFolderMembershipRequest& 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 CreateFolderMembershipRequest& WithMemberId(const Aws::String& value) { SetMemberId(value); return *this;}
74 inline CreateFolderMembershipRequest& WithMemberId(Aws::String&& value) { SetMemberId(std::move(value)); return *this;}
75 inline CreateFolderMembershipRequest& 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 CreateFolderMembershipRequest& WithMemberType(const MemberType& value) { SetMemberType(value); return *this;}
87 inline CreateFolderMembershipRequest& 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
CreateFolderMembershipRequest & WithAwsAccountId(const Aws::String &value)
CreateFolderMembershipRequest & WithFolderId(const Aws::String &value)
CreateFolderMembershipRequest & WithFolderId(const char *value)
CreateFolderMembershipRequest & WithMemberId(Aws::String &&value)
CreateFolderMembershipRequest & WithMemberId(const Aws::String &value)
CreateFolderMembershipRequest & WithFolderId(Aws::String &&value)
CreateFolderMembershipRequest & WithAwsAccountId(Aws::String &&value)
CreateFolderMembershipRequest & WithMemberType(MemberType &&value)
CreateFolderMembershipRequest & WithMemberType(const MemberType &value)
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
CreateFolderMembershipRequest & WithAwsAccountId(const char *value)
CreateFolderMembershipRequest & WithMemberId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String