/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #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 GetReadinessCheckStatusResult { public: AWS_ROUTE53RECOVERYREADINESS_API GetReadinessCheckStatusResult(); AWS_ROUTE53RECOVERYREADINESS_API GetReadinessCheckStatusResult(const Aws::AmazonWebServiceResult& result); AWS_ROUTE53RECOVERYREADINESS_API GetReadinessCheckStatusResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Top level messages for readiness check status

*/ inline const Aws::Vector& GetMessages() const{ return m_messages; } /** *

Top level messages for readiness check status

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

Top level messages for readiness check status

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

Top level messages for readiness check status

*/ inline GetReadinessCheckStatusResult& WithMessages(const Aws::Vector& value) { SetMessages(value); return *this;} /** *

Top level messages for readiness check status

*/ inline GetReadinessCheckStatusResult& WithMessages(Aws::Vector&& value) { SetMessages(std::move(value)); return *this;} /** *

Top level messages for readiness check status

*/ inline GetReadinessCheckStatusResult& AddMessages(const Message& value) { m_messages.push_back(value); return *this; } /** *

Top level messages for readiness check status

*/ inline GetReadinessCheckStatusResult& AddMessages(Message&& value) { m_messages.push_back(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 GetReadinessCheckStatusResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

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

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

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

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

The readiness at rule level.

*/ inline const Readiness& GetReadiness() const{ return m_readiness; } /** *

The readiness at rule level.

*/ inline void SetReadiness(const Readiness& value) { m_readiness = value; } /** *

The readiness at rule level.

*/ inline void SetReadiness(Readiness&& value) { m_readiness = std::move(value); } /** *

The readiness at rule level.

*/ inline GetReadinessCheckStatusResult& WithReadiness(const Readiness& value) { SetReadiness(value); return *this;} /** *

The readiness at rule level.

*/ inline GetReadinessCheckStatusResult& WithReadiness(Readiness&& value) { SetReadiness(std::move(value)); return *this;} /** *

Summary of the readiness of resources.

*/ inline const Aws::Vector& GetResources() const{ return m_resources; } /** *

Summary of the readiness of resources.

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

Summary of the readiness of resources.

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

Summary of the readiness of resources.

*/ inline GetReadinessCheckStatusResult& WithResources(const Aws::Vector& value) { SetResources(value); return *this;} /** *

Summary of the readiness of resources.

*/ inline GetReadinessCheckStatusResult& WithResources(Aws::Vector&& value) { SetResources(std::move(value)); return *this;} /** *

Summary of the readiness of resources.

*/ inline GetReadinessCheckStatusResult& AddResources(const ResourceResult& value) { m_resources.push_back(value); return *this; } /** *

Summary of the readiness of resources.

*/ inline GetReadinessCheckStatusResult& AddResources(ResourceResult&& value) { m_resources.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 GetReadinessCheckStatusResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetReadinessCheckStatusResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetReadinessCheckStatusResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_messages; Aws::String m_nextToken; Readiness m_readiness; Aws::Vector m_resources; Aws::String m_requestId; }; } // namespace Model } // namespace Route53RecoveryReadiness } // namespace Aws