AWS SDK for C++  1.9.154
AWS SDK for C++
DescribeDataSetPermissionsResult.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 const Aws::String& GetDataSetArn() const{ return m_dataSetArn; }
41 
45  inline void SetDataSetArn(const Aws::String& value) { m_dataSetArn = value; }
46 
50  inline void SetDataSetArn(Aws::String&& value) { m_dataSetArn = std::move(value); }
51 
55  inline void SetDataSetArn(const char* value) { m_dataSetArn.assign(value); }
56 
60  inline DescribeDataSetPermissionsResult& WithDataSetArn(const Aws::String& value) { SetDataSetArn(value); return *this;}
61 
65  inline DescribeDataSetPermissionsResult& WithDataSetArn(Aws::String&& value) { SetDataSetArn(std::move(value)); return *this;}
66 
70  inline DescribeDataSetPermissionsResult& WithDataSetArn(const char* value) { SetDataSetArn(value); return *this;}
71 
72 
77  inline const Aws::String& GetDataSetId() const{ return m_dataSetId; }
78 
83  inline void SetDataSetId(const Aws::String& value) { m_dataSetId = value; }
84 
89  inline void SetDataSetId(Aws::String&& value) { m_dataSetId = std::move(value); }
90 
95  inline void SetDataSetId(const char* value) { m_dataSetId.assign(value); }
96 
101  inline DescribeDataSetPermissionsResult& WithDataSetId(const Aws::String& value) { SetDataSetId(value); return *this;}
102 
107  inline DescribeDataSetPermissionsResult& WithDataSetId(Aws::String&& value) { SetDataSetId(std::move(value)); return *this;}
108 
113  inline DescribeDataSetPermissionsResult& WithDataSetId(const char* value) { SetDataSetId(value); return *this;}
114 
115 
119  inline const Aws::Vector<ResourcePermission>& GetPermissions() const{ return m_permissions; }
120 
124  inline void SetPermissions(const Aws::Vector<ResourcePermission>& value) { m_permissions = value; }
125 
129  inline void SetPermissions(Aws::Vector<ResourcePermission>&& value) { m_permissions = std::move(value); }
130 
134  inline DescribeDataSetPermissionsResult& WithPermissions(const Aws::Vector<ResourcePermission>& value) { SetPermissions(value); return *this;}
135 
139  inline DescribeDataSetPermissionsResult& WithPermissions(Aws::Vector<ResourcePermission>&& value) { SetPermissions(std::move(value)); return *this;}
140 
144  inline DescribeDataSetPermissionsResult& AddPermissions(const ResourcePermission& value) { m_permissions.push_back(value); return *this; }
145 
149  inline DescribeDataSetPermissionsResult& AddPermissions(ResourcePermission&& value) { m_permissions.push_back(std::move(value)); return *this; }
150 
151 
155  inline const Aws::String& GetRequestId() const{ return m_requestId; }
156 
160  inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
161 
165  inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
166 
170  inline void SetRequestId(const char* value) { m_requestId.assign(value); }
171 
175  inline DescribeDataSetPermissionsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
176 
180  inline DescribeDataSetPermissionsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
181 
185  inline DescribeDataSetPermissionsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
186 
187 
191  inline int GetStatus() const{ return m_status; }
192 
196  inline void SetStatus(int value) { m_status = value; }
197 
201  inline DescribeDataSetPermissionsResult& WithStatus(int value) { SetStatus(value); return *this;}
202 
203  private:
204 
205  Aws::String m_dataSetArn;
206 
207  Aws::String m_dataSetId;
208 
209  Aws::Vector<ResourcePermission> m_permissions;
210 
211  Aws::String m_requestId;
212 
213  int m_status;
214  };
215 
216 } // namespace Model
217 } // namespace QuickSight
218 } // namespace Aws
Aws::QuickSight::Model::DescribeDataSetPermissionsResult::SetDataSetArn
void SetDataSetArn(Aws::String &&value)
Definition: DescribeDataSetPermissionsResult.h:50
Aws::QuickSight::Model::DescribeDataSetPermissionsResult::operator=
DescribeDataSetPermissionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::QuickSight::Model::DescribeDataSetPermissionsResult::SetDataSetArn
void SetDataSetArn(const Aws::String &value)
Definition: DescribeDataSetPermissionsResult.h:45
Aws::QuickSight::Model::DescribeDataSetPermissionsResult::WithPermissions
DescribeDataSetPermissionsResult & WithPermissions(Aws::Vector< ResourcePermission > &&value)
Definition: DescribeDataSetPermissionsResult.h:139
QuickSight_EXPORTS.h
Aws::QuickSight::Model::DescribeDataSetPermissionsResult::WithStatus
DescribeDataSetPermissionsResult & WithStatus(int value)
Definition: DescribeDataSetPermissionsResult.h:201
Aws::QuickSight::Model::DescribeDataSetPermissionsResult::WithRequestId
DescribeDataSetPermissionsResult & WithRequestId(Aws::String &&value)
Definition: DescribeDataSetPermissionsResult.h:180
Aws::QuickSight::Model::DescribeDataSetPermissionsResult::WithDataSetArn
DescribeDataSetPermissionsResult & WithDataSetArn(const char *value)
Definition: DescribeDataSetPermissionsResult.h:70
Aws::QuickSight::Model::DescribeDataSetPermissionsResult::SetDataSetId
void SetDataSetId(const Aws::String &value)
Definition: DescribeDataSetPermissionsResult.h:83
Aws::QuickSight::Model::DescribeDataSetPermissionsResult::GetDataSetId
const Aws::String & GetDataSetId() const
Definition: DescribeDataSetPermissionsResult.h:77
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::QuickSight::Model::DescribeDataSetPermissionsResult::SetDataSetId
void SetDataSetId(Aws::String &&value)
Definition: DescribeDataSetPermissionsResult.h:89
ResourcePermission.h
AWSVector.h
Aws::QuickSight::Model::DescribeDataSetPermissionsResult::WithDataSetArn
DescribeDataSetPermissionsResult & WithDataSetArn(Aws::String &&value)
Definition: DescribeDataSetPermissionsResult.h:65
Aws::QuickSight::Model::DescribeDataSetPermissionsResult::SetRequestId
void SetRequestId(const Aws::String &value)
Definition: DescribeDataSetPermissionsResult.h:160
Aws::QuickSight::Model::DescribeDataSetPermissionsResult::SetRequestId
void SetRequestId(const char *value)
Definition: DescribeDataSetPermissionsResult.h:170
Aws::QuickSight::Model::DescribeDataSetPermissionsResult::SetDataSetArn
void SetDataSetArn(const char *value)
Definition: DescribeDataSetPermissionsResult.h:55
Aws::QuickSight::Model::DescribeDataSetPermissionsResult::SetPermissions
void SetPermissions(const Aws::Vector< ResourcePermission > &value)
Definition: DescribeDataSetPermissionsResult.h:124
Aws::QuickSight::Model::ResourcePermission
Definition: ResourcePermission.h:33
Aws::QuickSight::Model::DescribeDataSetPermissionsResult::WithDataSetId
DescribeDataSetPermissionsResult & WithDataSetId(Aws::String &&value)
Definition: DescribeDataSetPermissionsResult.h:107
Aws::QuickSight::Model::DescribeDataSetPermissionsResult::WithDataSetId
DescribeDataSetPermissionsResult & WithDataSetId(const char *value)
Definition: DescribeDataSetPermissionsResult.h:113
Aws::QuickSight::Model::DescribeDataSetPermissionsResult::SetRequestId
void SetRequestId(Aws::String &&value)
Definition: DescribeDataSetPermissionsResult.h:165
Aws::QuickSight::Model::DescribeDataSetPermissionsResult::SetPermissions
void SetPermissions(Aws::Vector< ResourcePermission > &&value)
Definition: DescribeDataSetPermissionsResult.h:129
Aws::QuickSight::Model::DescribeDataSetPermissionsResult::WithRequestId
DescribeDataSetPermissionsResult & WithRequestId(const char *value)
Definition: DescribeDataSetPermissionsResult.h:185
Aws::QuickSight::Model::DescribeDataSetPermissionsResult::WithRequestId
DescribeDataSetPermissionsResult & WithRequestId(const Aws::String &value)
Definition: DescribeDataSetPermissionsResult.h:175
AWSString.h
Aws::QuickSight::Model::DescribeDataSetPermissionsResult::WithDataSetId
DescribeDataSetPermissionsResult & WithDataSetId(const Aws::String &value)
Definition: DescribeDataSetPermissionsResult.h:101
Aws::QuickSight::Model::DescribeDataSetPermissionsResult::GetPermissions
const Aws::Vector< ResourcePermission > & GetPermissions() const
Definition: DescribeDataSetPermissionsResult.h:119
Aws::QuickSight::Model::DescribeDataSetPermissionsResult::SetStatus
void SetStatus(int value)
Definition: DescribeDataSetPermissionsResult.h:196
Aws::QuickSight::Model::DescribeDataSetPermissionsResult::AddPermissions
DescribeDataSetPermissionsResult & AddPermissions(ResourcePermission &&value)
Definition: DescribeDataSetPermissionsResult.h:149
Aws::QuickSight::Model::DescribeDataSetPermissionsResult::GetDataSetArn
const Aws::String & GetDataSetArn() const
Definition: DescribeDataSetPermissionsResult.h:40
Aws::QuickSight::Model::DescribeDataSetPermissionsResult::GetRequestId
const Aws::String & GetRequestId() const
Definition: DescribeDataSetPermissionsResult.h:155
Aws::QuickSight::Model::DescribeDataSetPermissionsResult::DescribeDataSetPermissionsResult
DescribeDataSetPermissionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::QuickSight::Model::DescribeDataSetPermissionsResult::GetStatus
int GetStatus() const
Definition: DescribeDataSetPermissionsResult.h:191
Aws::QuickSight::Model::DescribeDataSetPermissionsResult
Definition: DescribeDataSetPermissionsResult.h:30
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::DescribeDataSetPermissionsResult::WithPermissions
DescribeDataSetPermissionsResult & WithPermissions(const Aws::Vector< ResourcePermission > &value)
Definition: DescribeDataSetPermissionsResult.h:134
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::DescribeDataSetPermissionsResult::SetDataSetId
void SetDataSetId(const char *value)
Definition: DescribeDataSetPermissionsResult.h:95
Aws::QuickSight::Model::DescribeDataSetPermissionsResult::DescribeDataSetPermissionsResult
DescribeDataSetPermissionsResult()
Aws::QuickSight::Model::DescribeDataSetPermissionsResult::WithDataSetArn
DescribeDataSetPermissionsResult & WithDataSetArn(const Aws::String &value)
Definition: DescribeDataSetPermissionsResult.h:60
Aws::QuickSight::Model::DescribeDataSetPermissionsResult::AddPermissions
DescribeDataSetPermissionsResult & AddPermissions(const ResourcePermission &value)
Definition: DescribeDataSetPermissionsResult.h:144