AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetRedirectUri(const Aws::String& value) { m_redirectUriHasBeenSet = true; m_redirectUri = value; }
50 inline void SetRedirectUri(Aws::String&& value) { m_redirectUriHasBeenSet = true; m_redirectUri = std::move(value); }
51 inline void SetRedirectUri(const char* value) { m_redirectUriHasBeenSet = true; m_redirectUri.assign(value); }
52 inline AuthRequest& WithRedirectUri(const Aws::String& value) { SetRedirectUri(value); return *this;}
53 inline AuthRequest& WithRedirectUri(Aws::String&& value) { SetRedirectUri(std::move(value)); return *this;}
54 inline AuthRequest& WithRedirectUri(const char* value) { SetRedirectUri(value); return *this;}
56
58
62 inline const Aws::String& GetCode() const{ return m_code; }
63 inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
64 inline void SetCode(const Aws::String& value) { m_codeHasBeenSet = true; m_code = value; }
65 inline void SetCode(Aws::String&& value) { m_codeHasBeenSet = true; m_code = std::move(value); }
66 inline void SetCode(const char* value) { m_codeHasBeenSet = true; m_code.assign(value); }
67 inline AuthRequest& WithCode(const Aws::String& value) { SetCode(value); return *this;}
68 inline AuthRequest& WithCode(Aws::String&& value) { SetCode(std::move(value)); return *this;}
69 inline AuthRequest& WithCode(const char* value) { SetCode(value); return *this;}
71 private:
72
73 Aws::String m_redirectUri;
74 bool m_redirectUriHasBeenSet = false;
75
76 Aws::String m_code;
77 bool m_codeHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace AppFabric
82} // namespace Aws
void SetCode(const char *value)
Definition AuthRequest.h:66
AuthRequest & WithCode(const Aws::String &value)
Definition AuthRequest.h:67
void SetRedirectUri(Aws::String &&value)
Definition AuthRequest.h:50
AWS_APPFABRIC_API AuthRequest(Aws::Utils::Json::JsonView jsonValue)
void SetCode(Aws::String &&value)
Definition AuthRequest.h:65
const Aws::String & GetCode() const
Definition AuthRequest.h:62
AWS_APPFABRIC_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetRedirectUri() const
Definition AuthRequest.h:47
AWS_APPFABRIC_API AuthRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
AuthRequest & WithRedirectUri(Aws::String &&value)
Definition AuthRequest.h:53
AuthRequest & WithCode(const char *value)
Definition AuthRequest.h:69
void SetRedirectUri(const char *value)
Definition AuthRequest.h:51
void SetCode(const Aws::String &value)
Definition AuthRequest.h:64
AuthRequest & WithRedirectUri(const Aws::String &value)
Definition AuthRequest.h:52
AuthRequest & WithRedirectUri(const char *value)
Definition AuthRequest.h:54
void SetRedirectUri(const Aws::String &value)
Definition AuthRequest.h:49
AuthRequest & WithCode(Aws::String &&value)
Definition AuthRequest.h:68
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue