7#include <aws/eventbridge/EventBridge_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/eventbridge/model/ArchiveState.h>
10#include <aws/core/utils/DateTime.h>
49 template<
typename ArchiveNameT = Aws::String>
50 void SetArchiveName(ArchiveNameT&& value) { m_archiveNameHasBeenSet =
true; m_archiveName = std::forward<ArchiveNameT>(value); }
51 template<
typename ArchiveNameT = Aws::String>
62 template<
typename EventSourceArnT = Aws::String>
63 void SetEventSourceArn(EventSourceArnT&& value) { m_eventSourceArnHasBeenSet =
true; m_eventSourceArn = std::forward<EventSourceArnT>(value); }
64 template<
typename EventSourceArnT = Aws::String>
84 template<
typename StateReasonT = Aws::String>
85 void SetStateReason(StateReasonT&& value) { m_stateReasonHasBeenSet =
true; m_stateReason = std::forward<StateReasonT>(value); }
86 template<
typename StateReasonT = Aws::String>
97 inline void SetRetentionDays(
int value) { m_retentionDaysHasBeenSet =
true; m_retentionDays = value; }
107 inline void SetSizeBytes(
long long value) { m_sizeBytesHasBeenSet =
true; m_sizeBytes = value; }
117 inline void SetEventCount(
long long value) { m_eventCountHasBeenSet =
true; m_eventCount = value; }
127 template<
typename CreationTimeT = Aws::Utils::DateTime>
128 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet =
true; m_creationTime = std::forward<CreationTimeT>(value); }
129 template<
typename CreationTimeT = Aws::Utils::DateTime>
135 bool m_archiveNameHasBeenSet =
false;
138 bool m_eventSourceArnHasBeenSet =
false;
141 bool m_stateHasBeenSet =
false;
144 bool m_stateReasonHasBeenSet =
false;
146 int m_retentionDays{0};
147 bool m_retentionDaysHasBeenSet =
false;
149 long long m_sizeBytes{0};
150 bool m_sizeBytesHasBeenSet =
false;
152 long long m_eventCount{0};
153 bool m_eventCountHasBeenSet =
false;
156 bool m_creationTimeHasBeenSet =
false;
Archive & WithEventCount(long long value)
Archive & WithState(ArchiveState value)
bool CreationTimeHasBeenSet() const
const Aws::String & GetStateReason() const
bool RetentionDaysHasBeenSet() const
bool EventSourceArnHasBeenSet() const
bool ArchiveNameHasBeenSet() const
const Aws::String & GetEventSourceArn() const
bool EventCountHasBeenSet() const
AWS_EVENTBRIDGE_API Archive(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetArchiveName() const
const Aws::Utils::DateTime & GetCreationTime() const
void SetSizeBytes(long long value)
ArchiveState GetState() const
bool StateHasBeenSet() const
long long GetSizeBytes() const
void SetCreationTime(CreationTimeT &&value)
bool SizeBytesHasBeenSet() const
Archive & WithRetentionDays(int value)
void SetState(ArchiveState value)
Archive & WithEventSourceArn(EventSourceArnT &&value)
void SetEventSourceArn(EventSourceArnT &&value)
void SetArchiveName(ArchiveNameT &&value)
long long GetEventCount() const
AWS_EVENTBRIDGE_API Aws::Utils::Json::JsonValue Jsonize() const
Archive & WithStateReason(StateReasonT &&value)
AWS_EVENTBRIDGE_API Archive & operator=(Aws::Utils::Json::JsonView jsonValue)
Archive & WithArchiveName(ArchiveNameT &&value)
void SetRetentionDays(int value)
void SetEventCount(long long value)
int GetRetentionDays() const
bool StateReasonHasBeenSet() const
AWS_EVENTBRIDGE_API Archive()=default
Archive & WithCreationTime(CreationTimeT &&value)
void SetStateReason(StateReasonT &&value)
Archive & WithSizeBytes(long long value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue