AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RestoreAnalysisResult.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.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 RestoreAnalysisResult();
34
35
37
40 inline int GetStatus() const{ return m_status; }
41 inline void SetStatus(int value) { m_status = value; }
42 inline RestoreAnalysisResult& WithStatus(int value) { SetStatus(value); return *this;}
44
46
49 inline const Aws::String& GetArn() const{ return m_arn; }
50 inline void SetArn(const Aws::String& value) { m_arn = value; }
51 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
52 inline void SetArn(const char* value) { m_arn.assign(value); }
53 inline RestoreAnalysisResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
54 inline RestoreAnalysisResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
55 inline RestoreAnalysisResult& WithArn(const char* value) { SetArn(value); return *this;}
57
59
62 inline const Aws::String& GetAnalysisId() const{ return m_analysisId; }
63 inline void SetAnalysisId(const Aws::String& value) { m_analysisId = value; }
64 inline void SetAnalysisId(Aws::String&& value) { m_analysisId = std::move(value); }
65 inline void SetAnalysisId(const char* value) { m_analysisId.assign(value); }
66 inline RestoreAnalysisResult& WithAnalysisId(const Aws::String& value) { SetAnalysisId(value); return *this;}
67 inline RestoreAnalysisResult& WithAnalysisId(Aws::String&& value) { SetAnalysisId(std::move(value)); return *this;}
68 inline RestoreAnalysisResult& WithAnalysisId(const char* value) { SetAnalysisId(value); return *this;}
70
72
73 inline const Aws::String& GetRequestId() const{ return m_requestId; }
74 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
75 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
76 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
77 inline RestoreAnalysisResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
78 inline RestoreAnalysisResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
79 inline RestoreAnalysisResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
81
83
86 inline const Aws::Vector<Aws::String>& GetRestorationFailedFolderArns() const{ return m_restorationFailedFolderArns; }
87 inline void SetRestorationFailedFolderArns(const Aws::Vector<Aws::String>& value) { m_restorationFailedFolderArns = value; }
88 inline void SetRestorationFailedFolderArns(Aws::Vector<Aws::String>&& value) { m_restorationFailedFolderArns = std::move(value); }
91 inline RestoreAnalysisResult& AddRestorationFailedFolderArns(const Aws::String& value) { m_restorationFailedFolderArns.push_back(value); return *this; }
92 inline RestoreAnalysisResult& AddRestorationFailedFolderArns(Aws::String&& value) { m_restorationFailedFolderArns.push_back(std::move(value)); return *this; }
93 inline RestoreAnalysisResult& AddRestorationFailedFolderArns(const char* value) { m_restorationFailedFolderArns.push_back(value); return *this; }
95 private:
96
97 int m_status;
98
99 Aws::String m_arn;
100
101 Aws::String m_analysisId;
102
103 Aws::String m_requestId;
104
105 Aws::Vector<Aws::String> m_restorationFailedFolderArns;
106 };
107
108} // namespace Model
109} // namespace QuickSight
110} // namespace Aws
AWS_QUICKSIGHT_API RestoreAnalysisResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
RestoreAnalysisResult & WithRequestId(const char *value)
RestoreAnalysisResult & WithAnalysisId(Aws::String &&value)
RestoreAnalysisResult & WithAnalysisId(const char *value)
RestoreAnalysisResult & WithArn(Aws::String &&value)
RestoreAnalysisResult & WithRequestId(Aws::String &&value)
RestoreAnalysisResult & WithStatus(int value)
AWS_QUICKSIGHT_API RestoreAnalysisResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
RestoreAnalysisResult & WithRequestId(const Aws::String &value)
RestoreAnalysisResult & WithAnalysisId(const Aws::String &value)
void SetRestorationFailedFolderArns(Aws::Vector< Aws::String > &&value)
RestoreAnalysisResult & WithArn(const Aws::String &value)
RestoreAnalysisResult & AddRestorationFailedFolderArns(const Aws::String &value)
RestoreAnalysisResult & AddRestorationFailedFolderArns(Aws::String &&value)
void SetRestorationFailedFolderArns(const Aws::Vector< Aws::String > &value)
RestoreAnalysisResult & WithRestorationFailedFolderArns(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetRestorationFailedFolderArns() const
RestoreAnalysisResult & WithRestorationFailedFolderArns(const Aws::Vector< Aws::String > &value)
RestoreAnalysisResult & AddRestorationFailedFolderArns(const char *value)
RestoreAnalysisResult & WithArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue