7#include <aws/eventbridge/EventBridge_EXPORTS.h>
8#include <aws/eventbridge/EventBridgeRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
45 inline void SetArchiveName(
const char* value) { m_archiveNameHasBeenSet =
true; m_archiveName.assign(value); }
59 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
73 inline void SetEventPattern(
const char* value) { m_eventPatternHasBeenSet =
true; m_eventPattern.assign(value); }
85 inline void SetRetentionDays(
int value) { m_retentionDaysHasBeenSet =
true; m_retentionDays = value; }
91 bool m_archiveNameHasBeenSet =
false;
94 bool m_descriptionHasBeenSet =
false;
97 bool m_eventPatternHasBeenSet =
false;
100 bool m_retentionDaysHasBeenSet =
false;
void SetDescription(Aws::String &&value)
UpdateArchiveRequest & WithEventPattern(Aws::String &&value)
void SetDescription(const char *value)
bool DescriptionHasBeenSet() const
UpdateArchiveRequest & WithDescription(Aws::String &&value)
UpdateArchiveRequest & WithArchiveName(Aws::String &&value)
void SetRetentionDays(int value)
UpdateArchiveRequest & WithDescription(const char *value)
AWS_EVENTBRIDGE_API UpdateArchiveRequest()
void SetDescription(const Aws::String &value)
bool RetentionDaysHasBeenSet() const
AWS_EVENTBRIDGE_API Aws::String SerializePayload() const override
UpdateArchiveRequest & WithEventPattern(const char *value)
const Aws::String & GetEventPattern() const
void SetArchiveName(Aws::String &&value)
AWS_EVENTBRIDGE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetDescription() const
bool EventPatternHasBeenSet() const
void SetArchiveName(const char *value)
virtual const char * GetServiceRequestName() const override
void SetEventPattern(Aws::String &&value)
bool ArchiveNameHasBeenSet() const
UpdateArchiveRequest & WithDescription(const Aws::String &value)
UpdateArchiveRequest & WithArchiveName(const char *value)
UpdateArchiveRequest & WithRetentionDays(int value)
int GetRetentionDays() const
UpdateArchiveRequest & WithArchiveName(const Aws::String &value)
const Aws::String & GetArchiveName() const
void SetArchiveName(const Aws::String &value)
void SetEventPattern(const char *value)
UpdateArchiveRequest & WithEventPattern(const Aws::String &value)
void SetEventPattern(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String