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>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
44 inline void SetArchiveArn(
const char* value) { m_archiveArn.assign(value); }
57 inline void SetArchiveName(
const char* value) { m_archiveName.assign(value); }
83 inline void SetDescription(
const char* value) { m_description.assign(value); }
169 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
192 long long m_sizeBytes;
194 long long m_eventCount;
DescribeArchiveResult & WithArchiveArn(Aws::String &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
AWS_EVENTBRIDGE_API DescribeArchiveResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetStateReason(Aws::String &&value)
void SetRequestId(const Aws::String &value)
const Aws::String & GetEventPattern() const
DescribeArchiveResult & WithEventPattern(Aws::String &&value)
void SetDescription(Aws::String &&value)
DescribeArchiveResult & WithArchiveName(const char *value)
void SetState(const ArchiveState &value)
int GetRetentionDays() const
DescribeArchiveResult & WithArchiveArn(const Aws::String &value)
void SetDescription(const Aws::String &value)
void SetRequestId(const char *value)
const Aws::String & GetStateReason() const
void SetStateReason(const char *value)
DescribeArchiveResult & WithEventPattern(const Aws::String &value)
void SetArchiveArn(const char *value)
DescribeArchiveResult & WithEventCount(long long value)
DescribeArchiveResult & WithDescription(const Aws::String &value)
void SetSizeBytes(long long value)
DescribeArchiveResult & WithSizeBytes(long long value)
AWS_EVENTBRIDGE_API DescribeArchiveResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeArchiveResult & WithCreationTime(Aws::Utils::DateTime &&value)
long long GetSizeBytes() const
void SetStateReason(const Aws::String &value)
DescribeArchiveResult & WithState(const ArchiveState &value)
DescribeArchiveResult & WithDescription(Aws::String &&value)
DescribeArchiveResult & WithArchiveArn(const char *value)
void SetEventSourceArn(Aws::String &&value)
DescribeArchiveResult & WithEventSourceArn(const char *value)
void SetRequestId(Aws::String &&value)
DescribeArchiveResult & WithCreationTime(const Aws::Utils::DateTime &value)
void SetArchiveName(const char *value)
void SetState(ArchiveState &&value)
DescribeArchiveResult & WithRequestId(Aws::String &&value)
const ArchiveState & GetState() const
DescribeArchiveResult & WithStateReason(const Aws::String &value)
void SetArchiveName(Aws::String &&value)
long long GetEventCount() const
AWS_EVENTBRIDGE_API DescribeArchiveResult()
void SetEventPattern(Aws::String &&value)
const Aws::String & GetDescription() const
const Aws::String & GetArchiveArn() const
void SetEventPattern(const Aws::String &value)
DescribeArchiveResult & WithEventPattern(const char *value)
DescribeArchiveResult & WithEventSourceArn(Aws::String &&value)
DescribeArchiveResult & WithStateReason(const char *value)
void SetArchiveArn(const Aws::String &value)
DescribeArchiveResult & WithRequestId(const Aws::String &value)
const Aws::String & GetArchiveName() const
void SetCreationTime(Aws::Utils::DateTime &&value)
DescribeArchiveResult & WithEventSourceArn(const Aws::String &value)
void SetEventSourceArn(const char *value)
void SetEventSourceArn(const Aws::String &value)
void SetEventCount(long long value)
DescribeArchiveResult & WithState(ArchiveState &&value)
void SetArchiveName(const Aws::String &value)
DescribeArchiveResult & WithStateReason(Aws::String &&value)
DescribeArchiveResult & WithArchiveName(const Aws::String &value)
const Aws::String & GetRequestId() const
void SetRetentionDays(int value)
void SetEventPattern(const char *value)
DescribeArchiveResult & WithRequestId(const char *value)
const Aws::Utils::DateTime & GetCreationTime() const
const Aws::String & GetEventSourceArn() const
void SetDescription(const char *value)
void SetArchiveArn(Aws::String &&value)
DescribeArchiveResult & WithRetentionDays(int value)
DescribeArchiveResult & WithArchiveName(Aws::String &&value)
DescribeArchiveResult & WithDescription(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue