AWS SDK for C++  1.9.43
AWS SDK for C++
GetSessionEmbedUrlRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace QuickSight
19 {
20 namespace Model
21 {
22 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "GetSessionEmbedUrl"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
44  inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
45 
49  inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
50 
54  inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
55 
59  inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
60 
64  inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
65 
69  inline GetSessionEmbedUrlRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
70 
74  inline GetSessionEmbedUrlRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
75 
79  inline GetSessionEmbedUrlRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
80 
81 
93  inline const Aws::String& GetEntryPoint() const{ return m_entryPoint; }
94 
106  inline bool EntryPointHasBeenSet() const { return m_entryPointHasBeenSet; }
107 
119  inline void SetEntryPoint(const Aws::String& value) { m_entryPointHasBeenSet = true; m_entryPoint = value; }
120 
132  inline void SetEntryPoint(Aws::String&& value) { m_entryPointHasBeenSet = true; m_entryPoint = std::move(value); }
133 
145  inline void SetEntryPoint(const char* value) { m_entryPointHasBeenSet = true; m_entryPoint.assign(value); }
146 
158  inline GetSessionEmbedUrlRequest& WithEntryPoint(const Aws::String& value) { SetEntryPoint(value); return *this;}
159 
171  inline GetSessionEmbedUrlRequest& WithEntryPoint(Aws::String&& value) { SetEntryPoint(std::move(value)); return *this;}
172 
184  inline GetSessionEmbedUrlRequest& WithEntryPoint(const char* value) { SetEntryPoint(value); return *this;}
185 
186 
191  inline long long GetSessionLifetimeInMinutes() const{ return m_sessionLifetimeInMinutes; }
192 
197  inline bool SessionLifetimeInMinutesHasBeenSet() const { return m_sessionLifetimeInMinutesHasBeenSet; }
198 
203  inline void SetSessionLifetimeInMinutes(long long value) { m_sessionLifetimeInMinutesHasBeenSet = true; m_sessionLifetimeInMinutes = value; }
204 
209  inline GetSessionEmbedUrlRequest& WithSessionLifetimeInMinutes(long long value) { SetSessionLifetimeInMinutes(value); return *this;}
210 
211 
223  inline const Aws::String& GetUserArn() const{ return m_userArn; }
224 
236  inline bool UserArnHasBeenSet() const { return m_userArnHasBeenSet; }
237 
249  inline void SetUserArn(const Aws::String& value) { m_userArnHasBeenSet = true; m_userArn = value; }
250 
262  inline void SetUserArn(Aws::String&& value) { m_userArnHasBeenSet = true; m_userArn = std::move(value); }
263 
275  inline void SetUserArn(const char* value) { m_userArnHasBeenSet = true; m_userArn.assign(value); }
276 
288  inline GetSessionEmbedUrlRequest& WithUserArn(const Aws::String& value) { SetUserArn(value); return *this;}
289 
301  inline GetSessionEmbedUrlRequest& WithUserArn(Aws::String&& value) { SetUserArn(std::move(value)); return *this;}
302 
314  inline GetSessionEmbedUrlRequest& WithUserArn(const char* value) { SetUserArn(value); return *this;}
315 
316  private:
317 
318  Aws::String m_awsAccountId;
319  bool m_awsAccountIdHasBeenSet;
320 
321  Aws::String m_entryPoint;
322  bool m_entryPointHasBeenSet;
323 
324  long long m_sessionLifetimeInMinutes;
325  bool m_sessionLifetimeInMinutesHasBeenSet;
326 
327  Aws::String m_userArn;
328  bool m_userArnHasBeenSet;
329  };
330 
331 } // namespace Model
332 } // namespace QuickSight
333 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
QuickSight_EXPORTS.h
Aws::QuickSight::Model::GetSessionEmbedUrlRequest::GetSessionEmbedUrlRequest
GetSessionEmbedUrlRequest()
Aws::QuickSight::Model::GetSessionEmbedUrlRequest::WithAwsAccountId
GetSessionEmbedUrlRequest & WithAwsAccountId(const char *value)
Definition: GetSessionEmbedUrlRequest.h:79
Aws::QuickSight::Model::GetSessionEmbedUrlRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::QuickSight::Model::GetSessionEmbedUrlRequest::SetAwsAccountId
void SetAwsAccountId(const Aws::String &value)
Definition: GetSessionEmbedUrlRequest.h:54
Aws::QuickSight::Model::GetSessionEmbedUrlRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::QuickSight::Model::GetSessionEmbedUrlRequest::SetSessionLifetimeInMinutes
void SetSessionLifetimeInMinutes(long long value)
Definition: GetSessionEmbedUrlRequest.h:203
Aws::QuickSight::Model::GetSessionEmbedUrlRequest::GetUserArn
const Aws::String & GetUserArn() const
Definition: GetSessionEmbedUrlRequest.h:223
Aws::QuickSight::Model::GetSessionEmbedUrlRequest::WithUserArn
GetSessionEmbedUrlRequest & WithUserArn(const Aws::String &value)
Definition: GetSessionEmbedUrlRequest.h:288
Aws::QuickSight::Model::GetSessionEmbedUrlRequest::WithUserArn
GetSessionEmbedUrlRequest & WithUserArn(const char *value)
Definition: GetSessionEmbedUrlRequest.h:314
Aws::QuickSight::Model::GetSessionEmbedUrlRequest::SetEntryPoint
void SetEntryPoint(Aws::String &&value)
Definition: GetSessionEmbedUrlRequest.h:132
Aws::QuickSight::Model::GetSessionEmbedUrlRequest::SetUserArn
void SetUserArn(Aws::String &&value)
Definition: GetSessionEmbedUrlRequest.h:262
Aws::QuickSight::Model::GetSessionEmbedUrlRequest::EntryPointHasBeenSet
bool EntryPointHasBeenSet() const
Definition: GetSessionEmbedUrlRequest.h:106
Aws::QuickSight::Model::GetSessionEmbedUrlRequest
Definition: GetSessionEmbedUrlRequest.h:26
Aws::QuickSight::Model::GetSessionEmbedUrlRequest::SetUserArn
void SetUserArn(const Aws::String &value)
Definition: GetSessionEmbedUrlRequest.h:249
QuickSightRequest.h
Aws::QuickSight::Model::GetSessionEmbedUrlRequest::AwsAccountIdHasBeenSet
bool AwsAccountIdHasBeenSet() const
Definition: GetSessionEmbedUrlRequest.h:49
Aws::QuickSight::Model::GetSessionEmbedUrlRequest::WithAwsAccountId
GetSessionEmbedUrlRequest & WithAwsAccountId(const Aws::String &value)
Definition: GetSessionEmbedUrlRequest.h:69
Aws::QuickSight::Model::GetSessionEmbedUrlRequest::WithEntryPoint
GetSessionEmbedUrlRequest & WithEntryPoint(const Aws::String &value)
Definition: GetSessionEmbedUrlRequest.h:158
Aws::QuickSight::Model::GetSessionEmbedUrlRequest::SetEntryPoint
void SetEntryPoint(const Aws::String &value)
Definition: GetSessionEmbedUrlRequest.h:119
Aws::QuickSight::Model::GetSessionEmbedUrlRequest::WithSessionLifetimeInMinutes
GetSessionEmbedUrlRequest & WithSessionLifetimeInMinutes(long long value)
Definition: GetSessionEmbedUrlRequest.h:209
Aws::QuickSight::Model::GetSessionEmbedUrlRequest::SetAwsAccountId
void SetAwsAccountId(const char *value)
Definition: GetSessionEmbedUrlRequest.h:64
Aws::QuickSight::Model::GetSessionEmbedUrlRequest::GetAwsAccountId
const Aws::String & GetAwsAccountId() const
Definition: GetSessionEmbedUrlRequest.h:44
AWSString.h
Aws::QuickSight::Model::GetSessionEmbedUrlRequest::WithAwsAccountId
GetSessionEmbedUrlRequest & WithAwsAccountId(Aws::String &&value)
Definition: GetSessionEmbedUrlRequest.h:74
Aws::QuickSight::Model::GetSessionEmbedUrlRequest::GetSessionLifetimeInMinutes
long long GetSessionLifetimeInMinutes() const
Definition: GetSessionEmbedUrlRequest.h:191
Aws::QuickSight::Model::GetSessionEmbedUrlRequest::WithEntryPoint
GetSessionEmbedUrlRequest & WithEntryPoint(const char *value)
Definition: GetSessionEmbedUrlRequest.h:184
Aws::QuickSight::Model::GetSessionEmbedUrlRequest::SessionLifetimeInMinutesHasBeenSet
bool SessionLifetimeInMinutesHasBeenSet() const
Definition: GetSessionEmbedUrlRequest.h:197
Aws::QuickSight::Model::GetSessionEmbedUrlRequest::WithEntryPoint
GetSessionEmbedUrlRequest & WithEntryPoint(Aws::String &&value)
Definition: GetSessionEmbedUrlRequest.h:171
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::QuickSight::Model::GetSessionEmbedUrlRequest::GetEntryPoint
const Aws::String & GetEntryPoint() const
Definition: GetSessionEmbedUrlRequest.h:93
Aws::QuickSight::Model::GetSessionEmbedUrlRequest::SetAwsAccountId
void SetAwsAccountId(Aws::String &&value)
Definition: GetSessionEmbedUrlRequest.h:59
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::GetSessionEmbedUrlRequest::WithUserArn
GetSessionEmbedUrlRequest & WithUserArn(Aws::String &&value)
Definition: GetSessionEmbedUrlRequest.h:301
Aws::QuickSight::Model::GetSessionEmbedUrlRequest::SetUserArn
void SetUserArn(const char *value)
Definition: GetSessionEmbedUrlRequest.h:275
Aws::QuickSight::Model::GetSessionEmbedUrlRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetSessionEmbedUrlRequest.h:34
Aws::QuickSight::QuickSightRequest
Definition: QuickSightRequest.h:17
Aws::QuickSight::Model::GetSessionEmbedUrlRequest::UserArnHasBeenSet
bool UserArnHasBeenSet() const
Definition: GetSessionEmbedUrlRequest.h:236
Aws::QuickSight::Model::GetSessionEmbedUrlRequest::SetEntryPoint
void SetEntryPoint(const char *value)
Definition: GetSessionEmbedUrlRequest.h:145