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

The termination health details.

*/ inline const TerminationHealth& GetTerminationHealth() const{ return m_terminationHealth; } /** *

The termination health details.

*/ inline void SetTerminationHealth(const TerminationHealth& value) { m_terminationHealth = value; } /** *

The termination health details.

*/ inline void SetTerminationHealth(TerminationHealth&& value) { m_terminationHealth = std::move(value); } /** *

The termination health details.

*/ inline GetVoiceConnectorTerminationHealthResult& WithTerminationHealth(const TerminationHealth& value) { SetTerminationHealth(value); return *this;} /** *

The termination health details.

*/ inline GetVoiceConnectorTerminationHealthResult& WithTerminationHealth(TerminationHealth&& value) { SetTerminationHealth(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 GetVoiceConnectorTerminationHealthResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetVoiceConnectorTerminationHealthResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetVoiceConnectorTerminationHealthResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: TerminationHealth m_terminationHealth; Aws::String m_requestId; }; } // namespace Model } // namespace ChimeSDKVoice } // namespace Aws