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
59 inline void SetName(
const char* value) { m_name.assign(value); }
72 inline void SetDescription(
const char* value) { m_description.assign(value); }
96 inline void SetStateReason(
const char* value) { m_stateReason.assign(value); }
121 inline void SetSecretArn(
const char* value) { m_secretArn.assign(value); }
176 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
const ConnectionAuthorizationType & GetAuthorizationType() const
DescribeConnectionResult & WithStateReason(const Aws::String &value)
void SetCreationTime(Aws::Utils::DateTime &&value)
DescribeConnectionResult & WithAuthorizationType(const ConnectionAuthorizationType &value)
DescribeConnectionResult & WithAuthParameters(ConnectionAuthResponseParameters &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
const Aws::String & GetDescription() const
DescribeConnectionResult & WithConnectionArn(const Aws::String &value)
DescribeConnectionResult & WithStateReason(Aws::String &&value)
DescribeConnectionResult & WithAuthorizationType(ConnectionAuthorizationType &&value)
AWS_CLOUDWATCHEVENTS_API DescribeConnectionResult()
DescribeConnectionResult & WithDescription(const Aws::String &value)
void SetSecretArn(Aws::String &&value)
const Aws::Utils::DateTime & GetLastAuthorizedTime() const
DescribeConnectionResult & WithDescription(const char *value)
DescribeConnectionResult & WithRequestId(const char *value)
void SetStateReason(Aws::String &&value)
DescribeConnectionResult & WithName(const char *value)
DescribeConnectionResult & WithLastModifiedTime(const Aws::Utils::DateTime &value)
void SetConnectionArn(const Aws::String &value)
void SetSecretArn(const char *value)
void SetRequestId(const char *value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
const Aws::String & GetName() const
void SetCreationTime(const Aws::Utils::DateTime &value)
DescribeConnectionResult & WithAuthParameters(const ConnectionAuthResponseParameters &value)
DescribeConnectionResult & WithLastAuthorizedTime(const Aws::Utils::DateTime &value)
void SetRequestId(Aws::String &&value)
DescribeConnectionResult & WithLastModifiedTime(Aws::Utils::DateTime &&value)
void SetAuthorizationType(const ConnectionAuthorizationType &value)
const ConnectionState & GetConnectionState() const
DescribeConnectionResult & WithConnectionArn(const char *value)
void SetStateReason(const char *value)
const ConnectionAuthResponseParameters & GetAuthParameters() const
void SetSecretArn(const Aws::String &value)
DescribeConnectionResult & WithCreationTime(const Aws::Utils::DateTime &value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
const Aws::String & GetSecretArn() const
DescribeConnectionResult & WithRequestId(const Aws::String &value)
void SetConnectionState(const ConnectionState &value)
void SetDescription(Aws::String &&value)
void SetStateReason(const Aws::String &value)
void SetDescription(const Aws::String &value)
DescribeConnectionResult & WithSecretArn(Aws::String &&value)
void SetLastAuthorizedTime(const Aws::Utils::DateTime &value)
void SetAuthParameters(ConnectionAuthResponseParameters &&value)
DescribeConnectionResult & WithConnectionState(const ConnectionState &value)
void SetAuthParameters(const ConnectionAuthResponseParameters &value)
AWS_CLOUDWATCHEVENTS_API DescribeConnectionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetConnectionArn() const
void SetConnectionState(ConnectionState &&value)
DescribeConnectionResult & WithConnectionState(ConnectionState &&value)
void SetDescription(const char *value)
DescribeConnectionResult & WithName(const Aws::String &value)
void SetName(const char *value)
const Aws::Utils::DateTime & GetCreationTime() const
DescribeConnectionResult & WithConnectionArn(Aws::String &&value)
void SetLastAuthorizedTime(Aws::Utils::DateTime &&value)
DescribeConnectionResult & WithStateReason(const char *value)
void SetConnectionArn(const char *value)
void SetConnectionArn(Aws::String &&value)
DescribeConnectionResult & WithSecretArn(const char *value)
DescribeConnectionResult & WithCreationTime(Aws::Utils::DateTime &&value)
const Aws::String & GetRequestId() const
DescribeConnectionResult & WithRequestId(Aws::String &&value)
AWS_CLOUDWATCHEVENTS_API DescribeConnectionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetStateReason() const
DescribeConnectionResult & WithName(Aws::String &&value)
void SetRequestId(const Aws::String &value)
void SetName(Aws::String &&value)
DescribeConnectionResult & WithDescription(Aws::String &&value)
DescribeConnectionResult & WithLastAuthorizedTime(Aws::Utils::DateTime &&value)
void SetAuthorizationType(ConnectionAuthorizationType &&value)
DescribeConnectionResult & WithSecretArn(const Aws::String &value)
void SetName(const Aws::String &value)
ConnectionAuthorizationType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue