AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
ConnectionOAuthResponseParameters.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/eventbridge/EventBridge_EXPORTS.h>
9#include <aws/eventbridge/model/ConnectionHttpParameters.h>
10#include <aws/eventbridge/model/ConnectionOAuthClientResponseParameters.h>
11#include <aws/eventbridge/model/ConnectionOAuthHttpMethod.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace EventBridge {
23namespace Model {
24
32 public:
33 AWS_EVENTBRIDGE_API ConnectionOAuthResponseParameters() = default;
36 AWS_EVENTBRIDGE_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
43 inline const ConnectionOAuthClientResponseParameters& GetClientParameters() const { return m_clientParameters; }
44 inline bool ClientParametersHasBeenSet() const { return m_clientParametersHasBeenSet; }
45 template <typename ClientParametersT = ConnectionOAuthClientResponseParameters>
46 void SetClientParameters(ClientParametersT&& value) {
47 m_clientParametersHasBeenSet = true;
48 m_clientParameters = std::forward<ClientParametersT>(value);
49 }
50 template <typename ClientParametersT = ConnectionOAuthClientResponseParameters>
52 SetClientParameters(std::forward<ClientParametersT>(value));
53 return *this;
54 }
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) {
65 m_authorizationEndpointHasBeenSet = true;
66 m_authorizationEndpoint = std::forward<AuthorizationEndpointT>(value);
67 }
68 template <typename AuthorizationEndpointT = Aws::String>
70 SetAuthorizationEndpoint(std::forward<AuthorizationEndpointT>(value));
71 return *this;
72 }
74
76
79 inline ConnectionOAuthHttpMethod GetHttpMethod() const { return m_httpMethod; }
80 inline bool HttpMethodHasBeenSet() const { return m_httpMethodHasBeenSet; }
82 m_httpMethodHasBeenSet = true;
83 m_httpMethod = value;
84 }
86 SetHttpMethod(value);
87 return *this;
88 }
90
92
95 inline const ConnectionHttpParameters& GetOAuthHttpParameters() const { return m_oAuthHttpParameters; }
96 inline bool OAuthHttpParametersHasBeenSet() const { return m_oAuthHttpParametersHasBeenSet; }
97 template <typename OAuthHttpParametersT = ConnectionHttpParameters>
98 void SetOAuthHttpParameters(OAuthHttpParametersT&& value) {
99 m_oAuthHttpParametersHasBeenSet = true;
100 m_oAuthHttpParameters = std::forward<OAuthHttpParametersT>(value);
101 }
102 template <typename OAuthHttpParametersT = ConnectionHttpParameters>
104 SetOAuthHttpParameters(std::forward<OAuthHttpParametersT>(value));
105 return *this;
106 }
108 private:
110
111 Aws::String m_authorizationEndpoint;
112
114
115 ConnectionHttpParameters m_oAuthHttpParameters;
116 bool m_clientParametersHasBeenSet = false;
117 bool m_authorizationEndpointHasBeenSet = false;
118 bool m_httpMethodHasBeenSet = false;
119 bool m_oAuthHttpParametersHasBeenSet = false;
120};
121
122} // namespace Model
123} // namespace EventBridge
124} // 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