/** * 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 Rekognition { namespace Model { class DetectCustomLabelsResult { public: AWS_REKOGNITION_API DetectCustomLabelsResult(); AWS_REKOGNITION_API DetectCustomLabelsResult(const Aws::AmazonWebServiceResult& result); AWS_REKOGNITION_API 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; } 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 DetectCustomLabelsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DetectCustomLabelsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DetectCustomLabelsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_customLabels; Aws::String m_requestId; }; } // namespace Model } // namespace Rekognition } // namespace Aws