AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
AuthorizationCodeProperties.h
1
6#pragma once
7#include <aws/glue/Glue_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 Glue
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_GLUE_API AuthorizationCodeProperties() = default;
40
41
43
49 inline const Aws::String& GetAuthorizationCode() const { return m_authorizationCode; }
50 inline bool AuthorizationCodeHasBeenSet() const { return m_authorizationCodeHasBeenSet; }
51 template<typename AuthorizationCodeT = Aws::String>
52 void SetAuthorizationCode(AuthorizationCodeT&& value) { m_authorizationCodeHasBeenSet = true; m_authorizationCode = std::forward<AuthorizationCodeT>(value); }
53 template<typename AuthorizationCodeT = Aws::String>
54 AuthorizationCodeProperties& WithAuthorizationCode(AuthorizationCodeT&& value) { SetAuthorizationCode(std::forward<AuthorizationCodeT>(value)); return *this;}
56
58
63 inline const Aws::String& GetRedirectUri() const { return m_redirectUri; }
64 inline bool RedirectUriHasBeenSet() const { return m_redirectUriHasBeenSet; }
65 template<typename RedirectUriT = Aws::String>
66 void SetRedirectUri(RedirectUriT&& value) { m_redirectUriHasBeenSet = true; m_redirectUri = std::forward<RedirectUriT>(value); }
67 template<typename RedirectUriT = Aws::String>
68 AuthorizationCodeProperties& WithRedirectUri(RedirectUriT&& value) { SetRedirectUri(std::forward<RedirectUriT>(value)); return *this;}
70 private:
71
72 Aws::String m_authorizationCode;
73 bool m_authorizationCodeHasBeenSet = false;
74
75 Aws::String m_redirectUri;
76 bool m_redirectUriHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace Glue
81} // namespace Aws
AWS_GLUE_API AuthorizationCodeProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
AuthorizationCodeProperties & WithAuthorizationCode(AuthorizationCodeT &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GLUE_API AuthorizationCodeProperties(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API AuthorizationCodeProperties()=default
AuthorizationCodeProperties & WithRedirectUri(RedirectUriT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue