AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateConnectionOAuthRequestParameters.h
1
6#pragma once
7#include <aws/events/CloudWatchEvents_EXPORTS.h>
8#include <aws/events/model/UpdateConnectionOAuthClientRequestParameters.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 UpdateConnectionOAuthRequestParameters();
41 AWS_CLOUDWATCHEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
50 inline const UpdateConnectionOAuthClientRequestParameters& GetClientParameters() const{ return m_clientParameters; }
51 inline bool ClientParametersHasBeenSet() const { return m_clientParametersHasBeenSet; }
52 inline void SetClientParameters(const UpdateConnectionOAuthClientRequestParameters& value) { m_clientParametersHasBeenSet = true; m_clientParameters = value; }
53 inline void SetClientParameters(UpdateConnectionOAuthClientRequestParameters&& value) { m_clientParametersHasBeenSet = true; m_clientParameters = std::move(value); }
57
59
63 inline const Aws::String& GetAuthorizationEndpoint() const{ return m_authorizationEndpoint; }
64 inline bool AuthorizationEndpointHasBeenSet() const { return m_authorizationEndpointHasBeenSet; }
65 inline void SetAuthorizationEndpoint(const Aws::String& value) { m_authorizationEndpointHasBeenSet = true; m_authorizationEndpoint = value; }
66 inline void SetAuthorizationEndpoint(Aws::String&& value) { m_authorizationEndpointHasBeenSet = true; m_authorizationEndpoint = std::move(value); }
67 inline void SetAuthorizationEndpoint(const char* value) { m_authorizationEndpointHasBeenSet = true; m_authorizationEndpoint.assign(value); }
72
74
77 inline const ConnectionOAuthHttpMethod& GetHttpMethod() const{ return m_httpMethod; }
78 inline bool HttpMethodHasBeenSet() const { return m_httpMethodHasBeenSet; }
79 inline void SetHttpMethod(const ConnectionOAuthHttpMethod& value) { m_httpMethodHasBeenSet = true; m_httpMethod = value; }
80 inline void SetHttpMethod(ConnectionOAuthHttpMethod&& value) { m_httpMethodHasBeenSet = true; m_httpMethod = std::move(value); }
84
86
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
void SetClientParameters(const UpdateConnectionOAuthClientRequestParameters &value)
UpdateConnectionOAuthRequestParameters & WithOAuthHttpParameters(const ConnectionHttpParameters &value)
UpdateConnectionOAuthRequestParameters & WithAuthorizationEndpoint(Aws::String &&value)
AWS_CLOUDWATCHEVENTS_API UpdateConnectionOAuthRequestParameters(Aws::Utils::Json::JsonView jsonValue)
const UpdateConnectionOAuthClientRequestParameters & GetClientParameters() const
UpdateConnectionOAuthRequestParameters & WithHttpMethod(ConnectionOAuthHttpMethod &&value)
AWS_CLOUDWATCHEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetClientParameters(UpdateConnectionOAuthClientRequestParameters &&value)
UpdateConnectionOAuthRequestParameters & WithHttpMethod(const ConnectionOAuthHttpMethod &value)
AWS_CLOUDWATCHEVENTS_API UpdateConnectionOAuthRequestParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
UpdateConnectionOAuthRequestParameters & WithAuthorizationEndpoint(const char *value)
UpdateConnectionOAuthRequestParameters & WithClientParameters(UpdateConnectionOAuthClientRequestParameters &&value)
UpdateConnectionOAuthRequestParameters & WithClientParameters(const UpdateConnectionOAuthClientRequestParameters &value)
UpdateConnectionOAuthRequestParameters & WithOAuthHttpParameters(ConnectionHttpParameters &&value)
UpdateConnectionOAuthRequestParameters & WithAuthorizationEndpoint(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue