AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DescribeDashboardDefinitionResult.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/DashboardVersionDefinition.h>
12#include <aws/quicksight/model/DashboardPublishOptions.h>
13#include <aws/quicksight/model/DashboardError.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace QuickSight
29{
30namespace Model
31{
33 {
34 public:
35 AWS_QUICKSIGHT_API DescribeDashboardDefinitionResult() = default;
38
39
41
44 inline const Aws::String& GetDashboardId() const { return m_dashboardId; }
45 template<typename DashboardIdT = Aws::String>
46 void SetDashboardId(DashboardIdT&& value) { m_dashboardIdHasBeenSet = true; m_dashboardId = std::forward<DashboardIdT>(value); }
47 template<typename DashboardIdT = Aws::String>
48 DescribeDashboardDefinitionResult& WithDashboardId(DashboardIdT&& value) { SetDashboardId(std::forward<DashboardIdT>(value)); return *this;}
50
52
55 inline const Aws::Vector<DashboardError>& GetErrors() const { return m_errors; }
56 template<typename ErrorsT = Aws::Vector<DashboardError>>
57 void SetErrors(ErrorsT&& value) { m_errorsHasBeenSet = true; m_errors = std::forward<ErrorsT>(value); }
58 template<typename ErrorsT = Aws::Vector<DashboardError>>
59 DescribeDashboardDefinitionResult& WithErrors(ErrorsT&& value) { SetErrors(std::forward<ErrorsT>(value)); return *this;}
60 template<typename ErrorsT = DashboardError>
61 DescribeDashboardDefinitionResult& AddErrors(ErrorsT&& value) { m_errorsHasBeenSet = true; m_errors.emplace_back(std::forward<ErrorsT>(value)); return *this; }
63
65
68 inline const Aws::String& GetName() const { return m_name; }
69 template<typename NameT = Aws::String>
70 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
71 template<typename NameT = Aws::String>
72 DescribeDashboardDefinitionResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
74
76
85 inline ResourceStatus GetResourceStatus() const { return m_resourceStatus; }
86 inline void SetResourceStatus(ResourceStatus value) { m_resourceStatusHasBeenSet = true; m_resourceStatus = value; }
89
91
94 inline const Aws::String& GetThemeArn() const { return m_themeArn; }
95 template<typename ThemeArnT = Aws::String>
96 void SetThemeArn(ThemeArnT&& value) { m_themeArnHasBeenSet = true; m_themeArn = std::forward<ThemeArnT>(value); }
97 template<typename ThemeArnT = Aws::String>
98 DescribeDashboardDefinitionResult& WithThemeArn(ThemeArnT&& value) { SetThemeArn(std::forward<ThemeArnT>(value)); return *this;}
100
102
106 inline const DashboardVersionDefinition& GetDefinition() const { return m_definition; }
107 template<typename DefinitionT = DashboardVersionDefinition>
108 void SetDefinition(DefinitionT&& value) { m_definitionHasBeenSet = true; m_definition = std::forward<DefinitionT>(value); }
109 template<typename DefinitionT = DashboardVersionDefinition>
110 DescribeDashboardDefinitionResult& WithDefinition(DefinitionT&& value) { SetDefinition(std::forward<DefinitionT>(value)); return *this;}
112
114
117 inline int GetStatus() const { return m_status; }
118 inline void SetStatus(int value) { m_statusHasBeenSet = true; m_status = value; }
119 inline DescribeDashboardDefinitionResult& WithStatus(int value) { SetStatus(value); return *this;}
121
123
124 inline const Aws::String& GetRequestId() const { return m_requestId; }
125 template<typename RequestIdT = Aws::String>
126 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
127 template<typename RequestIdT = Aws::String>
128 DescribeDashboardDefinitionResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
130
132
148 inline const DashboardPublishOptions& GetDashboardPublishOptions() const { return m_dashboardPublishOptions; }
149 template<typename DashboardPublishOptionsT = DashboardPublishOptions>
150 void SetDashboardPublishOptions(DashboardPublishOptionsT&& value) { m_dashboardPublishOptionsHasBeenSet = true; m_dashboardPublishOptions = std::forward<DashboardPublishOptionsT>(value); }
151 template<typename DashboardPublishOptionsT = DashboardPublishOptions>
152 DescribeDashboardDefinitionResult& WithDashboardPublishOptions(DashboardPublishOptionsT&& value) { SetDashboardPublishOptions(std::forward<DashboardPublishOptionsT>(value)); return *this;}
154 private:
155
156 Aws::String m_dashboardId;
157 bool m_dashboardIdHasBeenSet = false;
158
160 bool m_errorsHasBeenSet = false;
161
162 Aws::String m_name;
163 bool m_nameHasBeenSet = false;
164
165 ResourceStatus m_resourceStatus{ResourceStatus::NOT_SET};
166 bool m_resourceStatusHasBeenSet = false;
167
168 Aws::String m_themeArn;
169 bool m_themeArnHasBeenSet = false;
170
171 DashboardVersionDefinition m_definition;
172 bool m_definitionHasBeenSet = false;
173
174 int m_status{0};
175 bool m_statusHasBeenSet = false;
176
177 Aws::String m_requestId;
178 bool m_requestIdHasBeenSet = false;
179
180 DashboardPublishOptions m_dashboardPublishOptions;
181 bool m_dashboardPublishOptionsHasBeenSet = false;
182 };
183
184} // namespace Model
185} // namespace QuickSight
186} // 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