AWS SDK for C++

AWS SDK for C++ Version 1.11.922

Loading...
Searching...
No Matches
GitHubAuthorizationConfiguration.h
1
6#pragma once
7#include <aws/continuum/Continuum_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Continuum {
20namespace Model {
21
29 public:
30 AWS_CONTINUUM_API GitHubAuthorizationConfiguration() = default;
33 AWS_CONTINUUM_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::String& GetAuthorizationCode() const { return m_authorizationCode; }
41 inline bool AuthorizationCodeHasBeenSet() const { return m_authorizationCodeHasBeenSet; }
42 template <typename AuthorizationCodeT = Aws::String>
43 void SetAuthorizationCode(AuthorizationCodeT&& value) {
44 m_authorizationCodeHasBeenSet = true;
45 m_authorizationCode = std::forward<AuthorizationCodeT>(value);
46 }
47 template <typename AuthorizationCodeT = Aws::String>
49 SetAuthorizationCode(std::forward<AuthorizationCodeT>(value));
50 return *this;
51 }
53
55
64 inline const Aws::String& GetState() const { return m_state; }
65 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
66 template <typename StateT = Aws::String>
67 void SetState(StateT&& value) {
68 m_stateHasBeenSet = true;
69 m_state = std::forward<StateT>(value);
70 }
71 template <typename StateT = Aws::String>
73 SetState(std::forward<StateT>(value));
74 return *this;
75 }
77
79
84 inline const Aws::String& GetRedirectUrl() const { return m_redirectUrl; }
85 inline bool RedirectUrlHasBeenSet() const { return m_redirectUrlHasBeenSet; }
86 template <typename RedirectUrlT = Aws::String>
87 void SetRedirectUrl(RedirectUrlT&& value) {
88 m_redirectUrlHasBeenSet = true;
89 m_redirectUrl = std::forward<RedirectUrlT>(value);
90 }
91 template <typename RedirectUrlT = Aws::String>
93 SetRedirectUrl(std::forward<RedirectUrlT>(value));
94 return *this;
95 }
97 private:
98 Aws::String m_authorizationCode;
99
100 Aws::String m_state;
101
102 Aws::String m_redirectUrl;
103 bool m_authorizationCodeHasBeenSet = false;
104 bool m_stateHasBeenSet = false;
105 bool m_redirectUrlHasBeenSet = false;
106};
107
108} // namespace Model
109} // namespace Continuum
110} // namespace Aws
AWS_CONTINUUM_API GitHubAuthorizationConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_CONTINUUM_API GitHubAuthorizationConfiguration()=default
AWS_CONTINUUM_API GitHubAuthorizationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONTINUUM_API Aws::Utils::Json::JsonValue Jsonize() const
GitHubAuthorizationConfiguration & WithState(StateT &&value)
GitHubAuthorizationConfiguration & WithAuthorizationCode(AuthorizationCodeT &&value)
GitHubAuthorizationConfiguration & WithRedirectUrl(RedirectUrlT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue