/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace LookoutEquipment { namespace Model { /** */ class ListInferenceExecutionsRequest : public LookoutEquipmentRequest { public: AWS_LOOKOUTEQUIPMENT_API ListInferenceExecutionsRequest(); // 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 "ListInferenceExecutions"; } 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 executions.

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

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

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

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

*/ 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 executions.

*/ 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 executions.

*/ 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 executions.

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

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

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

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

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

Specifies the maximum number of inference executions to list.

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

Specifies the maximum number of inference executions to list.

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

Specifies the maximum number of inference executions to list.

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

Specifies the maximum number of inference executions to list.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

The time reference in the inferenced dataset after which Amazon Lookout for * Equipment started the inference execution.

*/ inline const Aws::Utils::DateTime& GetDataStartTimeAfter() const{ return m_dataStartTimeAfter; } /** *

The time reference in the inferenced dataset after which Amazon Lookout for * Equipment started the inference execution.

*/ inline bool DataStartTimeAfterHasBeenSet() const { return m_dataStartTimeAfterHasBeenSet; } /** *

The time reference in the inferenced dataset after which Amazon Lookout for * Equipment started the inference execution.

*/ inline void SetDataStartTimeAfter(const Aws::Utils::DateTime& value) { m_dataStartTimeAfterHasBeenSet = true; m_dataStartTimeAfter = value; } /** *

The time reference in the inferenced dataset after which Amazon Lookout for * Equipment started the inference execution.

*/ inline void SetDataStartTimeAfter(Aws::Utils::DateTime&& value) { m_dataStartTimeAfterHasBeenSet = true; m_dataStartTimeAfter = std::move(value); } /** *

The time reference in the inferenced dataset after which Amazon Lookout for * Equipment started the inference execution.

*/ inline ListInferenceExecutionsRequest& WithDataStartTimeAfter(const Aws::Utils::DateTime& value) { SetDataStartTimeAfter(value); return *this;} /** *

The time reference in the inferenced dataset after which Amazon Lookout for * Equipment started the inference execution.

*/ inline ListInferenceExecutionsRequest& WithDataStartTimeAfter(Aws::Utils::DateTime&& value) { SetDataStartTimeAfter(std::move(value)); return *this;} /** *

The time reference in the inferenced dataset before which Amazon Lookout for * Equipment stopped the inference execution.

*/ inline const Aws::Utils::DateTime& GetDataEndTimeBefore() const{ return m_dataEndTimeBefore; } /** *

The time reference in the inferenced dataset before which Amazon Lookout for * Equipment stopped the inference execution.

*/ inline bool DataEndTimeBeforeHasBeenSet() const { return m_dataEndTimeBeforeHasBeenSet; } /** *

The time reference in the inferenced dataset before which Amazon Lookout for * Equipment stopped the inference execution.

*/ inline void SetDataEndTimeBefore(const Aws::Utils::DateTime& value) { m_dataEndTimeBeforeHasBeenSet = true; m_dataEndTimeBefore = value; } /** *

The time reference in the inferenced dataset before which Amazon Lookout for * Equipment stopped the inference execution.

*/ inline void SetDataEndTimeBefore(Aws::Utils::DateTime&& value) { m_dataEndTimeBeforeHasBeenSet = true; m_dataEndTimeBefore = std::move(value); } /** *

The time reference in the inferenced dataset before which Amazon Lookout for * Equipment stopped the inference execution.

*/ inline ListInferenceExecutionsRequest& WithDataEndTimeBefore(const Aws::Utils::DateTime& value) { SetDataEndTimeBefore(value); return *this;} /** *

The time reference in the inferenced dataset before which Amazon Lookout for * Equipment stopped the inference execution.

*/ inline ListInferenceExecutionsRequest& WithDataEndTimeBefore(Aws::Utils::DateTime&& value) { SetDataEndTimeBefore(std::move(value)); return *this;} /** *

The status of the inference execution.

*/ inline const InferenceExecutionStatus& GetStatus() const{ return m_status; } /** *

The status of the inference execution.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

The status of the inference execution.

*/ inline void SetStatus(const InferenceExecutionStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *

The status of the inference execution.

*/ inline void SetStatus(InferenceExecutionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

The status of the inference execution.

*/ inline ListInferenceExecutionsRequest& WithStatus(const InferenceExecutionStatus& value) { SetStatus(value); return *this;} /** *

The status of the inference execution.

*/ inline ListInferenceExecutionsRequest& WithStatus(InferenceExecutionStatus&& value) { SetStatus(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_dataStartTimeAfter; bool m_dataStartTimeAfterHasBeenSet = false; Aws::Utils::DateTime m_dataEndTimeBefore; bool m_dataEndTimeBeforeHasBeenSet = false; InferenceExecutionStatus m_status; bool m_statusHasBeenSet = false; }; } // namespace Model } // namespace LookoutEquipment } // namespace Aws