AWS SDK for C++  1.9.154
AWS SDK for C++
DescribeDataSourcePermissionsResult.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& GetDataSourceArn() const{ return m_dataSourceArn; }
41 
45  inline void SetDataSourceArn(const Aws::String& value) { m_dataSourceArn = value; }
46 
50  inline void SetDataSourceArn(Aws::String&& value) { m_dataSourceArn = std::move(value); }
51 
55  inline void SetDataSourceArn(const char* value) { m_dataSourceArn.assign(value); }
56 
60  inline DescribeDataSourcePermissionsResult& WithDataSourceArn(const Aws::String& value) { SetDataSourceArn(value); return *this;}
61 
65  inline DescribeDataSourcePermissionsResult& WithDataSourceArn(Aws::String&& value) { SetDataSourceArn(std::move(value)); return *this;}
66 
70  inline DescribeDataSourcePermissionsResult& WithDataSourceArn(const char* value) { SetDataSourceArn(value); return *this;}
71 
72 
77  inline const Aws::String& GetDataSourceId() const{ return m_dataSourceId; }
78 
83  inline void SetDataSourceId(const Aws::String& value) { m_dataSourceId = value; }
84 
89  inline void SetDataSourceId(Aws::String&& value) { m_dataSourceId = std::move(value); }
90 
95  inline void SetDataSourceId(const char* value) { m_dataSourceId.assign(value); }
96 
101  inline DescribeDataSourcePermissionsResult& WithDataSourceId(const Aws::String& value) { SetDataSourceId(value); return *this;}
102 
107  inline DescribeDataSourcePermissionsResult& WithDataSourceId(Aws::String&& value) { SetDataSourceId(std::move(value)); return *this;}
108 
113  inline DescribeDataSourcePermissionsResult& WithDataSourceId(const char* value) { SetDataSourceId(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 DescribeDataSourcePermissionsResult& WithPermissions(const Aws::Vector<ResourcePermission>& value) { SetPermissions(value); return *this;}
135 
139  inline DescribeDataSourcePermissionsResult& WithPermissions(Aws::Vector<ResourcePermission>&& value) { SetPermissions(std::move(value)); return *this;}
140 
144  inline DescribeDataSourcePermissionsResult& AddPermissions(const ResourcePermission& value) { m_permissions.push_back(value); return *this; }
145 
149  inline DescribeDataSourcePermissionsResult& 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 DescribeDataSourcePermissionsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
176 
180  inline DescribeDataSourcePermissionsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
181 
185  inline DescribeDataSourcePermissionsResult& 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 DescribeDataSourcePermissionsResult& WithStatus(int value) { SetStatus(value); return *this;}
202 
203  private:
204 
205  Aws::String m_dataSourceArn;
206 
207  Aws::String m_dataSourceId;
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::DescribeDataSourcePermissionsResult::WithDataSourceArn
DescribeDataSourcePermissionsResult & WithDataSourceArn(const Aws::String &value)
Definition: DescribeDataSourcePermissionsResult.h:60
Aws::QuickSight::Model::DescribeDataSourcePermissionsResult::SetStatus
void SetStatus(int value)
Definition: DescribeDataSourcePermissionsResult.h:196
Aws::QuickSight::Model::DescribeDataSourcePermissionsResult::WithPermissions
DescribeDataSourcePermissionsResult & WithPermissions(const Aws::Vector< ResourcePermission > &value)
Definition: DescribeDataSourcePermissionsResult.h:134
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
QuickSight_EXPORTS.h
Aws::QuickSight::Model::DescribeDataSourcePermissionsResult::WithDataSourceId
DescribeDataSourcePermissionsResult & WithDataSourceId(Aws::String &&value)
Definition: DescribeDataSourcePermissionsResult.h:107
Aws::QuickSight::Model::DescribeDataSourcePermissionsResult::GetStatus
int GetStatus() const
Definition: DescribeDataSourcePermissionsResult.h:191
Aws::QuickSight::Model::DescribeDataSourcePermissionsResult::GetPermissions
const Aws::Vector< ResourcePermission > & GetPermissions() const
Definition: DescribeDataSourcePermissionsResult.h:119
Aws::QuickSight::Model::DescribeDataSourcePermissionsResult::SetRequestId
void SetRequestId(Aws::String &&value)
Definition: DescribeDataSourcePermissionsResult.h:165
Aws::QuickSight::Model::DescribeDataSourcePermissionsResult::WithRequestId
DescribeDataSourcePermissionsResult & WithRequestId(const char *value)
Definition: DescribeDataSourcePermissionsResult.h:185
Aws::QuickSight::Model::DescribeDataSourcePermissionsResult::SetDataSourceId
void SetDataSourceId(const Aws::String &value)
Definition: DescribeDataSourcePermissionsResult.h:83
Aws::QuickSight::Model::DescribeDataSourcePermissionsResult::GetRequestId
const Aws::String & GetRequestId() const
Definition: DescribeDataSourcePermissionsResult.h:155
Aws::QuickSight::Model::DescribeDataSourcePermissionsResult
Definition: DescribeDataSourcePermissionsResult.h:30
Aws::QuickSight::Model::DescribeDataSourcePermissionsResult::SetDataSourceArn
void SetDataSourceArn(Aws::String &&value)
Definition: DescribeDataSourcePermissionsResult.h:50
Aws::QuickSight::Model::DescribeDataSourcePermissionsResult::DescribeDataSourcePermissionsResult
DescribeDataSourcePermissionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::QuickSight::Model::DescribeDataSourcePermissionsResult::SetDataSourceArn
void SetDataSourceArn(const char *value)
Definition: DescribeDataSourcePermissionsResult.h:55
ResourcePermission.h
AWSVector.h
Aws::QuickSight::Model::DescribeDataSourcePermissionsResult::WithRequestId
DescribeDataSourcePermissionsResult & WithRequestId(const Aws::String &value)
Definition: DescribeDataSourcePermissionsResult.h:175
Aws::QuickSight::Model::DescribeDataSourcePermissionsResult::GetDataSourceId
const Aws::String & GetDataSourceId() const
Definition: DescribeDataSourcePermissionsResult.h:77
Aws::QuickSight::Model::DescribeDataSourcePermissionsResult::AddPermissions
DescribeDataSourcePermissionsResult & AddPermissions(const ResourcePermission &value)
Definition: DescribeDataSourcePermissionsResult.h:144
Aws::QuickSight::Model::DescribeDataSourcePermissionsResult::GetDataSourceArn
const Aws::String & GetDataSourceArn() const
Definition: DescribeDataSourcePermissionsResult.h:40
Aws::QuickSight::Model::DescribeDataSourcePermissionsResult::SetPermissions
void SetPermissions(Aws::Vector< ResourcePermission > &&value)
Definition: DescribeDataSourcePermissionsResult.h:129
Aws::QuickSight::Model::ResourcePermission
Definition: ResourcePermission.h:33
Aws::QuickSight::Model::DescribeDataSourcePermissionsResult::SetRequestId
void SetRequestId(const char *value)
Definition: DescribeDataSourcePermissionsResult.h:170
AWSString.h
Aws::QuickSight::Model::DescribeDataSourcePermissionsResult::SetPermissions
void SetPermissions(const Aws::Vector< ResourcePermission > &value)
Definition: DescribeDataSourcePermissionsResult.h:124
Aws::QuickSight::Model::DescribeDataSourcePermissionsResult::WithDataSourceArn
DescribeDataSourcePermissionsResult & WithDataSourceArn(const char *value)
Definition: DescribeDataSourcePermissionsResult.h:70
Aws::QuickSight::Model::DescribeDataSourcePermissionsResult::WithDataSourceId
DescribeDataSourcePermissionsResult & WithDataSourceId(const char *value)
Definition: DescribeDataSourcePermissionsResult.h:113
Aws::QuickSight::Model::DescribeDataSourcePermissionsResult::DescribeDataSourcePermissionsResult
DescribeDataSourcePermissionsResult()
Aws::QuickSight::Model::DescribeDataSourcePermissionsResult::SetDataSourceArn
void SetDataSourceArn(const Aws::String &value)
Definition: DescribeDataSourcePermissionsResult.h:45
Aws::QuickSight::Model::DescribeDataSourcePermissionsResult::operator=
DescribeDataSourcePermissionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::QuickSight::Model::DescribeDataSourcePermissionsResult::SetDataSourceId
void SetDataSourceId(Aws::String &&value)
Definition: DescribeDataSourcePermissionsResult.h:89
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::DescribeDataSourcePermissionsResult::WithDataSourceArn
DescribeDataSourcePermissionsResult & WithDataSourceArn(Aws::String &&value)
Definition: DescribeDataSourcePermissionsResult.h:65
Aws::QuickSight::Model::DescribeDataSourcePermissionsResult::WithPermissions
DescribeDataSourcePermissionsResult & WithPermissions(Aws::Vector< ResourcePermission > &&value)
Definition: DescribeDataSourcePermissionsResult.h:139
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::DescribeDataSourcePermissionsResult::WithRequestId
DescribeDataSourcePermissionsResult & WithRequestId(Aws::String &&value)
Definition: DescribeDataSourcePermissionsResult.h:180
Aws::QuickSight::Model::DescribeDataSourcePermissionsResult::AddPermissions
DescribeDataSourcePermissionsResult & AddPermissions(ResourcePermission &&value)
Definition: DescribeDataSourcePermissionsResult.h:149
Aws::QuickSight::Model::DescribeDataSourcePermissionsResult::WithDataSourceId
DescribeDataSourcePermissionsResult & WithDataSourceId(const Aws::String &value)
Definition: DescribeDataSourcePermissionsResult.h:101
Aws::QuickSight::Model::DescribeDataSourcePermissionsResult::SetDataSourceId
void SetDataSourceId(const char *value)
Definition: DescribeDataSourcePermissionsResult.h:95
Aws::QuickSight::Model::DescribeDataSourcePermissionsResult::WithStatus
DescribeDataSourcePermissionsResult & WithStatus(int value)
Definition: DescribeDataSourcePermissionsResult.h:201
Aws::QuickSight::Model::DescribeDataSourcePermissionsResult::SetRequestId
void SetRequestId(const Aws::String &value)
Definition: DescribeDataSourcePermissionsResult.h:160