AWS SDK for C++  1.9.158
AWS SDK for C++
RestoreAnalysisResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace QuickSight
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline int GetStatus() const{ return m_status; }
39 
43  inline void SetStatus(int value) { m_status = value; }
44 
48  inline RestoreAnalysisResult& WithStatus(int value) { SetStatus(value); return *this;}
49 
50 
54  inline const Aws::String& GetArn() const{ return m_arn; }
55 
59  inline void SetArn(const Aws::String& value) { m_arn = value; }
60 
64  inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
65 
69  inline void SetArn(const char* value) { m_arn.assign(value); }
70 
74  inline RestoreAnalysisResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
75 
79  inline RestoreAnalysisResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
80 
84  inline RestoreAnalysisResult& WithArn(const char* value) { SetArn(value); return *this;}
85 
86 
90  inline const Aws::String& GetAnalysisId() const{ return m_analysisId; }
91 
95  inline void SetAnalysisId(const Aws::String& value) { m_analysisId = value; }
96 
100  inline void SetAnalysisId(Aws::String&& value) { m_analysisId = std::move(value); }
101 
105  inline void SetAnalysisId(const char* value) { m_analysisId.assign(value); }
106 
110  inline RestoreAnalysisResult& WithAnalysisId(const Aws::String& value) { SetAnalysisId(value); return *this;}
111 
115  inline RestoreAnalysisResult& WithAnalysisId(Aws::String&& value) { SetAnalysisId(std::move(value)); return *this;}
116 
120  inline RestoreAnalysisResult& WithAnalysisId(const char* value) { SetAnalysisId(value); return *this;}
121 
122 
126  inline const Aws::String& GetRequestId() const{ return m_requestId; }
127 
131  inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
132 
136  inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
137 
141  inline void SetRequestId(const char* value) { m_requestId.assign(value); }
142 
146  inline RestoreAnalysisResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
147 
151  inline RestoreAnalysisResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
152 
156  inline RestoreAnalysisResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
157 
158  private:
159 
160  int m_status;
161 
162  Aws::String m_arn;
163 
164  Aws::String m_analysisId;
165 
166  Aws::String m_requestId;
167  };
168 
169 } // namespace Model
170 } // namespace QuickSight
171 } // namespace Aws
Aws::QuickSight::Model::RestoreAnalysisResult::SetAnalysisId
void SetAnalysisId(const char *value)
Definition: RestoreAnalysisResult.h:105
Aws::QuickSight::Model::RestoreAnalysisResult::SetArn
void SetArn(const char *value)
Definition: RestoreAnalysisResult.h:69
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
QuickSight_EXPORTS.h
Aws::QuickSight::Model::RestoreAnalysisResult::RestoreAnalysisResult
RestoreAnalysisResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::QuickSight::Model::RestoreAnalysisResult::WithAnalysisId
RestoreAnalysisResult & WithAnalysisId(Aws::String &&value)
Definition: RestoreAnalysisResult.h:115
Aws::QuickSight::Model::RestoreAnalysisResult
Definition: RestoreAnalysisResult.h:28
Aws::QuickSight::Model::RestoreAnalysisResult::GetRequestId
const Aws::String & GetRequestId() const
Definition: RestoreAnalysisResult.h:126
Aws::QuickSight::Model::RestoreAnalysisResult::SetArn
void SetArn(const Aws::String &value)
Definition: RestoreAnalysisResult.h:59
Aws::QuickSight::Model::RestoreAnalysisResult::WithArn
RestoreAnalysisResult & WithArn(const Aws::String &value)
Definition: RestoreAnalysisResult.h:74
Aws::QuickSight::Model::RestoreAnalysisResult::WithAnalysisId
RestoreAnalysisResult & WithAnalysisId(const Aws::String &value)
Definition: RestoreAnalysisResult.h:110
Aws::QuickSight::Model::RestoreAnalysisResult::SetArn
void SetArn(Aws::String &&value)
Definition: RestoreAnalysisResult.h:64
Aws::QuickSight::Model::RestoreAnalysisResult::SetRequestId
void SetRequestId(Aws::String &&value)
Definition: RestoreAnalysisResult.h:136
Aws::QuickSight::Model::RestoreAnalysisResult::WithRequestId
RestoreAnalysisResult & WithRequestId(Aws::String &&value)
Definition: RestoreAnalysisResult.h:151
Aws::QuickSight::Model::RestoreAnalysisResult::WithArn
RestoreAnalysisResult & WithArn(Aws::String &&value)
Definition: RestoreAnalysisResult.h:79
Aws::QuickSight::Model::RestoreAnalysisResult::operator=
RestoreAnalysisResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::QuickSight::Model::RestoreAnalysisResult::WithAnalysisId
RestoreAnalysisResult & WithAnalysisId(const char *value)
Definition: RestoreAnalysisResult.h:120
Aws::QuickSight::Model::RestoreAnalysisResult::WithArn
RestoreAnalysisResult & WithArn(const char *value)
Definition: RestoreAnalysisResult.h:84
Aws::QuickSight::Model::RestoreAnalysisResult::RestoreAnalysisResult
RestoreAnalysisResult()
Aws::QuickSight::Model::RestoreAnalysisResult::WithRequestId
RestoreAnalysisResult & WithRequestId(const Aws::String &value)
Definition: RestoreAnalysisResult.h:146
Aws::QuickSight::Model::RestoreAnalysisResult::WithStatus
RestoreAnalysisResult & WithStatus(int value)
Definition: RestoreAnalysisResult.h:48
Aws::QuickSight::Model::RestoreAnalysisResult::SetRequestId
void SetRequestId(const Aws::String &value)
Definition: RestoreAnalysisResult.h:131
AWSString.h
Aws::QuickSight::Model::RestoreAnalysisResult::GetAnalysisId
const Aws::String & GetAnalysisId() const
Definition: RestoreAnalysisResult.h:90
Aws::QuickSight::Model::RestoreAnalysisResult::GetArn
const Aws::String & GetArn() const
Definition: RestoreAnalysisResult.h:54
Aws::QuickSight::Model::RestoreAnalysisResult::WithRequestId
RestoreAnalysisResult & WithRequestId(const char *value)
Definition: RestoreAnalysisResult.h:156
Aws::QuickSight::Model::RestoreAnalysisResult::SetRequestId
void SetRequestId(const char *value)
Definition: RestoreAnalysisResult.h:141
Aws::QuickSight::Model::RestoreAnalysisResult::SetAnalysisId
void SetAnalysisId(Aws::String &&value)
Definition: RestoreAnalysisResult.h:100
Aws::QuickSight::Model::RestoreAnalysisResult::SetAnalysisId
void SetAnalysisId(const Aws::String &value)
Definition: RestoreAnalysisResult.h:95
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::RestoreAnalysisResult::GetStatus
int GetStatus() const
Definition: RestoreAnalysisResult.h:38
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::RestoreAnalysisResult::SetStatus
void SetStatus(int value)
Definition: RestoreAnalysisResult.h:43