AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeFolderPermissionsRequest.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 <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace QuickSight
19{
20namespace Model
21{
22
26 {
27 public:
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "DescribeFolderPermissions"; }
35
36 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
37
38 AWS_QUICKSIGHT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
40
42
45 inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
46 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
47 inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
48 inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
49 inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
51 inline DescribeFolderPermissionsRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
52 inline DescribeFolderPermissionsRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
54
56
59 inline const Aws::String& GetFolderId() const{ return m_folderId; }
60 inline bool FolderIdHasBeenSet() const { return m_folderIdHasBeenSet; }
61 inline void SetFolderId(const Aws::String& value) { m_folderIdHasBeenSet = true; m_folderId = value; }
62 inline void SetFolderId(Aws::String&& value) { m_folderIdHasBeenSet = true; m_folderId = std::move(value); }
63 inline void SetFolderId(const char* value) { m_folderIdHasBeenSet = true; m_folderId.assign(value); }
64 inline DescribeFolderPermissionsRequest& WithFolderId(const Aws::String& value) { SetFolderId(value); return *this;}
65 inline DescribeFolderPermissionsRequest& WithFolderId(Aws::String&& value) { SetFolderId(std::move(value)); return *this;}
66 inline DescribeFolderPermissionsRequest& WithFolderId(const char* value) { SetFolderId(value); return *this;}
68
70
73 inline const Aws::String& GetNamespace() const{ return m_namespace; }
74 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
75 inline void SetNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace = value; }
76 inline void SetNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); }
77 inline void SetNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.assign(value); }
78 inline DescribeFolderPermissionsRequest& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;}
79 inline DescribeFolderPermissionsRequest& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;}
80 inline DescribeFolderPermissionsRequest& WithNamespace(const char* value) { SetNamespace(value); return *this;}
82
84
87 inline int GetMaxResults() const{ return m_maxResults; }
88 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
89 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
90 inline DescribeFolderPermissionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
92
94
97 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
98 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
99 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
100 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
101 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
102 inline DescribeFolderPermissionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
103 inline DescribeFolderPermissionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
104 inline DescribeFolderPermissionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
106 private:
107
108 Aws::String m_awsAccountId;
109 bool m_awsAccountIdHasBeenSet = false;
110
111 Aws::String m_folderId;
112 bool m_folderIdHasBeenSet = false;
113
114 Aws::String m_namespace;
115 bool m_namespaceHasBeenSet = false;
116
117 int m_maxResults;
118 bool m_maxResultsHasBeenSet = false;
119
120 Aws::String m_nextToken;
121 bool m_nextTokenHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace QuickSight
126} // namespace Aws
DescribeFolderPermissionsRequest & WithNamespace(const Aws::String &value)
AWS_QUICKSIGHT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
DescribeFolderPermissionsRequest & WithAwsAccountId(const Aws::String &value)
DescribeFolderPermissionsRequest & WithFolderId(Aws::String &&value)
DescribeFolderPermissionsRequest & WithNamespace(const char *value)
DescribeFolderPermissionsRequest & WithNextToken(const char *value)
DescribeFolderPermissionsRequest & WithAwsAccountId(const char *value)
DescribeFolderPermissionsRequest & WithNextToken(const Aws::String &value)
DescribeFolderPermissionsRequest & WithNextToken(Aws::String &&value)
DescribeFolderPermissionsRequest & WithFolderId(const char *value)
DescribeFolderPermissionsRequest & WithAwsAccountId(Aws::String &&value)
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
DescribeFolderPermissionsRequest & WithNamespace(Aws::String &&value)
DescribeFolderPermissionsRequest & WithFolderId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String