AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateAnalysisResult.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/model/ResourceStatus.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace QuickSight
25{
26namespace Model
27{
29 {
30 public:
31 AWS_QUICKSIGHT_API CreateAnalysisResult();
34
35
37
40 inline const Aws::String& GetArn() const{ return m_arn; }
41 inline void SetArn(const Aws::String& value) { m_arn = value; }
42 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
43 inline void SetArn(const char* value) { m_arn.assign(value); }
44 inline CreateAnalysisResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
45 inline CreateAnalysisResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
46 inline CreateAnalysisResult& WithArn(const char* value) { SetArn(value); return *this;}
48
50
53 inline const Aws::String& GetAnalysisId() const{ return m_analysisId; }
54 inline void SetAnalysisId(const Aws::String& value) { m_analysisId = value; }
55 inline void SetAnalysisId(Aws::String&& value) { m_analysisId = std::move(value); }
56 inline void SetAnalysisId(const char* value) { m_analysisId.assign(value); }
57 inline CreateAnalysisResult& WithAnalysisId(const Aws::String& value) { SetAnalysisId(value); return *this;}
58 inline CreateAnalysisResult& WithAnalysisId(Aws::String&& value) { SetAnalysisId(std::move(value)); return *this;}
59 inline CreateAnalysisResult& WithAnalysisId(const char* value) { SetAnalysisId(value); return *this;}
61
63
66 inline const ResourceStatus& GetCreationStatus() const{ return m_creationStatus; }
67 inline void SetCreationStatus(const ResourceStatus& value) { m_creationStatus = value; }
68 inline void SetCreationStatus(ResourceStatus&& value) { m_creationStatus = std::move(value); }
69 inline CreateAnalysisResult& WithCreationStatus(const ResourceStatus& value) { SetCreationStatus(value); return *this;}
70 inline CreateAnalysisResult& WithCreationStatus(ResourceStatus&& value) { SetCreationStatus(std::move(value)); return *this;}
72
74
77 inline int GetStatus() const{ return m_status; }
78 inline void SetStatus(int value) { m_status = value; }
79 inline CreateAnalysisResult& WithStatus(int value) { SetStatus(value); return *this;}
81
83
84 inline const Aws::String& GetRequestId() const{ return m_requestId; }
85 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
86 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
87 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
88 inline CreateAnalysisResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
89 inline CreateAnalysisResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
90 inline CreateAnalysisResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
92 private:
93
94 Aws::String m_arn;
95
96 Aws::String m_analysisId;
97
98 ResourceStatus m_creationStatus;
99
100 int m_status;
101
102 Aws::String m_requestId;
103 };
104
105} // namespace Model
106} // namespace QuickSight
107} // namespace Aws
CreateAnalysisResult & WithCreationStatus(const ResourceStatus &value)
CreateAnalysisResult & WithArn(const Aws::String &value)
CreateAnalysisResult & WithRequestId(const char *value)
void SetCreationStatus(const ResourceStatus &value)
AWS_QUICKSIGHT_API CreateAnalysisResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_QUICKSIGHT_API CreateAnalysisResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateAnalysisResult & WithArn(Aws::String &&value)
CreateAnalysisResult & WithRequestId(Aws::String &&value)
CreateAnalysisResult & WithStatus(int value)
CreateAnalysisResult & WithArn(const char *value)
const ResourceStatus & GetCreationStatus() const
CreateAnalysisResult & WithAnalysisId(Aws::String &&value)
CreateAnalysisResult & WithAnalysisId(const Aws::String &value)
CreateAnalysisResult & WithRequestId(const Aws::String &value)
CreateAnalysisResult & WithAnalysisId(const char *value)
CreateAnalysisResult & WithCreationStatus(ResourceStatus &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue