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

The subscriptions.

*/ inline const Aws::Vector& GetSubscriptions() const{ return m_subscriptions; } /** *

The subscriptions.

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

The subscriptions.

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

The subscriptions.

*/ inline DescribeNotificationSubscriptionsResult& WithSubscriptions(const Aws::Vector& value) { SetSubscriptions(value); return *this;} /** *

The subscriptions.

*/ inline DescribeNotificationSubscriptionsResult& WithSubscriptions(Aws::Vector&& value) { SetSubscriptions(std::move(value)); return *this;} /** *

The subscriptions.

*/ inline DescribeNotificationSubscriptionsResult& AddSubscriptions(const Subscription& value) { m_subscriptions.push_back(value); return *this; } /** *

The subscriptions.

*/ inline DescribeNotificationSubscriptionsResult& AddSubscriptions(Subscription&& value) { m_subscriptions.push_back(std::move(value)); return *this; } /** *

The marker to use when requesting the next set of results. If there are no * additional results, the string is empty.

*/ inline const Aws::String& GetMarker() const{ return m_marker; } /** *

The marker to use when requesting the next set of results. If there are no * additional results, the string is empty.

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

The marker to use when requesting the next set of results. If there are no * additional results, the string is empty.

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

The marker to use when requesting the next set of results. If there are no * additional results, the string is empty.

*/ inline void SetMarker(const char* value) { m_marker.assign(value); } /** *

The marker to use when requesting the next set of results. If there are no * additional results, the string is empty.

*/ inline DescribeNotificationSubscriptionsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;} /** *

The marker to use when requesting the next set of results. If there are no * additional results, the string is empty.

*/ inline DescribeNotificationSubscriptionsResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;} /** *

The marker to use when requesting the next set of results. If there are no * additional results, the string is empty.

*/ inline DescribeNotificationSubscriptionsResult& WithMarker(const char* value) { SetMarker(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 DescribeNotificationSubscriptionsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeNotificationSubscriptionsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeNotificationSubscriptionsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_subscriptions; Aws::String m_marker; Aws::String m_requestId; }; } // namespace Model } // namespace WorkDocs } // namespace Aws