/** * 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 Kinesis { namespace Model { /** *

Represents the output for ListStreams.

See Also:

* AWS * API Reference

*/ class AWS_KINESIS_API ListStreamsResult { public: ListStreamsResult(); ListStreamsResult(const Aws::AmazonWebServiceResult& result); ListStreamsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The names of the streams that are associated with the AWS account making the * ListStreams request.

*/ inline const Aws::Vector& GetStreamNames() const{ return m_streamNames; } /** *

The names of the streams that are associated with the AWS account making the * ListStreams request.

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

The names of the streams that are associated with the AWS account making the * ListStreams request.

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

The names of the streams that are associated with the AWS account making the * ListStreams request.

*/ inline ListStreamsResult& WithStreamNames(const Aws::Vector& value) { SetStreamNames(value); return *this;} /** *

The names of the streams that are associated with the AWS account making the * ListStreams request.

*/ inline ListStreamsResult& WithStreamNames(Aws::Vector&& value) { SetStreamNames(std::move(value)); return *this;} /** *

The names of the streams that are associated with the AWS account making the * ListStreams request.

*/ inline ListStreamsResult& AddStreamNames(const Aws::String& value) { m_streamNames.push_back(value); return *this; } /** *

The names of the streams that are associated with the AWS account making the * ListStreams request.

*/ inline ListStreamsResult& AddStreamNames(Aws::String&& value) { m_streamNames.push_back(std::move(value)); return *this; } /** *

The names of the streams that are associated with the AWS account making the * ListStreams request.

*/ inline ListStreamsResult& AddStreamNames(const char* value) { m_streamNames.push_back(value); return *this; } /** *

If set to true, there are more streams available to list.

*/ inline bool GetHasMoreStreams() const{ return m_hasMoreStreams; } /** *

If set to true, there are more streams available to list.

*/ inline void SetHasMoreStreams(bool value) { m_hasMoreStreams = value; } /** *

If set to true, there are more streams available to list.

*/ inline ListStreamsResult& WithHasMoreStreams(bool value) { SetHasMoreStreams(value); return *this;} private: Aws::Vector m_streamNames; bool m_hasMoreStreams; }; } // namespace Model } // namespace Kinesis } // namespace Aws