AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
OAuthParameters.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/VpcConnectionProperties.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace QuickSight {
21namespace Model {
22
32 public:
33 AWS_QUICKSIGHT_API OAuthParameters() = default;
34 AWS_QUICKSIGHT_API OAuthParameters(Aws::Utils::Json::JsonView jsonValue);
36 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetTokenProviderUrl() const { return m_tokenProviderUrl; }
43 inline bool TokenProviderUrlHasBeenSet() const { return m_tokenProviderUrlHasBeenSet; }
44 template <typename TokenProviderUrlT = Aws::String>
45 void SetTokenProviderUrl(TokenProviderUrlT&& value) {
46 m_tokenProviderUrlHasBeenSet = true;
47 m_tokenProviderUrl = std::forward<TokenProviderUrlT>(value);
48 }
49 template <typename TokenProviderUrlT = Aws::String>
50 OAuthParameters& WithTokenProviderUrl(TokenProviderUrlT&& value) {
51 SetTokenProviderUrl(std::forward<TokenProviderUrlT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetOAuthScope() const { return m_oAuthScope; }
61 inline bool OAuthScopeHasBeenSet() const { return m_oAuthScopeHasBeenSet; }
62 template <typename OAuthScopeT = Aws::String>
63 void SetOAuthScope(OAuthScopeT&& value) {
64 m_oAuthScopeHasBeenSet = true;
65 m_oAuthScope = std::forward<OAuthScopeT>(value);
66 }
67 template <typename OAuthScopeT = Aws::String>
68 OAuthParameters& WithOAuthScope(OAuthScopeT&& value) {
69 SetOAuthScope(std::forward<OAuthScopeT>(value));
70 return *this;
71 }
73
75
77 return m_identityProviderVpcConnectionProperties;
78 }
79 inline bool IdentityProviderVpcConnectionPropertiesHasBeenSet() const { return m_identityProviderVpcConnectionPropertiesHasBeenSet; }
80 template <typename IdentityProviderVpcConnectionPropertiesT = VpcConnectionProperties>
81 void SetIdentityProviderVpcConnectionProperties(IdentityProviderVpcConnectionPropertiesT&& value) {
82 m_identityProviderVpcConnectionPropertiesHasBeenSet = true;
83 m_identityProviderVpcConnectionProperties = std::forward<IdentityProviderVpcConnectionPropertiesT>(value);
84 }
85 template <typename IdentityProviderVpcConnectionPropertiesT = VpcConnectionProperties>
86 OAuthParameters& WithIdentityProviderVpcConnectionProperties(IdentityProviderVpcConnectionPropertiesT&& value) {
87 SetIdentityProviderVpcConnectionProperties(std::forward<IdentityProviderVpcConnectionPropertiesT>(value));
88 return *this;
89 }
91
93
96 inline const Aws::String& GetIdentityProviderResourceUri() const { return m_identityProviderResourceUri; }
97 inline bool IdentityProviderResourceUriHasBeenSet() const { return m_identityProviderResourceUriHasBeenSet; }
98 template <typename IdentityProviderResourceUriT = Aws::String>
99 void SetIdentityProviderResourceUri(IdentityProviderResourceUriT&& value) {
100 m_identityProviderResourceUriHasBeenSet = true;
101 m_identityProviderResourceUri = std::forward<IdentityProviderResourceUriT>(value);
102 }
103 template <typename IdentityProviderResourceUriT = Aws::String>
104 OAuthParameters& WithIdentityProviderResourceUri(IdentityProviderResourceUriT&& value) {
105 SetIdentityProviderResourceUri(std::forward<IdentityProviderResourceUriT>(value));
106 return *this;
107 }
109 private:
110 Aws::String m_tokenProviderUrl;
111
112 Aws::String m_oAuthScope;
113
114 VpcConnectionProperties m_identityProviderVpcConnectionProperties;
115
116 Aws::String m_identityProviderResourceUri;
117 bool m_tokenProviderUrlHasBeenSet = false;
118 bool m_oAuthScopeHasBeenSet = false;
119 bool m_identityProviderVpcConnectionPropertiesHasBeenSet = false;
120 bool m_identityProviderResourceUriHasBeenSet = false;
121};
122
123} // namespace Model
124} // namespace QuickSight
125} // namespace Aws
OAuthParameters & WithIdentityProviderVpcConnectionProperties(IdentityProviderVpcConnectionPropertiesT &&value)
const VpcConnectionProperties & GetIdentityProviderVpcConnectionProperties() const
OAuthParameters & WithOAuthScope(OAuthScopeT &&value)
AWS_QUICKSIGHT_API OAuthParameters()=default
void SetTokenProviderUrl(TokenProviderUrlT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetOAuthScope() const
const Aws::String & GetIdentityProviderResourceUri() const
void SetOAuthScope(OAuthScopeT &&value)
void SetIdentityProviderResourceUri(IdentityProviderResourceUriT &&value)
void SetIdentityProviderVpcConnectionProperties(IdentityProviderVpcConnectionPropertiesT &&value)
AWS_QUICKSIGHT_API OAuthParameters(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API OAuthParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
OAuthParameters & WithIdentityProviderResourceUri(IdentityProviderResourceUriT &&value)
const Aws::String & GetTokenProviderUrl() const
OAuthParameters & WithTokenProviderUrl(TokenProviderUrlT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue