AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OverallTestResults.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/OverallTestResultItem.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
33 {
34 public:
35 AWS_LEXMODELSV2_API OverallTestResults();
36 AWS_LEXMODELSV2_API OverallTestResults(Aws::Utils::Json::JsonView jsonValue);
38 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::Vector<OverallTestResultItem>& GetItems() const{ return m_items; }
46 inline bool ItemsHasBeenSet() const { return m_itemsHasBeenSet; }
47 inline void SetItems(const Aws::Vector<OverallTestResultItem>& value) { m_itemsHasBeenSet = true; m_items = value; }
48 inline void SetItems(Aws::Vector<OverallTestResultItem>&& value) { m_itemsHasBeenSet = true; m_items = std::move(value); }
49 inline OverallTestResults& WithItems(const Aws::Vector<OverallTestResultItem>& value) { SetItems(value); return *this;}
50 inline OverallTestResults& WithItems(Aws::Vector<OverallTestResultItem>&& value) { SetItems(std::move(value)); return *this;}
51 inline OverallTestResults& AddItems(const OverallTestResultItem& value) { m_itemsHasBeenSet = true; m_items.push_back(value); return *this; }
52 inline OverallTestResults& AddItems(OverallTestResultItem&& value) { m_itemsHasBeenSet = true; m_items.push_back(std::move(value)); return *this; }
54 private:
55
57 bool m_itemsHasBeenSet = false;
58 };
59
60} // namespace Model
61} // namespace LexModelsV2
62} // namespace Aws
void SetItems(const Aws::Vector< OverallTestResultItem > &value)
OverallTestResults & WithItems(const Aws::Vector< OverallTestResultItem > &value)
OverallTestResults & AddItems(const OverallTestResultItem &value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
OverallTestResults & AddItems(OverallTestResultItem &&value)
const Aws::Vector< OverallTestResultItem > & GetItems() const
AWS_LEXMODELSV2_API OverallTestResults & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELSV2_API OverallTestResults(Aws::Utils::Json::JsonView jsonValue)
OverallTestResults & WithItems(Aws::Vector< OverallTestResultItem > &&value)
void SetItems(Aws::Vector< OverallTestResultItem > &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue