AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeAnalysisDefinitionResult.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 <aws/quicksight/model/ResourceStatus.h>
11#include <aws/quicksight/model/AnalysisDefinition.h>
12#include <aws/quicksight/model/AnalysisError.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace QuickSight
28{
29namespace Model
30{
32 {
33 public:
37
38
40
43 inline const Aws::String& GetAnalysisId() const{ return m_analysisId; }
44 inline void SetAnalysisId(const Aws::String& value) { m_analysisId = value; }
45 inline void SetAnalysisId(Aws::String&& value) { m_analysisId = std::move(value); }
46 inline void SetAnalysisId(const char* value) { m_analysisId.assign(value); }
47 inline DescribeAnalysisDefinitionResult& WithAnalysisId(const Aws::String& value) { SetAnalysisId(value); return *this;}
48 inline DescribeAnalysisDefinitionResult& WithAnalysisId(Aws::String&& value) { SetAnalysisId(std::move(value)); return *this;}
49 inline DescribeAnalysisDefinitionResult& WithAnalysisId(const char* value) { SetAnalysisId(value); return *this;}
51
53
56 inline const Aws::String& GetName() const{ return m_name; }
57 inline void SetName(const Aws::String& value) { m_name = value; }
58 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
59 inline void SetName(const char* value) { m_name.assign(value); }
60 inline DescribeAnalysisDefinitionResult& WithName(const Aws::String& value) { SetName(value); return *this;}
61 inline DescribeAnalysisDefinitionResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
62 inline DescribeAnalysisDefinitionResult& WithName(const char* value) { SetName(value); return *this;}
64
66
69 inline const Aws::Vector<AnalysisError>& GetErrors() const{ return m_errors; }
70 inline void SetErrors(const Aws::Vector<AnalysisError>& value) { m_errors = value; }
71 inline void SetErrors(Aws::Vector<AnalysisError>&& value) { m_errors = std::move(value); }
73 inline DescribeAnalysisDefinitionResult& WithErrors(Aws::Vector<AnalysisError>&& value) { SetErrors(std::move(value)); return *this;}
74 inline DescribeAnalysisDefinitionResult& AddErrors(const AnalysisError& value) { m_errors.push_back(value); return *this; }
75 inline DescribeAnalysisDefinitionResult& AddErrors(AnalysisError&& value) { m_errors.push_back(std::move(value)); return *this; }
77
79
88 inline const ResourceStatus& GetResourceStatus() const{ return m_resourceStatus; }
89 inline void SetResourceStatus(const ResourceStatus& value) { m_resourceStatus = value; }
90 inline void SetResourceStatus(ResourceStatus&& value) { m_resourceStatus = std::move(value); }
92 inline DescribeAnalysisDefinitionResult& WithResourceStatus(ResourceStatus&& value) { SetResourceStatus(std::move(value)); return *this;}
94
96
99 inline const Aws::String& GetThemeArn() const{ return m_themeArn; }
100 inline void SetThemeArn(const Aws::String& value) { m_themeArn = value; }
101 inline void SetThemeArn(Aws::String&& value) { m_themeArn = std::move(value); }
102 inline void SetThemeArn(const char* value) { m_themeArn.assign(value); }
103 inline DescribeAnalysisDefinitionResult& WithThemeArn(const Aws::String& value) { SetThemeArn(value); return *this;}
104 inline DescribeAnalysisDefinitionResult& WithThemeArn(Aws::String&& value) { SetThemeArn(std::move(value)); return *this;}
105 inline DescribeAnalysisDefinitionResult& WithThemeArn(const char* value) { SetThemeArn(value); return *this;}
107
109
113 inline const AnalysisDefinition& GetDefinition() const{ return m_definition; }
114 inline void SetDefinition(const AnalysisDefinition& value) { m_definition = value; }
115 inline void SetDefinition(AnalysisDefinition&& value) { m_definition = std::move(value); }
117 inline DescribeAnalysisDefinitionResult& WithDefinition(AnalysisDefinition&& value) { SetDefinition(std::move(value)); return *this;}
119
121
124 inline int GetStatus() const{ return m_status; }
125 inline void SetStatus(int value) { m_status = value; }
126 inline DescribeAnalysisDefinitionResult& WithStatus(int value) { SetStatus(value); return *this;}
128
130
131 inline const Aws::String& GetRequestId() const{ return m_requestId; }
132 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
133 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
134 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
135 inline DescribeAnalysisDefinitionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
136 inline DescribeAnalysisDefinitionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
137 inline DescribeAnalysisDefinitionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
139 private:
140
141 Aws::String m_analysisId;
142
143 Aws::String m_name;
144
146
147 ResourceStatus m_resourceStatus;
148
149 Aws::String m_themeArn;
150
151 AnalysisDefinition m_definition;
152
153 int m_status;
154
155 Aws::String m_requestId;
156 };
157
158} // namespace Model
159} // namespace QuickSight
160} // namespace Aws
AWS_QUICKSIGHT_API DescribeAnalysisDefinitionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeAnalysisDefinitionResult & WithRequestId(const char *value)
DescribeAnalysisDefinitionResult & WithThemeArn(const char *value)
AWS_QUICKSIGHT_API DescribeAnalysisDefinitionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeAnalysisDefinitionResult & WithName(Aws::String &&value)
DescribeAnalysisDefinitionResult & WithName(const char *value)
DescribeAnalysisDefinitionResult & WithThemeArn(const Aws::String &value)
DescribeAnalysisDefinitionResult & WithResourceStatus(const ResourceStatus &value)
DescribeAnalysisDefinitionResult & WithThemeArn(Aws::String &&value)
DescribeAnalysisDefinitionResult & WithName(const Aws::String &value)
DescribeAnalysisDefinitionResult & WithAnalysisId(const char *value)
DescribeAnalysisDefinitionResult & WithDefinition(AnalysisDefinition &&value)
DescribeAnalysisDefinitionResult & WithAnalysisId(Aws::String &&value)
DescribeAnalysisDefinitionResult & WithErrors(const Aws::Vector< AnalysisError > &value)
DescribeAnalysisDefinitionResult & WithRequestId(const Aws::String &value)
DescribeAnalysisDefinitionResult & AddErrors(AnalysisError &&value)
DescribeAnalysisDefinitionResult & WithDefinition(const AnalysisDefinition &value)
DescribeAnalysisDefinitionResult & WithRequestId(Aws::String &&value)
DescribeAnalysisDefinitionResult & AddErrors(const AnalysisError &value)
DescribeAnalysisDefinitionResult & WithAnalysisId(const Aws::String &value)
DescribeAnalysisDefinitionResult & WithErrors(Aws::Vector< AnalysisError > &&value)
DescribeAnalysisDefinitionResult & WithResourceStatus(ResourceStatus &&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