AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UtteranceLevelTestResults.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/UtteranceLevelTestResultItem.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 UtteranceLevelTestResults();
39 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::Vector<UtteranceLevelTestResultItem>& GetItems() const{ return m_items; }
48 inline bool ItemsHasBeenSet() const { return m_itemsHasBeenSet; }
49 inline void SetItems(const Aws::Vector<UtteranceLevelTestResultItem>& value) { m_itemsHasBeenSet = true; m_items = value; }
50 inline void SetItems(Aws::Vector<UtteranceLevelTestResultItem>&& value) { m_itemsHasBeenSet = true; m_items = std::move(value); }
53 inline UtteranceLevelTestResults& AddItems(const UtteranceLevelTestResultItem& value) { m_itemsHasBeenSet = true; m_items.push_back(value); return *this; }
54 inline UtteranceLevelTestResults& AddItems(UtteranceLevelTestResultItem&& value) { m_itemsHasBeenSet = true; m_items.push_back(std::move(value)); return *this; }
56 private:
57
59 bool m_itemsHasBeenSet = false;
60 };
61
62} // namespace Model
63} // namespace LexModelsV2
64} // namespace Aws
UtteranceLevelTestResults & WithItems(Aws::Vector< UtteranceLevelTestResultItem > &&value)
void SetItems(Aws::Vector< UtteranceLevelTestResultItem > &&value)
const Aws::Vector< UtteranceLevelTestResultItem > & GetItems() const
AWS_LEXMODELSV2_API UtteranceLevelTestResults & operator=(Aws::Utils::Json::JsonView jsonValue)
UtteranceLevelTestResults & AddItems(const UtteranceLevelTestResultItem &value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
UtteranceLevelTestResults & AddItems(UtteranceLevelTestResultItem &&value)
UtteranceLevelTestResults & WithItems(const Aws::Vector< UtteranceLevelTestResultItem > &value)
AWS_LEXMODELSV2_API UtteranceLevelTestResults(Aws::Utils::Json::JsonView jsonValue)
void SetItems(const Aws::Vector< UtteranceLevelTestResultItem > &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue