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/events/CloudWatchEvents_EXPORTS.h>
8#include <aws/events/model/CreateConnectionBasicAuthRequestParameters.h>
9#include <aws/events/model/CreateConnectionOAuthRequestParameters.h>
10#include <aws/events/model/CreateConnectionApiKeyAuthRequestParameters.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 CreateConnectionAuthRequestParameters();
41 AWS_CLOUDWATCHEVENTS_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 CloudWatchEvents
115} // namespace Aws
CreateConnectionAuthRequestParameters & WithInvocationHttpParameters(const ConnectionHttpParameters &value)
CreateConnectionAuthRequestParameters & WithOAuthParameters(CreateConnectionOAuthRequestParameters &&value)
CreateConnectionAuthRequestParameters & WithInvocationHttpParameters(ConnectionHttpParameters &&value)
void SetOAuthParameters(const CreateConnectionOAuthRequestParameters &value)
CreateConnectionAuthRequestParameters & WithBasicAuthParameters(const CreateConnectionBasicAuthRequestParameters &value)
const CreateConnectionApiKeyAuthRequestParameters & GetApiKeyAuthParameters() const
CreateConnectionAuthRequestParameters & WithOAuthParameters(const CreateConnectionOAuthRequestParameters &value)
void SetBasicAuthParameters(CreateConnectionBasicAuthRequestParameters &&value)
AWS_CLOUDWATCHEVENTS_API CreateConnectionAuthRequestParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetApiKeyAuthParameters(const CreateConnectionApiKeyAuthRequestParameters &value)
const CreateConnectionBasicAuthRequestParameters & GetBasicAuthParameters() const
void SetApiKeyAuthParameters(CreateConnectionApiKeyAuthRequestParameters &&value)
CreateConnectionAuthRequestParameters & WithBasicAuthParameters(CreateConnectionBasicAuthRequestParameters &&value)
CreateConnectionAuthRequestParameters & WithApiKeyAuthParameters(const CreateConnectionApiKeyAuthRequestParameters &value)
void SetBasicAuthParameters(const CreateConnectionBasicAuthRequestParameters &value)
CreateConnectionAuthRequestParameters & WithApiKeyAuthParameters(CreateConnectionApiKeyAuthRequestParameters &&value)
AWS_CLOUDWATCHEVENTS_API CreateConnectionAuthRequestParameters(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDWATCHEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue