/** * 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 Pinpoint { namespace Model { class GetVoiceChannelResult { public: AWS_PINPOINT_API GetVoiceChannelResult(); AWS_PINPOINT_API GetVoiceChannelResult(const Aws::AmazonWebServiceResult& result); AWS_PINPOINT_API GetVoiceChannelResult& operator=(const Aws::AmazonWebServiceResult& result); inline const VoiceChannelResponse& GetVoiceChannelResponse() const{ return m_voiceChannelResponse; } inline void SetVoiceChannelResponse(const VoiceChannelResponse& value) { m_voiceChannelResponse = value; } inline void SetVoiceChannelResponse(VoiceChannelResponse&& value) { m_voiceChannelResponse = std::move(value); } inline GetVoiceChannelResult& WithVoiceChannelResponse(const VoiceChannelResponse& value) { SetVoiceChannelResponse(value); return *this;} inline GetVoiceChannelResult& WithVoiceChannelResponse(VoiceChannelResponse&& value) { SetVoiceChannelResponse(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 GetVoiceChannelResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetVoiceChannelResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetVoiceChannelResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: VoiceChannelResponse m_voiceChannelResponse; Aws::String m_requestId; }; } // namespace Model } // namespace Pinpoint } // namespace Aws