7#include <aws/eventbridge/EventBridge_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/eventbridge/model/EventSourceState.h>
52 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
53 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
67 inline void SetCreatedBy(
const char* value) { m_createdByHasBeenSet =
true; m_createdBy.assign(value); }
106 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
130 bool m_arnHasBeenSet =
false;
133 bool m_createdByHasBeenSet =
false;
136 bool m_creationTimeHasBeenSet =
false;
139 bool m_expirationTimeHasBeenSet =
false;
142 bool m_nameHasBeenSet =
false;
145 bool m_stateHasBeenSet =
false;
AWS_EVENTBRIDGE_API Aws::Utils::Json::JsonValue Jsonize() const
EventSource & WithState(EventSourceState &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
EventSource & WithCreationTime(Aws::Utils::DateTime &&value)
bool CreatedByHasBeenSet() const
AWS_EVENTBRIDGE_API EventSource & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ExpirationTimeHasBeenSet() const
void SetState(EventSourceState &&value)
void SetState(const EventSourceState &value)
void SetName(const char *value)
void SetCreationTime(Aws::Utils::DateTime &&value)
EventSource & WithExpirationTime(const Aws::Utils::DateTime &value)
bool ArnHasBeenSet() const
void SetName(Aws::String &&value)
void SetArn(const char *value)
const EventSourceState & GetState() const
EventSource & WithCreatedBy(Aws::String &&value)
EventSource & WithExpirationTime(Aws::Utils::DateTime &&value)
bool NameHasBeenSet() const
void SetName(const Aws::String &value)
EventSource & WithCreatedBy(const Aws::String &value)
void SetArn(Aws::String &&value)
const Aws::Utils::DateTime & GetCreationTime() const
EventSource & WithArn(const Aws::String &value)
AWS_EVENTBRIDGE_API EventSource(Aws::Utils::Json::JsonView jsonValue)
void SetExpirationTime(const Aws::Utils::DateTime &value)
EventSource & WithCreatedBy(const char *value)
EventSource & WithName(Aws::String &&value)
EventSource & WithArn(Aws::String &&value)
AWS_EVENTBRIDGE_API EventSource()
EventSource & WithArn(const char *value)
const Aws::String & GetName() const
bool CreationTimeHasBeenSet() const
const Aws::String & GetArn() const
void SetCreatedBy(Aws::String &&value)
void SetCreatedBy(const Aws::String &value)
bool StateHasBeenSet() const
EventSource & WithName(const Aws::String &value)
void SetArn(const Aws::String &value)
const Aws::String & GetCreatedBy() const
void SetCreatedBy(const char *value)
EventSource & WithState(const EventSourceState &value)
void SetExpirationTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetExpirationTime() const
EventSource & WithName(const char *value)
EventSource & WithCreationTime(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue