/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides the category rules that are used to automatically categorize
* contacts based on uttered keywords and phrases.See Also:
AWS
* API Reference
The category rules that have been matched in the analyzed segment.
*/ inline const Aws::VectorThe category rules that have been matched in the analyzed segment.
*/ inline bool MatchedCategoriesHasBeenSet() const { return m_matchedCategoriesHasBeenSet; } /** *The category rules that have been matched in the analyzed segment.
*/ inline void SetMatchedCategories(const Aws::VectorThe category rules that have been matched in the analyzed segment.
*/ inline void SetMatchedCategories(Aws::VectorThe category rules that have been matched in the analyzed segment.
*/ inline Categories& WithMatchedCategories(const Aws::VectorThe category rules that have been matched in the analyzed segment.
*/ inline Categories& WithMatchedCategories(Aws::VectorThe category rules that have been matched in the analyzed segment.
*/ inline Categories& AddMatchedCategories(const Aws::String& value) { m_matchedCategoriesHasBeenSet = true; m_matchedCategories.push_back(value); return *this; } /** *The category rules that have been matched in the analyzed segment.
*/ inline Categories& AddMatchedCategories(Aws::String&& value) { m_matchedCategoriesHasBeenSet = true; m_matchedCategories.push_back(std::move(value)); return *this; } /** *The category rules that have been matched in the analyzed segment.
*/ inline Categories& AddMatchedCategories(const char* value) { m_matchedCategoriesHasBeenSet = true; m_matchedCategories.push_back(value); return *this; } /** *The category rule that was matched and when it occurred in the * transcript.
*/ inline const Aws::MapThe category rule that was matched and when it occurred in the * transcript.
*/ inline bool MatchedDetailsHasBeenSet() const { return m_matchedDetailsHasBeenSet; } /** *The category rule that was matched and when it occurred in the * transcript.
*/ inline void SetMatchedDetails(const Aws::MapThe category rule that was matched and when it occurred in the * transcript.
*/ inline void SetMatchedDetails(Aws::MapThe category rule that was matched and when it occurred in the * transcript.
*/ inline Categories& WithMatchedDetails(const Aws::MapThe category rule that was matched and when it occurred in the * transcript.
*/ inline Categories& WithMatchedDetails(Aws::MapThe category rule that was matched and when it occurred in the * transcript.
*/ inline Categories& AddMatchedDetails(const Aws::String& key, const CategoryDetails& value) { m_matchedDetailsHasBeenSet = true; m_matchedDetails.emplace(key, value); return *this; } /** *The category rule that was matched and when it occurred in the * transcript.
*/ inline Categories& AddMatchedDetails(Aws::String&& key, const CategoryDetails& value) { m_matchedDetailsHasBeenSet = true; m_matchedDetails.emplace(std::move(key), value); return *this; } /** *The category rule that was matched and when it occurred in the * transcript.
*/ inline Categories& AddMatchedDetails(const Aws::String& key, CategoryDetails&& value) { m_matchedDetailsHasBeenSet = true; m_matchedDetails.emplace(key, std::move(value)); return *this; } /** *The category rule that was matched and when it occurred in the * transcript.
*/ inline Categories& AddMatchedDetails(Aws::String&& key, CategoryDetails&& value) { m_matchedDetailsHasBeenSet = true; m_matchedDetails.emplace(std::move(key), std::move(value)); return *this; } /** *The category rule that was matched and when it occurred in the * transcript.
*/ inline Categories& AddMatchedDetails(const char* key, CategoryDetails&& value) { m_matchedDetailsHasBeenSet = true; m_matchedDetails.emplace(key, std::move(value)); return *this; } /** *The category rule that was matched and when it occurred in the * transcript.
*/ inline Categories& AddMatchedDetails(const char* key, const CategoryDetails& value) { m_matchedDetailsHasBeenSet = true; m_matchedDetails.emplace(key, value); return *this; } private: Aws::Vector