AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
AuthorizationCodeGrantMetadata.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSight_EXPORTS.h>
9#include <aws/quicksight/model/AuthorizationCodeGrantCredentialsDetails.h>
10#include <aws/quicksight/model/AuthorizationCodeGrantCredentialsSource.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace QuickSight {
22namespace Model {
23
31 public:
32 AWS_QUICKSIGHT_API AuthorizationCodeGrantMetadata() = default;
35 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetBaseEndpoint() const { return m_baseEndpoint; }
42 inline bool BaseEndpointHasBeenSet() const { return m_baseEndpointHasBeenSet; }
43 template <typename BaseEndpointT = Aws::String>
44 void SetBaseEndpoint(BaseEndpointT&& value) {
45 m_baseEndpointHasBeenSet = true;
46 m_baseEndpoint = std::forward<BaseEndpointT>(value);
47 }
48 template <typename BaseEndpointT = Aws::String>
50 SetBaseEndpoint(std::forward<BaseEndpointT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetRedirectUrl() const { return m_redirectUrl; }
60 inline bool RedirectUrlHasBeenSet() const { return m_redirectUrlHasBeenSet; }
61 template <typename RedirectUrlT = Aws::String>
62 void SetRedirectUrl(RedirectUrlT&& value) {
63 m_redirectUrlHasBeenSet = true;
64 m_redirectUrl = std::forward<RedirectUrlT>(value);
65 }
66 template <typename RedirectUrlT = Aws::String>
68 SetRedirectUrl(std::forward<RedirectUrlT>(value));
69 return *this;
70 }
72
74
78 return m_authorizationCodeGrantCredentialsSource;
79 }
80 inline bool AuthorizationCodeGrantCredentialsSourceHasBeenSet() const { return m_authorizationCodeGrantCredentialsSourceHasBeenSet; }
82 m_authorizationCodeGrantCredentialsSourceHasBeenSet = true;
83 m_authorizationCodeGrantCredentialsSource = value;
84 }
87 return *this;
88 }
90
92
96 return m_authorizationCodeGrantCredentialsDetails;
97 }
98 inline bool AuthorizationCodeGrantCredentialsDetailsHasBeenSet() const { return m_authorizationCodeGrantCredentialsDetailsHasBeenSet; }
99 template <typename AuthorizationCodeGrantCredentialsDetailsT = AuthorizationCodeGrantCredentialsDetails>
100 void SetAuthorizationCodeGrantCredentialsDetails(AuthorizationCodeGrantCredentialsDetailsT&& value) {
101 m_authorizationCodeGrantCredentialsDetailsHasBeenSet = true;
102 m_authorizationCodeGrantCredentialsDetails = std::forward<AuthorizationCodeGrantCredentialsDetailsT>(value);
103 }
104 template <typename AuthorizationCodeGrantCredentialsDetailsT = AuthorizationCodeGrantCredentialsDetails>
105 AuthorizationCodeGrantMetadata& WithAuthorizationCodeGrantCredentialsDetails(AuthorizationCodeGrantCredentialsDetailsT&& value) {
106 SetAuthorizationCodeGrantCredentialsDetails(std::forward<AuthorizationCodeGrantCredentialsDetailsT>(value));
107 return *this;
108 }
110 private:
111 Aws::String m_baseEndpoint;
112
113 Aws::String m_redirectUrl;
114
116
117 AuthorizationCodeGrantCredentialsDetails m_authorizationCodeGrantCredentialsDetails;
118 bool m_baseEndpointHasBeenSet = false;
119 bool m_redirectUrlHasBeenSet = false;
120 bool m_authorizationCodeGrantCredentialsSourceHasBeenSet = false;
121 bool m_authorizationCodeGrantCredentialsDetailsHasBeenSet = false;
122};
123
124} // namespace Model
125} // namespace QuickSight
126} // namespace Aws
AuthorizationCodeGrantMetadata & WithRedirectUrl(RedirectUrlT &&value)
AuthorizationCodeGrantMetadata & WithBaseEndpoint(BaseEndpointT &&value)
AWS_QUICKSIGHT_API AuthorizationCodeGrantMetadata()=default
AWS_QUICKSIGHT_API AuthorizationCodeGrantMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAuthorizationCodeGrantCredentialsSource(AuthorizationCodeGrantCredentialsSource value)
void SetAuthorizationCodeGrantCredentialsDetails(AuthorizationCodeGrantCredentialsDetailsT &&value)
AuthorizationCodeGrantMetadata & WithAuthorizationCodeGrantCredentialsDetails(AuthorizationCodeGrantCredentialsDetailsT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AuthorizationCodeGrantCredentialsSource GetAuthorizationCodeGrantCredentialsSource() const
AuthorizationCodeGrantMetadata & WithAuthorizationCodeGrantCredentialsSource(AuthorizationCodeGrantCredentialsSource value)
const AuthorizationCodeGrantCredentialsDetails & GetAuthorizationCodeGrantCredentialsDetails() const
AWS_QUICKSIGHT_API AuthorizationCodeGrantMetadata(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue