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

The names of the delivery streams.

*/ inline const Aws::Vector& GetDeliveryStreamNames() const{ return m_deliveryStreamNames; } /** *

The names of the delivery streams.

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

The names of the delivery streams.

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

The names of the delivery streams.

*/ inline ListDeliveryStreamsResult& WithDeliveryStreamNames(const Aws::Vector& value) { SetDeliveryStreamNames(value); return *this;} /** *

The names of the delivery streams.

*/ inline ListDeliveryStreamsResult& WithDeliveryStreamNames(Aws::Vector&& value) { SetDeliveryStreamNames(std::move(value)); return *this;} /** *

The names of the delivery streams.

*/ inline ListDeliveryStreamsResult& AddDeliveryStreamNames(const Aws::String& value) { m_deliveryStreamNames.push_back(value); return *this; } /** *

The names of the delivery streams.

*/ inline ListDeliveryStreamsResult& AddDeliveryStreamNames(Aws::String&& value) { m_deliveryStreamNames.push_back(std::move(value)); return *this; } /** *

The names of the delivery streams.

*/ inline ListDeliveryStreamsResult& AddDeliveryStreamNames(const char* value) { m_deliveryStreamNames.push_back(value); return *this; } /** *

Indicates whether there are more delivery streams available to list.

*/ inline bool GetHasMoreDeliveryStreams() const{ return m_hasMoreDeliveryStreams; } /** *

Indicates whether there are more delivery streams available to list.

*/ inline void SetHasMoreDeliveryStreams(bool value) { m_hasMoreDeliveryStreams = value; } /** *

Indicates whether there are more delivery streams available to list.

*/ inline ListDeliveryStreamsResult& WithHasMoreDeliveryStreams(bool value) { SetHasMoreDeliveryStreams(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 ListDeliveryStreamsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListDeliveryStreamsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListDeliveryStreamsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_deliveryStreamNames; bool m_hasMoreDeliveryStreams; Aws::String m_requestId; }; } // namespace Model } // namespace Firehose } // namespace Aws