AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetDashboardEmbedUrlRequest.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/QuickSightRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/quicksight/model/EmbeddingIdentityType.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Http
17{
18 class URI;
19} //namespace Http
20namespace QuickSight
21{
22namespace Model
23{
24
28 {
29 public:
30 AWS_QUICKSIGHT_API GetDashboardEmbedUrlRequest() = default;
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "GetDashboardEmbedUrl"; }
37
38 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
39
40 AWS_QUICKSIGHT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
41
42
44
48 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
49 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
50 template<typename AwsAccountIdT = Aws::String>
51 void SetAwsAccountId(AwsAccountIdT&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::forward<AwsAccountIdT>(value); }
52 template<typename AwsAccountIdT = Aws::String>
53 GetDashboardEmbedUrlRequest& WithAwsAccountId(AwsAccountIdT&& value) { SetAwsAccountId(std::forward<AwsAccountIdT>(value)); return *this;}
55
57
61 inline const Aws::String& GetDashboardId() const { return m_dashboardId; }
62 inline bool DashboardIdHasBeenSet() const { return m_dashboardIdHasBeenSet; }
63 template<typename DashboardIdT = Aws::String>
64 void SetDashboardId(DashboardIdT&& value) { m_dashboardIdHasBeenSet = true; m_dashboardId = std::forward<DashboardIdT>(value); }
65 template<typename DashboardIdT = Aws::String>
66 GetDashboardEmbedUrlRequest& WithDashboardId(DashboardIdT&& value) { SetDashboardId(std::forward<DashboardIdT>(value)); return *this;}
68
70
73 inline EmbeddingIdentityType GetIdentityType() const { return m_identityType; }
74 inline bool IdentityTypeHasBeenSet() const { return m_identityTypeHasBeenSet; }
75 inline void SetIdentityType(EmbeddingIdentityType value) { m_identityTypeHasBeenSet = true; m_identityType = value; }
78
80
84 inline long long GetSessionLifetimeInMinutes() const { return m_sessionLifetimeInMinutes; }
85 inline bool SessionLifetimeInMinutesHasBeenSet() const { return m_sessionLifetimeInMinutesHasBeenSet; }
86 inline void SetSessionLifetimeInMinutes(long long value) { m_sessionLifetimeInMinutesHasBeenSet = true; m_sessionLifetimeInMinutes = value; }
89
91
95 inline bool GetUndoRedoDisabled() const { return m_undoRedoDisabled; }
96 inline bool UndoRedoDisabledHasBeenSet() const { return m_undoRedoDisabledHasBeenSet; }
97 inline void SetUndoRedoDisabled(bool value) { m_undoRedoDisabledHasBeenSet = true; m_undoRedoDisabled = value; }
98 inline GetDashboardEmbedUrlRequest& WithUndoRedoDisabled(bool value) { SetUndoRedoDisabled(value); return *this;}
100
102
106 inline bool GetResetDisabled() const { return m_resetDisabled; }
107 inline bool ResetDisabledHasBeenSet() const { return m_resetDisabledHasBeenSet; }
108 inline void SetResetDisabled(bool value) { m_resetDisabledHasBeenSet = true; m_resetDisabled = value; }
109 inline GetDashboardEmbedUrlRequest& WithResetDisabled(bool value) { SetResetDisabled(value); return *this;}
111
113
122 inline bool GetStatePersistenceEnabled() const { return m_statePersistenceEnabled; }
123 inline bool StatePersistenceEnabledHasBeenSet() const { return m_statePersistenceEnabledHasBeenSet; }
124 inline void SetStatePersistenceEnabled(bool value) { m_statePersistenceEnabledHasBeenSet = true; m_statePersistenceEnabled = value; }
127
129
139 inline const Aws::String& GetUserArn() const { return m_userArn; }
140 inline bool UserArnHasBeenSet() const { return m_userArnHasBeenSet; }
141 template<typename UserArnT = Aws::String>
142 void SetUserArn(UserArnT&& value) { m_userArnHasBeenSet = true; m_userArn = std::forward<UserArnT>(value); }
143 template<typename UserArnT = Aws::String>
144 GetDashboardEmbedUrlRequest& WithUserArn(UserArnT&& value) { SetUserArn(std::forward<UserArnT>(value)); return *this;}
146
148
153 inline const Aws::String& GetNamespace() const { return m_namespace; }
154 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
155 template<typename NamespaceT = Aws::String>
156 void SetNamespace(NamespaceT&& value) { m_namespaceHasBeenSet = true; m_namespace = std::forward<NamespaceT>(value); }
157 template<typename NamespaceT = Aws::String>
158 GetDashboardEmbedUrlRequest& WithNamespace(NamespaceT&& value) { SetNamespace(std::forward<NamespaceT>(value)); return *this;}
160
162
170 inline const Aws::Vector<Aws::String>& GetAdditionalDashboardIds() const { return m_additionalDashboardIds; }
171 inline bool AdditionalDashboardIdsHasBeenSet() const { return m_additionalDashboardIdsHasBeenSet; }
172 template<typename AdditionalDashboardIdsT = Aws::Vector<Aws::String>>
173 void SetAdditionalDashboardIds(AdditionalDashboardIdsT&& value) { m_additionalDashboardIdsHasBeenSet = true; m_additionalDashboardIds = std::forward<AdditionalDashboardIdsT>(value); }
174 template<typename AdditionalDashboardIdsT = Aws::Vector<Aws::String>>
175 GetDashboardEmbedUrlRequest& WithAdditionalDashboardIds(AdditionalDashboardIdsT&& value) { SetAdditionalDashboardIds(std::forward<AdditionalDashboardIdsT>(value)); return *this;}
176 template<typename AdditionalDashboardIdsT = Aws::String>
177 GetDashboardEmbedUrlRequest& AddAdditionalDashboardIds(AdditionalDashboardIdsT&& value) { m_additionalDashboardIdsHasBeenSet = true; m_additionalDashboardIds.emplace_back(std::forward<AdditionalDashboardIdsT>(value)); return *this; }
179 private:
180
181 Aws::String m_awsAccountId;
182 bool m_awsAccountIdHasBeenSet = false;
183
184 Aws::String m_dashboardId;
185 bool m_dashboardIdHasBeenSet = false;
186
188 bool m_identityTypeHasBeenSet = false;
189
190 long long m_sessionLifetimeInMinutes{0};
191 bool m_sessionLifetimeInMinutesHasBeenSet = false;
192
193 bool m_undoRedoDisabled{false};
194 bool m_undoRedoDisabledHasBeenSet = false;
195
196 bool m_resetDisabled{false};
197 bool m_resetDisabledHasBeenSet = false;
198
199 bool m_statePersistenceEnabled{false};
200 bool m_statePersistenceEnabledHasBeenSet = false;
201
202 Aws::String m_userArn;
203 bool m_userArnHasBeenSet = false;
204
205 Aws::String m_namespace;
206 bool m_namespaceHasBeenSet = false;
207
208 Aws::Vector<Aws::String> m_additionalDashboardIds;
209 bool m_additionalDashboardIdsHasBeenSet = false;
210 };
211
212} // namespace Model
213} // namespace QuickSight
214} // 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