AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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