AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
51 inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
52 inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
53 inline GetDashboardEmbedUrlRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
54 inline GetDashboardEmbedUrlRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
55 inline GetDashboardEmbedUrlRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
57
59
63 inline const Aws::String& GetDashboardId() const{ return m_dashboardId; }
64 inline bool DashboardIdHasBeenSet() const { return m_dashboardIdHasBeenSet; }
65 inline void SetDashboardId(const Aws::String& value) { m_dashboardIdHasBeenSet = true; m_dashboardId = value; }
66 inline void SetDashboardId(Aws::String&& value) { m_dashboardIdHasBeenSet = true; m_dashboardId = std::move(value); }
67 inline void SetDashboardId(const char* value) { m_dashboardIdHasBeenSet = true; m_dashboardId.assign(value); }
68 inline GetDashboardEmbedUrlRequest& WithDashboardId(const Aws::String& value) { SetDashboardId(value); return *this;}
69 inline GetDashboardEmbedUrlRequest& WithDashboardId(Aws::String&& value) { SetDashboardId(std::move(value)); return *this;}
70 inline GetDashboardEmbedUrlRequest& WithDashboardId(const char* value) { SetDashboardId(value); return *this;}
72
74
77 inline const EmbeddingIdentityType& GetIdentityType() const{ return m_identityType; }
78 inline bool IdentityTypeHasBeenSet() const { return m_identityTypeHasBeenSet; }
79 inline void SetIdentityType(const EmbeddingIdentityType& value) { m_identityTypeHasBeenSet = true; m_identityType = value; }
80 inline void SetIdentityType(EmbeddingIdentityType&& value) { m_identityTypeHasBeenSet = true; m_identityType = std::move(value); }
82 inline GetDashboardEmbedUrlRequest& WithIdentityType(EmbeddingIdentityType&& value) { SetIdentityType(std::move(value)); return *this;}
84
86
90 inline long long GetSessionLifetimeInMinutes() const{ return m_sessionLifetimeInMinutes; }
91 inline bool SessionLifetimeInMinutesHasBeenSet() const { return m_sessionLifetimeInMinutesHasBeenSet; }
92 inline void SetSessionLifetimeInMinutes(long long value) { m_sessionLifetimeInMinutesHasBeenSet = true; m_sessionLifetimeInMinutes = value; }
95
97
101 inline bool GetUndoRedoDisabled() const{ return m_undoRedoDisabled; }
102 inline bool UndoRedoDisabledHasBeenSet() const { return m_undoRedoDisabledHasBeenSet; }
103 inline void SetUndoRedoDisabled(bool value) { m_undoRedoDisabledHasBeenSet = true; m_undoRedoDisabled = value; }
104 inline GetDashboardEmbedUrlRequest& WithUndoRedoDisabled(bool value) { SetUndoRedoDisabled(value); return *this;}
106
108
112 inline bool GetResetDisabled() const{ return m_resetDisabled; }
113 inline bool ResetDisabledHasBeenSet() const { return m_resetDisabledHasBeenSet; }
114 inline void SetResetDisabled(bool value) { m_resetDisabledHasBeenSet = true; m_resetDisabled = value; }
115 inline GetDashboardEmbedUrlRequest& WithResetDisabled(bool value) { SetResetDisabled(value); return *this;}
117
119
128 inline bool GetStatePersistenceEnabled() const{ return m_statePersistenceEnabled; }
129 inline bool StatePersistenceEnabledHasBeenSet() const { return m_statePersistenceEnabledHasBeenSet; }
130 inline void SetStatePersistenceEnabled(bool value) { m_statePersistenceEnabledHasBeenSet = true; m_statePersistenceEnabled = value; }
133
135
145 inline const Aws::String& GetUserArn() const{ return m_userArn; }
146 inline bool UserArnHasBeenSet() const { return m_userArnHasBeenSet; }
147 inline void SetUserArn(const Aws::String& value) { m_userArnHasBeenSet = true; m_userArn = value; }
148 inline void SetUserArn(Aws::String&& value) { m_userArnHasBeenSet = true; m_userArn = std::move(value); }
149 inline void SetUserArn(const char* value) { m_userArnHasBeenSet = true; m_userArn.assign(value); }
150 inline GetDashboardEmbedUrlRequest& WithUserArn(const Aws::String& value) { SetUserArn(value); return *this;}
151 inline GetDashboardEmbedUrlRequest& WithUserArn(Aws::String&& value) { SetUserArn(std::move(value)); return *this;}
152 inline GetDashboardEmbedUrlRequest& WithUserArn(const char* value) { SetUserArn(value); return *this;}
154
156
161 inline const Aws::String& GetNamespace() const{ return m_namespace; }
162 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
163 inline void SetNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace = value; }
164 inline void SetNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); }
165 inline void SetNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.assign(value); }
166 inline GetDashboardEmbedUrlRequest& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;}
167 inline GetDashboardEmbedUrlRequest& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;}
168 inline GetDashboardEmbedUrlRequest& WithNamespace(const char* value) { SetNamespace(value); return *this;}
170
172
180 inline const Aws::Vector<Aws::String>& GetAdditionalDashboardIds() const{ return m_additionalDashboardIds; }
181 inline bool AdditionalDashboardIdsHasBeenSet() const { return m_additionalDashboardIdsHasBeenSet; }
182 inline void SetAdditionalDashboardIds(const Aws::Vector<Aws::String>& value) { m_additionalDashboardIdsHasBeenSet = true; m_additionalDashboardIds = value; }
183 inline void SetAdditionalDashboardIds(Aws::Vector<Aws::String>&& value) { m_additionalDashboardIdsHasBeenSet = true; m_additionalDashboardIds = std::move(value); }
186 inline GetDashboardEmbedUrlRequest& AddAdditionalDashboardIds(const Aws::String& value) { m_additionalDashboardIdsHasBeenSet = true; m_additionalDashboardIds.push_back(value); return *this; }
187 inline GetDashboardEmbedUrlRequest& AddAdditionalDashboardIds(Aws::String&& value) { m_additionalDashboardIdsHasBeenSet = true; m_additionalDashboardIds.push_back(std::move(value)); return *this; }
188 inline GetDashboardEmbedUrlRequest& AddAdditionalDashboardIds(const char* value) { m_additionalDashboardIdsHasBeenSet = true; m_additionalDashboardIds.push_back(value); return *this; }
190 private:
191
192 Aws::String m_awsAccountId;
193 bool m_awsAccountIdHasBeenSet = false;
194
195 Aws::String m_dashboardId;
196 bool m_dashboardIdHasBeenSet = false;
197
198 EmbeddingIdentityType m_identityType;
199 bool m_identityTypeHasBeenSet = false;
200
201 long long m_sessionLifetimeInMinutes;
202 bool m_sessionLifetimeInMinutesHasBeenSet = false;
203
204 bool m_undoRedoDisabled;
205 bool m_undoRedoDisabledHasBeenSet = false;
206
207 bool m_resetDisabled;
208 bool m_resetDisabledHasBeenSet = false;
209
210 bool m_statePersistenceEnabled;
211 bool m_statePersistenceEnabledHasBeenSet = false;
212
213 Aws::String m_userArn;
214 bool m_userArnHasBeenSet = false;
215
216 Aws::String m_namespace;
217 bool m_namespaceHasBeenSet = false;
218
219 Aws::Vector<Aws::String> m_additionalDashboardIds;
220 bool m_additionalDashboardIdsHasBeenSet = false;
221 };
222
223} // namespace Model
224} // namespace QuickSight
225} // namespace Aws
GetDashboardEmbedUrlRequest & WithAdditionalDashboardIds(const Aws::Vector< Aws::String > &value)
void SetAdditionalDashboardIds(Aws::Vector< Aws::String > &&value)
void SetIdentityType(const EmbeddingIdentityType &value)
GetDashboardEmbedUrlRequest & WithAdditionalDashboardIds(Aws::Vector< Aws::String > &&value)
GetDashboardEmbedUrlRequest & WithNamespace(const Aws::String &value)
GetDashboardEmbedUrlRequest & WithIdentityType(const EmbeddingIdentityType &value)
GetDashboardEmbedUrlRequest & WithAwsAccountId(Aws::String &&value)
GetDashboardEmbedUrlRequest & WithDashboardId(const Aws::String &value)
GetDashboardEmbedUrlRequest & WithNamespace(Aws::String &&value)
GetDashboardEmbedUrlRequest & WithAwsAccountId(const char *value)
GetDashboardEmbedUrlRequest & WithUserArn(const char *value)
GetDashboardEmbedUrlRequest & WithDashboardId(const char *value)
GetDashboardEmbedUrlRequest & WithUserArn(const Aws::String &value)
GetDashboardEmbedUrlRequest & AddAdditionalDashboardIds(const char *value)
AWS_QUICKSIGHT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetDashboardEmbedUrlRequest & AddAdditionalDashboardIds(const Aws::String &value)
void SetAdditionalDashboardIds(const Aws::Vector< Aws::String > &value)
GetDashboardEmbedUrlRequest & WithUndoRedoDisabled(bool value)
GetDashboardEmbedUrlRequest & AddAdditionalDashboardIds(Aws::String &&value)
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
GetDashboardEmbedUrlRequest & WithNamespace(const char *value)
GetDashboardEmbedUrlRequest & WithUserArn(Aws::String &&value)
GetDashboardEmbedUrlRequest & WithResetDisabled(bool value)
GetDashboardEmbedUrlRequest & WithAwsAccountId(const Aws::String &value)
const Aws::Vector< Aws::String > & GetAdditionalDashboardIds() const
GetDashboardEmbedUrlRequest & WithStatePersistenceEnabled(bool value)
GetDashboardEmbedUrlRequest & WithDashboardId(Aws::String &&value)
GetDashboardEmbedUrlRequest & WithIdentityType(EmbeddingIdentityType &&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