7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/eventbridge/EventBridgeRequest.h>
9#include <aws/eventbridge/EventBridge_EXPORTS.h>
14namespace EventBridge {
39 template <
typename ArchiveNameT = Aws::String>
41 m_archiveNameHasBeenSet =
true;
42 m_archiveName = std::forward<ArchiveNameT>(value);
44 template <
typename ArchiveNameT = Aws::String>
57 template <
typename EventSourceArnT = Aws::String>
59 m_eventSourceArnHasBeenSet =
true;
60 m_eventSourceArn = std::forward<EventSourceArnT>(value);
62 template <
typename EventSourceArnT = Aws::String>
75 template <
typename DescriptionT = Aws::String>
77 m_descriptionHasBeenSet =
true;
78 m_description = std::forward<DescriptionT>(value);
80 template <
typename DescriptionT = Aws::String>
93 template <
typename EventPatternT = Aws::String>
95 m_eventPatternHasBeenSet =
true;
96 m_eventPattern = std::forward<EventPatternT>(value);
98 template <
typename EventPatternT = Aws::String>
113 m_retentionDaysHasBeenSet =
true;
114 m_retentionDays = value;
141 template <
typename KmsKeyIdentifierT = Aws::String>
143 m_kmsKeyIdentifierHasBeenSet =
true;
144 m_kmsKeyIdentifier = std::forward<KmsKeyIdentifierT>(value);
146 template <
typename KmsKeyIdentifierT = Aws::String>
161 int m_retentionDays{0};
164 bool m_archiveNameHasBeenSet =
false;
165 bool m_eventSourceArnHasBeenSet =
false;
166 bool m_descriptionHasBeenSet =
false;
167 bool m_eventPatternHasBeenSet =
false;
168 bool m_retentionDaysHasBeenSet =
false;
169 bool m_kmsKeyIdentifierHasBeenSet =
false;
void SetDescription(DescriptionT &&value)
bool EventSourceArnHasBeenSet() const
CreateArchiveRequest & WithEventPattern(EventPatternT &&value)
bool EventPatternHasBeenSet() const
CreateArchiveRequest & WithArchiveName(ArchiveNameT &&value)
void SetKmsKeyIdentifier(KmsKeyIdentifierT &&value)
bool KmsKeyIdentifierHasBeenSet() const
const Aws::String & GetEventPattern() const
const Aws::String & GetArchiveName() const
CreateArchiveRequest & WithRetentionDays(int value)
bool RetentionDaysHasBeenSet() const
CreateArchiveRequest & WithKmsKeyIdentifier(KmsKeyIdentifierT &&value)
void SetArchiveName(ArchiveNameT &&value)
void SetRetentionDays(int value)
const Aws::String & GetDescription() const
bool ArchiveNameHasBeenSet() const
CreateArchiveRequest & WithEventSourceArn(EventSourceArnT &&value)
const Aws::String & GetKmsKeyIdentifier() const
AWS_EVENTBRIDGE_API CreateArchiveRequest()=default
int GetRetentionDays() const
void SetEventPattern(EventPatternT &&value)
CreateArchiveRequest & WithDescription(DescriptionT &&value)
AWS_EVENTBRIDGE_API Aws::String SerializePayload() const override
bool DescriptionHasBeenSet() const
AWS_EVENTBRIDGE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetEventSourceArn(EventSourceArnT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetEventSourceArn() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String