AWS SDK for C++

AWS SDK for C++ Version 1.11.817

Loading...
Searching...
No Matches
OAuthClientApplication.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/QuickSight_EXPORTS.h>
10#include <aws/quicksight/model/DataSourceType.h>
11#include <aws/quicksight/model/OAuthClientAuthenticationType.h>
12#include <aws/quicksight/model/VpcConnectionProperties.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace QuickSight {
24namespace Model {
25
33 public:
34 AWS_QUICKSIGHT_API OAuthClientApplication() = default;
37 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
44 inline const Aws::String& GetOAuthClientApplicationId() const { return m_oAuthClientApplicationId; }
45 inline bool OAuthClientApplicationIdHasBeenSet() const { return m_oAuthClientApplicationIdHasBeenSet; }
46 template <typename OAuthClientApplicationIdT = Aws::String>
47 void SetOAuthClientApplicationId(OAuthClientApplicationIdT&& value) {
48 m_oAuthClientApplicationIdHasBeenSet = true;
49 m_oAuthClientApplicationId = std::forward<OAuthClientApplicationIdT>(value);
50 }
51 template <typename OAuthClientApplicationIdT = Aws::String>
52 OAuthClientApplication& WithOAuthClientApplicationId(OAuthClientApplicationIdT&& value) {
53 SetOAuthClientApplicationId(std::forward<OAuthClientApplicationIdT>(value));
54 return *this;
55 }
57
59
62 inline const Aws::String& GetName() const { return m_name; }
63 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
64 template <typename NameT = Aws::String>
65 void SetName(NameT&& value) {
66 m_nameHasBeenSet = true;
67 m_name = std::forward<NameT>(value);
68 }
69 template <typename NameT = Aws::String>
71 SetName(std::forward<NameT>(value));
72 return *this;
73 }
75
77
81 inline OAuthClientAuthenticationType GetOAuthClientAuthenticationType() const { return m_oAuthClientAuthenticationType; }
82 inline bool OAuthClientAuthenticationTypeHasBeenSet() const { return m_oAuthClientAuthenticationTypeHasBeenSet; }
84 m_oAuthClientAuthenticationTypeHasBeenSet = true;
85 m_oAuthClientAuthenticationType = value;
86 }
89 return *this;
90 }
92
94
98 inline const Aws::String& GetOAuthTokenEndpointUrl() const { return m_oAuthTokenEndpointUrl; }
99 inline bool OAuthTokenEndpointUrlHasBeenSet() const { return m_oAuthTokenEndpointUrlHasBeenSet; }
100 template <typename OAuthTokenEndpointUrlT = Aws::String>
101 void SetOAuthTokenEndpointUrl(OAuthTokenEndpointUrlT&& value) {
102 m_oAuthTokenEndpointUrlHasBeenSet = true;
103 m_oAuthTokenEndpointUrl = std::forward<OAuthTokenEndpointUrlT>(value);
104 }
105 template <typename OAuthTokenEndpointUrlT = Aws::String>
106 OAuthClientApplication& WithOAuthTokenEndpointUrl(OAuthTokenEndpointUrlT&& value) {
107 SetOAuthTokenEndpointUrl(std::forward<OAuthTokenEndpointUrlT>(value));
108 return *this;
109 }
111
113
117 inline const Aws::String& GetOAuthAuthorizationEndpointUrl() const { return m_oAuthAuthorizationEndpointUrl; }
118 inline bool OAuthAuthorizationEndpointUrlHasBeenSet() const { return m_oAuthAuthorizationEndpointUrlHasBeenSet; }
119 template <typename OAuthAuthorizationEndpointUrlT = Aws::String>
120 void SetOAuthAuthorizationEndpointUrl(OAuthAuthorizationEndpointUrlT&& value) {
121 m_oAuthAuthorizationEndpointUrlHasBeenSet = true;
122 m_oAuthAuthorizationEndpointUrl = std::forward<OAuthAuthorizationEndpointUrlT>(value);
123 }
124 template <typename OAuthAuthorizationEndpointUrlT = Aws::String>
125 OAuthClientApplication& WithOAuthAuthorizationEndpointUrl(OAuthAuthorizationEndpointUrlT&& value) {
126 SetOAuthAuthorizationEndpointUrl(std::forward<OAuthAuthorizationEndpointUrlT>(value));
127 return *this;
128 }
130
132
136 inline const Aws::String& GetOAuthScopes() const { return m_oAuthScopes; }
137 inline bool OAuthScopesHasBeenSet() const { return m_oAuthScopesHasBeenSet; }
138 template <typename OAuthScopesT = Aws::String>
139 void SetOAuthScopes(OAuthScopesT&& value) {
140 m_oAuthScopesHasBeenSet = true;
141 m_oAuthScopes = std::forward<OAuthScopesT>(value);
142 }
143 template <typename OAuthScopesT = Aws::String>
145 SetOAuthScopes(std::forward<OAuthScopesT>(value));
146 return *this;
147 }
149
151
155 inline DataSourceType GetDataSourceType() const { return m_dataSourceType; }
156 inline bool DataSourceTypeHasBeenSet() const { return m_dataSourceTypeHasBeenSet; }
158 m_dataSourceTypeHasBeenSet = true;
159 m_dataSourceType = value;
160 }
162 SetDataSourceType(value);
163 return *this;
164 }
166
168
170 return m_identityProviderVpcConnectionProperties;
171 }
172 inline bool IdentityProviderVpcConnectionPropertiesHasBeenSet() const { return m_identityProviderVpcConnectionPropertiesHasBeenSet; }
173 template <typename IdentityProviderVpcConnectionPropertiesT = VpcConnectionProperties>
174 void SetIdentityProviderVpcConnectionProperties(IdentityProviderVpcConnectionPropertiesT&& value) {
175 m_identityProviderVpcConnectionPropertiesHasBeenSet = true;
176 m_identityProviderVpcConnectionProperties = std::forward<IdentityProviderVpcConnectionPropertiesT>(value);
177 }
178 template <typename IdentityProviderVpcConnectionPropertiesT = VpcConnectionProperties>
179 OAuthClientApplication& WithIdentityProviderVpcConnectionProperties(IdentityProviderVpcConnectionPropertiesT&& value) {
180 SetIdentityProviderVpcConnectionProperties(std::forward<IdentityProviderVpcConnectionPropertiesT>(value));
181 return *this;
182 }
184
186
189 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
190 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
191 template <typename CreatedTimeT = Aws::Utils::DateTime>
192 void SetCreatedTime(CreatedTimeT&& value) {
193 m_createdTimeHasBeenSet = true;
194 m_createdTime = std::forward<CreatedTimeT>(value);
195 }
196 template <typename CreatedTimeT = Aws::Utils::DateTime>
198 SetCreatedTime(std::forward<CreatedTimeT>(value));
199 return *this;
200 }
202
204
207 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const { return m_lastUpdatedTime; }
208 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
209 template <typename LastUpdatedTimeT = Aws::Utils::DateTime>
210 void SetLastUpdatedTime(LastUpdatedTimeT&& value) {
211 m_lastUpdatedTimeHasBeenSet = true;
212 m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value);
213 }
214 template <typename LastUpdatedTimeT = Aws::Utils::DateTime>
215 OAuthClientApplication& WithLastUpdatedTime(LastUpdatedTimeT&& value) {
216 SetLastUpdatedTime(std::forward<LastUpdatedTimeT>(value));
217 return *this;
218 }
220
222
225 inline const Aws::String& GetArn() const { return m_arn; }
226 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
227 template <typename ArnT = Aws::String>
228 void SetArn(ArnT&& value) {
229 m_arnHasBeenSet = true;
230 m_arn = std::forward<ArnT>(value);
231 }
232 template <typename ArnT = Aws::String>
234 SetArn(std::forward<ArnT>(value));
235 return *this;
236 }
238 private:
239 Aws::String m_oAuthClientApplicationId;
240
241 Aws::String m_name;
242
244
245 Aws::String m_oAuthTokenEndpointUrl;
246
247 Aws::String m_oAuthAuthorizationEndpointUrl;
248
249 Aws::String m_oAuthScopes;
250
251 DataSourceType m_dataSourceType{DataSourceType::NOT_SET};
252
253 VpcConnectionProperties m_identityProviderVpcConnectionProperties;
254
255 Aws::Utils::DateTime m_createdTime{};
256
257 Aws::Utils::DateTime m_lastUpdatedTime{};
258
259 Aws::String m_arn;
260 bool m_oAuthClientApplicationIdHasBeenSet = false;
261 bool m_nameHasBeenSet = false;
262 bool m_oAuthClientAuthenticationTypeHasBeenSet = false;
263 bool m_oAuthTokenEndpointUrlHasBeenSet = false;
264 bool m_oAuthAuthorizationEndpointUrlHasBeenSet = false;
265 bool m_oAuthScopesHasBeenSet = false;
266 bool m_dataSourceTypeHasBeenSet = false;
267 bool m_identityProviderVpcConnectionPropertiesHasBeenSet = false;
268 bool m_createdTimeHasBeenSet = false;
269 bool m_lastUpdatedTimeHasBeenSet = false;
270 bool m_arnHasBeenSet = false;
271};
272
273} // namespace Model
274} // namespace QuickSight
275} // namespace Aws
void SetOAuthAuthorizationEndpointUrl(OAuthAuthorizationEndpointUrlT &&value)
OAuthClientApplication & WithCreatedTime(CreatedTimeT &&value)
OAuthClientApplication & WithIdentityProviderVpcConnectionProperties(IdentityProviderVpcConnectionPropertiesT &&value)
OAuthClientApplication & WithOAuthClientApplicationId(OAuthClientApplicationIdT &&value)
void SetIdentityProviderVpcConnectionProperties(IdentityProviderVpcConnectionPropertiesT &&value)
void SetOAuthTokenEndpointUrl(OAuthTokenEndpointUrlT &&value)
OAuthClientApplication & WithOAuthAuthorizationEndpointUrl(OAuthAuthorizationEndpointUrlT &&value)
const Aws::Utils::DateTime & GetLastUpdatedTime() const
OAuthClientApplication & WithOAuthScopes(OAuthScopesT &&value)
OAuthClientApplication & WithDataSourceType(DataSourceType value)
const Aws::Utils::DateTime & GetCreatedTime() const
void SetOAuthClientApplicationId(OAuthClientApplicationIdT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetOAuthClientAuthenticationType(OAuthClientAuthenticationType value)
AWS_QUICKSIGHT_API OAuthClientApplication()=default
OAuthClientApplication & WithOAuthClientAuthenticationType(OAuthClientAuthenticationType value)
OAuthClientApplication & WithArn(ArnT &&value)
AWS_QUICKSIGHT_API OAuthClientApplication & operator=(Aws::Utils::Json::JsonView jsonValue)
const VpcConnectionProperties & GetIdentityProviderVpcConnectionProperties() const
OAuthClientApplication & WithName(NameT &&value)
AWS_QUICKSIGHT_API OAuthClientApplication(Aws::Utils::Json::JsonView jsonValue)
OAuthClientApplication & WithOAuthTokenEndpointUrl(OAuthTokenEndpointUrlT &&value)
OAuthClientApplication & WithLastUpdatedTime(LastUpdatedTimeT &&value)
OAuthClientAuthenticationType GetOAuthClientAuthenticationType() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue