/** * 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 { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace SimSpaceWeaver { namespace Model { class ListSimulationsResult { public: AWS_SIMSPACEWEAVER_API ListSimulationsResult(); AWS_SIMSPACEWEAVER_API ListSimulationsResult(const Aws::AmazonWebServiceResult& result); AWS_SIMSPACEWEAVER_API ListSimulationsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

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 void SetNextToken(const Aws::String& value) { 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_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_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 ListSimulationsResult& 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 ListSimulationsResult& 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 ListSimulationsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** *

The list of simulations.

*/ inline const Aws::Vector& GetSimulations() const{ return m_simulations; } /** *

The list of simulations.

*/ inline void SetSimulations(const Aws::Vector& value) { m_simulations = value; } /** *

The list of simulations.

*/ inline void SetSimulations(Aws::Vector&& value) { m_simulations = std::move(value); } /** *

The list of simulations.

*/ inline ListSimulationsResult& WithSimulations(const Aws::Vector& value) { SetSimulations(value); return *this;} /** *

The list of simulations.

*/ inline ListSimulationsResult& WithSimulations(Aws::Vector&& value) { SetSimulations(std::move(value)); return *this;} /** *

The list of simulations.

*/ inline ListSimulationsResult& AddSimulations(const SimulationMetadata& value) { m_simulations.push_back(value); return *this; } /** *

The list of simulations.

*/ inline ListSimulationsResult& AddSimulations(SimulationMetadata&& value) { m_simulations.push_back(std::move(value)); return *this; } inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline ListSimulationsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListSimulationsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListSimulationsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_nextToken; Aws::Vector m_simulations; Aws::String m_requestId; }; } // namespace Model } // namespace SimSpaceWeaver } // namespace Aws