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

Represents the output for ListStreams.

See Also:

* AWS * API Reference

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

The names of the streams that are associated with the Amazon Web Services * account making the ListStreams request.

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

The names of the streams that are associated with the Amazon Web Services * 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 Amazon Web Services * 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 Amazon Web Services * 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 Amazon Web Services * 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 Amazon Web Services * 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 Amazon Web Services * 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 Amazon Web Services * 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;} /** *

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

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

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

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

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

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

*/ inline ListStreamsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** *

*/ inline const Aws::Vector& GetStreamSummaries() const{ return m_streamSummaries; } /** *

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

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

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

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

*/ inline ListStreamsResult& AddStreamSummaries(const StreamSummary& value) { m_streamSummaries.push_back(value); return *this; } /** *

*/ inline ListStreamsResult& AddStreamSummaries(StreamSummary&& value) { m_streamSummaries.push_back(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 ListStreamsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListStreamsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListStreamsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_streamNames; bool m_hasMoreStreams; Aws::String m_nextToken; Aws::Vector m_streamSummaries; Aws::String m_requestId; }; } // namespace Model } // namespace Kinesis } // namespace Aws