/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Route53RecoveryReadiness { namespace Model { class GetArchitectureRecommendationsResult { public: AWS_ROUTE53RECOVERYREADINESS_API GetArchitectureRecommendationsResult(); AWS_ROUTE53RECOVERYREADINESS_API GetArchitectureRecommendationsResult(const Aws::AmazonWebServiceResult& result); AWS_ROUTE53RECOVERYREADINESS_API GetArchitectureRecommendationsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The time that a recovery group was last assessed for recommendations, in UTC * ISO-8601 format.

*/ inline const Aws::Utils::DateTime& GetLastAuditTimestamp() const{ return m_lastAuditTimestamp; } /** *

The time that a recovery group was last assessed for recommendations, in UTC * ISO-8601 format.

*/ inline void SetLastAuditTimestamp(const Aws::Utils::DateTime& value) { m_lastAuditTimestamp = value; } /** *

The time that a recovery group was last assessed for recommendations, in UTC * ISO-8601 format.

*/ inline void SetLastAuditTimestamp(Aws::Utils::DateTime&& value) { m_lastAuditTimestamp = std::move(value); } /** *

The time that a recovery group was last assessed for recommendations, in UTC * ISO-8601 format.

*/ inline GetArchitectureRecommendationsResult& WithLastAuditTimestamp(const Aws::Utils::DateTime& value) { SetLastAuditTimestamp(value); return *this;} /** *

The time that a recovery group was last assessed for recommendations, in UTC * ISO-8601 format.

*/ inline GetArchitectureRecommendationsResult& WithLastAuditTimestamp(Aws::Utils::DateTime&& value) { SetLastAuditTimestamp(std::move(value)); return *this;} /** *

The token that identifies which batch of results you want to see.

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

The token that identifies which batch of results you want to see.

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

The token that identifies which batch of results you want to see.

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

The token that identifies which batch of results you want to see.

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

The token that identifies which batch of results you want to see.

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

The token that identifies which batch of results you want to see.

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

The token that identifies which batch of results you want to see.

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

A list of the recommendations for the customer's application.

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

A list of the recommendations for the customer's application.

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

A list of the recommendations for the customer's application.

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

A list of the recommendations for the customer's application.

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

A list of the recommendations for the customer's application.

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

A list of the recommendations for the customer's application.

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

A list of the recommendations for the customer's application.

*/ inline GetArchitectureRecommendationsResult& 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 GetArchitectureRecommendationsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetArchitectureRecommendationsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetArchitectureRecommendationsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Utils::DateTime m_lastAuditTimestamp; Aws::String m_nextToken; Aws::Vector m_recommendations; Aws::String m_requestId; }; } // namespace Model } // namespace Route53RecoveryReadiness } // namespace Aws