AWS SDK for C++  1.9.154
AWS SDK for C++
UpdateAnalysisPermissionsResult.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& GetAnalysisArn() const{ return m_analysisArn; }
41 
45  inline void SetAnalysisArn(const Aws::String& value) { m_analysisArn = value; }
46 
50  inline void SetAnalysisArn(Aws::String&& value) { m_analysisArn = std::move(value); }
51 
55  inline void SetAnalysisArn(const char* value) { m_analysisArn.assign(value); }
56 
60  inline UpdateAnalysisPermissionsResult& WithAnalysisArn(const Aws::String& value) { SetAnalysisArn(value); return *this;}
61 
65  inline UpdateAnalysisPermissionsResult& WithAnalysisArn(Aws::String&& value) { SetAnalysisArn(std::move(value)); return *this;}
66 
70  inline UpdateAnalysisPermissionsResult& WithAnalysisArn(const char* value) { SetAnalysisArn(value); return *this;}
71 
72 
76  inline const Aws::String& GetAnalysisId() const{ return m_analysisId; }
77 
81  inline void SetAnalysisId(const Aws::String& value) { m_analysisId = value; }
82 
86  inline void SetAnalysisId(Aws::String&& value) { m_analysisId = std::move(value); }
87 
91  inline void SetAnalysisId(const char* value) { m_analysisId.assign(value); }
92 
96  inline UpdateAnalysisPermissionsResult& WithAnalysisId(const Aws::String& value) { SetAnalysisId(value); return *this;}
97 
101  inline UpdateAnalysisPermissionsResult& WithAnalysisId(Aws::String&& value) { SetAnalysisId(std::move(value)); return *this;}
102 
106  inline UpdateAnalysisPermissionsResult& WithAnalysisId(const char* value) { SetAnalysisId(value); return *this;}
107 
108 
113  inline const Aws::Vector<ResourcePermission>& GetPermissions() const{ return m_permissions; }
114 
119  inline void SetPermissions(const Aws::Vector<ResourcePermission>& value) { m_permissions = value; }
120 
125  inline void SetPermissions(Aws::Vector<ResourcePermission>&& value) { m_permissions = std::move(value); }
126 
131  inline UpdateAnalysisPermissionsResult& WithPermissions(const Aws::Vector<ResourcePermission>& value) { SetPermissions(value); return *this;}
132 
137  inline UpdateAnalysisPermissionsResult& WithPermissions(Aws::Vector<ResourcePermission>&& value) { SetPermissions(std::move(value)); return *this;}
138 
143  inline UpdateAnalysisPermissionsResult& AddPermissions(const ResourcePermission& value) { m_permissions.push_back(value); return *this; }
144 
149  inline UpdateAnalysisPermissionsResult& 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 UpdateAnalysisPermissionsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
176 
180  inline UpdateAnalysisPermissionsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
181 
185  inline UpdateAnalysisPermissionsResult& 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 UpdateAnalysisPermissionsResult& WithStatus(int value) { SetStatus(value); return *this;}
202 
203  private:
204 
205  Aws::String m_analysisArn;
206 
207  Aws::String m_analysisId;
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::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
QuickSight_EXPORTS.h
Aws::QuickSight::Model::UpdateAnalysisPermissionsResult::GetRequestId
const Aws::String & GetRequestId() const
Definition: UpdateAnalysisPermissionsResult.h:155
Aws::QuickSight::Model::UpdateAnalysisPermissionsResult::SetAnalysisId
void SetAnalysisId(const char *value)
Definition: UpdateAnalysisPermissionsResult.h:91
Aws::QuickSight::Model::UpdateAnalysisPermissionsResult::SetAnalysisId
void SetAnalysisId(Aws::String &&value)
Definition: UpdateAnalysisPermissionsResult.h:86
Aws::QuickSight::Model::UpdateAnalysisPermissionsResult::WithPermissions
UpdateAnalysisPermissionsResult & WithPermissions(Aws::Vector< ResourcePermission > &&value)
Definition: UpdateAnalysisPermissionsResult.h:137
Aws::QuickSight::Model::UpdateAnalysisPermissionsResult::WithAnalysisArn
UpdateAnalysisPermissionsResult & WithAnalysisArn(Aws::String &&value)
Definition: UpdateAnalysisPermissionsResult.h:65
Aws::QuickSight::Model::UpdateAnalysisPermissionsResult::SetAnalysisId
void SetAnalysisId(const Aws::String &value)
Definition: UpdateAnalysisPermissionsResult.h:81
Aws::QuickSight::Model::UpdateAnalysisPermissionsResult::SetRequestId
void SetRequestId(const char *value)
Definition: UpdateAnalysisPermissionsResult.h:170
Aws::QuickSight::Model::UpdateAnalysisPermissionsResult::WithPermissions
UpdateAnalysisPermissionsResult & WithPermissions(const Aws::Vector< ResourcePermission > &value)
Definition: UpdateAnalysisPermissionsResult.h:131
Aws::QuickSight::Model::UpdateAnalysisPermissionsResult::GetAnalysisId
const Aws::String & GetAnalysisId() const
Definition: UpdateAnalysisPermissionsResult.h:76
Aws::QuickSight::Model::UpdateAnalysisPermissionsResult::AddPermissions
UpdateAnalysisPermissionsResult & AddPermissions(const ResourcePermission &value)
Definition: UpdateAnalysisPermissionsResult.h:143
Aws::QuickSight::Model::UpdateAnalysisPermissionsResult::SetRequestId
void SetRequestId(const Aws::String &value)
Definition: UpdateAnalysisPermissionsResult.h:160
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::QuickSight::Model::UpdateAnalysisPermissionsResult::GetAnalysisArn
const Aws::String & GetAnalysisArn() const
Definition: UpdateAnalysisPermissionsResult.h:40
ResourcePermission.h
AWSVector.h
Aws::QuickSight::Model::UpdateAnalysisPermissionsResult::WithAnalysisId
UpdateAnalysisPermissionsResult & WithAnalysisId(const Aws::String &value)
Definition: UpdateAnalysisPermissionsResult.h:96
Aws::QuickSight::Model::ResourcePermission
Definition: ResourcePermission.h:33
Aws::QuickSight::Model::UpdateAnalysisPermissionsResult::UpdateAnalysisPermissionsResult
UpdateAnalysisPermissionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::QuickSight::Model::UpdateAnalysisPermissionsResult::GetPermissions
const Aws::Vector< ResourcePermission > & GetPermissions() const
Definition: UpdateAnalysisPermissionsResult.h:113
Aws::QuickSight::Model::UpdateAnalysisPermissionsResult::WithRequestId
UpdateAnalysisPermissionsResult & WithRequestId(const Aws::String &value)
Definition: UpdateAnalysisPermissionsResult.h:175
AWSString.h
Aws::QuickSight::Model::UpdateAnalysisPermissionsResult::SetPermissions
void SetPermissions(const Aws::Vector< ResourcePermission > &value)
Definition: UpdateAnalysisPermissionsResult.h:119
Aws::QuickSight::Model::UpdateAnalysisPermissionsResult::UpdateAnalysisPermissionsResult
UpdateAnalysisPermissionsResult()
Aws::QuickSight::Model::UpdateAnalysisPermissionsResult::operator=
UpdateAnalysisPermissionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::QuickSight::Model::UpdateAnalysisPermissionsResult::SetAnalysisArn
void SetAnalysisArn(const char *value)
Definition: UpdateAnalysisPermissionsResult.h:55
Aws::QuickSight::Model::UpdateAnalysisPermissionsResult::AddPermissions
UpdateAnalysisPermissionsResult & AddPermissions(ResourcePermission &&value)
Definition: UpdateAnalysisPermissionsResult.h:149
Aws::QuickSight::Model::UpdateAnalysisPermissionsResult::WithAnalysisArn
UpdateAnalysisPermissionsResult & WithAnalysisArn(const char *value)
Definition: UpdateAnalysisPermissionsResult.h:70
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::UpdateAnalysisPermissionsResult::SetAnalysisArn
void SetAnalysisArn(const Aws::String &value)
Definition: UpdateAnalysisPermissionsResult.h:45
Aws::QuickSight::Model::UpdateAnalysisPermissionsResult::SetAnalysisArn
void SetAnalysisArn(Aws::String &&value)
Definition: UpdateAnalysisPermissionsResult.h:50
Aws::QuickSight::Model::UpdateAnalysisPermissionsResult::WithRequestId
UpdateAnalysisPermissionsResult & WithRequestId(Aws::String &&value)
Definition: UpdateAnalysisPermissionsResult.h:180
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::UpdateAnalysisPermissionsResult::SetRequestId
void SetRequestId(Aws::String &&value)
Definition: UpdateAnalysisPermissionsResult.h:165
Aws::QuickSight::Model::UpdateAnalysisPermissionsResult::WithAnalysisArn
UpdateAnalysisPermissionsResult & WithAnalysisArn(const Aws::String &value)
Definition: UpdateAnalysisPermissionsResult.h:60
Aws::QuickSight::Model::UpdateAnalysisPermissionsResult::GetStatus
int GetStatus() const
Definition: UpdateAnalysisPermissionsResult.h:191
Aws::QuickSight::Model::UpdateAnalysisPermissionsResult::WithRequestId
UpdateAnalysisPermissionsResult & WithRequestId(const char *value)
Definition: UpdateAnalysisPermissionsResult.h:185
Aws::QuickSight::Model::UpdateAnalysisPermissionsResult::WithAnalysisId
UpdateAnalysisPermissionsResult & WithAnalysisId(const char *value)
Definition: UpdateAnalysisPermissionsResult.h:106
Aws::QuickSight::Model::UpdateAnalysisPermissionsResult::SetPermissions
void SetPermissions(Aws::Vector< ResourcePermission > &&value)
Definition: UpdateAnalysisPermissionsResult.h:125
Aws::QuickSight::Model::UpdateAnalysisPermissionsResult
Definition: UpdateAnalysisPermissionsResult.h:30
Aws::QuickSight::Model::UpdateAnalysisPermissionsResult::SetStatus
void SetStatus(int value)
Definition: UpdateAnalysisPermissionsResult.h:196
Aws::QuickSight::Model::UpdateAnalysisPermissionsResult::WithAnalysisId
UpdateAnalysisPermissionsResult & WithAnalysisId(Aws::String &&value)
Definition: UpdateAnalysisPermissionsResult.h:101
Aws::QuickSight::Model::UpdateAnalysisPermissionsResult::WithStatus
UpdateAnalysisPermissionsResult & WithStatus(int value)
Definition: UpdateAnalysisPermissionsResult.h:201