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

The participant that is returned.

*/ inline const Participant& GetParticipant() const{ return m_participant; } /** *

The participant that is returned.

*/ inline void SetParticipant(const Participant& value) { m_participant = value; } /** *

The participant that is returned.

*/ inline void SetParticipant(Participant&& value) { m_participant = std::move(value); } /** *

The participant that is returned.

*/ inline GetParticipantResult& WithParticipant(const Participant& value) { SetParticipant(value); return *this;} /** *

The participant that is returned.

*/ inline GetParticipantResult& WithParticipant(Participant&& value) { SetParticipant(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 GetParticipantResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetParticipantResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetParticipantResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Participant m_participant; Aws::String m_requestId; }; } // namespace Model } // namespace ivsrealtime } // namespace Aws