AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
AuthorizationCodeGrantDetails.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSight_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace QuickSight {
20namespace Model {
21
29 public:
30 AWS_QUICKSIGHT_API AuthorizationCodeGrantDetails() = default;
33 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetClientId() const { return m_clientId; }
40 inline bool ClientIdHasBeenSet() const { return m_clientIdHasBeenSet; }
41 template <typename ClientIdT = Aws::String>
42 void SetClientId(ClientIdT&& value) {
43 m_clientIdHasBeenSet = true;
44 m_clientId = std::forward<ClientIdT>(value);
45 }
46 template <typename ClientIdT = Aws::String>
48 SetClientId(std::forward<ClientIdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetClientSecret() const { return m_clientSecret; }
58 inline bool ClientSecretHasBeenSet() const { return m_clientSecretHasBeenSet; }
59 template <typename ClientSecretT = Aws::String>
60 void SetClientSecret(ClientSecretT&& value) {
61 m_clientSecretHasBeenSet = true;
62 m_clientSecret = std::forward<ClientSecretT>(value);
63 }
64 template <typename ClientSecretT = Aws::String>
66 SetClientSecret(std::forward<ClientSecretT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetTokenEndpoint() const { return m_tokenEndpoint; }
76 inline bool TokenEndpointHasBeenSet() const { return m_tokenEndpointHasBeenSet; }
77 template <typename TokenEndpointT = Aws::String>
78 void SetTokenEndpoint(TokenEndpointT&& value) {
79 m_tokenEndpointHasBeenSet = true;
80 m_tokenEndpoint = std::forward<TokenEndpointT>(value);
81 }
82 template <typename TokenEndpointT = Aws::String>
84 SetTokenEndpoint(std::forward<TokenEndpointT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetAuthorizationEndpoint() const { return m_authorizationEndpoint; }
94 inline bool AuthorizationEndpointHasBeenSet() const { return m_authorizationEndpointHasBeenSet; }
95 template <typename AuthorizationEndpointT = Aws::String>
96 void SetAuthorizationEndpoint(AuthorizationEndpointT&& value) {
97 m_authorizationEndpointHasBeenSet = true;
98 m_authorizationEndpoint = std::forward<AuthorizationEndpointT>(value);
99 }
100 template <typename AuthorizationEndpointT = Aws::String>
102 SetAuthorizationEndpoint(std::forward<AuthorizationEndpointT>(value));
103 return *this;
104 }
106 private:
107 Aws::String m_clientId;
108
109 Aws::String m_clientSecret;
110
111 Aws::String m_tokenEndpoint;
112
113 Aws::String m_authorizationEndpoint;
114 bool m_clientIdHasBeenSet = false;
115 bool m_clientSecretHasBeenSet = false;
116 bool m_tokenEndpointHasBeenSet = false;
117 bool m_authorizationEndpointHasBeenSet = false;
118};
119
120} // namespace Model
121} // namespace QuickSight
122} // namespace Aws
AuthorizationCodeGrantDetails & WithTokenEndpoint(TokenEndpointT &&value)
AWS_QUICKSIGHT_API AuthorizationCodeGrantDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API AuthorizationCodeGrantDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API AuthorizationCodeGrantDetails()=default
AuthorizationCodeGrantDetails & WithClientSecret(ClientSecretT &&value)
AuthorizationCodeGrantDetails & WithClientId(ClientIdT &&value)
AuthorizationCodeGrantDetails & WithAuthorizationEndpoint(AuthorizationEndpointT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue