AWS SDK for C++

AWS SDK for C++ Version 1.11.762

Loading...
Searching...
No Matches
DescribeDashboardDefinitionResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/quicksight/QuickSight_EXPORTS.h>
11#include <aws/quicksight/model/DashboardError.h>
12#include <aws/quicksight/model/DashboardPublishOptions.h>
13#include <aws/quicksight/model/DashboardVersionDefinition.h>
14#include <aws/quicksight/model/ResourceStatus.h>
15
16#include <utility>
17
18namespace Aws {
19template <typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils {
23namespace Json {
24class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace QuickSight {
28namespace Model {
30 public:
31 AWS_QUICKSIGHT_API DescribeDashboardDefinitionResult() = default;
34
36
39 inline const Aws::String& GetDashboardId() const { return m_dashboardId; }
40 template <typename DashboardIdT = Aws::String>
41 void SetDashboardId(DashboardIdT&& value) {
42 m_dashboardIdHasBeenSet = true;
43 m_dashboardId = std::forward<DashboardIdT>(value);
44 }
45 template <typename DashboardIdT = Aws::String>
47 SetDashboardId(std::forward<DashboardIdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::Vector<DashboardError>& GetErrors() const { return m_errors; }
57 template <typename ErrorsT = Aws::Vector<DashboardError>>
58 void SetErrors(ErrorsT&& value) {
59 m_errorsHasBeenSet = true;
60 m_errors = std::forward<ErrorsT>(value);
61 }
62 template <typename ErrorsT = Aws::Vector<DashboardError>>
64 SetErrors(std::forward<ErrorsT>(value));
65 return *this;
66 }
67 template <typename ErrorsT = DashboardError>
69 m_errorsHasBeenSet = true;
70 m_errors.emplace_back(std::forward<ErrorsT>(value));
71 return *this;
72 }
74
76
79 inline const Aws::String& GetName() const { return m_name; }
80 template <typename NameT = Aws::String>
81 void SetName(NameT&& value) {
82 m_nameHasBeenSet = true;
83 m_name = std::forward<NameT>(value);
84 }
85 template <typename NameT = Aws::String>
87 SetName(std::forward<NameT>(value));
88 return *this;
89 }
91
93
102 inline ResourceStatus GetResourceStatus() const { return m_resourceStatus; }
104 m_resourceStatusHasBeenSet = true;
105 m_resourceStatus = value;
106 }
108 SetResourceStatus(value);
109 return *this;
110 }
112
114
117 inline const Aws::String& GetThemeArn() const { return m_themeArn; }
118 template <typename ThemeArnT = Aws::String>
119 void SetThemeArn(ThemeArnT&& value) {
120 m_themeArnHasBeenSet = true;
121 m_themeArn = std::forward<ThemeArnT>(value);
122 }
123 template <typename ThemeArnT = Aws::String>
125 SetThemeArn(std::forward<ThemeArnT>(value));
126 return *this;
127 }
129
131
135 inline const DashboardVersionDefinition& GetDefinition() const { return m_definition; }
136 template <typename DefinitionT = DashboardVersionDefinition>
137 void SetDefinition(DefinitionT&& value) {
138 m_definitionHasBeenSet = true;
139 m_definition = std::forward<DefinitionT>(value);
140 }
141 template <typename DefinitionT = DashboardVersionDefinition>
143 SetDefinition(std::forward<DefinitionT>(value));
144 return *this;
145 }
147
149
152 inline int GetStatus() const { return m_status; }
153 inline void SetStatus(int value) {
154 m_statusHasBeenSet = true;
155 m_status = value;
156 }
158 SetStatus(value);
159 return *this;
160 }
162
164
165 inline const Aws::String& GetRequestId() const { return m_requestId; }
166 template <typename RequestIdT = Aws::String>
167 void SetRequestId(RequestIdT&& value) {
168 m_requestIdHasBeenSet = true;
169 m_requestId = std::forward<RequestIdT>(value);
170 }
171 template <typename RequestIdT = Aws::String>
173 SetRequestId(std::forward<RequestIdT>(value));
174 return *this;
175 }
177
179
208 inline const DashboardPublishOptions& GetDashboardPublishOptions() const { return m_dashboardPublishOptions; }
209 template <typename DashboardPublishOptionsT = DashboardPublishOptions>
210 void SetDashboardPublishOptions(DashboardPublishOptionsT&& value) {
211 m_dashboardPublishOptionsHasBeenSet = true;
212 m_dashboardPublishOptions = std::forward<DashboardPublishOptionsT>(value);
213 }
214 template <typename DashboardPublishOptionsT = DashboardPublishOptions>
216 SetDashboardPublishOptions(std::forward<DashboardPublishOptionsT>(value));
217 return *this;
218 }
220 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
221
222 private:
223 Aws::String m_dashboardId;
224
226
227 Aws::String m_name;
228
229 ResourceStatus m_resourceStatus{ResourceStatus::NOT_SET};
230
231 Aws::String m_themeArn;
232
233 DashboardVersionDefinition m_definition;
234
235 int m_status{0};
236
237 Aws::String m_requestId;
238
239 DashboardPublishOptions m_dashboardPublishOptions;
240 Aws::Http::HttpResponseCode m_HttpResponseCode;
241 bool m_dashboardIdHasBeenSet = false;
242 bool m_errorsHasBeenSet = false;
243 bool m_nameHasBeenSet = false;
244 bool m_resourceStatusHasBeenSet = false;
245 bool m_themeArnHasBeenSet = false;
246 bool m_definitionHasBeenSet = false;
247 bool m_statusHasBeenSet = false;
248 bool m_requestIdHasBeenSet = false;
249 bool m_dashboardPublishOptionsHasBeenSet = false;
250};
251
252} // namespace Model
253} // namespace QuickSight
254} // namespace Aws
DescribeDashboardDefinitionResult & WithThemeArn(ThemeArnT &&value)
DescribeDashboardDefinitionResult & WithResourceStatus(ResourceStatus value)
DescribeDashboardDefinitionResult & AddErrors(ErrorsT &&value)
AWS_QUICKSIGHT_API DescribeDashboardDefinitionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_QUICKSIGHT_API DescribeDashboardDefinitionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeDashboardDefinitionResult & WithErrors(ErrorsT &&value)
DescribeDashboardDefinitionResult & WithDefinition(DefinitionT &&value)
DescribeDashboardDefinitionResult & WithDashboardPublishOptions(DashboardPublishOptionsT &&value)
DescribeDashboardDefinitionResult & WithDashboardId(DashboardIdT &&value)
DescribeDashboardDefinitionResult & WithRequestId(RequestIdT &&value)
AWS_QUICKSIGHT_API DescribeDashboardDefinitionResult()=default
DescribeDashboardDefinitionResult & WithName(NameT &&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