/** * 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 DatabaseMigrationService { namespace Model { class DescribeRecommendationsResult { public: AWS_DATABASEMIGRATIONSERVICE_API DescribeRecommendationsResult(); AWS_DATABASEMIGRATIONSERVICE_API DescribeRecommendationsResult(const Aws::AmazonWebServiceResult& result); AWS_DATABASEMIGRATIONSERVICE_API DescribeRecommendationsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The unique pagination token returned for you to pass to a subsequent request. * Fleet Advisor returns this token when the number of records in the response is * greater than the MaxRecords value. To retrieve the next page, make * the call again using the returned token and keeping all other arguments * unchanged.

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

The unique pagination token returned for you to pass to a subsequent request. * Fleet Advisor returns this token when the number of records in the response is * greater than the MaxRecords value. To retrieve the next page, make * the call again using the returned token and keeping all other arguments * unchanged.

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

The unique pagination token returned for you to pass to a subsequent request. * Fleet Advisor returns this token when the number of records in the response is * greater than the MaxRecords value. To retrieve the next page, make * the call again using the returned token and keeping all other arguments * unchanged.

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

The unique pagination token returned for you to pass to a subsequent request. * Fleet Advisor returns this token when the number of records in the response is * greater than the MaxRecords value. To retrieve the next page, make * the call again using the returned token and keeping all other arguments * unchanged.

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

The unique pagination token returned for you to pass to a subsequent request. * Fleet Advisor returns this token when the number of records in the response is * greater than the MaxRecords value. To retrieve the next page, make * the call again using the returned token and keeping all other arguments * unchanged.

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

The unique pagination token returned for you to pass to a subsequent request. * Fleet Advisor returns this token when the number of records in the response is * greater than the MaxRecords value. To retrieve the next page, make * the call again using the returned token and keeping all other arguments * unchanged.

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

The unique pagination token returned for you to pass to a subsequent request. * Fleet Advisor returns this token when the number of records in the response is * greater than the MaxRecords value. To retrieve the next page, make * the call again using the returned token and keeping all other arguments * unchanged.

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

The list of recommendations of target engines that Fleet Advisor created for * the source database.

*/ inline const Aws::Vector& GetRecommendations() const{ return m_recommendations; } /** *

The list of recommendations of target engines that Fleet Advisor created for * the source database.

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

The list of recommendations of target engines that Fleet Advisor created for * the source database.

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

The list of recommendations of target engines that Fleet Advisor created for * the source database.

*/ inline DescribeRecommendationsResult& WithRecommendations(const Aws::Vector& value) { SetRecommendations(value); return *this;} /** *

The list of recommendations of target engines that Fleet Advisor created for * the source database.

*/ inline DescribeRecommendationsResult& WithRecommendations(Aws::Vector&& value) { SetRecommendations(std::move(value)); return *this;} /** *

The list of recommendations of target engines that Fleet Advisor created for * the source database.

*/ inline DescribeRecommendationsResult& AddRecommendations(const Recommendation& value) { m_recommendations.push_back(value); return *this; } /** *

The list of recommendations of target engines that Fleet Advisor created for * the source database.

*/ inline DescribeRecommendationsResult& AddRecommendations(Recommendation&& value) { m_recommendations.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 DescribeRecommendationsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeRecommendationsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeRecommendationsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_nextToken; Aws::Vector m_recommendations; Aws::String m_requestId; }; } // namespace Model } // namespace DatabaseMigrationService } // namespace Aws