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 DescriptionT = Aws::String>
59 m_descriptionHasBeenSet =
true;
60 m_description = std::forward<DescriptionT>(value);
62 template <
typename DescriptionT = Aws::String>
75 template <
typename EventPatternT = Aws::String>
77 m_eventPatternHasBeenSet =
true;
78 m_eventPattern = std::forward<EventPatternT>(value);
80 template <
typename EventPatternT = Aws::String>
94 m_retentionDaysHasBeenSet =
true;
95 m_retentionDays = value;
122 template <
typename KmsKeyIdentifierT = Aws::String>
124 m_kmsKeyIdentifierHasBeenSet =
true;
125 m_kmsKeyIdentifier = std::forward<KmsKeyIdentifierT>(value);
127 template <
typename KmsKeyIdentifierT = Aws::String>
140 int m_retentionDays{0};
143 bool m_archiveNameHasBeenSet =
false;
144 bool m_descriptionHasBeenSet =
false;
145 bool m_eventPatternHasBeenSet =
false;
146 bool m_retentionDaysHasBeenSet =
false;
147 bool m_kmsKeyIdentifierHasBeenSet =
false;
AWS_EVENTBRIDGE_API UpdateArchiveRequest()=default
bool DescriptionHasBeenSet() const
UpdateArchiveRequest & WithArchiveName(ArchiveNameT &&value)
void SetRetentionDays(int value)
bool KmsKeyIdentifierHasBeenSet() const
UpdateArchiveRequest & WithDescription(DescriptionT &&value)
bool RetentionDaysHasBeenSet() const
AWS_EVENTBRIDGE_API Aws::String SerializePayload() const override
void SetDescription(DescriptionT &&value)
void SetKmsKeyIdentifier(KmsKeyIdentifierT &&value)
const Aws::String & GetKmsKeyIdentifier() const
const Aws::String & GetEventPattern() const
AWS_EVENTBRIDGE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetArchiveName(ArchiveNameT &&value)
const Aws::String & GetDescription() const
bool EventPatternHasBeenSet() const
UpdateArchiveRequest & WithKmsKeyIdentifier(KmsKeyIdentifierT &&value)
virtual const char * GetServiceRequestName() const override
UpdateArchiveRequest & WithEventPattern(EventPatternT &&value)
bool ArchiveNameHasBeenSet() const
UpdateArchiveRequest & WithRetentionDays(int value)
int GetRetentionDays() const
const Aws::String & GetArchiveName() const
void SetEventPattern(EventPatternT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String