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/datazone/DataZone_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 DataZone
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_DATAZONE_API AuthorizationCodeProperties() = default;
38 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetAuthorizationCode() const { return m_authorizationCode; }
46 inline bool AuthorizationCodeHasBeenSet() const { return m_authorizationCodeHasBeenSet; }
47 template<typename AuthorizationCodeT = Aws::String>
48 void SetAuthorizationCode(AuthorizationCodeT&& value) { m_authorizationCodeHasBeenSet = true; m_authorizationCode = std::forward<AuthorizationCodeT>(value); }
49 template<typename AuthorizationCodeT = Aws::String>
50 AuthorizationCodeProperties& WithAuthorizationCode(AuthorizationCodeT&& value) { SetAuthorizationCode(std::forward<AuthorizationCodeT>(value)); return *this;}
52
54
57 inline const Aws::String& GetRedirectUri() const { return m_redirectUri; }
58 inline bool RedirectUriHasBeenSet() const { return m_redirectUriHasBeenSet; }
59 template<typename RedirectUriT = Aws::String>
60 void SetRedirectUri(RedirectUriT&& value) { m_redirectUriHasBeenSet = true; m_redirectUri = std::forward<RedirectUriT>(value); }
61 template<typename RedirectUriT = Aws::String>
62 AuthorizationCodeProperties& WithRedirectUri(RedirectUriT&& value) { SetRedirectUri(std::forward<RedirectUriT>(value)); return *this;}
64 private:
65
66 Aws::String m_authorizationCode;
67 bool m_authorizationCodeHasBeenSet = false;
68
69 Aws::String m_redirectUri;
70 bool m_redirectUriHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace DataZone
75} // namespace Aws
AuthorizationCodeProperties & WithAuthorizationCode(AuthorizationCodeT &&value)
AWS_DATAZONE_API AuthorizationCodeProperties(Aws::Utils::Json::JsonView jsonValue)
AuthorizationCodeProperties & WithRedirectUri(RedirectUriT &&value)
AWS_DATAZONE_API AuthorizationCodeProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DATAZONE_API AuthorizationCodeProperties()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue