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>
51 template<
typename LookupAttributesT = Aws::Vector<LookupAttribute>>
52 void SetLookupAttributes(LookupAttributesT&& value) { m_lookupAttributesHasBeenSet =
true; m_lookupAttributes = std::forward<LookupAttributesT>(value); }
53 template<
typename LookupAttributesT = Aws::Vector<LookupAttribute>>
55 template<
typename LookupAttributesT = LookupAttribute>
67 template<
typename StartTimeT = Aws::Utils::DateTime>
68 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet =
true; m_startTime = std::forward<StartTimeT>(value); }
69 template<
typename StartTimeT = Aws::Utils::DateTime>
81 template<
typename EndTimeT = Aws::Utils::DateTime>
82 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet =
true; m_endTime = std::forward<EndTimeT>(value); }
83 template<
typename EndTimeT = Aws::Utils::DateTime>
107 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
121 template<
typename NextTokenT = Aws::String>
122 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
123 template<
typename NextTokenT = Aws::String>
129 bool m_lookupAttributesHasBeenSet =
false;
132 bool m_startTimeHasBeenSet =
false;
135 bool m_endTimeHasBeenSet =
false;
138 bool m_eventCategoryHasBeenSet =
false;
141 bool m_maxResultsHasBeenSet =
false;
144 bool m_nextTokenHasBeenSet =
false;
AWS_CLOUDTRAIL_API LookupEventsRequest()=default
LookupEventsRequest & WithNextToken(NextTokenT &&value)
void SetNextToken(NextTokenT &&value)
void SetStartTime(StartTimeT &&value)
LookupEventsRequest & AddLookupAttributes(LookupAttributesT &&value)
virtual const char * GetServiceRequestName() const override
bool EventCategoryHasBeenSet() const
LookupEventsRequest & WithEventCategory(EventCategory value)
const Aws::Utils::DateTime & GetEndTime() const
void SetEndTime(EndTimeT &&value)
const Aws::String & GetNextToken() const
bool MaxResultsHasBeenSet() const
bool EndTimeHasBeenSet() const
AWS_CLOUDTRAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
int GetMaxResults() const
bool NextTokenHasBeenSet() const
const Aws::Utils::DateTime & GetStartTime() const
void SetMaxResults(int value)
bool StartTimeHasBeenSet() const
AWS_CLOUDTRAIL_API Aws::String SerializePayload() const override
void SetEventCategory(EventCategory value)
EventCategory GetEventCategory() const
LookupEventsRequest & WithStartTime(StartTimeT &&value)
const Aws::Vector< LookupAttribute > & GetLookupAttributes() const
bool LookupAttributesHasBeenSet() const
LookupEventsRequest & WithEndTime(EndTimeT &&value)
void SetLookupAttributes(LookupAttributesT &&value)
LookupEventsRequest & WithMaxResults(int value)
LookupEventsRequest & WithLookupAttributes(LookupAttributesT &&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