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/core/utils/DateTime.h>
24namespace CloudWatchEvents
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); }
147 bool m_connectionArnHasBeenSet =
false;
150 bool m_nameHasBeenSet =
false;
153 bool m_connectionStateHasBeenSet =
false;
156 bool m_stateReasonHasBeenSet =
false;
159 bool m_authorizationTypeHasBeenSet =
false;
162 bool m_creationTimeHasBeenSet =
false;
165 bool m_lastModifiedTimeHasBeenSet =
false;
168 bool m_lastAuthorizedTimeHasBeenSet =
false;
void SetCreationTime(const Aws::Utils::DateTime &value)
AWS_CLOUDWATCHEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
bool NameHasBeenSet() const
Connection & WithAuthorizationType(ConnectionAuthorizationType &&value)
bool CreationTimeHasBeenSet() const
void SetConnectionArn(const Aws::String &value)
Connection & WithConnectionArn(const Aws::String &value)
bool LastModifiedTimeHasBeenSet() const
Connection & WithStateReason(Aws::String &&value)
void SetConnectionArn(Aws::String &&value)
Connection & WithName(const Aws::String &value)
void SetStateReason(const Aws::String &value)
void SetAuthorizationType(const ConnectionAuthorizationType &value)
bool ConnectionStateHasBeenSet() const
Connection & WithCreationTime(const Aws::Utils::DateTime &value)
Connection & WithAuthorizationType(const ConnectionAuthorizationType &value)
bool StateReasonHasBeenSet() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
const Aws::String & GetStateReason() const
Connection & WithStateReason(const char *value)
void SetLastAuthorizedTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreationTime() const
const Aws::String & GetName() const
void SetName(Aws::String &&value)
void SetStateReason(const char *value)
Connection & WithConnectionArn(const char *value)
bool LastAuthorizedTimeHasBeenSet() const
Connection & WithConnectionState(ConnectionState &&value)
Connection & WithName(Aws::String &&value)
void SetName(const Aws::String &value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
Connection & WithCreationTime(Aws::Utils::DateTime &&value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
void SetConnectionState(ConnectionState &&value)
const ConnectionState & GetConnectionState() const
void SetAuthorizationType(ConnectionAuthorizationType &&value)
bool ConnectionArnHasBeenSet() const
AWS_CLOUDWATCHEVENTS_API Connection()
AWS_CLOUDWATCHEVENTS_API Connection(Aws::Utils::Json::JsonView jsonValue)
Connection & WithLastAuthorizedTime(const Aws::Utils::DateTime &value)
Connection & WithStateReason(const Aws::String &value)
void SetStateReason(Aws::String &&value)
void SetCreationTime(Aws::Utils::DateTime &&value)
const ConnectionAuthorizationType & GetAuthorizationType() const
Connection & WithLastModifiedTime(Aws::Utils::DateTime &&value)
void SetConnectionArn(const char *value)
Connection & WithName(const char *value)
const Aws::String & GetConnectionArn() const
void SetLastAuthorizedTime(const Aws::Utils::DateTime &value)
void SetConnectionState(const ConnectionState &value)
bool AuthorizationTypeHasBeenSet() const
Connection & WithConnectionArn(Aws::String &&value)
const Aws::Utils::DateTime & GetLastAuthorizedTime() const
void SetName(const char *value)
Connection & WithConnectionState(const ConnectionState &value)
Connection & WithLastAuthorizedTime(Aws::Utils::DateTime &&value)
Connection & WithLastModifiedTime(const Aws::Utils::DateTime &value)
AWS_CLOUDWATCHEVENTS_API Connection & operator=(Aws::Utils::Json::JsonView jsonValue)
ConnectionAuthorizationType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue