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

Contains the list of geofence collection ARNs associated to the tracker * resource.

*/ inline const Aws::Vector& GetConsumerArns() const{ return m_consumerArns; } /** *

Contains the list of geofence collection ARNs associated to the tracker * resource.

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

Contains the list of geofence collection ARNs associated to the tracker * resource.

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

Contains the list of geofence collection ARNs associated to the tracker * resource.

*/ inline ListTrackerConsumersResult& WithConsumerArns(const Aws::Vector& value) { SetConsumerArns(value); return *this;} /** *

Contains the list of geofence collection ARNs associated to the tracker * resource.

*/ inline ListTrackerConsumersResult& WithConsumerArns(Aws::Vector&& value) { SetConsumerArns(std::move(value)); return *this;} /** *

Contains the list of geofence collection ARNs associated to the tracker * resource.

*/ inline ListTrackerConsumersResult& AddConsumerArns(const Aws::String& value) { m_consumerArns.push_back(value); return *this; } /** *

Contains the list of geofence collection ARNs associated to the tracker * resource.

*/ inline ListTrackerConsumersResult& AddConsumerArns(Aws::String&& value) { m_consumerArns.push_back(std::move(value)); return *this; } /** *

Contains the list of geofence collection ARNs associated to the tracker * resource.

*/ inline ListTrackerConsumersResult& AddConsumerArns(const char* value) { m_consumerArns.push_back(value); return *this; } /** *

A pagination token indicating there are additional pages available. You can * use the token in a following request to fetch the next set of results.

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

A pagination token indicating there are additional pages available. You can * use the token in a following request to fetch the next set of results.

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

A pagination token indicating there are additional pages available. You can * use the token in a following request to fetch the next set of results.

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

A pagination token indicating there are additional pages available. You can * use the token in a following request to fetch the next set of results.

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

A pagination token indicating there are additional pages available. You can * use the token in a following request to fetch the next set of results.

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

A pagination token indicating there are additional pages available. You can * use the token in a following request to fetch the next set of results.

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

A pagination token indicating there are additional pages available. You can * use the token in a following request to fetch the next set of results.

*/ inline ListTrackerConsumersResult& WithNextToken(const char* value) { SetNextToken(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 ListTrackerConsumersResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListTrackerConsumersResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListTrackerConsumersResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_consumerArns; Aws::String m_nextToken; Aws::String m_requestId; }; } // namespace Model } // namespace LocationService } // namespace Aws