/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Support { namespace Model { /** *

The result of the Trusted Advisor check returned by the * DescribeTrustedAdvisorCheckResult operation.

See Also:

* AWS * API Reference

*/ class DescribeTrustedAdvisorCheckResultResult { public: AWS_SUPPORT_API DescribeTrustedAdvisorCheckResultResult(); AWS_SUPPORT_API DescribeTrustedAdvisorCheckResultResult(const Aws::AmazonWebServiceResult& result); AWS_SUPPORT_API DescribeTrustedAdvisorCheckResultResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The detailed results of the Trusted Advisor check.

*/ inline const TrustedAdvisorCheckResult& GetResult() const{ return m_result; } /** *

The detailed results of the Trusted Advisor check.

*/ inline void SetResult(const TrustedAdvisorCheckResult& value) { m_result = value; } /** *

The detailed results of the Trusted Advisor check.

*/ inline void SetResult(TrustedAdvisorCheckResult&& value) { m_result = std::move(value); } /** *

The detailed results of the Trusted Advisor check.

*/ inline DescribeTrustedAdvisorCheckResultResult& WithResult(const TrustedAdvisorCheckResult& value) { SetResult(value); return *this;} /** *

The detailed results of the Trusted Advisor check.

*/ inline DescribeTrustedAdvisorCheckResultResult& WithResult(TrustedAdvisorCheckResult&& value) { SetResult(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 DescribeTrustedAdvisorCheckResultResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeTrustedAdvisorCheckResultResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeTrustedAdvisorCheckResultResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: TrustedAdvisorCheckResult m_result; Aws::String m_requestId; }; } // namespace Model } // namespace Support } // namespace Aws