7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/events/CloudWatchEvents_EXPORTS.h>
11#include <aws/events/model/ConnectionAuthResponseParameters.h>
12#include <aws/events/model/ConnectionAuthorizationType.h>
13#include <aws/events/model/ConnectionState.h>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
26namespace CloudWatchEvents {
39 template <
typename ConnectionArnT = Aws::String>
41 m_connectionArnHasBeenSet =
true;
42 m_connectionArn = std::forward<ConnectionArnT>(value);
44 template <
typename ConnectionArnT = Aws::String>
56 template <
typename NameT = Aws::String>
58 m_nameHasBeenSet =
true;
59 m_name = std::forward<NameT>(value);
61 template <
typename NameT = Aws::String>
63 SetName(std::forward<NameT>(value));
73 template <
typename DescriptionT = Aws::String>
75 m_descriptionHasBeenSet =
true;
76 m_description = std::forward<DescriptionT>(value);
78 template <
typename DescriptionT = Aws::String>
91 m_connectionStateHasBeenSet =
true;
92 m_connectionState = value;
105 template <
typename StateReasonT = Aws::String>
107 m_stateReasonHasBeenSet =
true;
108 m_stateReason = std::forward<StateReasonT>(value);
110 template <
typename StateReasonT = Aws::String>
123 m_authorizationTypeHasBeenSet =
true;
124 m_authorizationType = value;
138 template <
typename SecretArnT = Aws::String>
140 m_secretArnHasBeenSet =
true;
141 m_secretArn = std::forward<SecretArnT>(value);
143 template <
typename SecretArnT = Aws::String>
155 template <
typename AuthParametersT = ConnectionAuthResponseParameters>
157 m_authParametersHasBeenSet =
true;
158 m_authParameters = std::forward<AuthParametersT>(value);
160 template <
typename AuthParametersT = ConnectionAuthResponseParameters>
172 template <
typename CreationTimeT = Aws::Utils::DateTime>
174 m_creationTimeHasBeenSet =
true;
175 m_creationTime = std::forward<CreationTimeT>(value);
177 template <
typename CreationTimeT = Aws::Utils::DateTime>
189 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
191 m_lastModifiedTimeHasBeenSet =
true;
192 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
194 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
206 template <
typename LastAuthorizedTimeT = Aws::Utils::DateTime>
208 m_lastAuthorizedTimeHasBeenSet =
true;
209 m_lastAuthorizedTime = std::forward<LastAuthorizedTimeT>(value);
211 template <
typename LastAuthorizedTimeT = Aws::Utils::DateTime>
221 template <
typename RequestIdT = Aws::String>
223 m_requestIdHasBeenSet =
true;
224 m_requestId = std::forward<RequestIdT>(value);
226 template <
typename RequestIdT = Aws::String>
249 ConnectionAuthResponseParameters m_authParameters;
259 bool m_connectionArnHasBeenSet =
false;
260 bool m_nameHasBeenSet =
false;
261 bool m_descriptionHasBeenSet =
false;
262 bool m_connectionStateHasBeenSet =
false;
263 bool m_stateReasonHasBeenSet =
false;
264 bool m_authorizationTypeHasBeenSet =
false;
265 bool m_secretArnHasBeenSet =
false;
266 bool m_authParametersHasBeenSet =
false;
267 bool m_creationTimeHasBeenSet =
false;
268 bool m_lastModifiedTimeHasBeenSet =
false;
269 bool m_lastAuthorizedTimeHasBeenSet =
false;
270 bool m_requestIdHasBeenSet =
false;
DescribeConnectionResult & WithLastModifiedTime(LastModifiedTimeT &&value)
DescribeConnectionResult & WithStateReason(StateReasonT &&value)
ConnectionAuthorizationType GetAuthorizationType() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
const Aws::String & GetDescription() const
void SetCreationTime(CreationTimeT &&value)
void SetStateReason(StateReasonT &&value)
void SetRequestId(RequestIdT &&value)
DescribeConnectionResult & WithDescription(DescriptionT &&value)
DescribeConnectionResult & WithConnectionArn(ConnectionArnT &&value)
const Aws::Utils::DateTime & GetLastAuthorizedTime() const
void SetLastModifiedTime(LastModifiedTimeT &&value)
void SetConnectionState(ConnectionState value)
DescribeConnectionResult & WithAuthorizationType(ConnectionAuthorizationType value)
DescribeConnectionResult & WithRequestId(RequestIdT &&value)
DescribeConnectionResult & WithCreationTime(CreationTimeT &&value)
const Aws::String & GetName() const
DescribeConnectionResult & WithName(NameT &&value)
DescribeConnectionResult & WithAuthParameters(AuthParametersT &&value)
const ConnectionAuthResponseParameters & GetAuthParameters() const
const Aws::String & GetSecretArn() const
AWS_CLOUDWATCHEVENTS_API DescribeConnectionResult()=default
void SetLastAuthorizedTime(LastAuthorizedTimeT &&value)
void SetSecretArn(SecretArnT &&value)
DescribeConnectionResult & WithLastAuthorizedTime(LastAuthorizedTimeT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_CLOUDWATCHEVENTS_API DescribeConnectionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetConnectionArn(ConnectionArnT &&value)
const Aws::String & GetConnectionArn() const
void SetAuthParameters(AuthParametersT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
const Aws::String & GetRequestId() const
DescribeConnectionResult & WithSecretArn(SecretArnT &&value)
void SetDescription(DescriptionT &&value)
void SetName(NameT &&value)
AWS_CLOUDWATCHEVENTS_API DescribeConnectionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetAuthorizationType(ConnectionAuthorizationType value)
const Aws::String & GetStateReason() const
DescribeConnectionResult & WithConnectionState(ConnectionState value)
ConnectionState GetConnectionState() const
ConnectionAuthorizationType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue