AWS SDK for C++  1.9.160
AWS SDK for C++
DescribeAnalysisResult.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 
40  inline const Analysis& GetAnalysis() const{ return m_analysis; }
41 
46  inline void SetAnalysis(const Analysis& value) { m_analysis = value; }
47 
52  inline void SetAnalysis(Analysis&& value) { m_analysis = std::move(value); }
53 
58  inline DescribeAnalysisResult& WithAnalysis(const Analysis& value) { SetAnalysis(value); return *this;}
59 
64  inline DescribeAnalysisResult& WithAnalysis(Analysis&& value) { SetAnalysis(std::move(value)); return *this;}
65 
66 
70  inline int GetStatus() const{ return m_status; }
71 
75  inline void SetStatus(int value) { m_status = value; }
76 
80  inline DescribeAnalysisResult& WithStatus(int value) { SetStatus(value); return *this;}
81 
82 
86  inline const Aws::String& GetRequestId() const{ return m_requestId; }
87 
91  inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
92 
96  inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
97 
101  inline void SetRequestId(const char* value) { m_requestId.assign(value); }
102 
106  inline DescribeAnalysisResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
107 
111  inline DescribeAnalysisResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
112 
116  inline DescribeAnalysisResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
117 
118  private:
119 
120  Analysis m_analysis;
121 
122  int m_status;
123 
124  Aws::String m_requestId;
125  };
126 
127 } // namespace Model
128 } // namespace QuickSight
129 } // namespace Aws
Aws::QuickSight::Model::DescribeAnalysisResult::SetStatus
void SetStatus(int value)
Definition: DescribeAnalysisResult.h:75
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::QuickSight::Model::DescribeAnalysisResult::WithAnalysis
DescribeAnalysisResult & WithAnalysis(Analysis &&value)
Definition: DescribeAnalysisResult.h:64
QuickSight_EXPORTS.h
Aws::QuickSight::Model::DescribeAnalysisResult::WithRequestId
DescribeAnalysisResult & WithRequestId(Aws::String &&value)
Definition: DescribeAnalysisResult.h:111
Aws::QuickSight::Model::DescribeAnalysisResult::operator=
DescribeAnalysisResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::QuickSight::Model::DescribeAnalysisResult::WithStatus
DescribeAnalysisResult & WithStatus(int value)
Definition: DescribeAnalysisResult.h:80
Aws::QuickSight::Model::Analysis
Definition: Analysis.h:38
Aws::QuickSight::Model::DescribeAnalysisResult::WithRequestId
DescribeAnalysisResult & WithRequestId(const char *value)
Definition: DescribeAnalysisResult.h:116
Aws::QuickSight::Model::DescribeAnalysisResult::DescribeAnalysisResult
DescribeAnalysisResult()
Aws::QuickSight::Model::DescribeAnalysisResult::GetAnalysis
const Analysis & GetAnalysis() const
Definition: DescribeAnalysisResult.h:40
Analysis.h
Aws::QuickSight::Model::DescribeAnalysisResult::SetRequestId
void SetRequestId(const Aws::String &value)
Definition: DescribeAnalysisResult.h:91
Aws::QuickSight::Model::DescribeAnalysisResult::SetRequestId
void SetRequestId(Aws::String &&value)
Definition: DescribeAnalysisResult.h:96
Aws::QuickSight::Model::DescribeAnalysisResult::DescribeAnalysisResult
DescribeAnalysisResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSString.h
Aws::QuickSight::Model::DescribeAnalysisResult::SetRequestId
void SetRequestId(const char *value)
Definition: DescribeAnalysisResult.h:101
Aws::QuickSight::Model::DescribeAnalysisResult::SetAnalysis
void SetAnalysis(const Analysis &value)
Definition: DescribeAnalysisResult.h:46
Aws::QuickSight::Model::DescribeAnalysisResult
Definition: DescribeAnalysisResult.h:29
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::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::DescribeAnalysisResult::GetRequestId
const Aws::String & GetRequestId() const
Definition: DescribeAnalysisResult.h:86
Aws::QuickSight::Model::DescribeAnalysisResult::WithRequestId
DescribeAnalysisResult & WithRequestId(const Aws::String &value)
Definition: DescribeAnalysisResult.h:106
Aws::QuickSight::Model::DescribeAnalysisResult::SetAnalysis
void SetAnalysis(Analysis &&value)
Definition: DescribeAnalysisResult.h:52
Aws::QuickSight::Model::DescribeAnalysisResult::GetStatus
int GetStatus() const
Definition: DescribeAnalysisResult.h:70
Aws::QuickSight::Model::DescribeAnalysisResult::WithAnalysis
DescribeAnalysisResult & WithAnalysis(const Analysis &value)
Definition: DescribeAnalysisResult.h:58