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

Stream key used to authenticate an RTMPS stream for ingestion.

*/ inline const StreamKey& GetStreamKey() const{ return m_streamKey; } /** *

Stream key used to authenticate an RTMPS stream for ingestion.

*/ inline void SetStreamKey(const StreamKey& value) { m_streamKey = value; } /** *

Stream key used to authenticate an RTMPS stream for ingestion.

*/ inline void SetStreamKey(StreamKey&& value) { m_streamKey = std::move(value); } /** *

Stream key used to authenticate an RTMPS stream for ingestion.

*/ inline CreateStreamKeyResult& WithStreamKey(const StreamKey& value) { SetStreamKey(value); return *this;} /** *

Stream key used to authenticate an RTMPS stream for ingestion.

*/ inline CreateStreamKeyResult& WithStreamKey(StreamKey&& value) { SetStreamKey(std::move(value)); return *this;} private: StreamKey m_streamKey; }; } // namespace Model } // namespace IVS } // namespace Aws