AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ConnectionOAuthResponseParameters.h
1
6#pragma once
7#include <aws/eventbridge/EventBridge_EXPORTS.h>
8#include <aws/eventbridge/model/ConnectionOAuthClientResponseParameters.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/eventbridge/model/ConnectionOAuthHttpMethod.h>
11#include <aws/eventbridge/model/ConnectionHttpParameters.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace EventBridge
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_EVENTBRIDGE_API ConnectionOAuthResponseParameters() = default;
41 AWS_EVENTBRIDGE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const ConnectionOAuthClientResponseParameters& GetClientParameters() const { return m_clientParameters; }
50 inline bool ClientParametersHasBeenSet() const { return m_clientParametersHasBeenSet; }
51 template<typename ClientParametersT = ConnectionOAuthClientResponseParameters>
52 void SetClientParameters(ClientParametersT&& value) { m_clientParametersHasBeenSet = true; m_clientParameters = std::forward<ClientParametersT>(value); }
53 template<typename ClientParametersT = ConnectionOAuthClientResponseParameters>
54 ConnectionOAuthResponseParameters& WithClientParameters(ClientParametersT&& value) { SetClientParameters(std::forward<ClientParametersT>(value)); return *this;}
56
58
61 inline const Aws::String& GetAuthorizationEndpoint() const { return m_authorizationEndpoint; }
62 inline bool AuthorizationEndpointHasBeenSet() const { return m_authorizationEndpointHasBeenSet; }
63 template<typename AuthorizationEndpointT = Aws::String>
64 void SetAuthorizationEndpoint(AuthorizationEndpointT&& value) { m_authorizationEndpointHasBeenSet = true; m_authorizationEndpoint = std::forward<AuthorizationEndpointT>(value); }
65 template<typename AuthorizationEndpointT = Aws::String>
66 ConnectionOAuthResponseParameters& WithAuthorizationEndpoint(AuthorizationEndpointT&& value) { SetAuthorizationEndpoint(std::forward<AuthorizationEndpointT>(value)); return *this;}
68
70
73 inline ConnectionOAuthHttpMethod GetHttpMethod() const { return m_httpMethod; }
74 inline bool HttpMethodHasBeenSet() const { return m_httpMethodHasBeenSet; }
75 inline void SetHttpMethod(ConnectionOAuthHttpMethod value) { m_httpMethodHasBeenSet = true; m_httpMethod = value; }
78
80
83 inline const ConnectionHttpParameters& GetOAuthHttpParameters() const { return m_oAuthHttpParameters; }
84 inline bool OAuthHttpParametersHasBeenSet() const { return m_oAuthHttpParametersHasBeenSet; }
85 template<typename OAuthHttpParametersT = ConnectionHttpParameters>
86 void SetOAuthHttpParameters(OAuthHttpParametersT&& value) { m_oAuthHttpParametersHasBeenSet = true; m_oAuthHttpParameters = std::forward<OAuthHttpParametersT>(value); }
87 template<typename OAuthHttpParametersT = ConnectionHttpParameters>
88 ConnectionOAuthResponseParameters& WithOAuthHttpParameters(OAuthHttpParametersT&& value) { SetOAuthHttpParameters(std::forward<OAuthHttpParametersT>(value)); return *this;}
90 private:
91
93 bool m_clientParametersHasBeenSet = false;
94
95 Aws::String m_authorizationEndpoint;
96 bool m_authorizationEndpointHasBeenSet = false;
97
99 bool m_httpMethodHasBeenSet = false;
100
101 ConnectionHttpParameters m_oAuthHttpParameters;
102 bool m_oAuthHttpParametersHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace EventBridge
107} // namespace Aws
AWS_EVENTBRIDGE_API ConnectionOAuthResponseParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_EVENTBRIDGE_API ConnectionOAuthResponseParameters()=default
ConnectionOAuthResponseParameters & WithHttpMethod(ConnectionOAuthHttpMethod value)
ConnectionOAuthResponseParameters & WithOAuthHttpParameters(OAuthHttpParametersT &&value)
const ConnectionOAuthClientResponseParameters & GetClientParameters() const
AWS_EVENTBRIDGE_API ConnectionOAuthResponseParameters(Aws::Utils::Json::JsonView jsonValue)
AWS_EVENTBRIDGE_API Aws::Utils::Json::JsonValue Jsonize() const
ConnectionOAuthResponseParameters & WithClientParameters(ClientParametersT &&value)
ConnectionOAuthResponseParameters & WithAuthorizationEndpoint(AuthorizationEndpointT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue