AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateConnectionAuthRequestParameters.h
1
6#pragma once
7#include <aws/eventbridge/EventBridge_EXPORTS.h>
8#include <aws/eventbridge/model/CreateConnectionBasicAuthRequestParameters.h>
9#include <aws/eventbridge/model/CreateConnectionOAuthRequestParameters.h>
10#include <aws/eventbridge/model/CreateConnectionApiKeyAuthRequestParameters.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:
41 AWS_EVENTBRIDGE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const CreateConnectionBasicAuthRequestParameters& GetBasicAuthParameters() const{ return m_basicAuthParameters; }
50 inline bool BasicAuthParametersHasBeenSet() const { return m_basicAuthParametersHasBeenSet; }
51 inline void SetBasicAuthParameters(const CreateConnectionBasicAuthRequestParameters& value) { m_basicAuthParametersHasBeenSet = true; m_basicAuthParameters = value; }
52 inline void SetBasicAuthParameters(CreateConnectionBasicAuthRequestParameters&& value) { m_basicAuthParametersHasBeenSet = true; m_basicAuthParameters = std::move(value); }
56
58
62 inline const CreateConnectionOAuthRequestParameters& GetOAuthParameters() const{ return m_oAuthParameters; }
63 inline bool OAuthParametersHasBeenSet() const { return m_oAuthParametersHasBeenSet; }
64 inline void SetOAuthParameters(const CreateConnectionOAuthRequestParameters& value) { m_oAuthParametersHasBeenSet = true; m_oAuthParameters = value; }
65 inline void SetOAuthParameters(CreateConnectionOAuthRequestParameters&& value) { m_oAuthParametersHasBeenSet = true; m_oAuthParameters = std::move(value); }
69
71
75 inline const CreateConnectionApiKeyAuthRequestParameters& GetApiKeyAuthParameters() const{ return m_apiKeyAuthParameters; }
76 inline bool ApiKeyAuthParametersHasBeenSet() const { return m_apiKeyAuthParametersHasBeenSet; }
77 inline void SetApiKeyAuthParameters(const CreateConnectionApiKeyAuthRequestParameters& value) { m_apiKeyAuthParametersHasBeenSet = true; m_apiKeyAuthParameters = value; }
78 inline void SetApiKeyAuthParameters(CreateConnectionApiKeyAuthRequestParameters&& value) { m_apiKeyAuthParametersHasBeenSet = true; m_apiKeyAuthParameters = std::move(value); }
82
84
91 inline const ConnectionHttpParameters& GetInvocationHttpParameters() const{ return m_invocationHttpParameters; }
92 inline bool InvocationHttpParametersHasBeenSet() const { return m_invocationHttpParametersHasBeenSet; }
93 inline void SetInvocationHttpParameters(const ConnectionHttpParameters& value) { m_invocationHttpParametersHasBeenSet = true; m_invocationHttpParameters = value; }
94 inline void SetInvocationHttpParameters(ConnectionHttpParameters&& value) { m_invocationHttpParametersHasBeenSet = true; m_invocationHttpParameters = std::move(value); }
98 private:
99
100 CreateConnectionBasicAuthRequestParameters m_basicAuthParameters;
101 bool m_basicAuthParametersHasBeenSet = false;
102
104 bool m_oAuthParametersHasBeenSet = false;
105
106 CreateConnectionApiKeyAuthRequestParameters m_apiKeyAuthParameters;
107 bool m_apiKeyAuthParametersHasBeenSet = false;
108
109 ConnectionHttpParameters m_invocationHttpParameters;
110 bool m_invocationHttpParametersHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace EventBridge
115} // namespace Aws
CreateConnectionAuthRequestParameters & WithBasicAuthParameters(const CreateConnectionBasicAuthRequestParameters &value)
const CreateConnectionApiKeyAuthRequestParameters & GetApiKeyAuthParameters() const
AWS_EVENTBRIDGE_API CreateConnectionAuthRequestParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetApiKeyAuthParameters(CreateConnectionApiKeyAuthRequestParameters &&value)
CreateConnectionAuthRequestParameters & WithInvocationHttpParameters(ConnectionHttpParameters &&value)
const CreateConnectionOAuthRequestParameters & GetOAuthParameters() const
const CreateConnectionBasicAuthRequestParameters & GetBasicAuthParameters() const
void SetBasicAuthParameters(CreateConnectionBasicAuthRequestParameters &&value)
CreateConnectionAuthRequestParameters & WithApiKeyAuthParameters(CreateConnectionApiKeyAuthRequestParameters &&value)
CreateConnectionAuthRequestParameters & WithOAuthParameters(const CreateConnectionOAuthRequestParameters &value)
void SetApiKeyAuthParameters(const CreateConnectionApiKeyAuthRequestParameters &value)
CreateConnectionAuthRequestParameters & WithBasicAuthParameters(CreateConnectionBasicAuthRequestParameters &&value)
AWS_EVENTBRIDGE_API CreateConnectionAuthRequestParameters(Aws::Utils::Json::JsonView jsonValue)
AWS_EVENTBRIDGE_API Aws::Utils::Json::JsonValue Jsonize() const
CreateConnectionAuthRequestParameters & WithApiKeyAuthParameters(const CreateConnectionApiKeyAuthRequestParameters &value)
CreateConnectionAuthRequestParameters & WithOAuthParameters(CreateConnectionOAuthRequestParameters &&value)
void SetBasicAuthParameters(const CreateConnectionBasicAuthRequestParameters &value)
void SetOAuthParameters(const CreateConnectionOAuthRequestParameters &value)
CreateConnectionAuthRequestParameters & WithInvocationHttpParameters(const ConnectionHttpParameters &value)
Aws::Utils::Json::JsonValue JsonValue