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

To retrieve the next set of results, the nextToken value from a * previous response; otherwise null to receive the first set of * results.

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

To retrieve the next set of results, the nextToken value from a * previous response; otherwise null to receive the first set of * results.

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

To retrieve the next set of results, the nextToken value from a * previous response; otherwise null to receive the first set of * results.

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

To retrieve the next set of results, the nextToken value from a * previous response; otherwise null to receive the first set of * results.

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

To retrieve the next set of results, the nextToken value from a * previous response; otherwise null to receive the first set of * results.

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

To retrieve the next set of results, the nextToken value from a * previous response; otherwise null to receive the first set of * results.

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

To retrieve the next set of results, the nextToken value from a * previous response; otherwise null to receive the first set of * results.

*/ inline ListMulticastGroupsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} inline const Aws::Vector& GetMulticastGroupList() const{ return m_multicastGroupList; } inline void SetMulticastGroupList(const Aws::Vector& value) { m_multicastGroupList = value; } inline void SetMulticastGroupList(Aws::Vector&& value) { m_multicastGroupList = std::move(value); } inline ListMulticastGroupsResult& WithMulticastGroupList(const Aws::Vector& value) { SetMulticastGroupList(value); return *this;} inline ListMulticastGroupsResult& WithMulticastGroupList(Aws::Vector&& value) { SetMulticastGroupList(std::move(value)); return *this;} inline ListMulticastGroupsResult& AddMulticastGroupList(const MulticastGroup& value) { m_multicastGroupList.push_back(value); return *this; } inline ListMulticastGroupsResult& AddMulticastGroupList(MulticastGroup&& value) { m_multicastGroupList.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 ListMulticastGroupsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListMulticastGroupsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListMulticastGroupsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_nextToken; Aws::Vector m_multicastGroupList; Aws::String m_requestId; }; } // namespace Model } // namespace IoTWireless } // namespace Aws