/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Http { class URI; } //namespace Http namespace SimSpaceWeaver { namespace Model { /** */ class ListSimulationsRequest : public SimSpaceWeaverRequest { public: AWS_SIMSPACEWEAVER_API ListSimulationsRequest(); // 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 "ListSimulations"; } AWS_SIMSPACEWEAVER_API Aws::String SerializePayload() const override; AWS_SIMSPACEWEAVER_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

The maximum number of simulations to list.

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

The maximum number of simulations to list.

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

The maximum number of simulations to list.

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

The maximum number of simulations to list.

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

If SimSpace Weaver returns nextToken, then there are more * results available. The value of nextToken is a unique pagination * token for each page. To retrieve the next page, call the operation again using * the returned token. Keep all other arguments unchanged. If no results remain, * then nextToken is set to null. Each pagination token * expires after 24 hours. If you provide a token that isn't valid, then you * receive an HTTP 400 ValidationException error.

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

If SimSpace Weaver returns nextToken, then there are more * results available. The value of nextToken is a unique pagination * token for each page. To retrieve the next page, call the operation again using * the returned token. Keep all other arguments unchanged. If no results remain, * then nextToken is set to null. Each pagination token * expires after 24 hours. If you provide a token that isn't valid, then you * receive an HTTP 400 ValidationException error.

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

If SimSpace Weaver returns nextToken, then there are more * results available. The value of nextToken is a unique pagination * token for each page. To retrieve the next page, call the operation again using * the returned token. Keep all other arguments unchanged. If no results remain, * then nextToken is set to null. Each pagination token * expires after 24 hours. If you provide a token that isn't valid, then you * receive an HTTP 400 ValidationException error.

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

If SimSpace Weaver returns nextToken, then there are more * results available. The value of nextToken is a unique pagination * token for each page. To retrieve the next page, call the operation again using * the returned token. Keep all other arguments unchanged. If no results remain, * then nextToken is set to null. Each pagination token * expires after 24 hours. If you provide a token that isn't valid, then you * receive an HTTP 400 ValidationException error.

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

If SimSpace Weaver returns nextToken, then there are more * results available. The value of nextToken is a unique pagination * token for each page. To retrieve the next page, call the operation again using * the returned token. Keep all other arguments unchanged. If no results remain, * then nextToken is set to null. Each pagination token * expires after 24 hours. If you provide a token that isn't valid, then you * receive an HTTP 400 ValidationException error.

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

If SimSpace Weaver returns nextToken, then there are more * results available. The value of nextToken is a unique pagination * token for each page. To retrieve the next page, call the operation again using * the returned token. Keep all other arguments unchanged. If no results remain, * then nextToken is set to null. Each pagination token * expires after 24 hours. If you provide a token that isn't valid, then you * receive an HTTP 400 ValidationException error.

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

If SimSpace Weaver returns nextToken, then there are more * results available. The value of nextToken is a unique pagination * token for each page. To retrieve the next page, call the operation again using * the returned token. Keep all other arguments unchanged. If no results remain, * then nextToken is set to null. Each pagination token * expires after 24 hours. If you provide a token that isn't valid, then you * receive an HTTP 400 ValidationException error.

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

If SimSpace Weaver returns nextToken, then there are more * results available. The value of nextToken is a unique pagination * token for each page. To retrieve the next page, call the operation again using * the returned token. Keep all other arguments unchanged. If no results remain, * then nextToken is set to null. Each pagination token * expires after 24 hours. If you provide a token that isn't valid, then you * receive an HTTP 400 ValidationException error.

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