AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IntentClassificationTestResults.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/lexv2-models/model/IntentClassificationTestResultItem.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace LexModelsV2
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_LEXMODELSV2_API IntentClassificationTestResults();
39 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<IntentClassificationTestResultItem>& GetItems() const{ return m_items; }
47 inline bool ItemsHasBeenSet() const { return m_itemsHasBeenSet; }
48 inline void SetItems(const Aws::Vector<IntentClassificationTestResultItem>& value) { m_itemsHasBeenSet = true; m_items = value; }
49 inline void SetItems(Aws::Vector<IntentClassificationTestResultItem>&& value) { m_itemsHasBeenSet = true; m_items = std::move(value); }
52 inline IntentClassificationTestResults& AddItems(const IntentClassificationTestResultItem& value) { m_itemsHasBeenSet = true; m_items.push_back(value); return *this; }
53 inline IntentClassificationTestResults& AddItems(IntentClassificationTestResultItem&& value) { m_itemsHasBeenSet = true; m_items.push_back(std::move(value)); return *this; }
55 private:
56
58 bool m_itemsHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace LexModelsV2
63} // namespace Aws
AWS_LEXMODELSV2_API IntentClassificationTestResults & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetItems(Aws::Vector< IntentClassificationTestResultItem > &&value)
IntentClassificationTestResults & WithItems(Aws::Vector< IntentClassificationTestResultItem > &&value)
IntentClassificationTestResults & WithItems(const Aws::Vector< IntentClassificationTestResultItem > &value)
const Aws::Vector< IntentClassificationTestResultItem > & GetItems() const
IntentClassificationTestResults & AddItems(IntentClassificationTestResultItem &&value)
IntentClassificationTestResults & AddItems(const IntentClassificationTestResultItem &value)
AWS_LEXMODELSV2_API IntentClassificationTestResults(Aws::Utils::Json::JsonView jsonValue)
void SetItems(const Aws::Vector< IntentClassificationTestResultItem > &value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue