7#include <aws/eventbridge/EventBridge_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/eventbridge/model/ConnectionState.h>
10#include <aws/eventbridge/model/ConnectionAuthorizationType.h>
11#include <aws/eventbridge/model/ConnectionAuthResponseParameters.h>
12#include <aws/core/utils/DateTime.h>
17template<
typename RESULT_TYPE>
18class AmazonWebServiceResult;
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); }
void SetConnectionState(ConnectionState &&value)
const Aws::String & GetRequestId() const
void SetDescription(Aws::String &&value)
DescribeConnectionResult & WithRequestId(Aws::String &&value)
void SetConnectionArn(const Aws::String &value)
DescribeConnectionResult & WithCreationTime(Aws::Utils::DateTime &&value)
DescribeConnectionResult & WithLastModifiedTime(const Aws::Utils::DateTime &value)
void SetDescription(const Aws::String &value)
DescribeConnectionResult & WithStateReason(Aws::String &&value)
DescribeConnectionResult & WithAuthParameters(const ConnectionAuthResponseParameters &value)
DescribeConnectionResult & WithConnectionState(ConnectionState &&value)
DescribeConnectionResult & WithStateReason(const char *value)
void SetName(const Aws::String &value)
DescribeConnectionResult & WithAuthorizationType(const ConnectionAuthorizationType &value)
DescribeConnectionResult & WithName(Aws::String &&value)
void SetAuthorizationType(ConnectionAuthorizationType &&value)
const Aws::String & GetName() const
const ConnectionState & GetConnectionState() const
void SetCreationTime(const Aws::Utils::DateTime &value)
void SetRequestId(const Aws::String &value)
AWS_EVENTBRIDGE_API DescribeConnectionResult()
DescribeConnectionResult & WithSecretArn(const char *value)
DescribeConnectionResult & WithSecretArn(const Aws::String &value)
DescribeConnectionResult & WithAuthorizationType(ConnectionAuthorizationType &&value)
DescribeConnectionResult & WithSecretArn(Aws::String &&value)
DescribeConnectionResult & WithLastAuthorizedTime(Aws::Utils::DateTime &&value)
void SetStateReason(Aws::String &&value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
DescribeConnectionResult & WithConnectionState(const ConnectionState &value)
DescribeConnectionResult & WithDescription(const Aws::String &value)
void SetLastAuthorizedTime(const Aws::Utils::DateTime &value)
const Aws::String & GetStateReason() const
DescribeConnectionResult & WithDescription(Aws::String &&value)
void SetCreationTime(Aws::Utils::DateTime &&value)
void SetName(const char *value)
const ConnectionAuthorizationType & GetAuthorizationType() const
AWS_EVENTBRIDGE_API DescribeConnectionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeConnectionResult & WithRequestId(const char *value)
void SetName(Aws::String &&value)
const Aws::String & GetConnectionArn() const
const Aws::Utils::DateTime & GetLastAuthorizedTime() const
const Aws::Utils::DateTime & GetCreationTime() const
DescribeConnectionResult & WithName(const Aws::String &value)
const Aws::String & GetDescription() const
void SetRequestId(Aws::String &&value)
void SetConnectionArn(Aws::String &&value)
DescribeConnectionResult & WithLastAuthorizedTime(const Aws::Utils::DateTime &value)
const ConnectionAuthResponseParameters & GetAuthParameters() const
DescribeConnectionResult & WithDescription(const char *value)
DescribeConnectionResult & WithLastModifiedTime(Aws::Utils::DateTime &&value)
void SetSecretArn(const Aws::String &value)
void SetSecretArn(Aws::String &&value)
void SetAuthParameters(const ConnectionAuthResponseParameters &value)
DescribeConnectionResult & WithStateReason(const Aws::String &value)
DescribeConnectionResult & WithConnectionArn(Aws::String &&value)
DescribeConnectionResult & WithConnectionArn(const char *value)
void SetDescription(const char *value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
void SetRequestId(const char *value)
void SetAuthorizationType(const ConnectionAuthorizationType &value)
const Aws::String & GetSecretArn() const
void SetSecretArn(const char *value)
DescribeConnectionResult & WithRequestId(const Aws::String &value)
void SetConnectionState(const ConnectionState &value)
void SetConnectionArn(const char *value)
DescribeConnectionResult & WithConnectionArn(const Aws::String &value)
void SetStateReason(const Aws::String &value)
DescribeConnectionResult & WithCreationTime(const Aws::Utils::DateTime &value)
AWS_EVENTBRIDGE_API DescribeConnectionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetStateReason(const char *value)
void SetLastAuthorizedTime(Aws::Utils::DateTime &&value)
DescribeConnectionResult & WithAuthParameters(ConnectionAuthResponseParameters &&value)
void SetAuthParameters(ConnectionAuthResponseParameters &&value)
DescribeConnectionResult & WithName(const char *value)
ConnectionAuthorizationType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue