7#include <aws/events/CloudWatchEvents_EXPORTS.h>
8#include <aws/events/CloudWatchEventsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/events/model/ArchiveState.h>
15namespace CloudWatchEvents
47 inline void SetNamePrefix(
const char* value) { m_namePrefixHasBeenSet =
true; m_namePrefix.assign(value); }
61 inline void SetEventSourceArn(
const char* value) { m_eventSourceArnHasBeenSet =
true; m_eventSourceArn.assign(value); }
88 inline void SetNextToken(
const char* value) { m_nextTokenHasBeenSet =
true; m_nextToken.assign(value); }
100 inline void SetLimit(
int value) { m_limitHasBeenSet =
true; m_limit = value; }
106 bool m_namePrefixHasBeenSet =
false;
109 bool m_eventSourceArnHasBeenSet =
false;
112 bool m_stateHasBeenSet =
false;
115 bool m_nextTokenHasBeenSet =
false;
118 bool m_limitHasBeenSet =
false;
void SetEventSourceArn(const char *value)
const Aws::String & GetEventSourceArn() const
const Aws::String & GetNextToken() const
ListArchivesRequest & WithNamePrefix(Aws::String &&value)
AWS_CLOUDWATCHEVENTS_API Aws::String SerializePayload() const override
void SetNextToken(const char *value)
void SetNamePrefix(const char *value)
ListArchivesRequest & WithNextToken(Aws::String &&value)
void SetNamePrefix(const Aws::String &value)
bool LimitHasBeenSet() const
bool EventSourceArnHasBeenSet() const
void SetEventSourceArn(Aws::String &&value)
ListArchivesRequest & WithEventSourceArn(const Aws::String &value)
ListArchivesRequest & WithEventSourceArn(const char *value)
ListArchivesRequest & WithNamePrefix(const char *value)
void SetState(ArchiveState &&value)
bool NextTokenHasBeenSet() const
ListArchivesRequest & WithNamePrefix(const Aws::String &value)
ListArchivesRequest & WithLimit(int value)
virtual const char * GetServiceRequestName() const override
void SetNextToken(Aws::String &&value)
AWS_CLOUDWATCHEVENTS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_CLOUDWATCHEVENTS_API ListArchivesRequest()
void SetEventSourceArn(const Aws::String &value)
bool NamePrefixHasBeenSet() const
bool StateHasBeenSet() const
ListArchivesRequest & WithState(const ArchiveState &value)
void SetNextToken(const Aws::String &value)
const Aws::String & GetNamePrefix() const
const ArchiveState & GetState() const
ListArchivesRequest & WithNextToken(const char *value)
void SetState(const ArchiveState &value)
ListArchivesRequest & WithState(ArchiveState &&value)
void SetNamePrefix(Aws::String &&value)
ListArchivesRequest & WithEventSourceArn(Aws::String &&value)
ListArchivesRequest & WithNextToken(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String