/** * 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 IoTEvents { namespace Model { /** */ class ListInputRoutingsRequest : public IoTEventsRequest { public: AWS_IOTEVENTS_API ListInputRoutingsRequest(); // 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 "ListInputRoutings"; } AWS_IOTEVENTS_API Aws::String SerializePayload() const override; /** *

The identifer of the routed input.

*/ inline const InputIdentifier& GetInputIdentifier() const{ return m_inputIdentifier; } /** *

The identifer of the routed input.

*/ inline bool InputIdentifierHasBeenSet() const { return m_inputIdentifierHasBeenSet; } /** *

The identifer of the routed input.

*/ inline void SetInputIdentifier(const InputIdentifier& value) { m_inputIdentifierHasBeenSet = true; m_inputIdentifier = value; } /** *

The identifer of the routed input.

*/ inline void SetInputIdentifier(InputIdentifier&& value) { m_inputIdentifierHasBeenSet = true; m_inputIdentifier = std::move(value); } /** *

The identifer of the routed input.

*/ inline ListInputRoutingsRequest& WithInputIdentifier(const InputIdentifier& value) { SetInputIdentifier(value); return *this;} /** *

The identifer of the routed input.

*/ inline ListInputRoutingsRequest& WithInputIdentifier(InputIdentifier&& value) { SetInputIdentifier(std::move(value)); return *this;} /** *

The maximum number of results to be returned per request.

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

The maximum number of results to be returned per request.

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

The maximum number of results to be returned per request.

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

The maximum number of results to be returned per request.

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

The token that you can use to return the next set of results.

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

The token that you can use to return the next set of results.

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

The token that you can use to return the next set of results.

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

The token that you can use to return the next set of results.

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

The token that you can use to return the next set of results.

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

The token that you can use to return the next set of results.

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

The token that you can use to return the next set of results.

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

The token that you can use to return the next set of results.

*/ inline ListInputRoutingsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} private: InputIdentifier m_inputIdentifier; bool m_inputIdentifierHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; }; } // namespace Model } // namespace IoTEvents } // namespace Aws