AWS SDK for C++

AWS SDK for C++ Version 1.11.757

Loading...
Searching...
No Matches
DescribeFolderPermissionsResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/quicksight/QuickSight_EXPORTS.h>
11#include <aws/quicksight/model/ResourcePermission.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace QuickSight {
25namespace Model {
27 public:
28 AWS_QUICKSIGHT_API DescribeFolderPermissionsResult() = default;
31
33
36 inline int GetStatus() const { return m_status; }
37 inline void SetStatus(int value) {
38 m_statusHasBeenSet = true;
39 m_status = value;
40 }
42 SetStatus(value);
43 return *this;
44 }
46
48
51 inline const Aws::String& GetFolderId() const { return m_folderId; }
52 template <typename FolderIdT = Aws::String>
53 void SetFolderId(FolderIdT&& value) {
54 m_folderIdHasBeenSet = true;
55 m_folderId = std::forward<FolderIdT>(value);
56 }
57 template <typename FolderIdT = Aws::String>
59 SetFolderId(std::forward<FolderIdT>(value));
60 return *this;
61 }
63
65
68 inline const Aws::String& GetArn() const { return m_arn; }
69 template <typename ArnT = Aws::String>
70 void SetArn(ArnT&& value) {
71 m_arnHasBeenSet = true;
72 m_arn = std::forward<ArnT>(value);
73 }
74 template <typename ArnT = Aws::String>
76 SetArn(std::forward<ArnT>(value));
77 return *this;
78 }
80
82
85 inline const Aws::Vector<ResourcePermission>& GetPermissions() const { return m_permissions; }
86 template <typename PermissionsT = Aws::Vector<ResourcePermission>>
87 void SetPermissions(PermissionsT&& value) {
88 m_permissionsHasBeenSet = true;
89 m_permissions = std::forward<PermissionsT>(value);
90 }
91 template <typename PermissionsT = Aws::Vector<ResourcePermission>>
93 SetPermissions(std::forward<PermissionsT>(value));
94 return *this;
95 }
96 template <typename PermissionsT = ResourcePermission>
98 m_permissionsHasBeenSet = true;
99 m_permissions.emplace_back(std::forward<PermissionsT>(value));
100 return *this;
101 }
103
105
106 inline const Aws::String& GetRequestId() const { return m_requestId; }
107 template <typename RequestIdT = Aws::String>
108 void SetRequestId(RequestIdT&& value) {
109 m_requestIdHasBeenSet = true;
110 m_requestId = std::forward<RequestIdT>(value);
111 }
112 template <typename RequestIdT = Aws::String>
114 SetRequestId(std::forward<RequestIdT>(value));
115 return *this;
116 }
118
120
124 inline const Aws::String& GetNextToken() const { return m_nextToken; }
125 template <typename NextTokenT = Aws::String>
126 void SetNextToken(NextTokenT&& value) {
127 m_nextTokenHasBeenSet = true;
128 m_nextToken = std::forward<NextTokenT>(value);
129 }
130 template <typename NextTokenT = Aws::String>
132 SetNextToken(std::forward<NextTokenT>(value));
133 return *this;
134 }
136 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
137
138 private:
139 int m_status{0};
140
141 Aws::String m_folderId;
142
143 Aws::String m_arn;
144
146
147 Aws::String m_requestId;
148
149 Aws::String m_nextToken;
150 Aws::Http::HttpResponseCode m_HttpResponseCode;
151 bool m_statusHasBeenSet = false;
152 bool m_folderIdHasBeenSet = false;
153 bool m_arnHasBeenSet = false;
154 bool m_permissionsHasBeenSet = false;
155 bool m_requestIdHasBeenSet = false;
156 bool m_nextTokenHasBeenSet = false;
157};
158
159} // namespace Model
160} // namespace QuickSight
161} // namespace Aws
DescribeFolderPermissionsResult & WithNextToken(NextTokenT &&value)
DescribeFolderPermissionsResult & WithFolderId(FolderIdT &&value)
const Aws::Vector< ResourcePermission > & GetPermissions() const
AWS_QUICKSIGHT_API DescribeFolderPermissionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeFolderPermissionsResult & WithPermissions(PermissionsT &&value)
AWS_QUICKSIGHT_API DescribeFolderPermissionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeFolderPermissionsResult & AddPermissions(PermissionsT &&value)
AWS_QUICKSIGHT_API DescribeFolderPermissionsResult()=default
DescribeFolderPermissionsResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue