AWS SDK for C++  1.8.126
AWS SDK for C++
UpdateAnalysisResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace QuickSight
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
39  inline const Aws::String& GetArn() const{ return m_arn; }
40 
44  inline void SetArn(const Aws::String& value) { m_arn = value; }
45 
49  inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
50 
54  inline void SetArn(const char* value) { m_arn.assign(value); }
55 
59  inline UpdateAnalysisResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
60 
64  inline UpdateAnalysisResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
65 
69  inline UpdateAnalysisResult& WithArn(const char* value) { SetArn(value); return *this;}
70 
71 
75  inline const Aws::String& GetAnalysisId() const{ return m_analysisId; }
76 
80  inline void SetAnalysisId(const Aws::String& value) { m_analysisId = value; }
81 
85  inline void SetAnalysisId(Aws::String&& value) { m_analysisId = std::move(value); }
86 
90  inline void SetAnalysisId(const char* value) { m_analysisId.assign(value); }
91 
95  inline UpdateAnalysisResult& WithAnalysisId(const Aws::String& value) { SetAnalysisId(value); return *this;}
96 
100  inline UpdateAnalysisResult& WithAnalysisId(Aws::String&& value) { SetAnalysisId(std::move(value)); return *this;}
101 
105  inline UpdateAnalysisResult& WithAnalysisId(const char* value) { SetAnalysisId(value); return *this;}
106 
107 
111  inline const ResourceStatus& GetUpdateStatus() const{ return m_updateStatus; }
112 
116  inline void SetUpdateStatus(const ResourceStatus& value) { m_updateStatus = value; }
117 
121  inline void SetUpdateStatus(ResourceStatus&& value) { m_updateStatus = std::move(value); }
122 
126  inline UpdateAnalysisResult& WithUpdateStatus(const ResourceStatus& value) { SetUpdateStatus(value); return *this;}
127 
131  inline UpdateAnalysisResult& WithUpdateStatus(ResourceStatus&& value) { SetUpdateStatus(std::move(value)); return *this;}
132 
133 
137  inline int GetStatus() const{ return m_status; }
138 
142  inline void SetStatus(int value) { m_status = value; }
143 
147  inline UpdateAnalysisResult& WithStatus(int value) { SetStatus(value); return *this;}
148 
149 
153  inline const Aws::String& GetRequestId() const{ return m_requestId; }
154 
158  inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
159 
163  inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
164 
168  inline void SetRequestId(const char* value) { m_requestId.assign(value); }
169 
173  inline UpdateAnalysisResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
174 
178  inline UpdateAnalysisResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
179 
183  inline UpdateAnalysisResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
184 
185  private:
186 
187  Aws::String m_arn;
188 
189  Aws::String m_analysisId;
190 
191  ResourceStatus m_updateStatus;
192 
193  int m_status;
194 
195  Aws::String m_requestId;
196  };
197 
198 } // namespace Model
199 } // namespace QuickSight
200 } // namespace Aws
Aws::QuickSight::Model::UpdateAnalysisResult::SetUpdateStatus
void SetUpdateStatus(const ResourceStatus &value)
Definition: UpdateAnalysisResult.h:116
Aws::QuickSight::Model::UpdateAnalysisResult
Definition: UpdateAnalysisResult.h:29
Aws::QuickSight::Model::UpdateAnalysisResult::WithRequestId
UpdateAnalysisResult & WithRequestId(const char *value)
Definition: UpdateAnalysisResult.h:183
ResourceStatus.h
Aws::QuickSight::Model::UpdateAnalysisResult::WithArn
UpdateAnalysisResult & WithArn(const Aws::String &value)
Definition: UpdateAnalysisResult.h:59
Aws::QuickSight::Model::UpdateAnalysisResult::WithUpdateStatus
UpdateAnalysisResult & WithUpdateStatus(const ResourceStatus &value)
Definition: UpdateAnalysisResult.h:126
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
QuickSight_EXPORTS.h
Aws::QuickSight::Model::UpdateAnalysisResult::WithArn
UpdateAnalysisResult & WithArn(const char *value)
Definition: UpdateAnalysisResult.h:69
Aws::QuickSight::Model::UpdateAnalysisResult::SetAnalysisId
void SetAnalysisId(const char *value)
Definition: UpdateAnalysisResult.h:90
Aws::QuickSight::Model::UpdateAnalysisResult::SetRequestId
void SetRequestId(const Aws::String &value)
Definition: UpdateAnalysisResult.h:158
Aws::QuickSight::Model::UpdateAnalysisResult::GetStatus
int GetStatus() const
Definition: UpdateAnalysisResult.h:137
Aws::QuickSight::Model::UpdateAnalysisResult::SetArn
void SetArn(const Aws::String &value)
Definition: UpdateAnalysisResult.h:44
Aws::QuickSight::Model::UpdateAnalysisResult::SetAnalysisId
void SetAnalysisId(const Aws::String &value)
Definition: UpdateAnalysisResult.h:80
Aws::QuickSight::Model::UpdateAnalysisResult::operator=
UpdateAnalysisResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::QuickSight::Model::UpdateAnalysisResult::WithArn
UpdateAnalysisResult & WithArn(Aws::String &&value)
Definition: UpdateAnalysisResult.h:64
Aws::QuickSight::Model::UpdateAnalysisResult::WithRequestId
UpdateAnalysisResult & WithRequestId(const Aws::String &value)
Definition: UpdateAnalysisResult.h:173
Aws::QuickSight::Model::UpdateAnalysisResult::WithRequestId
UpdateAnalysisResult & WithRequestId(Aws::String &&value)
Definition: UpdateAnalysisResult.h:178
Aws::QuickSight::Model::UpdateAnalysisResult::SetUpdateStatus
void SetUpdateStatus(ResourceStatus &&value)
Definition: UpdateAnalysisResult.h:121
Aws::QuickSight::Model::UpdateAnalysisResult::GetRequestId
const Aws::String & GetRequestId() const
Definition: UpdateAnalysisResult.h:153
Aws::QuickSight::Model::UpdateAnalysisResult::SetArn
void SetArn(const char *value)
Definition: UpdateAnalysisResult.h:54
Aws::QuickSight::Model::UpdateAnalysisResult::UpdateAnalysisResult
UpdateAnalysisResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::QuickSight::Model::UpdateAnalysisResult::WithAnalysisId
UpdateAnalysisResult & WithAnalysisId(const Aws::String &value)
Definition: UpdateAnalysisResult.h:95
Aws::QuickSight::Model::UpdateAnalysisResult::SetArn
void SetArn(Aws::String &&value)
Definition: UpdateAnalysisResult.h:49
Aws::QuickSight::Model::UpdateAnalysisResult::SetRequestId
void SetRequestId(Aws::String &&value)
Definition: UpdateAnalysisResult.h:163
Aws::QuickSight::Model::UpdateAnalysisResult::SetRequestId
void SetRequestId(const char *value)
Definition: UpdateAnalysisResult.h:168
AWSString.h
Aws::QuickSight::Model::UpdateAnalysisResult::GetAnalysisId
const Aws::String & GetAnalysisId() const
Definition: UpdateAnalysisResult.h:75
Aws::QuickSight::Model::ResourceStatus
ResourceStatus
Definition: ResourceStatus.h:17
Aws::QuickSight::Model::UpdateAnalysisResult::WithAnalysisId
UpdateAnalysisResult & WithAnalysisId(const char *value)
Definition: UpdateAnalysisResult.h:105
Aws::QuickSight::Model::UpdateAnalysisResult::WithStatus
UpdateAnalysisResult & WithStatus(int value)
Definition: UpdateAnalysisResult.h:147
Aws::QuickSight::Model::UpdateAnalysisResult::GetArn
const Aws::String & GetArn() const
Definition: UpdateAnalysisResult.h:39
Aws::QuickSight::Model::UpdateAnalysisResult::GetUpdateStatus
const ResourceStatus & GetUpdateStatus() const
Definition: UpdateAnalysisResult.h:111
Aws::QuickSight::Model::UpdateAnalysisResult::WithAnalysisId
UpdateAnalysisResult & WithAnalysisId(Aws::String &&value)
Definition: UpdateAnalysisResult.h:100
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::QuickSight::Model::UpdateAnalysisResult::SetStatus
void SetStatus(int value)
Definition: UpdateAnalysisResult.h:142
Aws::QuickSight::Model::UpdateAnalysisResult::SetAnalysisId
void SetAnalysisId(Aws::String &&value)
Definition: UpdateAnalysisResult.h:85
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::UpdateAnalysisResult::WithUpdateStatus
UpdateAnalysisResult & WithUpdateStatus(ResourceStatus &&value)
Definition: UpdateAnalysisResult.h:131
Aws::QuickSight::Model::UpdateAnalysisResult::UpdateAnalysisResult
UpdateAnalysisResult()