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>
51 template<
typename ArnT = Aws::String>
52 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
53 template<
typename ArnT = Aws::String>
63 template<
typename CreatedByT = Aws::String>
64 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet =
true; m_createdBy = std::forward<CreatedByT>(value); }
65 template<
typename CreatedByT = Aws::String>
75 template<
typename CreationTimeT = Aws::Utils::DateTime>
76 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet =
true; m_creationTime = std::forward<CreationTimeT>(value); }
77 template<
typename CreationTimeT = Aws::Utils::DateTime>
88 template<
typename ExpirationTimeT = Aws::Utils::DateTime>
89 void SetExpirationTime(ExpirationTimeT&& value) { m_expirationTimeHasBeenSet =
true; m_expirationTime = std::forward<ExpirationTimeT>(value); }
90 template<
typename ExpirationTimeT = Aws::Utils::DateTime>
100 template<
typename NameT = Aws::String>
101 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
102 template<
typename NameT = Aws::String>
122 bool m_arnHasBeenSet =
false;
125 bool m_createdByHasBeenSet =
false;
128 bool m_creationTimeHasBeenSet =
false;
131 bool m_expirationTimeHasBeenSet =
false;
134 bool m_nameHasBeenSet =
false;
137 bool m_stateHasBeenSet =
false;
AWS_EVENTBRIDGE_API Aws::Utils::Json::JsonValue Jsonize() const
bool CreatedByHasBeenSet() const
AWS_EVENTBRIDGE_API EventSource()=default
AWS_EVENTBRIDGE_API EventSource & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ExpirationTimeHasBeenSet() const
void SetName(NameT &&value)
bool ArnHasBeenSet() const
EventSource & WithState(EventSourceState value)
bool NameHasBeenSet() const
EventSource & WithName(NameT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
EventSourceState GetState() const
EventSource & WithArn(ArnT &&value)
AWS_EVENTBRIDGE_API EventSource(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
void SetExpirationTime(ExpirationTimeT &&value)
bool CreationTimeHasBeenSet() const
void SetCreatedBy(CreatedByT &&value)
const Aws::String & GetArn() const
EventSource & WithExpirationTime(ExpirationTimeT &&value)
bool StateHasBeenSet() const
const Aws::String & GetCreatedBy() const
EventSource & WithCreationTime(CreationTimeT &&value)
void SetCreationTime(CreationTimeT &&value)
EventSource & WithCreatedBy(CreatedByT &&value)
const Aws::Utils::DateTime & GetExpirationTime() const
void SetState(EventSourceState value)
void SetArn(ArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue