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

If nextToken is returned, there are more results available. You can repeat * the call using the returned token to retrieve the next page.

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

If nextToken is returned, there are more results available. You can repeat * the call using the returned token to retrieve the next page.

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

If nextToken is returned, there are more results available. You can repeat * the call using the returned token to retrieve the next page.

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

If nextToken is returned, there are more results available. You can repeat * the call using the returned token to retrieve the next page.

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

If nextToken is returned, there are more results available. You can repeat * the call using the returned token to retrieve the next page.

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

If nextToken is returned, there are more results available. You can repeat * the call using the returned token to retrieve the next page.

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

If nextToken is returned, there are more results available. You can repeat * the call using the returned token to retrieve the next page.

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

The subscribers available for the specified Security Lake account ID.

*/ inline const Aws::Vector& GetSubscribers() const{ return m_subscribers; } /** *

The subscribers available for the specified Security Lake account ID.

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

The subscribers available for the specified Security Lake account ID.

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

The subscribers available for the specified Security Lake account ID.

*/ inline ListSubscribersResult& WithSubscribers(const Aws::Vector& value) { SetSubscribers(value); return *this;} /** *

The subscribers available for the specified Security Lake account ID.

*/ inline ListSubscribersResult& WithSubscribers(Aws::Vector&& value) { SetSubscribers(std::move(value)); return *this;} /** *

The subscribers available for the specified Security Lake account ID.

*/ inline ListSubscribersResult& AddSubscribers(const SubscriberResource& value) { m_subscribers.push_back(value); return *this; } /** *

The subscribers available for the specified Security Lake account ID.

*/ inline ListSubscribersResult& AddSubscribers(SubscriberResource&& value) { m_subscribers.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 ListSubscribersResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListSubscribersResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListSubscribersResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_nextToken; Aws::Vector m_subscribers; Aws::String m_requestId; }; } // namespace Model } // namespace SecurityLake } // namespace Aws