AWS SDK for C++  1.8.71
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
virtual const char * GetServiceRequestName() const override
GetSessionEmbedUrlRequest & WithUserArn(const Aws::String &value)
GetSessionEmbedUrlRequest & WithAwsAccountId(const Aws::String &value)
GetSessionEmbedUrlRequest & WithUserArn(const char *value)
GetSessionEmbedUrlRequest & WithEntryPoint(const Aws::String &value)
GetSessionEmbedUrlRequest & WithEntryPoint(Aws::String &&value)
GetSessionEmbedUrlRequest & WithSessionLifetimeInMinutes(long long value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
#define AWS_QUICKSIGHT_API
GetSessionEmbedUrlRequest & WithEntryPoint(const char *value)
GetSessionEmbedUrlRequest & WithAwsAccountId(Aws::String &&value)
GetSessionEmbedUrlRequest & WithAwsAccountId(const char *value)
GetSessionEmbedUrlRequest & WithUserArn(Aws::String &&value)