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

The number of faces that are indexed into the collection. To index faces into * a collection, use IndexFaces.

*/ inline long long GetFaceCount() const{ return m_faceCount; } /** *

The number of faces that are indexed into the collection. To index faces into * a collection, use IndexFaces.

*/ inline void SetFaceCount(long long value) { m_faceCount = value; } /** *

The number of faces that are indexed into the collection. To index faces into * a collection, use IndexFaces.

*/ inline DescribeCollectionResult& WithFaceCount(long long value) { SetFaceCount(value); return *this;} /** *

The version of the face model that's used by the collection for face * detection.

For more information, see Model Versioning in the Amazon * Rekognition Developer Guide.

*/ inline const Aws::String& GetFaceModelVersion() const{ return m_faceModelVersion; } /** *

The version of the face model that's used by the collection for face * detection.

For more information, see Model Versioning in the Amazon * Rekognition Developer Guide.

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

The version of the face model that's used by the collection for face * detection.

For more information, see Model Versioning in the Amazon * Rekognition Developer Guide.

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

The version of the face model that's used by the collection for face * detection.

For more information, see Model Versioning in the Amazon * Rekognition Developer Guide.

*/ inline void SetFaceModelVersion(const char* value) { m_faceModelVersion.assign(value); } /** *

The version of the face model that's used by the collection for face * detection.

For more information, see Model Versioning in the Amazon * Rekognition Developer Guide.

*/ inline DescribeCollectionResult& WithFaceModelVersion(const Aws::String& value) { SetFaceModelVersion(value); return *this;} /** *

The version of the face model that's used by the collection for face * detection.

For more information, see Model Versioning in the Amazon * Rekognition Developer Guide.

*/ inline DescribeCollectionResult& WithFaceModelVersion(Aws::String&& value) { SetFaceModelVersion(std::move(value)); return *this;} /** *

The version of the face model that's used by the collection for face * detection.

For more information, see Model Versioning in the Amazon * Rekognition Developer Guide.

*/ inline DescribeCollectionResult& WithFaceModelVersion(const char* value) { SetFaceModelVersion(value); return *this;} /** *

The Amazon Resource Name (ARN) of the collection.

*/ inline const Aws::String& GetCollectionARN() const{ return m_collectionARN; } /** *

The Amazon Resource Name (ARN) of the collection.

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

The Amazon Resource Name (ARN) of the collection.

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

The Amazon Resource Name (ARN) of the collection.

*/ inline void SetCollectionARN(const char* value) { m_collectionARN.assign(value); } /** *

The Amazon Resource Name (ARN) of the collection.

*/ inline DescribeCollectionResult& WithCollectionARN(const Aws::String& value) { SetCollectionARN(value); return *this;} /** *

The Amazon Resource Name (ARN) of the collection.

*/ inline DescribeCollectionResult& WithCollectionARN(Aws::String&& value) { SetCollectionARN(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the collection.

*/ inline DescribeCollectionResult& WithCollectionARN(const char* value) { SetCollectionARN(value); return *this;} /** *

The number of milliseconds since the Unix epoch time until the creation of * the collection. The Unix epoch time is 00:00:00 Coordinated Universal Time * (UTC), Thursday, 1 January 1970.

*/ inline const Aws::Utils::DateTime& GetCreationTimestamp() const{ return m_creationTimestamp; } /** *

The number of milliseconds since the Unix epoch time until the creation of * the collection. The Unix epoch time is 00:00:00 Coordinated Universal Time * (UTC), Thursday, 1 January 1970.

*/ inline void SetCreationTimestamp(const Aws::Utils::DateTime& value) { m_creationTimestamp = value; } /** *

The number of milliseconds since the Unix epoch time until the creation of * the collection. The Unix epoch time is 00:00:00 Coordinated Universal Time * (UTC), Thursday, 1 January 1970.

*/ inline void SetCreationTimestamp(Aws::Utils::DateTime&& value) { m_creationTimestamp = std::move(value); } /** *

The number of milliseconds since the Unix epoch time until the creation of * the collection. The Unix epoch time is 00:00:00 Coordinated Universal Time * (UTC), Thursday, 1 January 1970.

*/ inline DescribeCollectionResult& WithCreationTimestamp(const Aws::Utils::DateTime& value) { SetCreationTimestamp(value); return *this;} /** *

The number of milliseconds since the Unix epoch time until the creation of * the collection. The Unix epoch time is 00:00:00 Coordinated Universal Time * (UTC), Thursday, 1 January 1970.

*/ inline DescribeCollectionResult& WithCreationTimestamp(Aws::Utils::DateTime&& value) { SetCreationTimestamp(std::move(value)); return *this;} private: long long m_faceCount; Aws::String m_faceModelVersion; Aws::String m_collectionARN; Aws::Utils::DateTime m_creationTimestamp; }; } // namespace Model } // namespace Rekognition } // namespace Aws