7#include <aws/cloudtrail/CloudTrailRequest.h>
8#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
9#include <aws/cloudtrail/model/EventCategory.h>
10#include <aws/cloudtrail/model/LookupAttribute.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
47 template <
typename LookupAttributesT = Aws::Vector<LookupAttribute>>
49 m_lookupAttributesHasBeenSet =
true;
50 m_lookupAttributes = std::forward<LookupAttributesT>(value);
52 template <
typename LookupAttributesT = Aws::Vector<LookupAttribute>>
57 template <
typename LookupAttributesT = LookupAttribute>
59 m_lookupAttributesHasBeenSet =
true;
60 m_lookupAttributes.emplace_back(std::forward<LookupAttributesT>(value));
73 template <
typename StartTimeT = Aws::Utils::DateTime>
75 m_startTimeHasBeenSet =
true;
76 m_startTime = std::forward<StartTimeT>(value);
78 template <
typename StartTimeT = Aws::Utils::DateTime>
93 template <
typename EndTimeT = Aws::Utils::DateTime>
95 m_endTimeHasBeenSet =
true;
96 m_endTime = std::forward<EndTimeT>(value);
98 template <
typename EndTimeT = Aws::Utils::DateTime>
115 m_eventCategoryHasBeenSet =
true;
116 m_eventCategory = value;
132 m_maxResultsHasBeenSet =
true;
133 m_maxResults = value;
151 template <
typename NextTokenT = Aws::String>
153 m_nextTokenHasBeenSet =
true;
154 m_nextToken = std::forward<NextTokenT>(value);
156 template <
typename NextTokenT = Aws::String>
174 bool m_lookupAttributesHasBeenSet =
false;
175 bool m_startTimeHasBeenSet =
false;
176 bool m_endTimeHasBeenSet =
false;
177 bool m_eventCategoryHasBeenSet =
false;
178 bool m_maxResultsHasBeenSet =
false;
179 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