7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/comprehend/model/DocumentClassifierMode.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/crt/cbor/Cbor.h>
35 AWS_COMPREHEND_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
45 m_modeHasBeenSet =
true;
60 template <
typename LabelsT = Aws::Vector<Aws::String>>
62 m_labelsHasBeenSet =
true;
63 m_labels = std::forward<LabelsT>(value);
65 template <
typename LabelsT = Aws::Vector<Aws::String>>
70 template <
typename LabelsT = Aws::String>
72 m_labelsHasBeenSet =
true;
73 m_labels.emplace_back(std::forward<LabelsT>(value));
81 bool m_modeHasBeenSet =
false;
82 bool m_labelsHasBeenSet =
false;
bool LabelsHasBeenSet() const
DocumentClassificationConfig & AddLabels(LabelsT &&value)
void SetLabels(LabelsT &&value)
AWS_COMPREHEND_API DocumentClassificationConfig(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool ModeHasBeenSet() const
AWS_COMPREHEND_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_COMPREHEND_API DocumentClassificationConfig & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
const Aws::Vector< Aws::String > & GetLabels() const
DocumentClassificationConfig & WithMode(DocumentClassifierMode value)
AWS_COMPREHEND_API DocumentClassificationConfig()=default
DocumentClassificationConfig & WithLabels(LabelsT &&value)
DocumentClassifierMode GetMode() const
void SetMode(DocumentClassifierMode value)
std::vector< T, Aws::Allocator< T > > Vector