7#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
8#include <aws/cloudtrail/CloudTrailRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/cloudtrail/model/EventCategory.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/cloudtrail/model/LookupAttribute.h>
109 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
125 inline void SetNextToken(
const char* value) { m_nextTokenHasBeenSet =
true; m_nextToken.assign(value); }
133 bool m_lookupAttributesHasBeenSet =
false;
136 bool m_startTimeHasBeenSet =
false;
139 bool m_endTimeHasBeenSet =
false;
142 bool m_eventCategoryHasBeenSet =
false;
145 bool m_maxResultsHasBeenSet =
false;
148 bool m_nextTokenHasBeenSet =
false;
const EventCategory & GetEventCategory() const
LookupEventsRequest & WithNextToken(const Aws::String &value)
AWS_CLOUDTRAIL_API LookupEventsRequest()
void SetNextToken(const char *value)
void SetEventCategory(const EventCategory &value)
LookupEventsRequest & WithStartTime(const Aws::Utils::DateTime &value)
virtual const char * GetServiceRequestName() const override
void SetEndTime(const Aws::Utils::DateTime &value)
LookupEventsRequest & WithLookupAttributes(const Aws::Vector< LookupAttribute > &value)
void SetEventCategory(EventCategory &&value)
bool EventCategoryHasBeenSet() const
void SetStartTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetEndTime() const
LookupEventsRequest & WithEndTime(const Aws::Utils::DateTime &value)
LookupEventsRequest & AddLookupAttributes(const LookupAttribute &value)
const Aws::String & GetNextToken() const
void SetLookupAttributes(Aws::Vector< LookupAttribute > &&value)
bool MaxResultsHasBeenSet() const
bool EndTimeHasBeenSet() const
AWS_CLOUDTRAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetStartTime(const Aws::Utils::DateTime &value)
void SetLookupAttributes(const Aws::Vector< LookupAttribute > &value)
LookupEventsRequest & WithEndTime(Aws::Utils::DateTime &&value)
int GetMaxResults() const
bool NextTokenHasBeenSet() const
const Aws::Utils::DateTime & GetStartTime() const
LookupEventsRequest & WithStartTime(Aws::Utils::DateTime &&value)
LookupEventsRequest & WithNextToken(Aws::String &&value)
void SetMaxResults(int value)
void SetNextToken(Aws::String &&value)
bool StartTimeHasBeenSet() const
AWS_CLOUDTRAIL_API Aws::String SerializePayload() const override
LookupEventsRequest & WithEventCategory(EventCategory &&value)
LookupEventsRequest & WithEventCategory(const EventCategory &value)
LookupEventsRequest & WithNextToken(const char *value)
const Aws::Vector< LookupAttribute > & GetLookupAttributes() const
bool LookupAttributesHasBeenSet() const
void SetEndTime(Aws::Utils::DateTime &&value)
LookupEventsRequest & WithLookupAttributes(Aws::Vector< LookupAttribute > &&value)
LookupEventsRequest & AddLookupAttributes(LookupAttribute &&value)
LookupEventsRequest & WithMaxResults(int value)
void SetNextToken(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector