AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
40
41
43
49 inline const Aws::String& GetAuthorizationCode() const{ return m_authorizationCode; }
50 inline bool AuthorizationCodeHasBeenSet() const { return m_authorizationCodeHasBeenSet; }
51 inline void SetAuthorizationCode(const Aws::String& value) { m_authorizationCodeHasBeenSet = true; m_authorizationCode = value; }
52 inline void SetAuthorizationCode(Aws::String&& value) { m_authorizationCodeHasBeenSet = true; m_authorizationCode = std::move(value); }
53 inline void SetAuthorizationCode(const char* value) { m_authorizationCodeHasBeenSet = true; m_authorizationCode.assign(value); }
55 inline AuthorizationCodeProperties& WithAuthorizationCode(Aws::String&& value) { SetAuthorizationCode(std::move(value)); return *this;}
56 inline AuthorizationCodeProperties& WithAuthorizationCode(const char* value) { SetAuthorizationCode(value); return *this;}
58
60
65 inline const Aws::String& GetRedirectUri() const{ return m_redirectUri; }
66 inline bool RedirectUriHasBeenSet() const { return m_redirectUriHasBeenSet; }
67 inline void SetRedirectUri(const Aws::String& value) { m_redirectUriHasBeenSet = true; m_redirectUri = value; }
68 inline void SetRedirectUri(Aws::String&& value) { m_redirectUriHasBeenSet = true; m_redirectUri = std::move(value); }
69 inline void SetRedirectUri(const char* value) { m_redirectUriHasBeenSet = true; m_redirectUri.assign(value); }
70 inline AuthorizationCodeProperties& WithRedirectUri(const Aws::String& value) { SetRedirectUri(value); return *this;}
71 inline AuthorizationCodeProperties& WithRedirectUri(Aws::String&& value) { SetRedirectUri(std::move(value)); return *this;}
72 inline AuthorizationCodeProperties& WithRedirectUri(const char* value) { SetRedirectUri(value); return *this;}
74 private:
75
76 Aws::String m_authorizationCode;
77 bool m_authorizationCodeHasBeenSet = false;
78
79 Aws::String m_redirectUri;
80 bool m_redirectUriHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace Glue
85} // namespace Aws
AWS_GLUE_API AuthorizationCodeProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
AuthorizationCodeProperties & WithAuthorizationCode(Aws::String &&value)
AuthorizationCodeProperties & WithRedirectUri(Aws::String &&value)
AuthorizationCodeProperties & WithAuthorizationCode(const Aws::String &value)
AuthorizationCodeProperties & WithRedirectUri(const char *value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GLUE_API AuthorizationCodeProperties(Aws::Utils::Json::JsonView jsonValue)
AuthorizationCodeProperties & WithRedirectUri(const Aws::String &value)
AuthorizationCodeProperties & WithAuthorizationCode(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue