AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateConnectionOAuthRequestParameters.h
1
6#pragma once
7#include <aws/events/CloudWatchEvents_EXPORTS.h>
8#include <aws/events/model/CreateConnectionOAuthClientRequestParameters.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/events/model/ConnectionOAuthHttpMethod.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 CreateConnectionOAuthRequestParameters();
41 AWS_CLOUDWATCHEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const CreateConnectionOAuthClientRequestParameters& GetClientParameters() const{ return m_clientParameters; }
50 inline bool ClientParametersHasBeenSet() const { return m_clientParametersHasBeenSet; }
51 inline void SetClientParameters(const CreateConnectionOAuthClientRequestParameters& value) { m_clientParametersHasBeenSet = true; m_clientParameters = value; }
52 inline void SetClientParameters(CreateConnectionOAuthClientRequestParameters&& value) { m_clientParametersHasBeenSet = true; m_clientParameters = std::move(value); }
56
58
62 inline const Aws::String& GetAuthorizationEndpoint() const{ return m_authorizationEndpoint; }
63 inline bool AuthorizationEndpointHasBeenSet() const { return m_authorizationEndpointHasBeenSet; }
64 inline void SetAuthorizationEndpoint(const Aws::String& value) { m_authorizationEndpointHasBeenSet = true; m_authorizationEndpoint = value; }
65 inline void SetAuthorizationEndpoint(Aws::String&& value) { m_authorizationEndpointHasBeenSet = true; m_authorizationEndpoint = std::move(value); }
66 inline void SetAuthorizationEndpoint(const char* value) { m_authorizationEndpointHasBeenSet = true; m_authorizationEndpoint.assign(value); }
71
73
76 inline const ConnectionOAuthHttpMethod& GetHttpMethod() const{ return m_httpMethod; }
77 inline bool HttpMethodHasBeenSet() const { return m_httpMethodHasBeenSet; }
78 inline void SetHttpMethod(const ConnectionOAuthHttpMethod& value) { m_httpMethodHasBeenSet = true; m_httpMethod = value; }
79 inline void SetHttpMethod(ConnectionOAuthHttpMethod&& value) { m_httpMethodHasBeenSet = true; m_httpMethod = std::move(value); }
83
85
89 inline const ConnectionHttpParameters& GetOAuthHttpParameters() const{ return m_oAuthHttpParameters; }
90 inline bool OAuthHttpParametersHasBeenSet() const { return m_oAuthHttpParametersHasBeenSet; }
91 inline void SetOAuthHttpParameters(const ConnectionHttpParameters& value) { m_oAuthHttpParametersHasBeenSet = true; m_oAuthHttpParameters = value; }
92 inline void SetOAuthHttpParameters(ConnectionHttpParameters&& value) { m_oAuthHttpParametersHasBeenSet = true; m_oAuthHttpParameters = std::move(value); }
96 private:
97
99 bool m_clientParametersHasBeenSet = false;
100
101 Aws::String m_authorizationEndpoint;
102 bool m_authorizationEndpointHasBeenSet = false;
103
104 ConnectionOAuthHttpMethod m_httpMethod;
105 bool m_httpMethodHasBeenSet = false;
106
107 ConnectionHttpParameters m_oAuthHttpParameters;
108 bool m_oAuthHttpParametersHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace CloudWatchEvents
113} // namespace Aws
CreateConnectionOAuthRequestParameters & WithAuthorizationEndpoint(const char *value)
CreateConnectionOAuthRequestParameters & WithHttpMethod(ConnectionOAuthHttpMethod &&value)
CreateConnectionOAuthRequestParameters & WithOAuthHttpParameters(ConnectionHttpParameters &&value)
CreateConnectionOAuthRequestParameters & WithOAuthHttpParameters(const ConnectionHttpParameters &value)
CreateConnectionOAuthRequestParameters & WithHttpMethod(const ConnectionOAuthHttpMethod &value)
void SetClientParameters(CreateConnectionOAuthClientRequestParameters &&value)
void SetClientParameters(const CreateConnectionOAuthClientRequestParameters &value)
AWS_CLOUDWATCHEVENTS_API CreateConnectionOAuthRequestParameters(Aws::Utils::Json::JsonView jsonValue)
CreateConnectionOAuthRequestParameters & WithAuthorizationEndpoint(const Aws::String &value)
const CreateConnectionOAuthClientRequestParameters & GetClientParameters() const
CreateConnectionOAuthRequestParameters & WithAuthorizationEndpoint(Aws::String &&value)
CreateConnectionOAuthRequestParameters & WithClientParameters(const CreateConnectionOAuthClientRequestParameters &value)
CreateConnectionOAuthRequestParameters & WithClientParameters(CreateConnectionOAuthClientRequestParameters &&value)
AWS_CLOUDWATCHEVENTS_API CreateConnectionOAuthRequestParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDWATCHEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue