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;
42 template<
typename ArchiveArnT = Aws::String>
43 void SetArchiveArn(ArchiveArnT&& value) { m_archiveArnHasBeenSet =
true; m_archiveArn = std::forward<ArchiveArnT>(value); }
44 template<
typename ArchiveArnT = Aws::String>
53 template<
typename ArchiveNameT = Aws::String>
54 void SetArchiveName(ArchiveNameT&& value) { m_archiveNameHasBeenSet =
true; m_archiveName = std::forward<ArchiveNameT>(value); }
55 template<
typename ArchiveNameT = Aws::String>
64 template<
typename EventSourceArnT = Aws::String>
65 void SetEventSourceArn(EventSourceArnT&& value) { m_eventSourceArnHasBeenSet =
true; m_eventSourceArn = std::forward<EventSourceArnT>(value); }
66 template<
typename EventSourceArnT = Aws::String>
75 template<
typename DescriptionT = Aws::String>
76 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
77 template<
typename DescriptionT = Aws::String>
86 template<
typename EventPatternT = Aws::String>
87 void SetEventPattern(EventPatternT&& value) { m_eventPatternHasBeenSet =
true; m_eventPattern = std::forward<EventPatternT>(value); }
88 template<
typename EventPatternT = Aws::String>
106 template<
typename StateReasonT = Aws::String>
107 void SetStateReason(StateReasonT&& value) { m_stateReasonHasBeenSet =
true; m_stateReason = std::forward<StateReasonT>(value); }
108 template<
typename StateReasonT = Aws::String>
121 template<
typename KmsKeyIdentifierT = Aws::String>
122 void SetKmsKeyIdentifier(KmsKeyIdentifierT&& value) { m_kmsKeyIdentifierHasBeenSet =
true; m_kmsKeyIdentifier = std::forward<KmsKeyIdentifierT>(value); }
123 template<
typename KmsKeyIdentifierT = Aws::String>
132 inline void SetRetentionDays(
int value) { m_retentionDaysHasBeenSet =
true; m_retentionDays = value; }
141 inline void SetSizeBytes(
long long value) { m_sizeBytesHasBeenSet =
true; m_sizeBytes = value; }
150 inline void SetEventCount(
long long value) { m_eventCountHasBeenSet =
true; m_eventCount = value; }
159 template<
typename CreationTimeT = Aws::Utils::DateTime>
160 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet =
true; m_creationTime = std::forward<CreationTimeT>(value); }
161 template<
typename CreationTimeT = Aws::Utils::DateTime>
168 template<
typename RequestIdT = Aws::String>
169 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
170 template<
typename RequestIdT = Aws::String>
176 bool m_archiveArnHasBeenSet =
false;
179 bool m_archiveNameHasBeenSet =
false;
182 bool m_eventSourceArnHasBeenSet =
false;
185 bool m_descriptionHasBeenSet =
false;
188 bool m_eventPatternHasBeenSet =
false;
191 bool m_stateHasBeenSet =
false;
194 bool m_stateReasonHasBeenSet =
false;
197 bool m_kmsKeyIdentifierHasBeenSet =
false;
199 int m_retentionDays{0};
200 bool m_retentionDaysHasBeenSet =
false;
202 long long m_sizeBytes{0};
203 bool m_sizeBytesHasBeenSet =
false;
205 long long m_eventCount{0};
206 bool m_eventCountHasBeenSet =
false;
209 bool m_creationTimeHasBeenSet =
false;
212 bool m_requestIdHasBeenSet =
false;
DescribeArchiveResult & WithEventSourceArn(EventSourceArnT &&value)
DescribeArchiveResult & WithRequestId(RequestIdT &&value)
AWS_EVENTBRIDGE_API DescribeArchiveResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetKmsKeyIdentifier(KmsKeyIdentifierT &&value)
const Aws::String & GetEventPattern() const
DescribeArchiveResult & WithArchiveName(ArchiveNameT &&value)
void SetRequestId(RequestIdT &&value)
ArchiveState GetState() const
int GetRetentionDays() const
const Aws::String & GetStateReason() const
DescribeArchiveResult & WithEventCount(long long value)
void SetSizeBytes(long long value)
void SetEventSourceArn(EventSourceArnT &&value)
void SetArchiveArn(ArchiveArnT &&value)
DescribeArchiveResult & WithSizeBytes(long long value)
DescribeArchiveResult & WithDescription(DescriptionT &&value)
AWS_EVENTBRIDGE_API DescribeArchiveResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
long long GetSizeBytes() const
void SetEventPattern(EventPatternT &&value)
DescribeArchiveResult & WithState(ArchiveState value)
void SetDescription(DescriptionT &&value)
const Aws::String & GetKmsKeyIdentifier() const
void SetCreationTime(CreationTimeT &&value)
DescribeArchiveResult & WithStateReason(StateReasonT &&value)
long long GetEventCount() const
void SetArchiveName(ArchiveNameT &&value)
AWS_EVENTBRIDGE_API DescribeArchiveResult()=default
DescribeArchiveResult & WithEventPattern(EventPatternT &&value)
const Aws::String & GetDescription() const
const Aws::String & GetArchiveArn() const
DescribeArchiveResult & WithArchiveArn(ArchiveArnT &&value)
const Aws::String & GetArchiveName() const
void SetStateReason(StateReasonT &&value)
void SetEventCount(long long value)
void SetState(ArchiveState value)
const Aws::String & GetRequestId() const
void SetRetentionDays(int value)
const Aws::Utils::DateTime & GetCreationTime() const
DescribeArchiveResult & WithKmsKeyIdentifier(KmsKeyIdentifierT &&value)
const Aws::String & GetEventSourceArn() const
DescribeArchiveResult & WithCreationTime(CreationTimeT &&value)
DescribeArchiveResult & WithRetentionDays(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue