7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/eventbridge/EventBridge_EXPORTS.h>
10#include <aws/eventbridge/model/EventSourceState.h>
21namespace EventBridge {
45 template <
typename ArnT = Aws::String>
47 m_arnHasBeenSet =
true;
48 m_arn = std::forward<ArnT>(value);
50 template <
typename ArnT = Aws::String>
52 SetArn(std::forward<ArnT>(value));
63 template <
typename CreatedByT = Aws::String>
65 m_createdByHasBeenSet =
true;
66 m_createdBy = std::forward<CreatedByT>(value);
68 template <
typename CreatedByT = Aws::String>
81 template <
typename CreationTimeT = Aws::Utils::DateTime>
83 m_creationTimeHasBeenSet =
true;
84 m_creationTime = std::forward<CreationTimeT>(value);
86 template <
typename CreationTimeT = Aws::Utils::DateTime>
100 template <
typename ExpirationTimeT = Aws::Utils::DateTime>
102 m_expirationTimeHasBeenSet =
true;
103 m_expirationTime = std::forward<ExpirationTimeT>(value);
105 template <
typename ExpirationTimeT = Aws::Utils::DateTime>
118 template <
typename NameT = Aws::String>
120 m_nameHasBeenSet =
true;
121 m_name = std::forward<NameT>(value);
123 template <
typename NameT = Aws::String>
125 SetName(std::forward<NameT>(value));
141 m_stateHasBeenSet =
true;
161 bool m_arnHasBeenSet =
false;
162 bool m_createdByHasBeenSet =
false;
163 bool m_creationTimeHasBeenSet =
false;
164 bool m_expirationTimeHasBeenSet =
false;
165 bool m_nameHasBeenSet =
false;
166 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