AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
41 AWS_EVENTBRIDGE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
50 inline const ConnectionOAuthClientResponseParameters& GetClientParameters() const{ return m_clientParameters; }
51 inline bool ClientParametersHasBeenSet() const { return m_clientParametersHasBeenSet; }
52 inline void SetClientParameters(const ConnectionOAuthClientResponseParameters& value) { m_clientParametersHasBeenSet = true; m_clientParameters = value; }
53 inline void SetClientParameters(ConnectionOAuthClientResponseParameters&& value) { m_clientParametersHasBeenSet = true; m_clientParameters = std::move(value); }
57
59
62 inline const Aws::String& GetAuthorizationEndpoint() const{ return m_authorizationEndpoint; }
63 inline bool AuthorizationEndpointHasBeenSet() const { return m_authorizationEndpointHasBeenSet; }
64 inline void SetAuthorizationEndpoint(const Aws::String& value) { m_authorizationEndpointHasBeenSet = true; m_authorizationEndpoint = value; }
65 inline void SetAuthorizationEndpoint(Aws::String&& value) { m_authorizationEndpointHasBeenSet = true; m_authorizationEndpoint = std::move(value); }
66 inline void SetAuthorizationEndpoint(const char* value) { m_authorizationEndpointHasBeenSet = true; m_authorizationEndpoint.assign(value); }
71
73
76 inline const ConnectionOAuthHttpMethod& GetHttpMethod() const{ return m_httpMethod; }
77 inline bool HttpMethodHasBeenSet() const { return m_httpMethodHasBeenSet; }
78 inline void SetHttpMethod(const ConnectionOAuthHttpMethod& value) { m_httpMethodHasBeenSet = true; m_httpMethod = value; }
79 inline void SetHttpMethod(ConnectionOAuthHttpMethod&& value) { m_httpMethodHasBeenSet = true; m_httpMethod = std::move(value); }
83
85
88 inline const ConnectionHttpParameters& GetOAuthHttpParameters() const{ return m_oAuthHttpParameters; }
89 inline bool OAuthHttpParametersHasBeenSet() const { return m_oAuthHttpParametersHasBeenSet; }
90 inline void SetOAuthHttpParameters(const ConnectionHttpParameters& value) { m_oAuthHttpParametersHasBeenSet = true; m_oAuthHttpParameters = value; }
91 inline void SetOAuthHttpParameters(ConnectionHttpParameters&& value) { m_oAuthHttpParametersHasBeenSet = true; m_oAuthHttpParameters = std::move(value); }
95 private:
96
98 bool m_clientParametersHasBeenSet = false;
99
100 Aws::String m_authorizationEndpoint;
101 bool m_authorizationEndpointHasBeenSet = false;
102
103 ConnectionOAuthHttpMethod m_httpMethod;
104 bool m_httpMethodHasBeenSet = false;
105
106 ConnectionHttpParameters m_oAuthHttpParameters;
107 bool m_oAuthHttpParametersHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace EventBridge
112} // namespace Aws
AWS_EVENTBRIDGE_API ConnectionOAuthResponseParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
ConnectionOAuthResponseParameters & WithClientParameters(ConnectionOAuthClientResponseParameters &&value)
void SetClientParameters(const ConnectionOAuthClientResponseParameters &value)
ConnectionOAuthResponseParameters & WithHttpMethod(const ConnectionOAuthHttpMethod &value)
const ConnectionOAuthClientResponseParameters & GetClientParameters() const
AWS_EVENTBRIDGE_API ConnectionOAuthResponseParameters(Aws::Utils::Json::JsonView jsonValue)
ConnectionOAuthResponseParameters & WithHttpMethod(ConnectionOAuthHttpMethod &&value)
ConnectionOAuthResponseParameters & WithAuthorizationEndpoint(const char *value)
AWS_EVENTBRIDGE_API Aws::Utils::Json::JsonValue Jsonize() const
ConnectionOAuthResponseParameters & WithOAuthHttpParameters(ConnectionHttpParameters &&value)
ConnectionOAuthResponseParameters & WithOAuthHttpParameters(const ConnectionHttpParameters &value)
ConnectionOAuthResponseParameters & WithClientParameters(const ConnectionOAuthClientResponseParameters &value)
void SetClientParameters(ConnectionOAuthClientResponseParameters &&value)
ConnectionOAuthResponseParameters & WithAuthorizationEndpoint(Aws::String &&value)
ConnectionOAuthResponseParameters & WithAuthorizationEndpoint(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue