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 SetEventSourceArn(
const char* value) { m_eventSourceArnHasBeenSet =
true; m_eventSourceArn.assign(value); }
73 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
87 inline void SetEventPattern(
const char* value) { m_eventPatternHasBeenSet =
true; m_eventPattern.assign(value); }
100 inline void SetRetentionDays(
int value) { m_retentionDaysHasBeenSet =
true; m_retentionDays = value; }
106 bool m_archiveNameHasBeenSet =
false;
109 bool m_eventSourceArnHasBeenSet =
false;
112 bool m_descriptionHasBeenSet =
false;
115 bool m_eventPatternHasBeenSet =
false;
118 bool m_retentionDaysHasBeenSet =
false;
void SetEventPattern(Aws::String &&value)
void SetDescription(const char *value)
bool EventSourceArnHasBeenSet() const
void SetEventSourceArn(Aws::String &&value)
bool EventPatternHasBeenSet() const
CreateArchiveRequest & WithEventPattern(Aws::String &&value)
void SetEventPattern(const Aws::String &value)
const Aws::String & GetEventPattern() const
CreateArchiveRequest & WithEventPattern(const char *value)
const Aws::String & GetArchiveName() const
CreateArchiveRequest & WithArchiveName(const char *value)
CreateArchiveRequest & WithRetentionDays(int value)
bool RetentionDaysHasBeenSet() const
CreateArchiveRequest & WithDescription(const char *value)
void SetArchiveName(const char *value)
void SetEventPattern(const char *value)
CreateArchiveRequest & WithEventSourceArn(const Aws::String &value)
void SetRetentionDays(int value)
void SetEventSourceArn(const Aws::String &value)
void SetEventSourceArn(const char *value)
const Aws::String & GetDescription() const
bool ArchiveNameHasBeenSet() const
AWS_EVENTBRIDGE_API CreateArchiveRequest()
CreateArchiveRequest & WithDescription(const Aws::String &value)
int GetRetentionDays() const
CreateArchiveRequest & WithEventSourceArn(const char *value)
AWS_EVENTBRIDGE_API Aws::String SerializePayload() const override
bool DescriptionHasBeenSet() const
void SetArchiveName(Aws::String &&value)
CreateArchiveRequest & WithDescription(Aws::String &&value)
void SetArchiveName(const Aws::String &value)
AWS_EVENTBRIDGE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateArchiveRequest & WithEventPattern(const Aws::String &value)
void SetDescription(Aws::String &&value)
CreateArchiveRequest & WithArchiveName(Aws::String &&value)
void SetDescription(const Aws::String &value)
CreateArchiveRequest & WithEventSourceArn(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
CreateArchiveRequest & WithArchiveName(const Aws::String &value)
const Aws::String & GetEventSourceArn() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String