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

An array of custom labels detected in the input image.

*/ inline const Aws::Vector& GetCustomLabels() const{ return m_customLabels; } /** *

An array of custom labels detected in the input image.

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

An array of custom labels detected in the input image.

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

An array of custom labels detected in the input image.

*/ inline DetectCustomLabelsResult& WithCustomLabels(const Aws::Vector& value) { SetCustomLabels(value); return *this;} /** *

An array of custom labels detected in the input image.

*/ inline DetectCustomLabelsResult& WithCustomLabels(Aws::Vector&& value) { SetCustomLabels(std::move(value)); return *this;} /** *

An array of custom labels detected in the input image.

*/ inline DetectCustomLabelsResult& AddCustomLabels(const CustomLabel& value) { m_customLabels.push_back(value); return *this; } /** *

An array of custom labels detected in the input image.

*/ inline DetectCustomLabelsResult& AddCustomLabels(CustomLabel&& value) { m_customLabels.push_back(std::move(value)); return *this; } private: Aws::Vector m_customLabels; }; } // namespace Model } // namespace Rekognition } // namespace Aws