AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename AwsAccountIdT = Aws::String>
49 void SetAwsAccountId(AwsAccountIdT&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::forward<AwsAccountIdT>(value); }
50 template<typename AwsAccountIdT = Aws::String>
51 GetSessionEmbedUrlRequest& WithAwsAccountId(AwsAccountIdT&& value) { SetAwsAccountId(std::forward<AwsAccountIdT>(value)); return *this;}
53
55
66 inline const Aws::String& GetEntryPoint() const { return m_entryPoint; }
67 inline bool EntryPointHasBeenSet() const { return m_entryPointHasBeenSet; }
68 template<typename EntryPointT = Aws::String>
69 void SetEntryPoint(EntryPointT&& value) { m_entryPointHasBeenSet = true; m_entryPoint = std::forward<EntryPointT>(value); }
70 template<typename EntryPointT = Aws::String>
71 GetSessionEmbedUrlRequest& WithEntryPoint(EntryPointT&& value) { SetEntryPoint(std::forward<EntryPointT>(value)); return *this;}
73
75
79 inline long long GetSessionLifetimeInMinutes() const { return m_sessionLifetimeInMinutes; }
80 inline bool SessionLifetimeInMinutesHasBeenSet() const { return m_sessionLifetimeInMinutesHasBeenSet; }
81 inline void SetSessionLifetimeInMinutes(long long value) { m_sessionLifetimeInMinutesHasBeenSet = true; m_sessionLifetimeInMinutes = value; }
84
86
97 inline const Aws::String& GetUserArn() const { return m_userArn; }
98 inline bool UserArnHasBeenSet() const { return m_userArnHasBeenSet; }
99 template<typename UserArnT = Aws::String>
100 void SetUserArn(UserArnT&& value) { m_userArnHasBeenSet = true; m_userArn = std::forward<UserArnT>(value); }
101 template<typename UserArnT = Aws::String>
102 GetSessionEmbedUrlRequest& WithUserArn(UserArnT&& value) { SetUserArn(std::forward<UserArnT>(value)); return *this;}
104 private:
105
106 Aws::String m_awsAccountId;
107 bool m_awsAccountIdHasBeenSet = false;
108
109 Aws::String m_entryPoint;
110 bool m_entryPointHasBeenSet = false;
111
112 long long m_sessionLifetimeInMinutes{0};
113 bool m_sessionLifetimeInMinutesHasBeenSet = false;
114
115 Aws::String m_userArn;
116 bool m_userArnHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace QuickSight
121} // 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