AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ConnectionAuthResponseParameters.h
1
6#pragma once
7#include <aws/eventbridge/EventBridge_EXPORTS.h>
8#include <aws/eventbridge/model/ConnectionBasicAuthResponseParameters.h>
9#include <aws/eventbridge/model/ConnectionOAuthResponseParameters.h>
10#include <aws/eventbridge/model/ConnectionApiKeyAuthResponseParameters.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 ConnectionAuthResponseParameters();
41 AWS_EVENTBRIDGE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const ConnectionBasicAuthResponseParameters& GetBasicAuthParameters() const{ return m_basicAuthParameters; }
49 inline bool BasicAuthParametersHasBeenSet() const { return m_basicAuthParametersHasBeenSet; }
50 inline void SetBasicAuthParameters(const ConnectionBasicAuthResponseParameters& value) { m_basicAuthParametersHasBeenSet = true; m_basicAuthParameters = value; }
51 inline void SetBasicAuthParameters(ConnectionBasicAuthResponseParameters&& value) { m_basicAuthParametersHasBeenSet = true; m_basicAuthParameters = std::move(value); }
55
57
60 inline const ConnectionOAuthResponseParameters& GetOAuthParameters() const{ return m_oAuthParameters; }
61 inline bool OAuthParametersHasBeenSet() const { return m_oAuthParametersHasBeenSet; }
62 inline void SetOAuthParameters(const ConnectionOAuthResponseParameters& value) { m_oAuthParametersHasBeenSet = true; m_oAuthParameters = value; }
63 inline void SetOAuthParameters(ConnectionOAuthResponseParameters&& value) { m_oAuthParametersHasBeenSet = true; m_oAuthParameters = std::move(value); }
67
69
72 inline const ConnectionApiKeyAuthResponseParameters& GetApiKeyAuthParameters() const{ return m_apiKeyAuthParameters; }
73 inline bool ApiKeyAuthParametersHasBeenSet() const { return m_apiKeyAuthParametersHasBeenSet; }
74 inline void SetApiKeyAuthParameters(const ConnectionApiKeyAuthResponseParameters& value) { m_apiKeyAuthParametersHasBeenSet = true; m_apiKeyAuthParameters = value; }
75 inline void SetApiKeyAuthParameters(ConnectionApiKeyAuthResponseParameters&& value) { m_apiKeyAuthParametersHasBeenSet = true; m_apiKeyAuthParameters = std::move(value); }
79
81
85 inline const ConnectionHttpParameters& GetInvocationHttpParameters() const{ return m_invocationHttpParameters; }
86 inline bool InvocationHttpParametersHasBeenSet() const { return m_invocationHttpParametersHasBeenSet; }
87 inline void SetInvocationHttpParameters(const ConnectionHttpParameters& value) { m_invocationHttpParametersHasBeenSet = true; m_invocationHttpParameters = value; }
88 inline void SetInvocationHttpParameters(ConnectionHttpParameters&& value) { m_invocationHttpParametersHasBeenSet = true; m_invocationHttpParameters = std::move(value); }
92 private:
93
94 ConnectionBasicAuthResponseParameters m_basicAuthParameters;
95 bool m_basicAuthParametersHasBeenSet = false;
96
97 ConnectionOAuthResponseParameters m_oAuthParameters;
98 bool m_oAuthParametersHasBeenSet = false;
99
100 ConnectionApiKeyAuthResponseParameters m_apiKeyAuthParameters;
101 bool m_apiKeyAuthParametersHasBeenSet = false;
102
103 ConnectionHttpParameters m_invocationHttpParameters;
104 bool m_invocationHttpParametersHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace EventBridge
109} // namespace Aws
AWS_EVENTBRIDGE_API Aws::Utils::Json::JsonValue Jsonize() const
ConnectionAuthResponseParameters & WithInvocationHttpParameters(ConnectionHttpParameters &&value)
AWS_EVENTBRIDGE_API ConnectionAuthResponseParameters(Aws::Utils::Json::JsonView jsonValue)
void SetApiKeyAuthParameters(const ConnectionApiKeyAuthResponseParameters &value)
ConnectionAuthResponseParameters & WithOAuthParameters(ConnectionOAuthResponseParameters &&value)
AWS_EVENTBRIDGE_API ConnectionAuthResponseParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
ConnectionAuthResponseParameters & WithBasicAuthParameters(const ConnectionBasicAuthResponseParameters &value)
void SetBasicAuthParameters(ConnectionBasicAuthResponseParameters &&value)
void SetApiKeyAuthParameters(ConnectionApiKeyAuthResponseParameters &&value)
void SetOAuthParameters(ConnectionOAuthResponseParameters &&value)
ConnectionAuthResponseParameters & WithBasicAuthParameters(ConnectionBasicAuthResponseParameters &&value)
const ConnectionOAuthResponseParameters & GetOAuthParameters() const
const ConnectionBasicAuthResponseParameters & GetBasicAuthParameters() const
void SetInvocationHttpParameters(const ConnectionHttpParameters &value)
ConnectionAuthResponseParameters & WithApiKeyAuthParameters(const ConnectionApiKeyAuthResponseParameters &value)
void SetBasicAuthParameters(const ConnectionBasicAuthResponseParameters &value)
ConnectionAuthResponseParameters & WithOAuthParameters(const ConnectionOAuthResponseParameters &value)
const ConnectionApiKeyAuthResponseParameters & GetApiKeyAuthParameters() const
ConnectionAuthResponseParameters & WithInvocationHttpParameters(const ConnectionHttpParameters &value)
ConnectionAuthResponseParameters & WithApiKeyAuthParameters(ConnectionApiKeyAuthResponseParameters &&value)
void SetOAuthParameters(const ConnectionOAuthResponseParameters &value)
Aws::Utils::Json::JsonValue JsonValue