AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAuthCode(const Aws::String& value) { m_authCodeHasBeenSet = true; m_authCode = value; }
50 inline void SetAuthCode(Aws::String&& value) { m_authCodeHasBeenSet = true; m_authCode = std::move(value); }
51 inline void SetAuthCode(const char* value) { m_authCodeHasBeenSet = true; m_authCode.assign(value); }
52 inline ConnectorOAuthRequest& WithAuthCode(const Aws::String& value) { SetAuthCode(value); return *this;}
53 inline ConnectorOAuthRequest& WithAuthCode(Aws::String&& value) { SetAuthCode(std::move(value)); return *this;}
54 inline ConnectorOAuthRequest& WithAuthCode(const char* value) { SetAuthCode(value); return *this;}
56
58
62 inline const Aws::String& GetRedirectUri() const{ return m_redirectUri; }
63 inline bool RedirectUriHasBeenSet() const { return m_redirectUriHasBeenSet; }
64 inline void SetRedirectUri(const Aws::String& value) { m_redirectUriHasBeenSet = true; m_redirectUri = value; }
65 inline void SetRedirectUri(Aws::String&& value) { m_redirectUriHasBeenSet = true; m_redirectUri = std::move(value); }
66 inline void SetRedirectUri(const char* value) { m_redirectUriHasBeenSet = true; m_redirectUri.assign(value); }
67 inline ConnectorOAuthRequest& WithRedirectUri(const Aws::String& value) { SetRedirectUri(value); return *this;}
68 inline ConnectorOAuthRequest& WithRedirectUri(Aws::String&& value) { SetRedirectUri(std::move(value)); return *this;}
69 inline ConnectorOAuthRequest& WithRedirectUri(const char* value) { SetRedirectUri(value); return *this;}
71 private:
72
73 Aws::String m_authCode;
74 bool m_authCodeHasBeenSet = false;
75
76 Aws::String m_redirectUri;
77 bool m_redirectUriHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace Appflow
82} // namespace Aws
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
ConnectorOAuthRequest & WithRedirectUri(Aws::String &&value)
AWS_APPFLOW_API ConnectorOAuthRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
ConnectorOAuthRequest & WithAuthCode(const char *value)
ConnectorOAuthRequest & WithRedirectUri(const Aws::String &value)
ConnectorOAuthRequest & WithAuthCode(Aws::String &&value)
void SetRedirectUri(const Aws::String &value)
ConnectorOAuthRequest & WithRedirectUri(const char *value)
ConnectorOAuthRequest & WithAuthCode(const Aws::String &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