/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace KinesisVideo { namespace Model { class ListSignalingChannelsResult { public: AWS_KINESISVIDEO_API ListSignalingChannelsResult(); AWS_KINESISVIDEO_API ListSignalingChannelsResult(const Aws::AmazonWebServiceResult& result); AWS_KINESISVIDEO_API ListSignalingChannelsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

An array of ChannelInfo objects.

*/ inline const Aws::Vector& GetChannelInfoList() const{ return m_channelInfoList; } /** *

An array of ChannelInfo objects.

*/ inline void SetChannelInfoList(const Aws::Vector& value) { m_channelInfoList = value; } /** *

An array of ChannelInfo objects.

*/ inline void SetChannelInfoList(Aws::Vector&& value) { m_channelInfoList = std::move(value); } /** *

An array of ChannelInfo objects.

*/ inline ListSignalingChannelsResult& WithChannelInfoList(const Aws::Vector& value) { SetChannelInfoList(value); return *this;} /** *

An array of ChannelInfo objects.

*/ inline ListSignalingChannelsResult& WithChannelInfoList(Aws::Vector&& value) { SetChannelInfoList(std::move(value)); return *this;} /** *

An array of ChannelInfo objects.

*/ inline ListSignalingChannelsResult& AddChannelInfoList(const ChannelInfo& value) { m_channelInfoList.push_back(value); return *this; } /** *

An array of ChannelInfo objects.

*/ inline ListSignalingChannelsResult& AddChannelInfoList(ChannelInfo&& value) { m_channelInfoList.push_back(std::move(value)); return *this; } /** *

If the response is truncated, the call returns this element with a token. To * get the next batch of streams, use this token in your next request.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

If the response is truncated, the call returns this element with a token. To * get the next batch of streams, use this token in your next request.

*/ inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } /** *

If the response is truncated, the call returns this element with a token. To * get the next batch of streams, use this token in your next request.

*/ inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } /** *

If the response is truncated, the call returns this element with a token. To * get the next batch of streams, use this token in your next request.

*/ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** *

If the response is truncated, the call returns this element with a token. To * get the next batch of streams, use this token in your next request.

*/ inline ListSignalingChannelsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

If the response is truncated, the call returns this element with a token. To * get the next batch of streams, use this token in your next request.

*/ inline ListSignalingChannelsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

If the response is truncated, the call returns this element with a token. To * get the next batch of streams, use this token in your next request.

*/ inline ListSignalingChannelsResult& WithNextToken(const char* value) { SetNextToken(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 ListSignalingChannelsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListSignalingChannelsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListSignalingChannelsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_channelInfoList; Aws::String m_nextToken; Aws::String m_requestId; }; } // namespace Model } // namespace KinesisVideo } // namespace Aws