7#include <aws/events/CloudWatchEvents_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/events/model/ConnectionState.h>
10#include <aws/events/model/ConnectionAuthorizationType.h>
11#include <aws/events/model/ConnectionAuthResponseParameters.h>
12#include <aws/core/utils/DateTime.h>
17template<
typename RESULT_TYPE>
18class AmazonWebServiceResult;
27namespace CloudWatchEvents
44 template<
typename ConnectionArnT = Aws::String>
45 void SetConnectionArn(ConnectionArnT&& value) { m_connectionArnHasBeenSet =
true; m_connectionArn = std::forward<ConnectionArnT>(value); }
46 template<
typename ConnectionArnT = Aws::String>
55 template<
typename NameT = Aws::String>
56 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
57 template<
typename NameT = Aws::String>
66 template<
typename DescriptionT = Aws::String>
67 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
68 template<
typename DescriptionT = Aws::String>
86 template<
typename StateReasonT = Aws::String>
87 void SetStateReason(StateReasonT&& value) { m_stateReasonHasBeenSet =
true; m_stateReason = std::forward<StateReasonT>(value); }
88 template<
typename StateReasonT = Aws::String>
107 template<
typename SecretArnT = Aws::String>
108 void SetSecretArn(SecretArnT&& value) { m_secretArnHasBeenSet =
true; m_secretArn = std::forward<SecretArnT>(value); }
109 template<
typename SecretArnT = Aws::String>
118 template<
typename AuthParametersT = ConnectionAuthResponseParameters>
119 void SetAuthParameters(AuthParametersT&& value) { m_authParametersHasBeenSet =
true; m_authParameters = std::forward<AuthParametersT>(value); }
120 template<
typename AuthParametersT = ConnectionAuthResponseParameters>
129 template<
typename CreationTimeT = Aws::Utils::DateTime>
130 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet =
true; m_creationTime = std::forward<CreationTimeT>(value); }
131 template<
typename CreationTimeT = Aws::Utils::DateTime>
140 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
141 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet =
true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
142 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
151 template<
typename LastAuthorizedTimeT = Aws::Utils::DateTime>
152 void SetLastAuthorizedTime(LastAuthorizedTimeT&& value) { m_lastAuthorizedTimeHasBeenSet =
true; m_lastAuthorizedTime = std::forward<LastAuthorizedTimeT>(value); }
153 template<
typename LastAuthorizedTimeT = Aws::Utils::DateTime>
160 template<
typename RequestIdT = Aws::String>
161 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
162 template<
typename RequestIdT = Aws::String>
168 bool m_connectionArnHasBeenSet =
false;
171 bool m_nameHasBeenSet =
false;
174 bool m_descriptionHasBeenSet =
false;
177 bool m_connectionStateHasBeenSet =
false;
180 bool m_stateReasonHasBeenSet =
false;
183 bool m_authorizationTypeHasBeenSet =
false;
186 bool m_secretArnHasBeenSet =
false;
188 ConnectionAuthResponseParameters m_authParameters;
189 bool m_authParametersHasBeenSet =
false;
192 bool m_creationTimeHasBeenSet =
false;
195 bool m_lastModifiedTimeHasBeenSet =
false;
198 bool m_lastAuthorizedTimeHasBeenSet =
false;
201 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_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