/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace LookoutEquipment { namespace Model { /** */ class ListInferenceEventsRequest : public LookoutEquipmentRequest { public: AWS_LOOKOUTEQUIPMENT_API ListInferenceEventsRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "ListInferenceEvents"; } AWS_LOOKOUTEQUIPMENT_API Aws::String SerializePayload() const override; AWS_LOOKOUTEQUIPMENT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

An opaque pagination token indicating where to continue the listing of * inference events.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

An opaque pagination token indicating where to continue the listing of * inference events.

*/ inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } /** *

An opaque pagination token indicating where to continue the listing of * inference events.

*/ inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } /** *

An opaque pagination token indicating where to continue the listing of * inference events.

*/ inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } /** *

An opaque pagination token indicating where to continue the listing of * inference events.

*/ inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } /** *

An opaque pagination token indicating where to continue the listing of * inference events.

*/ inline ListInferenceEventsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

An opaque pagination token indicating where to continue the listing of * inference events.

*/ inline ListInferenceEventsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

An opaque pagination token indicating where to continue the listing of * inference events.

*/ inline ListInferenceEventsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** *

Specifies the maximum number of inference events to list.

*/ inline int GetMaxResults() const{ return m_maxResults; } /** *

Specifies the maximum number of inference events to list.

*/ inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } /** *

Specifies the maximum number of inference events to list.

*/ inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } /** *

Specifies the maximum number of inference events to list.

*/ inline ListInferenceEventsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} /** *

The name of the inference scheduler for the inference events listed.

*/ inline const Aws::String& GetInferenceSchedulerName() const{ return m_inferenceSchedulerName; } /** *

The name of the inference scheduler for the inference events listed.

*/ inline bool InferenceSchedulerNameHasBeenSet() const { return m_inferenceSchedulerNameHasBeenSet; } /** *

The name of the inference scheduler for the inference events listed.

*/ inline void SetInferenceSchedulerName(const Aws::String& value) { m_inferenceSchedulerNameHasBeenSet = true; m_inferenceSchedulerName = value; } /** *

The name of the inference scheduler for the inference events listed.

*/ inline void SetInferenceSchedulerName(Aws::String&& value) { m_inferenceSchedulerNameHasBeenSet = true; m_inferenceSchedulerName = std::move(value); } /** *

The name of the inference scheduler for the inference events listed.

*/ inline void SetInferenceSchedulerName(const char* value) { m_inferenceSchedulerNameHasBeenSet = true; m_inferenceSchedulerName.assign(value); } /** *

The name of the inference scheduler for the inference events listed.

*/ inline ListInferenceEventsRequest& WithInferenceSchedulerName(const Aws::String& value) { SetInferenceSchedulerName(value); return *this;} /** *

The name of the inference scheduler for the inference events listed.

*/ inline ListInferenceEventsRequest& WithInferenceSchedulerName(Aws::String&& value) { SetInferenceSchedulerName(std::move(value)); return *this;} /** *

The name of the inference scheduler for the inference events listed.

*/ inline ListInferenceEventsRequest& WithInferenceSchedulerName(const char* value) { SetInferenceSchedulerName(value); return *this;} /** *

Lookout for Equipment will return all the inference events with an end time * equal to or greater than the start time given.

*/ inline const Aws::Utils::DateTime& GetIntervalStartTime() const{ return m_intervalStartTime; } /** *

Lookout for Equipment will return all the inference events with an end time * equal to or greater than the start time given.

*/ inline bool IntervalStartTimeHasBeenSet() const { return m_intervalStartTimeHasBeenSet; } /** *

Lookout for Equipment will return all the inference events with an end time * equal to or greater than the start time given.

*/ inline void SetIntervalStartTime(const Aws::Utils::DateTime& value) { m_intervalStartTimeHasBeenSet = true; m_intervalStartTime = value; } /** *

Lookout for Equipment will return all the inference events with an end time * equal to or greater than the start time given.

*/ inline void SetIntervalStartTime(Aws::Utils::DateTime&& value) { m_intervalStartTimeHasBeenSet = true; m_intervalStartTime = std::move(value); } /** *

Lookout for Equipment will return all the inference events with an end time * equal to or greater than the start time given.

*/ inline ListInferenceEventsRequest& WithIntervalStartTime(const Aws::Utils::DateTime& value) { SetIntervalStartTime(value); return *this;} /** *

Lookout for Equipment will return all the inference events with an end time * equal to or greater than the start time given.

*/ inline ListInferenceEventsRequest& WithIntervalStartTime(Aws::Utils::DateTime&& value) { SetIntervalStartTime(std::move(value)); return *this;} /** *

Returns all the inference events with an end start time equal to or greater * than less than the end time given

*/ inline const Aws::Utils::DateTime& GetIntervalEndTime() const{ return m_intervalEndTime; } /** *

Returns all the inference events with an end start time equal to or greater * than less than the end time given

*/ inline bool IntervalEndTimeHasBeenSet() const { return m_intervalEndTimeHasBeenSet; } /** *

Returns all the inference events with an end start time equal to or greater * than less than the end time given

*/ inline void SetIntervalEndTime(const Aws::Utils::DateTime& value) { m_intervalEndTimeHasBeenSet = true; m_intervalEndTime = value; } /** *

Returns all the inference events with an end start time equal to or greater * than less than the end time given

*/ inline void SetIntervalEndTime(Aws::Utils::DateTime&& value) { m_intervalEndTimeHasBeenSet = true; m_intervalEndTime = std::move(value); } /** *

Returns all the inference events with an end start time equal to or greater * than less than the end time given

*/ inline ListInferenceEventsRequest& WithIntervalEndTime(const Aws::Utils::DateTime& value) { SetIntervalEndTime(value); return *this;} /** *

Returns all the inference events with an end start time equal to or greater * than less than the end time given

*/ inline ListInferenceEventsRequest& WithIntervalEndTime(Aws::Utils::DateTime&& value) { SetIntervalEndTime(std::move(value)); return *this;} private: Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; Aws::String m_inferenceSchedulerName; bool m_inferenceSchedulerNameHasBeenSet = false; Aws::Utils::DateTime m_intervalStartTime; bool m_intervalStartTimeHasBeenSet = false; Aws::Utils::DateTime m_intervalEndTime; bool m_intervalEndTimeHasBeenSet = false; }; } // namespace Model } // namespace LookoutEquipment } // namespace Aws