AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
OAuthParameters.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/model/VpcConnectionProperties.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace QuickSight
23{
24namespace Model
25{
26
36 {
37 public:
38 AWS_QUICKSIGHT_API OAuthParameters() = default;
39 AWS_QUICKSIGHT_API OAuthParameters(Aws::Utils::Json::JsonView jsonValue);
41 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetTokenProviderUrl() const { return m_tokenProviderUrl; }
49 inline bool TokenProviderUrlHasBeenSet() const { return m_tokenProviderUrlHasBeenSet; }
50 template<typename TokenProviderUrlT = Aws::String>
51 void SetTokenProviderUrl(TokenProviderUrlT&& value) { m_tokenProviderUrlHasBeenSet = true; m_tokenProviderUrl = std::forward<TokenProviderUrlT>(value); }
52 template<typename TokenProviderUrlT = Aws::String>
53 OAuthParameters& WithTokenProviderUrl(TokenProviderUrlT&& value) { SetTokenProviderUrl(std::forward<TokenProviderUrlT>(value)); return *this;}
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) { m_oAuthScopeHasBeenSet = true; m_oAuthScope = std::forward<OAuthScopeT>(value); }
64 template<typename OAuthScopeT = Aws::String>
65 OAuthParameters& WithOAuthScope(OAuthScopeT&& value) { SetOAuthScope(std::forward<OAuthScopeT>(value)); return *this;}
67
69
70 inline const VpcConnectionProperties& GetIdentityProviderVpcConnectionProperties() const { return m_identityProviderVpcConnectionProperties; }
71 inline bool IdentityProviderVpcConnectionPropertiesHasBeenSet() const { return m_identityProviderVpcConnectionPropertiesHasBeenSet; }
72 template<typename IdentityProviderVpcConnectionPropertiesT = VpcConnectionProperties>
73 void SetIdentityProviderVpcConnectionProperties(IdentityProviderVpcConnectionPropertiesT&& value) { m_identityProviderVpcConnectionPropertiesHasBeenSet = true; m_identityProviderVpcConnectionProperties = std::forward<IdentityProviderVpcConnectionPropertiesT>(value); }
74 template<typename IdentityProviderVpcConnectionPropertiesT = VpcConnectionProperties>
75 OAuthParameters& WithIdentityProviderVpcConnectionProperties(IdentityProviderVpcConnectionPropertiesT&& value) { SetIdentityProviderVpcConnectionProperties(std::forward<IdentityProviderVpcConnectionPropertiesT>(value)); return *this;}
77
79
82 inline const Aws::String& GetIdentityProviderResourceUri() const { return m_identityProviderResourceUri; }
83 inline bool IdentityProviderResourceUriHasBeenSet() const { return m_identityProviderResourceUriHasBeenSet; }
84 template<typename IdentityProviderResourceUriT = Aws::String>
85 void SetIdentityProviderResourceUri(IdentityProviderResourceUriT&& value) { m_identityProviderResourceUriHasBeenSet = true; m_identityProviderResourceUri = std::forward<IdentityProviderResourceUriT>(value); }
86 template<typename IdentityProviderResourceUriT = Aws::String>
87 OAuthParameters& WithIdentityProviderResourceUri(IdentityProviderResourceUriT&& value) { SetIdentityProviderResourceUri(std::forward<IdentityProviderResourceUriT>(value)); return *this;}
89 private:
90
91 Aws::String m_tokenProviderUrl;
92 bool m_tokenProviderUrlHasBeenSet = false;
93
94 Aws::String m_oAuthScope;
95 bool m_oAuthScopeHasBeenSet = false;
96
97 VpcConnectionProperties m_identityProviderVpcConnectionProperties;
98 bool m_identityProviderVpcConnectionPropertiesHasBeenSet = false;
99
100 Aws::String m_identityProviderResourceUri;
101 bool m_identityProviderResourceUriHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace QuickSight
106} // 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