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/ArchiveState.h>
21namespace EventBridge {
43 template <
typename ArchiveNameT = Aws::String>
45 m_archiveNameHasBeenSet =
true;
46 m_archiveName = std::forward<ArchiveNameT>(value);
48 template <
typename ArchiveNameT = Aws::String>
62 template <
typename EventSourceArnT = Aws::String>
64 m_eventSourceArnHasBeenSet =
true;
65 m_eventSourceArn = std::forward<EventSourceArnT>(value);
67 template <
typename EventSourceArnT = Aws::String>
81 m_stateHasBeenSet =
true;
96 template <
typename StateReasonT = Aws::String>
98 m_stateReasonHasBeenSet =
true;
99 m_stateReason = std::forward<StateReasonT>(value);
101 template <
typename StateReasonT = Aws::String>
116 m_retentionDaysHasBeenSet =
true;
117 m_retentionDays = value;
132 m_sizeBytesHasBeenSet =
true;
148 m_eventCountHasBeenSet =
true;
149 m_eventCount = value;
163 template <
typename CreationTimeT = Aws::Utils::DateTime>
165 m_creationTimeHasBeenSet =
true;
166 m_creationTime = std::forward<CreationTimeT>(value);
168 template <
typename CreationTimeT = Aws::Utils::DateTime>
183 int m_retentionDays{0};
185 long long m_sizeBytes{0};
187 long long m_eventCount{0};
190 bool m_archiveNameHasBeenSet =
false;
191 bool m_eventSourceArnHasBeenSet =
false;
192 bool m_stateHasBeenSet =
false;
193 bool m_stateReasonHasBeenSet =
false;
194 bool m_retentionDaysHasBeenSet =
false;
195 bool m_sizeBytesHasBeenSet =
false;
196 bool m_eventCountHasBeenSet =
false;
197 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