AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeFolderResolvedPermissionsResult.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/quicksight/model/ResourcePermission.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace QuickSight
26{
27namespace Model
28{
30 {
31 public:
35
36
38
41 inline int GetStatus() const{ return m_status; }
42 inline void SetStatus(int value) { m_status = value; }
43 inline DescribeFolderResolvedPermissionsResult& WithStatus(int value) { SetStatus(value); return *this;}
45
47
50 inline const Aws::String& GetFolderId() const{ return m_folderId; }
51 inline void SetFolderId(const Aws::String& value) { m_folderId = value; }
52 inline void SetFolderId(Aws::String&& value) { m_folderId = std::move(value); }
53 inline void SetFolderId(const char* value) { m_folderId.assign(value); }
54 inline DescribeFolderResolvedPermissionsResult& WithFolderId(const Aws::String& value) { SetFolderId(value); return *this;}
55 inline DescribeFolderResolvedPermissionsResult& WithFolderId(Aws::String&& value) { SetFolderId(std::move(value)); return *this;}
56 inline DescribeFolderResolvedPermissionsResult& WithFolderId(const char* value) { SetFolderId(value); return *this;}
58
60
63 inline const Aws::String& GetArn() const{ return m_arn; }
64 inline void SetArn(const Aws::String& value) { m_arn = value; }
65 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
66 inline void SetArn(const char* value) { m_arn.assign(value); }
67 inline DescribeFolderResolvedPermissionsResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
68 inline DescribeFolderResolvedPermissionsResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
69 inline DescribeFolderResolvedPermissionsResult& WithArn(const char* value) { SetArn(value); return *this;}
71
73
76 inline const Aws::Vector<ResourcePermission>& GetPermissions() const{ return m_permissions; }
77 inline void SetPermissions(const Aws::Vector<ResourcePermission>& value) { m_permissions = value; }
78 inline void SetPermissions(Aws::Vector<ResourcePermission>&& value) { m_permissions = std::move(value); }
81 inline DescribeFolderResolvedPermissionsResult& AddPermissions(const ResourcePermission& value) { m_permissions.push_back(value); return *this; }
82 inline DescribeFolderResolvedPermissionsResult& AddPermissions(ResourcePermission&& value) { m_permissions.push_back(std::move(value)); return *this; }
84
86
87 inline const Aws::String& GetRequestId() const{ return m_requestId; }
88 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
89 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
90 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
92 inline DescribeFolderResolvedPermissionsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
93 inline DescribeFolderResolvedPermissionsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
95
97
101 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
102 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
103 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
104 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
106 inline DescribeFolderResolvedPermissionsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
107 inline DescribeFolderResolvedPermissionsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
109 private:
110
111 int m_status;
112
113 Aws::String m_folderId;
114
115 Aws::String m_arn;
116
118
119 Aws::String m_requestId;
120
121 Aws::String m_nextToken;
122 };
123
124} // namespace Model
125} // namespace QuickSight
126} // namespace Aws
DescribeFolderResolvedPermissionsResult & WithFolderId(const char *value)
DescribeFolderResolvedPermissionsResult & WithRequestId(Aws::String &&value)
DescribeFolderResolvedPermissionsResult & WithPermissions(const Aws::Vector< ResourcePermission > &value)
AWS_QUICKSIGHT_API DescribeFolderResolvedPermissionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeFolderResolvedPermissionsResult & WithNextToken(const char *value)
DescribeFolderResolvedPermissionsResult & WithNextToken(Aws::String &&value)
AWS_QUICKSIGHT_API DescribeFolderResolvedPermissionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeFolderResolvedPermissionsResult & WithRequestId(const char *value)
DescribeFolderResolvedPermissionsResult & WithArn(const Aws::String &value)
DescribeFolderResolvedPermissionsResult & WithFolderId(const Aws::String &value)
DescribeFolderResolvedPermissionsResult & WithFolderId(Aws::String &&value)
DescribeFolderResolvedPermissionsResult & WithRequestId(const Aws::String &value)
DescribeFolderResolvedPermissionsResult & AddPermissions(ResourcePermission &&value)
DescribeFolderResolvedPermissionsResult & WithArn(Aws::String &&value)
DescribeFolderResolvedPermissionsResult & AddPermissions(const ResourcePermission &value)
DescribeFolderResolvedPermissionsResult & WithArn(const char *value)
DescribeFolderResolvedPermissionsResult & WithNextToken(const Aws::String &value)
DescribeFolderResolvedPermissionsResult & WithPermissions(Aws::Vector< ResourcePermission > &&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