AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
IntentStatistics.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace LexModelsV2 {
17namespace Model {
18
26 public:
27 AWS_LEXMODELSV2_API IntentStatistics() = default;
28 AWS_LEXMODELSV2_API IntentStatistics(Aws::Utils::Json::JsonView jsonValue);
29 AWS_LEXMODELSV2_API IntentStatistics& operator=(Aws::Utils::Json::JsonView jsonValue);
30 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
36 inline int GetDiscoveredIntentCount() const { return m_discoveredIntentCount; }
37 inline bool DiscoveredIntentCountHasBeenSet() const { return m_discoveredIntentCountHasBeenSet; }
38 inline void SetDiscoveredIntentCount(int value) {
39 m_discoveredIntentCountHasBeenSet = true;
40 m_discoveredIntentCount = value;
41 }
44 return *this;
45 }
47 private:
48 int m_discoveredIntentCount{0};
49 bool m_discoveredIntentCountHasBeenSet = false;
50};
51
52} // namespace Model
53} // namespace LexModelsV2
54} // namespace Aws
AWS_LEXMODELSV2_API IntentStatistics()=default
AWS_LEXMODELSV2_API IntentStatistics(Aws::Utils::Json::JsonView jsonValue)
IntentStatistics & WithDiscoveredIntentCount(int value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LEXMODELSV2_API IntentStatistics & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue