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/events/CloudWatchEvents_EXPORTS.h>
8#include <aws/events/model/UpdateConnectionBasicAuthRequestParameters.h>
9#include <aws/events/model/UpdateConnectionOAuthRequestParameters.h>
10#include <aws/events/model/UpdateConnectionApiKeyAuthRequestParameters.h>
11#include <aws/events/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 CloudWatchEvents
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_CLOUDWATCHEVENTS_API UpdateConnectionAuthRequestParameters();
41 AWS_CLOUDWATCHEVENTS_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 CloudWatchEvents
112} // namespace Aws
void SetBasicAuthParameters(UpdateConnectionBasicAuthRequestParameters &&value)
UpdateConnectionAuthRequestParameters & WithOAuthParameters(UpdateConnectionOAuthRequestParameters &&value)
void SetApiKeyAuthParameters(UpdateConnectionApiKeyAuthRequestParameters &&value)
UpdateConnectionAuthRequestParameters & WithInvocationHttpParameters(const ConnectionHttpParameters &value)
void SetOAuthParameters(const UpdateConnectionOAuthRequestParameters &value)
const UpdateConnectionBasicAuthRequestParameters & GetBasicAuthParameters() const
UpdateConnectionAuthRequestParameters & WithBasicAuthParameters(const UpdateConnectionBasicAuthRequestParameters &value)
void SetBasicAuthParameters(const UpdateConnectionBasicAuthRequestParameters &value)
UpdateConnectionAuthRequestParameters & WithInvocationHttpParameters(ConnectionHttpParameters &&value)
AWS_CLOUDWATCHEVENTS_API UpdateConnectionAuthRequestParameters(Aws::Utils::Json::JsonView jsonValue)
UpdateConnectionAuthRequestParameters & WithOAuthParameters(const UpdateConnectionOAuthRequestParameters &value)
AWS_CLOUDWATCHEVENTS_API UpdateConnectionAuthRequestParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetApiKeyAuthParameters(const UpdateConnectionApiKeyAuthRequestParameters &value)
UpdateConnectionAuthRequestParameters & WithBasicAuthParameters(UpdateConnectionBasicAuthRequestParameters &&value)
UpdateConnectionAuthRequestParameters & WithApiKeyAuthParameters(const UpdateConnectionApiKeyAuthRequestParameters &value)
UpdateConnectionAuthRequestParameters & WithApiKeyAuthParameters(UpdateConnectionApiKeyAuthRequestParameters &&value)
AWS_CLOUDWATCHEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
const UpdateConnectionApiKeyAuthRequestParameters & GetApiKeyAuthParameters() const
Aws::Utils::Json::JsonValue JsonValue