AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
AuthRequest.h
1
6#pragma once
7#include <aws/appfabric/AppFabric_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 AppFabric
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_APPFABRIC_API AuthRequest() = default;
37 AWS_APPFABRIC_API AuthRequest(Aws::Utils::Json::JsonView jsonValue);
38 AWS_APPFABRIC_API AuthRequest& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_APPFABRIC_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetRedirectUri() const { return m_redirectUri; }
48 inline bool RedirectUriHasBeenSet() const { return m_redirectUriHasBeenSet; }
49 template<typename RedirectUriT = Aws::String>
50 void SetRedirectUri(RedirectUriT&& value) { m_redirectUriHasBeenSet = true; m_redirectUri = std::forward<RedirectUriT>(value); }
51 template<typename RedirectUriT = Aws::String>
52 AuthRequest& WithRedirectUri(RedirectUriT&& value) { SetRedirectUri(std::forward<RedirectUriT>(value)); return *this;}
54
56
60 inline const Aws::String& GetCode() const { return m_code; }
61 inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
62 template<typename CodeT = Aws::String>
63 void SetCode(CodeT&& value) { m_codeHasBeenSet = true; m_code = std::forward<CodeT>(value); }
64 template<typename CodeT = Aws::String>
65 AuthRequest& WithCode(CodeT&& value) { SetCode(std::forward<CodeT>(value)); return *this;}
67 private:
68
69 Aws::String m_redirectUri;
70 bool m_redirectUriHasBeenSet = false;
71
72 Aws::String m_code;
73 bool m_codeHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace AppFabric
78} // namespace Aws
AWS_APPFABRIC_API AuthRequest(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetCode() const
Definition AuthRequest.h:60
AWS_APPFABRIC_API Aws::Utils::Json::JsonValue Jsonize() const
AuthRequest & WithCode(CodeT &&value)
Definition AuthRequest.h:65
const Aws::String & GetRedirectUri() const
Definition AuthRequest.h:47
AWS_APPFABRIC_API AuthRequest()=default
AWS_APPFABRIC_API AuthRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRedirectUri(RedirectUriT &&value)
Definition AuthRequest.h:50
AuthRequest & WithRedirectUri(RedirectUriT &&value)
Definition AuthRequest.h:52
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue