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

An array of collection IDs.

*/ inline const Aws::Vector& GetCollectionIds() const{ return m_collectionIds; } /** *

An array of collection IDs.

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

An array of collection IDs.

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

An array of collection IDs.

*/ inline ListCollectionsResult& WithCollectionIds(const Aws::Vector& value) { SetCollectionIds(value); return *this;} /** *

An array of collection IDs.

*/ inline ListCollectionsResult& WithCollectionIds(Aws::Vector&& value) { SetCollectionIds(std::move(value)); return *this;} /** *

An array of collection IDs.

*/ inline ListCollectionsResult& AddCollectionIds(const Aws::String& value) { m_collectionIds.push_back(value); return *this; } /** *

An array of collection IDs.

*/ inline ListCollectionsResult& AddCollectionIds(Aws::String&& value) { m_collectionIds.push_back(std::move(value)); return *this; } /** *

An array of collection IDs.

*/ inline ListCollectionsResult& AddCollectionIds(const char* value) { m_collectionIds.push_back(value); return *this; } /** *

If the result is truncated, the response provides a NextToken * that you can use in the subsequent request to fetch the next set of collection * IDs.

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

If the result is truncated, the response provides a NextToken * that you can use in the subsequent request to fetch the next set of collection * IDs.

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

If the result is truncated, the response provides a NextToken * that you can use in the subsequent request to fetch the next set of collection * IDs.

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

If the result is truncated, the response provides a NextToken * that you can use in the subsequent request to fetch the next set of collection * IDs.

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

If the result is truncated, the response provides a NextToken * that you can use in the subsequent request to fetch the next set of collection * IDs.

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

If the result is truncated, the response provides a NextToken * that you can use in the subsequent request to fetch the next set of collection * IDs.

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

If the result is truncated, the response provides a NextToken * that you can use in the subsequent request to fetch the next set of collection * IDs.

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

Version numbers of the face detection models associated with the collections * in the array CollectionIds. For example, the value of * FaceModelVersions[2] is the version number for the face detection * model used by the collection in CollectionId[2].

*/ inline const Aws::Vector& GetFaceModelVersions() const{ return m_faceModelVersions; } /** *

Version numbers of the face detection models associated with the collections * in the array CollectionIds. For example, the value of * FaceModelVersions[2] is the version number for the face detection * model used by the collection in CollectionId[2].

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

Version numbers of the face detection models associated with the collections * in the array CollectionIds. For example, the value of * FaceModelVersions[2] is the version number for the face detection * model used by the collection in CollectionId[2].

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

Version numbers of the face detection models associated with the collections * in the array CollectionIds. For example, the value of * FaceModelVersions[2] is the version number for the face detection * model used by the collection in CollectionId[2].

*/ inline ListCollectionsResult& WithFaceModelVersions(const Aws::Vector& value) { SetFaceModelVersions(value); return *this;} /** *

Version numbers of the face detection models associated with the collections * in the array CollectionIds. For example, the value of * FaceModelVersions[2] is the version number for the face detection * model used by the collection in CollectionId[2].

*/ inline ListCollectionsResult& WithFaceModelVersions(Aws::Vector&& value) { SetFaceModelVersions(std::move(value)); return *this;} /** *

Version numbers of the face detection models associated with the collections * in the array CollectionIds. For example, the value of * FaceModelVersions[2] is the version number for the face detection * model used by the collection in CollectionId[2].

*/ inline ListCollectionsResult& AddFaceModelVersions(const Aws::String& value) { m_faceModelVersions.push_back(value); return *this; } /** *

Version numbers of the face detection models associated with the collections * in the array CollectionIds. For example, the value of * FaceModelVersions[2] is the version number for the face detection * model used by the collection in CollectionId[2].

*/ inline ListCollectionsResult& AddFaceModelVersions(Aws::String&& value) { m_faceModelVersions.push_back(std::move(value)); return *this; } /** *

Version numbers of the face detection models associated with the collections * in the array CollectionIds. For example, the value of * FaceModelVersions[2] is the version number for the face detection * model used by the collection in CollectionId[2].

*/ inline ListCollectionsResult& AddFaceModelVersions(const char* value) { m_faceModelVersions.push_back(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 ListCollectionsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListCollectionsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListCollectionsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_collectionIds; Aws::String m_nextToken; Aws::Vector m_faceModelVersions; Aws::String m_requestId; }; } // namespace Model } // namespace Rekognition } // namespace Aws