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

The labels used in the document being analyzed. Individual labels represent * personally identifiable information (PII) entity types.

*/ inline const Aws::Vector& GetLabels() const{ return m_labels; } /** *

The labels used in the document being analyzed. Individual labels represent * personally identifiable information (PII) entity types.

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

The labels used in the document being analyzed. Individual labels represent * personally identifiable information (PII) entity types.

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

The labels used in the document being analyzed. Individual labels represent * personally identifiable information (PII) entity types.

*/ inline ContainsPiiEntitiesResult& WithLabels(const Aws::Vector& value) { SetLabels(value); return *this;} /** *

The labels used in the document being analyzed. Individual labels represent * personally identifiable information (PII) entity types.

*/ inline ContainsPiiEntitiesResult& WithLabels(Aws::Vector&& value) { SetLabels(std::move(value)); return *this;} /** *

The labels used in the document being analyzed. Individual labels represent * personally identifiable information (PII) entity types.

*/ inline ContainsPiiEntitiesResult& AddLabels(const EntityLabel& value) { m_labels.push_back(value); return *this; } /** *

The labels used in the document being analyzed. Individual labels represent * personally identifiable information (PII) entity types.

*/ inline ContainsPiiEntitiesResult& AddLabels(EntityLabel&& value) { m_labels.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 ContainsPiiEntitiesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ContainsPiiEntitiesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ContainsPiiEntitiesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_labels; Aws::String m_requestId; }; } // namespace Model } // namespace Comprehend } // namespace Aws