AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetSessionEmbedUrlRequest.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 <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace QuickSight
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_QUICKSIGHT_API GetSessionEmbedUrlRequest();
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_QUICKSIGHT_API Aws::String SerializePayload() const override;
37
38 AWS_QUICKSIGHT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
40
42
46 inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
47 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
48 inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
49 inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
50 inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
51 inline GetSessionEmbedUrlRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
52 inline GetSessionEmbedUrlRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
53 inline GetSessionEmbedUrlRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
55
57
68 inline const Aws::String& GetEntryPoint() const{ return m_entryPoint; }
69 inline bool EntryPointHasBeenSet() const { return m_entryPointHasBeenSet; }
70 inline void SetEntryPoint(const Aws::String& value) { m_entryPointHasBeenSet = true; m_entryPoint = value; }
71 inline void SetEntryPoint(Aws::String&& value) { m_entryPointHasBeenSet = true; m_entryPoint = std::move(value); }
72 inline void SetEntryPoint(const char* value) { m_entryPointHasBeenSet = true; m_entryPoint.assign(value); }
73 inline GetSessionEmbedUrlRequest& WithEntryPoint(const Aws::String& value) { SetEntryPoint(value); return *this;}
74 inline GetSessionEmbedUrlRequest& WithEntryPoint(Aws::String&& value) { SetEntryPoint(std::move(value)); return *this;}
75 inline GetSessionEmbedUrlRequest& WithEntryPoint(const char* value) { SetEntryPoint(value); return *this;}
77
79
83 inline long long GetSessionLifetimeInMinutes() const{ return m_sessionLifetimeInMinutes; }
84 inline bool SessionLifetimeInMinutesHasBeenSet() const { return m_sessionLifetimeInMinutesHasBeenSet; }
85 inline void SetSessionLifetimeInMinutes(long long value) { m_sessionLifetimeInMinutesHasBeenSet = true; m_sessionLifetimeInMinutes = value; }
88
90
101 inline const Aws::String& GetUserArn() const{ return m_userArn; }
102 inline bool UserArnHasBeenSet() const { return m_userArnHasBeenSet; }
103 inline void SetUserArn(const Aws::String& value) { m_userArnHasBeenSet = true; m_userArn = value; }
104 inline void SetUserArn(Aws::String&& value) { m_userArnHasBeenSet = true; m_userArn = std::move(value); }
105 inline void SetUserArn(const char* value) { m_userArnHasBeenSet = true; m_userArn.assign(value); }
106 inline GetSessionEmbedUrlRequest& WithUserArn(const Aws::String& value) { SetUserArn(value); return *this;}
107 inline GetSessionEmbedUrlRequest& WithUserArn(Aws::String&& value) { SetUserArn(std::move(value)); return *this;}
108 inline GetSessionEmbedUrlRequest& WithUserArn(const char* value) { SetUserArn(value); return *this;}
110 private:
111
112 Aws::String m_awsAccountId;
113 bool m_awsAccountIdHasBeenSet = false;
114
115 Aws::String m_entryPoint;
116 bool m_entryPointHasBeenSet = false;
117
118 long long m_sessionLifetimeInMinutes;
119 bool m_sessionLifetimeInMinutesHasBeenSet = false;
120
121 Aws::String m_userArn;
122 bool m_userArnHasBeenSet = false;
123 };
124
125} // namespace Model
126} // namespace QuickSight
127} // namespace Aws
GetSessionEmbedUrlRequest & WithEntryPoint(const Aws::String &value)
GetSessionEmbedUrlRequest & WithEntryPoint(Aws::String &&value)
GetSessionEmbedUrlRequest & WithUserArn(const Aws::String &value)
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
GetSessionEmbedUrlRequest & WithUserArn(Aws::String &&value)
GetSessionEmbedUrlRequest & WithUserArn(const char *value)
GetSessionEmbedUrlRequest & WithAwsAccountId(const char *value)
GetSessionEmbedUrlRequest & WithAwsAccountId(Aws::String &&value)
GetSessionEmbedUrlRequest & WithEntryPoint(const char *value)
GetSessionEmbedUrlRequest & WithSessionLifetimeInMinutes(long long value)
virtual const char * GetServiceRequestName() const override
AWS_QUICKSIGHT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetSessionEmbedUrlRequest & WithAwsAccountId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String