AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
GetIdentityContextRequest.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/QuickSightRequest.h>
10#include <aws/quicksight/QuickSight_EXPORTS.h>
11#include <aws/quicksight/model/UserIdentifier.h>
12
13#include <utility>
14
15namespace Aws {
16namespace QuickSight {
17namespace Model {
18
26 public:
27 AWS_QUICKSIGHT_API GetIdentityContextRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "GetIdentityContext"; }
34
35 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
36
38
43 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
44 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
45 template <typename AwsAccountIdT = Aws::String>
46 void SetAwsAccountId(AwsAccountIdT&& value) {
47 m_awsAccountIdHasBeenSet = true;
48 m_awsAccountId = std::forward<AwsAccountIdT>(value);
49 }
50 template <typename AwsAccountIdT = Aws::String>
52 SetAwsAccountId(std::forward<AwsAccountIdT>(value));
53 return *this;
54 }
56
58
61 inline const UserIdentifier& GetUserIdentifier() const { return m_userIdentifier; }
62 inline bool UserIdentifierHasBeenSet() const { return m_userIdentifierHasBeenSet; }
63 template <typename UserIdentifierT = UserIdentifier>
64 void SetUserIdentifier(UserIdentifierT&& value) {
65 m_userIdentifierHasBeenSet = true;
66 m_userIdentifier = std::forward<UserIdentifierT>(value);
67 }
68 template <typename UserIdentifierT = UserIdentifier>
70 SetUserIdentifier(std::forward<UserIdentifierT>(value));
71 return *this;
72 }
74
76
81 inline const Aws::String& GetNamespace() const { return m_namespace; }
82 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
83 template <typename NamespaceT = Aws::String>
84 void SetNamespace(NamespaceT&& value) {
85 m_namespaceHasBeenSet = true;
86 m_namespace = std::forward<NamespaceT>(value);
87 }
88 template <typename NamespaceT = Aws::String>
90 SetNamespace(std::forward<NamespaceT>(value));
91 return *this;
92 }
94
96
99 inline const Aws::Utils::DateTime& GetSessionExpiresAt() const { return m_sessionExpiresAt; }
100 inline bool SessionExpiresAtHasBeenSet() const { return m_sessionExpiresAtHasBeenSet; }
101 template <typename SessionExpiresAtT = Aws::Utils::DateTime>
102 void SetSessionExpiresAt(SessionExpiresAtT&& value) {
103 m_sessionExpiresAtHasBeenSet = true;
104 m_sessionExpiresAt = std::forward<SessionExpiresAtT>(value);
105 }
106 template <typename SessionExpiresAtT = Aws::Utils::DateTime>
108 SetSessionExpiresAt(std::forward<SessionExpiresAtT>(value));
109 return *this;
110 }
112 private:
113 Aws::String m_awsAccountId;
114
115 UserIdentifier m_userIdentifier;
116
117 Aws::String m_namespace;
118
119 Aws::Utils::DateTime m_sessionExpiresAt{};
120 bool m_awsAccountIdHasBeenSet = false;
121 bool m_userIdentifierHasBeenSet = false;
122 bool m_namespaceHasBeenSet = false;
123 bool m_sessionExpiresAtHasBeenSet = false;
124};
125
126} // namespace Model
127} // namespace QuickSight
128} // namespace Aws
const Aws::Utils::DateTime & GetSessionExpiresAt() const
GetIdentityContextRequest & WithUserIdentifier(UserIdentifierT &&value)
GetIdentityContextRequest & WithAwsAccountId(AwsAccountIdT &&value)
GetIdentityContextRequest & WithSessionExpiresAt(SessionExpiresAtT &&value)
GetIdentityContextRequest & WithNamespace(NamespaceT &&value)
AWS_QUICKSIGHT_API GetIdentityContextRequest()=default
virtual const char * GetServiceRequestName() const override
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String