AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
GetDashboardEmbedUrlRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/quicksight/QuickSightRequest.h>
10#include <aws/quicksight/QuickSight_EXPORTS.h>
11#include <aws/quicksight/model/EmbeddingIdentityType.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Http {
17class URI;
18} // namespace Http
19namespace QuickSight {
20namespace Model {
21
25 public:
26 AWS_QUICKSIGHT_API GetDashboardEmbedUrlRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "GetDashboardEmbedUrl"; }
33
34 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
35
36 AWS_QUICKSIGHT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
37
39
43 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
44 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
45 template <typename AwsAccountIdT = Aws::String>
46 void SetAwsAccountId(AwsAccountIdT&& value) {
47 m_awsAccountIdHasBeenSet = true;
48 m_awsAccountId = std::forward<AwsAccountIdT>(value);
49 }
50 template <typename AwsAccountIdT = Aws::String>
52 SetAwsAccountId(std::forward<AwsAccountIdT>(value));
53 return *this;
54 }
56
58
62 inline const Aws::String& GetDashboardId() const { return m_dashboardId; }
63 inline bool DashboardIdHasBeenSet() const { return m_dashboardIdHasBeenSet; }
64 template <typename DashboardIdT = Aws::String>
65 void SetDashboardId(DashboardIdT&& value) {
66 m_dashboardIdHasBeenSet = true;
67 m_dashboardId = std::forward<DashboardIdT>(value);
68 }
69 template <typename DashboardIdT = Aws::String>
71 SetDashboardId(std::forward<DashboardIdT>(value));
72 return *this;
73 }
75
77
80 inline EmbeddingIdentityType GetIdentityType() const { return m_identityType; }
81 inline bool IdentityTypeHasBeenSet() const { return m_identityTypeHasBeenSet; }
83 m_identityTypeHasBeenSet = true;
84 m_identityType = value;
85 }
87 SetIdentityType(value);
88 return *this;
89 }
91
93
97 inline long long GetSessionLifetimeInMinutes() const { return m_sessionLifetimeInMinutes; }
98 inline bool SessionLifetimeInMinutesHasBeenSet() const { return m_sessionLifetimeInMinutesHasBeenSet; }
99 inline void SetSessionLifetimeInMinutes(long long value) {
100 m_sessionLifetimeInMinutesHasBeenSet = true;
101 m_sessionLifetimeInMinutes = value;
102 }
105 return *this;
106 }
108
110
114 inline bool GetUndoRedoDisabled() const { return m_undoRedoDisabled; }
115 inline bool UndoRedoDisabledHasBeenSet() const { return m_undoRedoDisabledHasBeenSet; }
116 inline void SetUndoRedoDisabled(bool value) {
117 m_undoRedoDisabledHasBeenSet = true;
118 m_undoRedoDisabled = value;
119 }
121 SetUndoRedoDisabled(value);
122 return *this;
123 }
125
127
131 inline bool GetResetDisabled() const { return m_resetDisabled; }
132 inline bool ResetDisabledHasBeenSet() const { return m_resetDisabledHasBeenSet; }
133 inline void SetResetDisabled(bool value) {
134 m_resetDisabledHasBeenSet = true;
135 m_resetDisabled = value;
136 }
138 SetResetDisabled(value);
139 return *this;
140 }
142
144
153 inline bool GetStatePersistenceEnabled() const { return m_statePersistenceEnabled; }
154 inline bool StatePersistenceEnabledHasBeenSet() const { return m_statePersistenceEnabledHasBeenSet; }
155 inline void SetStatePersistenceEnabled(bool value) {
156 m_statePersistenceEnabledHasBeenSet = true;
157 m_statePersistenceEnabled = value;
158 }
161 return *this;
162 }
164
166
176 inline const Aws::String& GetUserArn() const { return m_userArn; }
177 inline bool UserArnHasBeenSet() const { return m_userArnHasBeenSet; }
178 template <typename UserArnT = Aws::String>
179 void SetUserArn(UserArnT&& value) {
180 m_userArnHasBeenSet = true;
181 m_userArn = std::forward<UserArnT>(value);
182 }
183 template <typename UserArnT = Aws::String>
185 SetUserArn(std::forward<UserArnT>(value));
186 return *this;
187 }
189
191
196 inline const Aws::String& GetNamespace() const { return m_namespace; }
197 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
198 template <typename NamespaceT = Aws::String>
199 void SetNamespace(NamespaceT&& value) {
200 m_namespaceHasBeenSet = true;
201 m_namespace = std::forward<NamespaceT>(value);
202 }
203 template <typename NamespaceT = Aws::String>
205 SetNamespace(std::forward<NamespaceT>(value));
206 return *this;
207 }
209
211
219 inline const Aws::Vector<Aws::String>& GetAdditionalDashboardIds() const { return m_additionalDashboardIds; }
220 inline bool AdditionalDashboardIdsHasBeenSet() const { return m_additionalDashboardIdsHasBeenSet; }
221 template <typename AdditionalDashboardIdsT = Aws::Vector<Aws::String>>
222 void SetAdditionalDashboardIds(AdditionalDashboardIdsT&& value) {
223 m_additionalDashboardIdsHasBeenSet = true;
224 m_additionalDashboardIds = std::forward<AdditionalDashboardIdsT>(value);
225 }
226 template <typename AdditionalDashboardIdsT = Aws::Vector<Aws::String>>
227 GetDashboardEmbedUrlRequest& WithAdditionalDashboardIds(AdditionalDashboardIdsT&& value) {
228 SetAdditionalDashboardIds(std::forward<AdditionalDashboardIdsT>(value));
229 return *this;
230 }
231 template <typename AdditionalDashboardIdsT = Aws::String>
232 GetDashboardEmbedUrlRequest& AddAdditionalDashboardIds(AdditionalDashboardIdsT&& value) {
233 m_additionalDashboardIdsHasBeenSet = true;
234 m_additionalDashboardIds.emplace_back(std::forward<AdditionalDashboardIdsT>(value));
235 return *this;
236 }
238 private:
239 Aws::String m_awsAccountId;
240
241 Aws::String m_dashboardId;
242
244
245 long long m_sessionLifetimeInMinutes{0};
246
247 bool m_undoRedoDisabled{false};
248
249 bool m_resetDisabled{false};
250
251 bool m_statePersistenceEnabled{false};
252
253 Aws::String m_userArn;
254
255 Aws::String m_namespace;
256
257 Aws::Vector<Aws::String> m_additionalDashboardIds;
258 bool m_awsAccountIdHasBeenSet = false;
259 bool m_dashboardIdHasBeenSet = false;
260 bool m_identityTypeHasBeenSet = false;
261 bool m_sessionLifetimeInMinutesHasBeenSet = false;
262 bool m_undoRedoDisabledHasBeenSet = false;
263 bool m_resetDisabledHasBeenSet = false;
264 bool m_statePersistenceEnabledHasBeenSet = false;
265 bool m_userArnHasBeenSet = false;
266 bool m_namespaceHasBeenSet = false;
267 bool m_additionalDashboardIdsHasBeenSet = false;
268};
269
270} // namespace Model
271} // namespace QuickSight
272} // namespace Aws
AWS_QUICKSIGHT_API GetDashboardEmbedUrlRequest()=default
GetDashboardEmbedUrlRequest & WithDashboardId(DashboardIdT &&value)
GetDashboardEmbedUrlRequest & WithIdentityType(EmbeddingIdentityType value)
GetDashboardEmbedUrlRequest & WithAwsAccountId(AwsAccountIdT &&value)
GetDashboardEmbedUrlRequest & AddAdditionalDashboardIds(AdditionalDashboardIdsT &&value)
AWS_QUICKSIGHT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetDashboardEmbedUrlRequest & WithUndoRedoDisabled(bool value)
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
GetDashboardEmbedUrlRequest & WithAdditionalDashboardIds(AdditionalDashboardIdsT &&value)
void SetAdditionalDashboardIds(AdditionalDashboardIdsT &&value)
GetDashboardEmbedUrlRequest & WithResetDisabled(bool value)
GetDashboardEmbedUrlRequest & WithNamespace(NamespaceT &&value)
const Aws::Vector< Aws::String > & GetAdditionalDashboardIds() const
GetDashboardEmbedUrlRequest & WithUserArn(UserArnT &&value)
GetDashboardEmbedUrlRequest & WithStatePersistenceEnabled(bool value)
GetDashboardEmbedUrlRequest & WithSessionLifetimeInMinutes(long long value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector