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

The status of the case returned by the ResolveCase * operation.

See Also:

AWS * API Reference

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

The status of the case when the ResolveCase request was sent.

*/ inline const Aws::String& GetInitialCaseStatus() const{ return m_initialCaseStatus; } /** *

The status of the case when the ResolveCase request was sent.

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

The status of the case when the ResolveCase request was sent.

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

The status of the case when the ResolveCase request was sent.

*/ inline void SetInitialCaseStatus(const char* value) { m_initialCaseStatus.assign(value); } /** *

The status of the case when the ResolveCase request was sent.

*/ inline ResolveCaseResult& WithInitialCaseStatus(const Aws::String& value) { SetInitialCaseStatus(value); return *this;} /** *

The status of the case when the ResolveCase request was sent.

*/ inline ResolveCaseResult& WithInitialCaseStatus(Aws::String&& value) { SetInitialCaseStatus(std::move(value)); return *this;} /** *

The status of the case when the ResolveCase request was sent.

*/ inline ResolveCaseResult& WithInitialCaseStatus(const char* value) { SetInitialCaseStatus(value); return *this;} /** *

The status of the case after the ResolveCase request was * processed.

*/ inline const Aws::String& GetFinalCaseStatus() const{ return m_finalCaseStatus; } /** *

The status of the case after the ResolveCase request was * processed.

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

The status of the case after the ResolveCase request was * processed.

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

The status of the case after the ResolveCase request was * processed.

*/ inline void SetFinalCaseStatus(const char* value) { m_finalCaseStatus.assign(value); } /** *

The status of the case after the ResolveCase request was * processed.

*/ inline ResolveCaseResult& WithFinalCaseStatus(const Aws::String& value) { SetFinalCaseStatus(value); return *this;} /** *

The status of the case after the ResolveCase request was * processed.

*/ inline ResolveCaseResult& WithFinalCaseStatus(Aws::String&& value) { SetFinalCaseStatus(std::move(value)); return *this;} /** *

The status of the case after the ResolveCase request was * processed.

*/ inline ResolveCaseResult& WithFinalCaseStatus(const char* value) { SetFinalCaseStatus(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 ResolveCaseResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ResolveCaseResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ResolveCaseResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_initialCaseStatus; Aws::String m_finalCaseStatus; Aws::String m_requestId; }; } // namespace Model } // namespace Support } // namespace Aws