AWS SDK for C++  1.9.154
AWS SDK for C++
DescribeFolderPermissionsResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace QuickSight
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline int GetStatus() const{ return m_status; }
41 
45  inline void SetStatus(int value) { m_status = value; }
46 
50  inline DescribeFolderPermissionsResult& WithStatus(int value) { SetStatus(value); return *this;}
51 
52 
56  inline const Aws::String& GetFolderId() const{ return m_folderId; }
57 
61  inline void SetFolderId(const Aws::String& value) { m_folderId = value; }
62 
66  inline void SetFolderId(Aws::String&& value) { m_folderId = std::move(value); }
67 
71  inline void SetFolderId(const char* value) { m_folderId.assign(value); }
72 
76  inline DescribeFolderPermissionsResult& WithFolderId(const Aws::String& value) { SetFolderId(value); return *this;}
77 
81  inline DescribeFolderPermissionsResult& WithFolderId(Aws::String&& value) { SetFolderId(std::move(value)); return *this;}
82 
86  inline DescribeFolderPermissionsResult& WithFolderId(const char* value) { SetFolderId(value); return *this;}
87 
88 
92  inline const Aws::String& GetArn() const{ return m_arn; }
93 
97  inline void SetArn(const Aws::String& value) { m_arn = value; }
98 
102  inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
103 
107  inline void SetArn(const char* value) { m_arn.assign(value); }
108 
112  inline DescribeFolderPermissionsResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
113 
117  inline DescribeFolderPermissionsResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
118 
122  inline DescribeFolderPermissionsResult& WithArn(const char* value) { SetArn(value); return *this;}
123 
124 
128  inline const Aws::Vector<ResourcePermission>& GetPermissions() const{ return m_permissions; }
129 
133  inline void SetPermissions(const Aws::Vector<ResourcePermission>& value) { m_permissions = value; }
134 
138  inline void SetPermissions(Aws::Vector<ResourcePermission>&& value) { m_permissions = std::move(value); }
139 
143  inline DescribeFolderPermissionsResult& WithPermissions(const Aws::Vector<ResourcePermission>& value) { SetPermissions(value); return *this;}
144 
148  inline DescribeFolderPermissionsResult& WithPermissions(Aws::Vector<ResourcePermission>&& value) { SetPermissions(std::move(value)); return *this;}
149 
153  inline DescribeFolderPermissionsResult& AddPermissions(const ResourcePermission& value) { m_permissions.push_back(value); return *this; }
154 
158  inline DescribeFolderPermissionsResult& AddPermissions(ResourcePermission&& value) { m_permissions.push_back(std::move(value)); return *this; }
159 
160 
164  inline const Aws::String& GetRequestId() const{ return m_requestId; }
165 
169  inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
170 
174  inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
175 
179  inline void SetRequestId(const char* value) { m_requestId.assign(value); }
180 
184  inline DescribeFolderPermissionsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
185 
189  inline DescribeFolderPermissionsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
190 
194  inline DescribeFolderPermissionsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
195 
196  private:
197 
198  int m_status;
199 
200  Aws::String m_folderId;
201 
202  Aws::String m_arn;
203 
204  Aws::Vector<ResourcePermission> m_permissions;
205 
206  Aws::String m_requestId;
207  };
208 
209 } // namespace Model
210 } // namespace QuickSight
211 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::QuickSight::Model::DescribeFolderPermissionsResult::WithRequestId
DescribeFolderPermissionsResult & WithRequestId(const Aws::String &value)
Definition: DescribeFolderPermissionsResult.h:184
QuickSight_EXPORTS.h
Aws::QuickSight::Model::DescribeFolderPermissionsResult::SetStatus
void SetStatus(int value)
Definition: DescribeFolderPermissionsResult.h:45
Aws::QuickSight::Model::DescribeFolderPermissionsResult
Definition: DescribeFolderPermissionsResult.h:30
Aws::QuickSight::Model::DescribeFolderPermissionsResult::SetRequestId
void SetRequestId(Aws::String &&value)
Definition: DescribeFolderPermissionsResult.h:174
Aws::QuickSight::Model::DescribeFolderPermissionsResult::SetArn
void SetArn(Aws::String &&value)
Definition: DescribeFolderPermissionsResult.h:102
Aws::QuickSight::Model::DescribeFolderPermissionsResult::SetRequestId
void SetRequestId(const char *value)
Definition: DescribeFolderPermissionsResult.h:179
Aws::QuickSight::Model::DescribeFolderPermissionsResult::SetArn
void SetArn(const char *value)
Definition: DescribeFolderPermissionsResult.h:107
Aws::QuickSight::Model::DescribeFolderPermissionsResult::WithArn
DescribeFolderPermissionsResult & WithArn(const char *value)
Definition: DescribeFolderPermissionsResult.h:122
Aws::QuickSight::Model::DescribeFolderPermissionsResult::SetPermissions
void SetPermissions(const Aws::Vector< ResourcePermission > &value)
Definition: DescribeFolderPermissionsResult.h:133
Aws::QuickSight::Model::DescribeFolderPermissionsResult::WithPermissions
DescribeFolderPermissionsResult & WithPermissions(Aws::Vector< ResourcePermission > &&value)
Definition: DescribeFolderPermissionsResult.h:148
Aws::QuickSight::Model::DescribeFolderPermissionsResult::GetStatus
int GetStatus() const
Definition: DescribeFolderPermissionsResult.h:40
Aws::QuickSight::Model::DescribeFolderPermissionsResult::GetPermissions
const Aws::Vector< ResourcePermission > & GetPermissions() const
Definition: DescribeFolderPermissionsResult.h:128
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
ResourcePermission.h
AWSVector.h
Aws::QuickSight::Model::DescribeFolderPermissionsResult::operator=
DescribeFolderPermissionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::QuickSight::Model::DescribeFolderPermissionsResult::SetFolderId
void SetFolderId(const Aws::String &value)
Definition: DescribeFolderPermissionsResult.h:61
Aws::QuickSight::Model::ResourcePermission
Definition: ResourcePermission.h:33
Aws::QuickSight::Model::DescribeFolderPermissionsResult::WithFolderId
DescribeFolderPermissionsResult & WithFolderId(const Aws::String &value)
Definition: DescribeFolderPermissionsResult.h:76
Aws::QuickSight::Model::DescribeFolderPermissionsResult::GetFolderId
const Aws::String & GetFolderId() const
Definition: DescribeFolderPermissionsResult.h:56
AWSString.h
Aws::QuickSight::Model::DescribeFolderPermissionsResult::SetArn
void SetArn(const Aws::String &value)
Definition: DescribeFolderPermissionsResult.h:97
Aws::QuickSight::Model::DescribeFolderPermissionsResult::WithStatus
DescribeFolderPermissionsResult & WithStatus(int value)
Definition: DescribeFolderPermissionsResult.h:50
Aws::QuickSight::Model::DescribeFolderPermissionsResult::DescribeFolderPermissionsResult
DescribeFolderPermissionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::QuickSight::Model::DescribeFolderPermissionsResult::WithFolderId
DescribeFolderPermissionsResult & WithFolderId(const char *value)
Definition: DescribeFolderPermissionsResult.h:86
Aws::QuickSight::Model::DescribeFolderPermissionsResult::WithRequestId
DescribeFolderPermissionsResult & WithRequestId(const char *value)
Definition: DescribeFolderPermissionsResult.h:194
Aws::QuickSight::Model::DescribeFolderPermissionsResult::WithArn
DescribeFolderPermissionsResult & WithArn(const Aws::String &value)
Definition: DescribeFolderPermissionsResult.h:112
Aws::QuickSight::Model::DescribeFolderPermissionsResult::DescribeFolderPermissionsResult
DescribeFolderPermissionsResult()
Aws::QuickSight::Model::DescribeFolderPermissionsResult::WithPermissions
DescribeFolderPermissionsResult & WithPermissions(const Aws::Vector< ResourcePermission > &value)
Definition: DescribeFolderPermissionsResult.h:143
Aws::QuickSight::Model::DescribeFolderPermissionsResult::WithFolderId
DescribeFolderPermissionsResult & WithFolderId(Aws::String &&value)
Definition: DescribeFolderPermissionsResult.h:81
Aws::QuickSight::Model::DescribeFolderPermissionsResult::AddPermissions
DescribeFolderPermissionsResult & AddPermissions(ResourcePermission &&value)
Definition: DescribeFolderPermissionsResult.h:158
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::QuickSight::Model::DescribeFolderPermissionsResult::SetRequestId
void SetRequestId(const Aws::String &value)
Definition: DescribeFolderPermissionsResult.h:169
Aws::QuickSight::Model::DescribeFolderPermissionsResult::GetArn
const Aws::String & GetArn() const
Definition: DescribeFolderPermissionsResult.h:92
Aws::QuickSight::Model::DescribeFolderPermissionsResult::GetRequestId
const Aws::String & GetRequestId() const
Definition: DescribeFolderPermissionsResult.h:164
Aws::QuickSight::Model::DescribeFolderPermissionsResult::WithArn
DescribeFolderPermissionsResult & WithArn(Aws::String &&value)
Definition: DescribeFolderPermissionsResult.h:117
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::DescribeFolderPermissionsResult::SetFolderId
void SetFolderId(const char *value)
Definition: DescribeFolderPermissionsResult.h:71
Aws::QuickSight::Model::DescribeFolderPermissionsResult::WithRequestId
DescribeFolderPermissionsResult & WithRequestId(Aws::String &&value)
Definition: DescribeFolderPermissionsResult.h:189
Aws::QuickSight::Model::DescribeFolderPermissionsResult::SetFolderId
void SetFolderId(Aws::String &&value)
Definition: DescribeFolderPermissionsResult.h:66
Aws::QuickSight::Model::DescribeFolderPermissionsResult::AddPermissions
DescribeFolderPermissionsResult & AddPermissions(const ResourcePermission &value)
Definition: DescribeFolderPermissionsResult.h:153
Aws::QuickSight::Model::DescribeFolderPermissionsResult::SetPermissions
void SetPermissions(Aws::Vector< ResourcePermission > &&value)
Definition: DescribeFolderPermissionsResult.h:138