AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
38
39
41
44 inline const Aws::String& GetDashboardId() const{ return m_dashboardId; }
45 inline void SetDashboardId(const Aws::String& value) { m_dashboardId = value; }
46 inline void SetDashboardId(Aws::String&& value) { m_dashboardId = std::move(value); }
47 inline void SetDashboardId(const char* value) { m_dashboardId.assign(value); }
48 inline DescribeDashboardDefinitionResult& WithDashboardId(const Aws::String& value) { SetDashboardId(value); return *this;}
49 inline DescribeDashboardDefinitionResult& WithDashboardId(Aws::String&& value) { SetDashboardId(std::move(value)); return *this;}
50 inline DescribeDashboardDefinitionResult& WithDashboardId(const char* value) { SetDashboardId(value); return *this;}
52
54
57 inline const Aws::Vector<DashboardError>& GetErrors() const{ return m_errors; }
58 inline void SetErrors(const Aws::Vector<DashboardError>& value) { m_errors = value; }
59 inline void SetErrors(Aws::Vector<DashboardError>&& value) { m_errors = std::move(value); }
61 inline DescribeDashboardDefinitionResult& WithErrors(Aws::Vector<DashboardError>&& value) { SetErrors(std::move(value)); return *this;}
62 inline DescribeDashboardDefinitionResult& AddErrors(const DashboardError& value) { m_errors.push_back(value); return *this; }
63 inline DescribeDashboardDefinitionResult& AddErrors(DashboardError&& value) { m_errors.push_back(std::move(value)); return *this; }
65
67
70 inline const Aws::String& GetName() const{ return m_name; }
71 inline void SetName(const Aws::String& value) { m_name = value; }
72 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
73 inline void SetName(const char* value) { m_name.assign(value); }
74 inline DescribeDashboardDefinitionResult& WithName(const Aws::String& value) { SetName(value); return *this;}
75 inline DescribeDashboardDefinitionResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
76 inline DescribeDashboardDefinitionResult& WithName(const char* value) { SetName(value); return *this;}
78
80
89 inline const ResourceStatus& GetResourceStatus() const{ return m_resourceStatus; }
90 inline void SetResourceStatus(const ResourceStatus& value) { m_resourceStatus = value; }
91 inline void SetResourceStatus(ResourceStatus&& value) { m_resourceStatus = std::move(value); }
93 inline DescribeDashboardDefinitionResult& WithResourceStatus(ResourceStatus&& value) { SetResourceStatus(std::move(value)); return *this;}
95
97
100 inline const Aws::String& GetThemeArn() const{ return m_themeArn; }
101 inline void SetThemeArn(const Aws::String& value) { m_themeArn = value; }
102 inline void SetThemeArn(Aws::String&& value) { m_themeArn = std::move(value); }
103 inline void SetThemeArn(const char* value) { m_themeArn.assign(value); }
104 inline DescribeDashboardDefinitionResult& WithThemeArn(const Aws::String& value) { SetThemeArn(value); return *this;}
105 inline DescribeDashboardDefinitionResult& WithThemeArn(Aws::String&& value) { SetThemeArn(std::move(value)); return *this;}
106 inline DescribeDashboardDefinitionResult& WithThemeArn(const char* value) { SetThemeArn(value); return *this;}
108
110
114 inline const DashboardVersionDefinition& GetDefinition() const{ return m_definition; }
115 inline void SetDefinition(const DashboardVersionDefinition& value) { m_definition = value; }
116 inline void SetDefinition(DashboardVersionDefinition&& value) { m_definition = std::move(value); }
120
122
125 inline int GetStatus() const{ return m_status; }
126 inline void SetStatus(int value) { m_status = value; }
127 inline DescribeDashboardDefinitionResult& WithStatus(int value) { SetStatus(value); return *this;}
129
131
132 inline const Aws::String& GetRequestId() const{ return m_requestId; }
133 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
134 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
135 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
136 inline DescribeDashboardDefinitionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
137 inline DescribeDashboardDefinitionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
138 inline DescribeDashboardDefinitionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
140
142
158 inline const DashboardPublishOptions& GetDashboardPublishOptions() const{ return m_dashboardPublishOptions; }
159 inline void SetDashboardPublishOptions(const DashboardPublishOptions& value) { m_dashboardPublishOptions = value; }
160 inline void SetDashboardPublishOptions(DashboardPublishOptions&& value) { m_dashboardPublishOptions = std::move(value); }
164 private:
165
166 Aws::String m_dashboardId;
167
169
170 Aws::String m_name;
171
172 ResourceStatus m_resourceStatus;
173
174 Aws::String m_themeArn;
175
176 DashboardVersionDefinition m_definition;
177
178 int m_status;
179
180 Aws::String m_requestId;
181
182 DashboardPublishOptions m_dashboardPublishOptions;
183 };
184
185} // namespace Model
186} // namespace QuickSight
187} // namespace Aws
DescribeDashboardDefinitionResult & WithRequestId(const char *value)
DescribeDashboardDefinitionResult & WithThemeArn(const char *value)
DescribeDashboardDefinitionResult & WithName(Aws::String &&value)
DescribeDashboardDefinitionResult & WithErrors(Aws::Vector< DashboardError > &&value)
DescribeDashboardDefinitionResult & WithErrors(const Aws::Vector< DashboardError > &value)
DescribeDashboardDefinitionResult & WithDashboardId(Aws::String &&value)
DescribeDashboardDefinitionResult & WithResourceStatus(ResourceStatus &&value)
DescribeDashboardDefinitionResult & AddErrors(DashboardError &&value)
DescribeDashboardDefinitionResult & AddErrors(const DashboardError &value)
DescribeDashboardDefinitionResult & WithResourceStatus(const ResourceStatus &value)
AWS_QUICKSIGHT_API DescribeDashboardDefinitionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeDashboardDefinitionResult & WithDefinition(const DashboardVersionDefinition &value)
DescribeDashboardDefinitionResult & WithName(const Aws::String &value)
DescribeDashboardDefinitionResult & WithDashboardPublishOptions(const DashboardPublishOptions &value)
DescribeDashboardDefinitionResult & WithThemeArn(Aws::String &&value)
AWS_QUICKSIGHT_API DescribeDashboardDefinitionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeDashboardDefinitionResult & WithRequestId(Aws::String &&value)
DescribeDashboardDefinitionResult & WithDashboardId(const Aws::String &value)
DescribeDashboardDefinitionResult & WithDashboardId(const char *value)
DescribeDashboardDefinitionResult & WithName(const char *value)
DescribeDashboardDefinitionResult & WithDefinition(DashboardVersionDefinition &&value)
DescribeDashboardDefinitionResult & WithRequestId(const Aws::String &value)
DescribeDashboardDefinitionResult & WithDashboardPublishOptions(DashboardPublishOptions &&value)
DescribeDashboardDefinitionResult & WithThemeArn(const Aws::String &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