7#include <aws/events/CloudWatchEvents_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/events/model/ArchiveState.h>
10#include <aws/core/utils/DateTime.h>
23namespace CloudWatchEvents
51 inline void SetArchiveName(
const char* value) { m_archiveNameHasBeenSet =
true; m_archiveName.assign(value); }
66 inline void SetEventSourceArn(
const char* value) { m_eventSourceArnHasBeenSet =
true; m_eventSourceArn.assign(value); }
92 inline void SetStateReason(
const char* value) { m_stateReasonHasBeenSet =
true; m_stateReason.assign(value); }
105 inline void SetRetentionDays(
int value) { m_retentionDaysHasBeenSet =
true; m_retentionDays = value; }
115 inline void SetSizeBytes(
long long value) { m_sizeBytesHasBeenSet =
true; m_sizeBytes = value; }
125 inline void SetEventCount(
long long value) { m_eventCountHasBeenSet =
true; m_eventCount = value; }
143 bool m_archiveNameHasBeenSet =
false;
146 bool m_eventSourceArnHasBeenSet =
false;
149 bool m_stateHasBeenSet =
false;
152 bool m_stateReasonHasBeenSet =
false;
155 bool m_retentionDaysHasBeenSet =
false;
157 long long m_sizeBytes;
158 bool m_sizeBytesHasBeenSet =
false;
160 long long m_eventCount;
161 bool m_eventCountHasBeenSet =
false;
164 bool m_creationTimeHasBeenSet =
false;
void SetCreationTime(Aws::Utils::DateTime &&value)
void SetSizeBytes(long long value)
Archive & WithCreationTime(Aws::Utils::DateTime &&value)
void SetStateReason(const Aws::String &value)
Archive & WithStateReason(const Aws::String &value)
Archive & WithArchiveName(const Aws::String &value)
Archive & WithRetentionDays(int value)
void SetStateReason(Aws::String &&value)
Archive & WithEventSourceArn(const Aws::String &value)
Archive & WithArchiveName(const char *value)
const Aws::String & GetArchiveName() const
Archive & WithStateReason(Aws::String &&value)
AWS_CLOUDWATCHEVENTS_API Archive & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRetentionDays(int value)
const Aws::String & GetEventSourceArn() const
void SetEventCount(long long value)
long long GetSizeBytes() const
bool CreationTimeHasBeenSet() const
Archive & WithState(const ArchiveState &value)
Archive & WithEventSourceArn(const char *value)
void SetState(const ArchiveState &value)
const ArchiveState & GetState() const
void SetEventSourceArn(Aws::String &&value)
const Aws::String & GetStateReason() const
void SetArchiveName(const Aws::String &value)
bool RetentionDaysHasBeenSet() const
void SetArchiveName(Aws::String &&value)
Archive & WithState(ArchiveState &&value)
bool EventSourceArnHasBeenSet() const
Archive & WithSizeBytes(long long value)
bool ArchiveNameHasBeenSet() const
void SetStateReason(const char *value)
void SetEventSourceArn(const Aws::String &value)
Archive & WithCreationTime(const Aws::Utils::DateTime &value)
void SetEventSourceArn(const char *value)
bool SizeBytesHasBeenSet() const
bool StateReasonHasBeenSet() const
const Aws::Utils::DateTime & GetCreationTime() const
AWS_CLOUDWATCHEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetArchiveName(const char *value)
long long GetEventCount() const
bool EventCountHasBeenSet() const
void SetState(ArchiveState &&value)
Archive & WithEventSourceArn(Aws::String &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
Archive & WithEventCount(long long value)
AWS_CLOUDWATCHEVENTS_API Archive()
AWS_CLOUDWATCHEVENTS_API Archive(Aws::Utils::Json::JsonView jsonValue)
bool StateHasBeenSet() const
Archive & WithStateReason(const char *value)
int GetRetentionDays() const
Archive & WithArchiveName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue