AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
GetAuthenticationUrlRequest.h
1
6#pragma once
7#include <aws/connectparticipant/ConnectParticipantRequest.h>
8#include <aws/connectparticipant/ConnectParticipant_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace ConnectParticipant {
15namespace Model {
16
20 public:
21 AWS_CONNECTPARTICIPANT_API GetAuthenticationUrlRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "GetAuthenticationUrl"; }
28
29 AWS_CONNECTPARTICIPANT_API Aws::String SerializePayload() const override;
30
31 AWS_CONNECTPARTICIPANT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
32
34
37 inline const Aws::String& GetSessionId() const { return m_sessionId; }
38 inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; }
39 template <typename SessionIdT = Aws::String>
40 void SetSessionId(SessionIdT&& value) {
41 m_sessionIdHasBeenSet = true;
42 m_sessionId = std::forward<SessionIdT>(value);
43 }
44 template <typename SessionIdT = Aws::String>
46 SetSessionId(std::forward<SessionIdT>(value));
47 return *this;
48 }
50
52
56 inline const Aws::String& GetRedirectUri() const { return m_redirectUri; }
57 inline bool RedirectUriHasBeenSet() const { return m_redirectUriHasBeenSet; }
58 template <typename RedirectUriT = Aws::String>
59 void SetRedirectUri(RedirectUriT&& value) {
60 m_redirectUriHasBeenSet = true;
61 m_redirectUri = std::forward<RedirectUriT>(value);
62 }
63 template <typename RedirectUriT = Aws::String>
65 SetRedirectUri(std::forward<RedirectUriT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetConnectionToken() const { return m_connectionToken; }
75 inline bool ConnectionTokenHasBeenSet() const { return m_connectionTokenHasBeenSet; }
76 template <typename ConnectionTokenT = Aws::String>
77 void SetConnectionToken(ConnectionTokenT&& value) {
78 m_connectionTokenHasBeenSet = true;
79 m_connectionToken = std::forward<ConnectionTokenT>(value);
80 }
81 template <typename ConnectionTokenT = Aws::String>
83 SetConnectionToken(std::forward<ConnectionTokenT>(value));
84 return *this;
85 }
87 private:
88 Aws::String m_sessionId;
89
90 Aws::String m_redirectUri;
91
92 Aws::String m_connectionToken;
93 bool m_sessionIdHasBeenSet = false;
94 bool m_redirectUriHasBeenSet = false;
95 bool m_connectionTokenHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace ConnectParticipant
100} // namespace Aws
GetAuthenticationUrlRequest & WithConnectionToken(ConnectionTokenT &&value)
GetAuthenticationUrlRequest & WithSessionId(SessionIdT &&value)
AWS_CONNECTPARTICIPANT_API GetAuthenticationUrlRequest()=default
AWS_CONNECTPARTICIPANT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetAuthenticationUrlRequest & WithRedirectUri(RedirectUriT &&value)
AWS_CONNECTPARTICIPANT_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String