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/core/utils/DateTime.h>
51 inline void SetConnectionArn(
const char* value) { m_connectionArnHasBeenSet =
true; m_connectionArn.assign(value); }
65 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
91 inline void SetStateReason(
const char* value) { m_stateReasonHasBeenSet =
true; m_stateReason.assign(value); }
148 bool m_connectionArnHasBeenSet =
false;
151 bool m_nameHasBeenSet =
false;
154 bool m_connectionStateHasBeenSet =
false;
157 bool m_stateReasonHasBeenSet =
false;
160 bool m_authorizationTypeHasBeenSet =
false;
163 bool m_creationTimeHasBeenSet =
false;
166 bool m_lastModifiedTimeHasBeenSet =
false;
169 bool m_lastAuthorizedTimeHasBeenSet =
false;
bool CreationTimeHasBeenSet() const
const Aws::String & GetName() const
void SetConnectionArn(const char *value)
AWS_EVENTBRIDGE_API Connection(Aws::Utils::Json::JsonView jsonValue)
bool ConnectionArnHasBeenSet() const
AWS_EVENTBRIDGE_API Connection & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(Aws::String &&value)
bool LastAuthorizedTimeHasBeenSet() const
void SetConnectionArn(const Aws::String &value)
Connection & WithName(Aws::String &&value)
Connection & WithConnectionArn(const Aws::String &value)
Connection & WithStateReason(const Aws::String &value)
void SetAuthorizationType(ConnectionAuthorizationType &&value)
void SetLastAuthorizedTime(Aws::Utils::DateTime &&value)
Connection & WithAuthorizationType(ConnectionAuthorizationType &&value)
AWS_EVENTBRIDGE_API Connection()
const Aws::String & GetConnectionArn() const
Connection & WithLastAuthorizedTime(const Aws::Utils::DateTime &value)
void SetLastAuthorizedTime(const Aws::Utils::DateTime &value)
bool ConnectionStateHasBeenSet() const
void SetStateReason(Aws::String &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
bool StateReasonHasBeenSet() const
const Aws::String & GetStateReason() const
Connection & WithConnectionArn(const char *value)
Connection & WithCreationTime(const Aws::Utils::DateTime &value)
AWS_EVENTBRIDGE_API Aws::Utils::Json::JsonValue Jsonize() const
Connection & WithConnectionState(const ConnectionState &value)
Connection & WithLastModifiedTime(Aws::Utils::DateTime &&value)
bool NameHasBeenSet() const
void SetConnectionArn(Aws::String &&value)
void SetCreationTime(Aws::Utils::DateTime &&value)
Connection & WithLastModifiedTime(const Aws::Utils::DateTime &value)
Connection & WithName(const char *value)
Connection & WithConnectionArn(Aws::String &&value)
const Aws::Utils::DateTime & GetLastAuthorizedTime() const
Connection & WithAuthorizationType(const ConnectionAuthorizationType &value)
void SetConnectionState(const ConnectionState &value)
void SetConnectionState(ConnectionState &&value)
bool LastModifiedTimeHasBeenSet() const
Connection & WithCreationTime(Aws::Utils::DateTime &&value)
const ConnectionAuthorizationType & GetAuthorizationType() const
Connection & WithStateReason(const char *value)
bool AuthorizationTypeHasBeenSet() const
void SetStateReason(const Aws::String &value)
Connection & WithLastAuthorizedTime(Aws::Utils::DateTime &&value)
void SetName(const char *value)
Connection & WithStateReason(Aws::String &&value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
void SetStateReason(const char *value)
Connection & WithName(const Aws::String &value)
const Aws::Utils::DateTime & GetCreationTime() const
void SetName(const Aws::String &value)
void SetCreationTime(const Aws::Utils::DateTime &value)
Connection & WithConnectionState(ConnectionState &&value)
const ConnectionState & GetConnectionState() const
void SetAuthorizationType(const ConnectionAuthorizationType &value)
ConnectionAuthorizationType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue