AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ConnectorOAuthRequest.h
1
6#pragma once
7#include <aws/appflow/Appflow_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Appflow
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_APPFLOW_API ConnectorOAuthRequest() = default;
39 AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetAuthCode() const { return m_authCode; }
48 inline bool AuthCodeHasBeenSet() const { return m_authCodeHasBeenSet; }
49 template<typename AuthCodeT = Aws::String>
50 void SetAuthCode(AuthCodeT&& value) { m_authCodeHasBeenSet = true; m_authCode = std::forward<AuthCodeT>(value); }
51 template<typename AuthCodeT = Aws::String>
52 ConnectorOAuthRequest& WithAuthCode(AuthCodeT&& value) { SetAuthCode(std::forward<AuthCodeT>(value)); return *this;}
54
56
60 inline const Aws::String& GetRedirectUri() const { return m_redirectUri; }
61 inline bool RedirectUriHasBeenSet() const { return m_redirectUriHasBeenSet; }
62 template<typename RedirectUriT = Aws::String>
63 void SetRedirectUri(RedirectUriT&& value) { m_redirectUriHasBeenSet = true; m_redirectUri = std::forward<RedirectUriT>(value); }
64 template<typename RedirectUriT = Aws::String>
65 ConnectorOAuthRequest& WithRedirectUri(RedirectUriT&& value) { SetRedirectUri(std::forward<RedirectUriT>(value)); return *this;}
67 private:
68
69 Aws::String m_authCode;
70 bool m_authCodeHasBeenSet = false;
71
72 Aws::String m_redirectUri;
73 bool m_redirectUriHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace Appflow
78} // namespace Aws
ConnectorOAuthRequest & WithRedirectUri(RedirectUriT &&value)
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPFLOW_API ConnectorOAuthRequest()=default
AWS_APPFLOW_API ConnectorOAuthRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
ConnectorOAuthRequest & WithAuthCode(AuthCodeT &&value)
AWS_APPFLOW_API ConnectorOAuthRequest(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue