7#include <aws/eventbridge/EventBridge_EXPORTS.h>
8#include <aws/eventbridge/EventBridgeRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
43 template<
typename ArchiveNameT = Aws::String>
44 void SetArchiveName(ArchiveNameT&& value) { m_archiveNameHasBeenSet =
true; m_archiveName = std::forward<ArchiveNameT>(value); }
45 template<
typename ArchiveNameT = Aws::String>
55 template<
typename EventSourceArnT = Aws::String>
56 void SetEventSourceArn(EventSourceArnT&& value) { m_eventSourceArnHasBeenSet =
true; m_eventSourceArn = std::forward<EventSourceArnT>(value); }
57 template<
typename EventSourceArnT = Aws::String>
67 template<
typename DescriptionT = Aws::String>
68 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
69 template<
typename DescriptionT = Aws::String>
79 template<
typename EventPatternT = Aws::String>
80 void SetEventPattern(EventPatternT&& value) { m_eventPatternHasBeenSet =
true; m_eventPattern = std::forward<EventPatternT>(value); }
81 template<
typename EventPatternT = Aws::String>
92 inline void SetRetentionDays(
int value) { m_retentionDaysHasBeenSet =
true; m_retentionDays = value; }
115 template<
typename KmsKeyIdentifierT = Aws::String>
116 void SetKmsKeyIdentifier(KmsKeyIdentifierT&& value) { m_kmsKeyIdentifierHasBeenSet =
true; m_kmsKeyIdentifier = std::forward<KmsKeyIdentifierT>(value); }
117 template<
typename KmsKeyIdentifierT = Aws::String>
123 bool m_archiveNameHasBeenSet =
false;
126 bool m_eventSourceArnHasBeenSet =
false;
129 bool m_descriptionHasBeenSet =
false;
132 bool m_eventPatternHasBeenSet =
false;
134 int m_retentionDays{0};
135 bool m_retentionDaysHasBeenSet =
false;
138 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