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

The participant token that was created.

*/ inline const ParticipantToken& GetParticipantToken() const{ return m_participantToken; } /** *

The participant token that was created.

*/ inline void SetParticipantToken(const ParticipantToken& value) { m_participantToken = value; } /** *

The participant token that was created.

*/ inline void SetParticipantToken(ParticipantToken&& value) { m_participantToken = std::move(value); } /** *

The participant token that was created.

*/ inline CreateParticipantTokenResult& WithParticipantToken(const ParticipantToken& value) { SetParticipantToken(value); return *this;} /** *

The participant token that was created.

*/ inline CreateParticipantTokenResult& WithParticipantToken(ParticipantToken&& value) { SetParticipantToken(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 CreateParticipantTokenResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateParticipantTokenResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateParticipantTokenResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: ParticipantToken m_participantToken; Aws::String m_requestId; }; } // namespace Model } // namespace ivsrealtime } // namespace Aws