/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains a request for LookupEvents.See Also:
AWS
* API Reference
Contains a list of lookup attributes. Currently the list can contain only one * item.
*/ inline const Aws::VectorContains a list of lookup attributes. Currently the list can contain only one * item.
*/ inline bool LookupAttributesHasBeenSet() const { return m_lookupAttributesHasBeenSet; } /** *Contains a list of lookup attributes. Currently the list can contain only one * item.
*/ inline void SetLookupAttributes(const Aws::VectorContains a list of lookup attributes. Currently the list can contain only one * item.
*/ inline void SetLookupAttributes(Aws::VectorContains a list of lookup attributes. Currently the list can contain only one * item.
*/ inline LookupEventsRequest& WithLookupAttributes(const Aws::VectorContains a list of lookup attributes. Currently the list can contain only one * item.
*/ inline LookupEventsRequest& WithLookupAttributes(Aws::VectorContains a list of lookup attributes. Currently the list can contain only one * item.
*/ inline LookupEventsRequest& AddLookupAttributes(const LookupAttribute& value) { m_lookupAttributesHasBeenSet = true; m_lookupAttributes.push_back(value); return *this; } /** *Contains a list of lookup attributes. Currently the list can contain only one * item.
*/ inline LookupEventsRequest& AddLookupAttributes(LookupAttribute&& value) { m_lookupAttributesHasBeenSet = true; m_lookupAttributes.push_back(std::move(value)); return *this; } /** *Specifies that only events that occur after or at the specified time are * returned. If the specified start time is after the specified end time, an error * is returned.
*/ inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } /** *Specifies that only events that occur after or at the specified time are * returned. If the specified start time is after the specified end time, an error * is returned.
*/ inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } /** *Specifies that only events that occur after or at the specified time are * returned. If the specified start time is after the specified end time, an error * is returned.
*/ inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; } /** *Specifies that only events that occur after or at the specified time are * returned. If the specified start time is after the specified end time, an error * is returned.
*/ inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); } /** *Specifies that only events that occur after or at the specified time are * returned. If the specified start time is after the specified end time, an error * is returned.
*/ inline LookupEventsRequest& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} /** *Specifies that only events that occur after or at the specified time are * returned. If the specified start time is after the specified end time, an error * is returned.
*/ inline LookupEventsRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} /** *Specifies that only events that occur before or at the specified time are * returned. If the specified end time is before the specified start time, an error * is returned.
*/ inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; } /** *Specifies that only events that occur before or at the specified time are * returned. If the specified end time is before the specified start time, an error * is returned.
*/ inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; } /** *Specifies that only events that occur before or at the specified time are * returned. If the specified end time is before the specified start time, an error * is returned.
*/ inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; } /** *Specifies that only events that occur before or at the specified time are * returned. If the specified end time is before the specified start time, an error * is returned.
*/ inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); } /** *Specifies that only events that occur before or at the specified time are * returned. If the specified end time is before the specified start time, an error * is returned.
*/ inline LookupEventsRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;} /** *Specifies that only events that occur before or at the specified time are * returned. If the specified end time is before the specified start time, an error * is returned.
*/ inline LookupEventsRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;} /** *Specifies the event category. If you do not specify an event category, events
* of the category are not returned in the response. For example, if you do not
* specify insight
as the value of EventCategory
, no
* Insights events are returned.
Specifies the event category. If you do not specify an event category, events
* of the category are not returned in the response. For example, if you do not
* specify insight
as the value of EventCategory
, no
* Insights events are returned.
Specifies the event category. If you do not specify an event category, events
* of the category are not returned in the response. For example, if you do not
* specify insight
as the value of EventCategory
, no
* Insights events are returned.
Specifies the event category. If you do not specify an event category, events
* of the category are not returned in the response. For example, if you do not
* specify insight
as the value of EventCategory
, no
* Insights events are returned.
Specifies the event category. If you do not specify an event category, events
* of the category are not returned in the response. For example, if you do not
* specify insight
as the value of EventCategory
, no
* Insights events are returned.
Specifies the event category. If you do not specify an event category, events
* of the category are not returned in the response. For example, if you do not
* specify insight
as the value of EventCategory
, no
* Insights events are returned.
The number of events to return. Possible values are 1 through 50. The default * is 50.
*/ inline int GetMaxResults() const{ return m_maxResults; } /** *The number of events to return. Possible values are 1 through 50. The default * is 50.
*/ inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } /** *The number of events to return. Possible values are 1 through 50. The default * is 50.
*/ inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } /** *The number of events to return. Possible values are 1 through 50. The default * is 50.
*/ inline LookupEventsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} /** *The token to use to get the next page of results after a previous API call. * This token must be passed in with the same parameters that were specified in the * original call. For example, if the original call specified an AttributeKey of * 'Username' with a value of 'root', the call with NextToken should include those * same parameters.
*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *The token to use to get the next page of results after a previous API call. * This token must be passed in with the same parameters that were specified in the * original call. For example, if the original call specified an AttributeKey of * 'Username' with a value of 'root', the call with NextToken should include those * same parameters.
*/ inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } /** *The token to use to get the next page of results after a previous API call. * This token must be passed in with the same parameters that were specified in the * original call. For example, if the original call specified an AttributeKey of * 'Username' with a value of 'root', the call with NextToken should include those * same parameters.
*/ inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } /** *The token to use to get the next page of results after a previous API call. * This token must be passed in with the same parameters that were specified in the * original call. For example, if the original call specified an AttributeKey of * 'Username' with a value of 'root', the call with NextToken should include those * same parameters.
*/ inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } /** *The token to use to get the next page of results after a previous API call. * This token must be passed in with the same parameters that were specified in the * original call. For example, if the original call specified an AttributeKey of * 'Username' with a value of 'root', the call with NextToken should include those * same parameters.
*/ inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } /** *The token to use to get the next page of results after a previous API call. * This token must be passed in with the same parameters that were specified in the * original call. For example, if the original call specified an AttributeKey of * 'Username' with a value of 'root', the call with NextToken should include those * same parameters.
*/ inline LookupEventsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *The token to use to get the next page of results after a previous API call. * This token must be passed in with the same parameters that were specified in the * original call. For example, if the original call specified an AttributeKey of * 'Username' with a value of 'root', the call with NextToken should include those * same parameters.
*/ inline LookupEventsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *The token to use to get the next page of results after a previous API call. * This token must be passed in with the same parameters that were specified in the * original call. For example, if the original call specified an AttributeKey of * 'Username' with a value of 'root', the call with NextToken should include those * same parameters.
*/ inline LookupEventsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} private: Aws::Vector