7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/eventbridge/EventBridge_EXPORTS.h>
11#include <aws/eventbridge/model/ArchiveState.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
24namespace EventBridge {
37 template <
typename ArchiveArnT = Aws::String>
39 m_archiveArnHasBeenSet =
true;
40 m_archiveArn = std::forward<ArchiveArnT>(value);
42 template <
typename ArchiveArnT = Aws::String>
54 template <
typename ArchiveNameT = Aws::String>
56 m_archiveNameHasBeenSet =
true;
57 m_archiveName = std::forward<ArchiveNameT>(value);
59 template <
typename ArchiveNameT = Aws::String>
71 template <
typename EventSourceArnT = Aws::String>
73 m_eventSourceArnHasBeenSet =
true;
74 m_eventSourceArn = std::forward<EventSourceArnT>(value);
76 template <
typename EventSourceArnT = Aws::String>
88 template <
typename DescriptionT = Aws::String>
90 m_descriptionHasBeenSet =
true;
91 m_description = std::forward<DescriptionT>(value);
93 template <
typename DescriptionT = Aws::String>
105 template <
typename EventPatternT = Aws::String>
107 m_eventPatternHasBeenSet =
true;
108 m_eventPattern = std::forward<EventPatternT>(value);
110 template <
typename EventPatternT = Aws::String>
123 m_stateHasBeenSet =
true;
137 template <
typename StateReasonT = Aws::String>
139 m_stateReasonHasBeenSet =
true;
140 m_stateReason = std::forward<StateReasonT>(value);
142 template <
typename StateReasonT = Aws::String>
158 template <
typename KmsKeyIdentifierT = Aws::String>
160 m_kmsKeyIdentifierHasBeenSet =
true;
161 m_kmsKeyIdentifier = std::forward<KmsKeyIdentifierT>(value);
163 template <
typename KmsKeyIdentifierT = Aws::String>
176 m_retentionDaysHasBeenSet =
true;
177 m_retentionDays = value;
191 m_sizeBytesHasBeenSet =
true;
206 m_eventCountHasBeenSet =
true;
207 m_eventCount = value;
220 template <
typename CreationTimeT = Aws::Utils::DateTime>
222 m_creationTimeHasBeenSet =
true;
223 m_creationTime = std::forward<CreationTimeT>(value);
225 template <
typename CreationTimeT = Aws::Utils::DateTime>
235 template <
typename RequestIdT = Aws::String>
237 m_requestIdHasBeenSet =
true;
238 m_requestId = std::forward<RequestIdT>(value);
240 template <
typename RequestIdT = Aws::String>
265 int m_retentionDays{0};
267 long long m_sizeBytes{0};
269 long long m_eventCount{0};
275 bool m_archiveArnHasBeenSet =
false;
276 bool m_archiveNameHasBeenSet =
false;
277 bool m_eventSourceArnHasBeenSet =
false;
278 bool m_descriptionHasBeenSet =
false;
279 bool m_eventPatternHasBeenSet =
false;
280 bool m_stateHasBeenSet =
false;
281 bool m_stateReasonHasBeenSet =
false;
282 bool m_kmsKeyIdentifierHasBeenSet =
false;
283 bool m_retentionDaysHasBeenSet =
false;
284 bool m_sizeBytesHasBeenSet =
false;
285 bool m_eventCountHasBeenSet =
false;
286 bool m_creationTimeHasBeenSet =
false;
287 bool m_requestIdHasBeenSet =
false;
DescribeArchiveResult & WithEventSourceArn(EventSourceArnT &&value)
DescribeArchiveResult & WithRequestId(RequestIdT &&value)
AWS_EVENTBRIDGE_API DescribeArchiveResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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