/** * 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 IoTThingsGraph { namespace Model { /** */ class AWS_IOTTHINGSGRAPH_API SearchFlowExecutionsRequest : public IoTThingsGraphRequest { public: SearchFlowExecutionsRequest(); // 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 "SearchFlowExecutions"; } Aws::String SerializePayload() const override; Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The ID of the system instance that contains the flow.

*/ inline const Aws::String& GetSystemInstanceId() const{ return m_systemInstanceId; } /** *

The ID of the system instance that contains the flow.

*/ inline bool SystemInstanceIdHasBeenSet() const { return m_systemInstanceIdHasBeenSet; } /** *

The ID of the system instance that contains the flow.

*/ inline void SetSystemInstanceId(const Aws::String& value) { m_systemInstanceIdHasBeenSet = true; m_systemInstanceId = value; } /** *

The ID of the system instance that contains the flow.

*/ inline void SetSystemInstanceId(Aws::String&& value) { m_systemInstanceIdHasBeenSet = true; m_systemInstanceId = std::move(value); } /** *

The ID of the system instance that contains the flow.

*/ inline void SetSystemInstanceId(const char* value) { m_systemInstanceIdHasBeenSet = true; m_systemInstanceId.assign(value); } /** *

The ID of the system instance that contains the flow.

*/ inline SearchFlowExecutionsRequest& WithSystemInstanceId(const Aws::String& value) { SetSystemInstanceId(value); return *this;} /** *

The ID of the system instance that contains the flow.

*/ inline SearchFlowExecutionsRequest& WithSystemInstanceId(Aws::String&& value) { SetSystemInstanceId(std::move(value)); return *this;} /** *

The ID of the system instance that contains the flow.

*/ inline SearchFlowExecutionsRequest& WithSystemInstanceId(const char* value) { SetSystemInstanceId(value); return *this;} /** *

The ID of a flow execution.

*/ inline const Aws::String& GetFlowExecutionId() const{ return m_flowExecutionId; } /** *

The ID of a flow execution.

*/ inline bool FlowExecutionIdHasBeenSet() const { return m_flowExecutionIdHasBeenSet; } /** *

The ID of a flow execution.

*/ inline void SetFlowExecutionId(const Aws::String& value) { m_flowExecutionIdHasBeenSet = true; m_flowExecutionId = value; } /** *

The ID of a flow execution.

*/ inline void SetFlowExecutionId(Aws::String&& value) { m_flowExecutionIdHasBeenSet = true; m_flowExecutionId = std::move(value); } /** *

The ID of a flow execution.

*/ inline void SetFlowExecutionId(const char* value) { m_flowExecutionIdHasBeenSet = true; m_flowExecutionId.assign(value); } /** *

The ID of a flow execution.

*/ inline SearchFlowExecutionsRequest& WithFlowExecutionId(const Aws::String& value) { SetFlowExecutionId(value); return *this;} /** *

The ID of a flow execution.

*/ inline SearchFlowExecutionsRequest& WithFlowExecutionId(Aws::String&& value) { SetFlowExecutionId(std::move(value)); return *this;} /** *

The ID of a flow execution.

*/ inline SearchFlowExecutionsRequest& WithFlowExecutionId(const char* value) { SetFlowExecutionId(value); return *this;} /** *

The date and time of the earliest flow execution to return.

*/ inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } /** *

The date and time of the earliest flow execution to return.

*/ inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } /** *

The date and time of the earliest flow execution to return.

*/ inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; } /** *

The date and time of the earliest flow execution to return.

*/ inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); } /** *

The date and time of the earliest flow execution to return.

*/ inline SearchFlowExecutionsRequest& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} /** *

The date and time of the earliest flow execution to return.

*/ inline SearchFlowExecutionsRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} /** *

The date and time of the latest flow execution to return.

*/ inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; } /** *

The date and time of the latest flow execution to return.

*/ inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; } /** *

The date and time of the latest flow execution to return.

*/ inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; } /** *

The date and time of the latest flow execution to return.

*/ inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); } /** *

The date and time of the latest flow execution to return.

*/ inline SearchFlowExecutionsRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;} /** *

The date and time of the latest flow execution to return.

*/ inline SearchFlowExecutionsRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;} /** *

The string that specifies the next page of results. Use this when you're * paginating results.

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

The string that specifies the next page of results. Use this when you're * paginating results.

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

The string that specifies the next page of results. Use this when you're * paginating results.

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

The string that specifies the next page of results. Use this when you're * paginating results.

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

The string that specifies the next page of results. Use this when you're * paginating results.

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

The string that specifies the next page of results. Use this when you're * paginating results.

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

The string that specifies the next page of results. Use this when you're * paginating results.

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

The string that specifies the next page of results. Use this when you're * paginating results.

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

The maximum number of results to return in the response.

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

The maximum number of results to return in the response.

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

The maximum number of results to return in the response.

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

The maximum number of results to return in the response.

*/ inline SearchFlowExecutionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} private: Aws::String m_systemInstanceId; bool m_systemInstanceIdHasBeenSet; Aws::String m_flowExecutionId; bool m_flowExecutionIdHasBeenSet; Aws::Utils::DateTime m_startTime; bool m_startTimeHasBeenSet; Aws::Utils::DateTime m_endTime; bool m_endTimeHasBeenSet; Aws::String m_nextToken; bool m_nextTokenHasBeenSet; int m_maxResults; bool m_maxResultsHasBeenSet; }; } // namespace Model } // namespace IoTThingsGraph } // namespace Aws