AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IntentLevelSlotResolutionTestResults.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/IntentLevelSlotResolutionTestResultItem.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:
39 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<IntentLevelSlotResolutionTestResultItem>& GetItems() const{ return m_items; }
47 inline bool ItemsHasBeenSet() const { return m_itemsHasBeenSet; }
48 inline void SetItems(const Aws::Vector<IntentLevelSlotResolutionTestResultItem>& value) { m_itemsHasBeenSet = true; m_items = value; }
49 inline void SetItems(Aws::Vector<IntentLevelSlotResolutionTestResultItem>&& value) { m_itemsHasBeenSet = true; m_items = std::move(value); }
52 inline IntentLevelSlotResolutionTestResults& AddItems(const IntentLevelSlotResolutionTestResultItem& value) { m_itemsHasBeenSet = true; m_items.push_back(value); return *this; }
53 inline IntentLevelSlotResolutionTestResults& AddItems(IntentLevelSlotResolutionTestResultItem&& 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 IntentLevelSlotResolutionTestResults(Aws::Utils::Json::JsonView jsonValue)
void SetItems(Aws::Vector< IntentLevelSlotResolutionTestResultItem > &&value)
IntentLevelSlotResolutionTestResults & AddItems(const IntentLevelSlotResolutionTestResultItem &value)
IntentLevelSlotResolutionTestResults & WithItems(Aws::Vector< IntentLevelSlotResolutionTestResultItem > &&value)
void SetItems(const Aws::Vector< IntentLevelSlotResolutionTestResultItem > &value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
IntentLevelSlotResolutionTestResults & WithItems(const Aws::Vector< IntentLevelSlotResolutionTestResultItem > &value)
const Aws::Vector< IntentLevelSlotResolutionTestResultItem > & GetItems() const
AWS_LEXMODELSV2_API IntentLevelSlotResolutionTestResults & operator=(Aws::Utils::Json::JsonView jsonValue)
IntentLevelSlotResolutionTestResults & AddItems(IntentLevelSlotResolutionTestResultItem &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue