AWS SDK for C++  1.9.158
AWS SDK for C++
DescribeAnalysisPermissionsResult.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& GetAnalysisId() const{ return m_analysisId; }
41 
45  inline void SetAnalysisId(const Aws::String& value) { m_analysisId = value; }
46 
50  inline void SetAnalysisId(Aws::String&& value) { m_analysisId = std::move(value); }
51 
55  inline void SetAnalysisId(const char* value) { m_analysisId.assign(value); }
56 
60  inline DescribeAnalysisPermissionsResult& WithAnalysisId(const Aws::String& value) { SetAnalysisId(value); return *this;}
61 
65  inline DescribeAnalysisPermissionsResult& WithAnalysisId(Aws::String&& value) { SetAnalysisId(std::move(value)); return *this;}
66 
70  inline DescribeAnalysisPermissionsResult& WithAnalysisId(const char* value) { SetAnalysisId(value); return *this;}
71 
72 
77  inline const Aws::String& GetAnalysisArn() const{ return m_analysisArn; }
78 
83  inline void SetAnalysisArn(const Aws::String& value) { m_analysisArn = value; }
84 
89  inline void SetAnalysisArn(Aws::String&& value) { m_analysisArn = std::move(value); }
90 
95  inline void SetAnalysisArn(const char* value) { m_analysisArn.assign(value); }
96 
101  inline DescribeAnalysisPermissionsResult& WithAnalysisArn(const Aws::String& value) { SetAnalysisArn(value); return *this;}
102 
107  inline DescribeAnalysisPermissionsResult& WithAnalysisArn(Aws::String&& value) { SetAnalysisArn(std::move(value)); return *this;}
108 
113  inline DescribeAnalysisPermissionsResult& WithAnalysisArn(const char* value) { SetAnalysisArn(value); return *this;}
114 
115 
120  inline const Aws::Vector<ResourcePermission>& GetPermissions() const{ return m_permissions; }
121 
126  inline void SetPermissions(const Aws::Vector<ResourcePermission>& value) { m_permissions = value; }
127 
132  inline void SetPermissions(Aws::Vector<ResourcePermission>&& value) { m_permissions = std::move(value); }
133 
138  inline DescribeAnalysisPermissionsResult& WithPermissions(const Aws::Vector<ResourcePermission>& value) { SetPermissions(value); return *this;}
139 
144  inline DescribeAnalysisPermissionsResult& WithPermissions(Aws::Vector<ResourcePermission>&& value) { SetPermissions(std::move(value)); return *this;}
145 
150  inline DescribeAnalysisPermissionsResult& AddPermissions(const ResourcePermission& value) { m_permissions.push_back(value); return *this; }
151 
156  inline DescribeAnalysisPermissionsResult& AddPermissions(ResourcePermission&& value) { m_permissions.push_back(std::move(value)); return *this; }
157 
158 
162  inline int GetStatus() const{ return m_status; }
163 
167  inline void SetStatus(int value) { m_status = value; }
168 
172  inline DescribeAnalysisPermissionsResult& WithStatus(int value) { SetStatus(value); return *this;}
173 
174 
178  inline const Aws::String& GetRequestId() const{ return m_requestId; }
179 
183  inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
184 
188  inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
189 
193  inline void SetRequestId(const char* value) { m_requestId.assign(value); }
194 
198  inline DescribeAnalysisPermissionsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
199 
203  inline DescribeAnalysisPermissionsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
204 
208  inline DescribeAnalysisPermissionsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
209 
210  private:
211 
212  Aws::String m_analysisId;
213 
214  Aws::String m_analysisArn;
215 
216  Aws::Vector<ResourcePermission> m_permissions;
217 
218  int m_status;
219 
220  Aws::String m_requestId;
221  };
222 
223 } // namespace Model
224 } // namespace QuickSight
225 } // namespace Aws
Aws::QuickSight::Model::DescribeAnalysisPermissionsResult::WithAnalysisArn
DescribeAnalysisPermissionsResult & WithAnalysisArn(Aws::String &&value)
Definition: DescribeAnalysisPermissionsResult.h:107
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::QuickSight::Model::DescribeAnalysisPermissionsResult::DescribeAnalysisPermissionsResult
DescribeAnalysisPermissionsResult()
Aws::QuickSight::Model::DescribeAnalysisPermissionsResult::WithRequestId
DescribeAnalysisPermissionsResult & WithRequestId(Aws::String &&value)
Definition: DescribeAnalysisPermissionsResult.h:203
QuickSight_EXPORTS.h
Aws::QuickSight::Model::DescribeAnalysisPermissionsResult::SetAnalysisArn
void SetAnalysisArn(Aws::String &&value)
Definition: DescribeAnalysisPermissionsResult.h:89
Aws::QuickSight::Model::DescribeAnalysisPermissionsResult::SetRequestId
void SetRequestId(const Aws::String &value)
Definition: DescribeAnalysisPermissionsResult.h:183
Aws::QuickSight::Model::DescribeAnalysisPermissionsResult::GetStatus
int GetStatus() const
Definition: DescribeAnalysisPermissionsResult.h:162
Aws::QuickSight::Model::DescribeAnalysisPermissionsResult::SetAnalysisArn
void SetAnalysisArn(const char *value)
Definition: DescribeAnalysisPermissionsResult.h:95
Aws::QuickSight::Model::DescribeAnalysisPermissionsResult::SetAnalysisId
void SetAnalysisId(const Aws::String &value)
Definition: DescribeAnalysisPermissionsResult.h:45
Aws::QuickSight::Model::DescribeAnalysisPermissionsResult::GetAnalysisId
const Aws::String & GetAnalysisId() const
Definition: DescribeAnalysisPermissionsResult.h:40
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::QuickSight::Model::DescribeAnalysisPermissionsResult::WithAnalysisId
DescribeAnalysisPermissionsResult & WithAnalysisId(const char *value)
Definition: DescribeAnalysisPermissionsResult.h:70
Aws::QuickSight::Model::DescribeAnalysisPermissionsResult::SetAnalysisId
void SetAnalysisId(Aws::String &&value)
Definition: DescribeAnalysisPermissionsResult.h:50
Aws::QuickSight::Model::DescribeAnalysisPermissionsResult::WithAnalysisArn
DescribeAnalysisPermissionsResult & WithAnalysisArn(const Aws::String &value)
Definition: DescribeAnalysisPermissionsResult.h:101
Aws::QuickSight::Model::DescribeAnalysisPermissionsResult::SetPermissions
void SetPermissions(const Aws::Vector< ResourcePermission > &value)
Definition: DescribeAnalysisPermissionsResult.h:126
ResourcePermission.h
AWSVector.h
Aws::QuickSight::Model::DescribeAnalysisPermissionsResult::GetPermissions
const Aws::Vector< ResourcePermission > & GetPermissions() const
Definition: DescribeAnalysisPermissionsResult.h:120
Aws::QuickSight::Model::DescribeAnalysisPermissionsResult::SetAnalysisId
void SetAnalysisId(const char *value)
Definition: DescribeAnalysisPermissionsResult.h:55
Aws::QuickSight::Model::DescribeAnalysisPermissionsResult::operator=
DescribeAnalysisPermissionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::QuickSight::Model::ResourcePermission
Definition: ResourcePermission.h:33
Aws::QuickSight::Model::DescribeAnalysisPermissionsResult::WithRequestId
DescribeAnalysisPermissionsResult & WithRequestId(const Aws::String &value)
Definition: DescribeAnalysisPermissionsResult.h:198
Aws::QuickSight::Model::DescribeAnalysisPermissionsResult::WithRequestId
DescribeAnalysisPermissionsResult & WithRequestId(const char *value)
Definition: DescribeAnalysisPermissionsResult.h:208
Aws::QuickSight::Model::DescribeAnalysisPermissionsResult::AddPermissions
DescribeAnalysisPermissionsResult & AddPermissions(ResourcePermission &&value)
Definition: DescribeAnalysisPermissionsResult.h:156
Aws::QuickSight::Model::DescribeAnalysisPermissionsResult::SetRequestId
void SetRequestId(const char *value)
Definition: DescribeAnalysisPermissionsResult.h:193
AWSString.h
Aws::QuickSight::Model::DescribeAnalysisPermissionsResult::SetRequestId
void SetRequestId(Aws::String &&value)
Definition: DescribeAnalysisPermissionsResult.h:188
Aws::QuickSight::Model::DescribeAnalysisPermissionsResult::WithPermissions
DescribeAnalysisPermissionsResult & WithPermissions(Aws::Vector< ResourcePermission > &&value)
Definition: DescribeAnalysisPermissionsResult.h:144
Aws::QuickSight::Model::DescribeAnalysisPermissionsResult::WithStatus
DescribeAnalysisPermissionsResult & WithStatus(int value)
Definition: DescribeAnalysisPermissionsResult.h:172
Aws::QuickSight::Model::DescribeAnalysisPermissionsResult::GetRequestId
const Aws::String & GetRequestId() const
Definition: DescribeAnalysisPermissionsResult.h:178
Aws::QuickSight::Model::DescribeAnalysisPermissionsResult::WithAnalysisId
DescribeAnalysisPermissionsResult & WithAnalysisId(Aws::String &&value)
Definition: DescribeAnalysisPermissionsResult.h:65
Aws::QuickSight::Model::DescribeAnalysisPermissionsResult::WithAnalysisId
DescribeAnalysisPermissionsResult & WithAnalysisId(const Aws::String &value)
Definition: DescribeAnalysisPermissionsResult.h:60
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws::QuickSight::Model::DescribeAnalysisPermissionsResult::GetAnalysisArn
const Aws::String & GetAnalysisArn() const
Definition: DescribeAnalysisPermissionsResult.h:77
Aws
Definition: AccessManagementClient.h:15
Aws::QuickSight::Model::DescribeAnalysisPermissionsResult::SetStatus
void SetStatus(int value)
Definition: DescribeAnalysisPermissionsResult.h:167
Aws::QuickSight::Model::DescribeAnalysisPermissionsResult::SetPermissions
void SetPermissions(Aws::Vector< ResourcePermission > &&value)
Definition: DescribeAnalysisPermissionsResult.h:132
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::DescribeAnalysisPermissionsResult
Definition: DescribeAnalysisPermissionsResult.h:30
Aws::QuickSight::Model::DescribeAnalysisPermissionsResult::SetAnalysisArn
void SetAnalysisArn(const Aws::String &value)
Definition: DescribeAnalysisPermissionsResult.h:83
Aws::QuickSight::Model::DescribeAnalysisPermissionsResult::WithAnalysisArn
DescribeAnalysisPermissionsResult & WithAnalysisArn(const char *value)
Definition: DescribeAnalysisPermissionsResult.h:113
Aws::QuickSight::Model::DescribeAnalysisPermissionsResult::DescribeAnalysisPermissionsResult
DescribeAnalysisPermissionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::QuickSight::Model::DescribeAnalysisPermissionsResult::WithPermissions
DescribeAnalysisPermissionsResult & WithPermissions(const Aws::Vector< ResourcePermission > &value)
Definition: DescribeAnalysisPermissionsResult.h:138
Aws::QuickSight::Model::DescribeAnalysisPermissionsResult::AddPermissions
DescribeAnalysisPermissionsResult & AddPermissions(const ResourcePermission &value)
Definition: DescribeAnalysisPermissionsResult.h:150