AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SlotResolutionTestResultItem.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lexv2-models/model/SlotResolutionTestResultItemCounts.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 SlotResolutionTestResultItem();
39 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetSlotName() const{ return m_slotName; }
47 inline bool SlotNameHasBeenSet() const { return m_slotNameHasBeenSet; }
48 inline void SetSlotName(const Aws::String& value) { m_slotNameHasBeenSet = true; m_slotName = value; }
49 inline void SetSlotName(Aws::String&& value) { m_slotNameHasBeenSet = true; m_slotName = std::move(value); }
50 inline void SetSlotName(const char* value) { m_slotNameHasBeenSet = true; m_slotName.assign(value); }
51 inline SlotResolutionTestResultItem& WithSlotName(const Aws::String& value) { SetSlotName(value); return *this;}
52 inline SlotResolutionTestResultItem& WithSlotName(Aws::String&& value) { SetSlotName(std::move(value)); return *this;}
53 inline SlotResolutionTestResultItem& WithSlotName(const char* value) { SetSlotName(value); return *this;}
55
57
60 inline const SlotResolutionTestResultItemCounts& GetResultCounts() const{ return m_resultCounts; }
61 inline bool ResultCountsHasBeenSet() const { return m_resultCountsHasBeenSet; }
62 inline void SetResultCounts(const SlotResolutionTestResultItemCounts& value) { m_resultCountsHasBeenSet = true; m_resultCounts = value; }
63 inline void SetResultCounts(SlotResolutionTestResultItemCounts&& value) { m_resultCountsHasBeenSet = true; m_resultCounts = std::move(value); }
67 private:
68
69 Aws::String m_slotName;
70 bool m_slotNameHasBeenSet = false;
71
73 bool m_resultCountsHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace LexModelsV2
78} // namespace Aws
AWS_LEXMODELSV2_API SlotResolutionTestResultItem(Aws::Utils::Json::JsonView jsonValue)
void SetResultCounts(const SlotResolutionTestResultItemCounts &value)
SlotResolutionTestResultItem & WithResultCounts(SlotResolutionTestResultItemCounts &&value)
SlotResolutionTestResultItem & WithSlotName(const char *value)
void SetResultCounts(SlotResolutionTestResultItemCounts &&value)
const SlotResolutionTestResultItemCounts & GetResultCounts() const
AWS_LEXMODELSV2_API SlotResolutionTestResultItem & operator=(Aws::Utils::Json::JsonView jsonValue)
SlotResolutionTestResultItem & WithResultCounts(const SlotResolutionTestResultItemCounts &value)
SlotResolutionTestResultItem & WithSlotName(const Aws::String &value)
SlotResolutionTestResultItem & WithSlotName(Aws::String &&value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue