AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
AuthorizationCodeProperties.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/glue/Glue_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Glue {
20namespace Model {
21
30 public:
31 AWS_GLUE_API AuthorizationCodeProperties() = default;
35
37
43 inline const Aws::String& GetAuthorizationCode() const { return m_authorizationCode; }
44 inline bool AuthorizationCodeHasBeenSet() const { return m_authorizationCodeHasBeenSet; }
45 template <typename AuthorizationCodeT = Aws::String>
46 void SetAuthorizationCode(AuthorizationCodeT&& value) {
47 m_authorizationCodeHasBeenSet = true;
48 m_authorizationCode = std::forward<AuthorizationCodeT>(value);
49 }
50 template <typename AuthorizationCodeT = Aws::String>
52 SetAuthorizationCode(std::forward<AuthorizationCodeT>(value));
53 return *this;
54 }
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) {
67 m_redirectUriHasBeenSet = true;
68 m_redirectUri = std::forward<RedirectUriT>(value);
69 }
70 template <typename RedirectUriT = Aws::String>
72 SetRedirectUri(std::forward<RedirectUriT>(value));
73 return *this;
74 }
76 private:
77 Aws::String m_authorizationCode;
78
79 Aws::String m_redirectUri;
80 bool m_authorizationCodeHasBeenSet = false;
81 bool m_redirectUriHasBeenSet = false;
82};
83
84} // namespace Model
85} // namespace Glue
86} // 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