AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
GetSessionEmbedUrlRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSightRequest.h>
9#include <aws/quicksight/QuickSight_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace QuickSight {
18namespace Model {
19
23 public:
24 AWS_QUICKSIGHT_API GetSessionEmbedUrlRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "GetSessionEmbedUrl"; }
31
32 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
33
34 AWS_QUICKSIGHT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
35
37
41 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
42 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
43 template <typename AwsAccountIdT = Aws::String>
44 void SetAwsAccountId(AwsAccountIdT&& value) {
45 m_awsAccountIdHasBeenSet = true;
46 m_awsAccountId = std::forward<AwsAccountIdT>(value);
47 }
48 template <typename AwsAccountIdT = Aws::String>
50 SetAwsAccountId(std::forward<AwsAccountIdT>(value));
51 return *this;
52 }
54
56
68 inline const Aws::String& GetEntryPoint() const { return m_entryPoint; }
69 inline bool EntryPointHasBeenSet() const { return m_entryPointHasBeenSet; }
70 template <typename EntryPointT = Aws::String>
71 void SetEntryPoint(EntryPointT&& value) {
72 m_entryPointHasBeenSet = true;
73 m_entryPoint = std::forward<EntryPointT>(value);
74 }
75 template <typename EntryPointT = Aws::String>
77 SetEntryPoint(std::forward<EntryPointT>(value));
78 return *this;
79 }
81
83
87 inline long long GetSessionLifetimeInMinutes() const { return m_sessionLifetimeInMinutes; }
88 inline bool SessionLifetimeInMinutesHasBeenSet() const { return m_sessionLifetimeInMinutesHasBeenSet; }
89 inline void SetSessionLifetimeInMinutes(long long value) {
90 m_sessionLifetimeInMinutesHasBeenSet = true;
91 m_sessionLifetimeInMinutes = value;
92 }
95 return *this;
96 }
98
100
111 inline const Aws::String& GetUserArn() const { return m_userArn; }
112 inline bool UserArnHasBeenSet() const { return m_userArnHasBeenSet; }
113 template <typename UserArnT = Aws::String>
114 void SetUserArn(UserArnT&& value) {
115 m_userArnHasBeenSet = true;
116 m_userArn = std::forward<UserArnT>(value);
117 }
118 template <typename UserArnT = Aws::String>
120 SetUserArn(std::forward<UserArnT>(value));
121 return *this;
122 }
124 private:
125 Aws::String m_awsAccountId;
126
127 Aws::String m_entryPoint;
128
129 long long m_sessionLifetimeInMinutes{0};
130
131 Aws::String m_userArn;
132 bool m_awsAccountIdHasBeenSet = false;
133 bool m_entryPointHasBeenSet = false;
134 bool m_sessionLifetimeInMinutesHasBeenSet = false;
135 bool m_userArnHasBeenSet = false;
136};
137
138} // namespace Model
139} // namespace QuickSight
140} // namespace Aws
GetSessionEmbedUrlRequest & WithUserArn(UserArnT &&value)
GetSessionEmbedUrlRequest & WithEntryPoint(EntryPointT &&value)
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
AWS_QUICKSIGHT_API GetSessionEmbedUrlRequest()=default
GetSessionEmbedUrlRequest & WithSessionLifetimeInMinutes(long long value)
virtual const char * GetServiceRequestName() const override
AWS_QUICKSIGHT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetSessionEmbedUrlRequest & WithAwsAccountId(AwsAccountIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String