AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AggregatedUtterancesSummary.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/core/utils/DateTime.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
35 {
36 public:
37 AWS_LEXMODELSV2_API AggregatedUtterancesSummary();
40 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
49 inline const Aws::String& GetUtterance() const{ return m_utterance; }
50 inline bool UtteranceHasBeenSet() const { return m_utteranceHasBeenSet; }
51 inline void SetUtterance(const Aws::String& value) { m_utteranceHasBeenSet = true; m_utterance = value; }
52 inline void SetUtterance(Aws::String&& value) { m_utteranceHasBeenSet = true; m_utterance = std::move(value); }
53 inline void SetUtterance(const char* value) { m_utteranceHasBeenSet = true; m_utterance.assign(value); }
54 inline AggregatedUtterancesSummary& WithUtterance(const Aws::String& value) { SetUtterance(value); return *this;}
55 inline AggregatedUtterancesSummary& WithUtterance(Aws::String&& value) { SetUtterance(std::move(value)); return *this;}
56 inline AggregatedUtterancesSummary& WithUtterance(const char* value) { SetUtterance(value); return *this;}
58
60
65 inline int GetHitCount() const{ return m_hitCount; }
66 inline bool HitCountHasBeenSet() const { return m_hitCountHasBeenSet; }
67 inline void SetHitCount(int value) { m_hitCountHasBeenSet = true; m_hitCount = value; }
68 inline AggregatedUtterancesSummary& WithHitCount(int value) { SetHitCount(value); return *this;}
70
72
76 inline int GetMissedCount() const{ return m_missedCount; }
77 inline bool MissedCountHasBeenSet() const { return m_missedCountHasBeenSet; }
78 inline void SetMissedCount(int value) { m_missedCountHasBeenSet = true; m_missedCount = value; }
79 inline AggregatedUtterancesSummary& WithMissedCount(int value) { SetMissedCount(value); return *this;}
81
83
88 inline const Aws::Utils::DateTime& GetUtteranceFirstRecordedInAggregationDuration() const{ return m_utteranceFirstRecordedInAggregationDuration; }
89 inline bool UtteranceFirstRecordedInAggregationDurationHasBeenSet() const { return m_utteranceFirstRecordedInAggregationDurationHasBeenSet; }
90 inline void SetUtteranceFirstRecordedInAggregationDuration(const Aws::Utils::DateTime& value) { m_utteranceFirstRecordedInAggregationDurationHasBeenSet = true; m_utteranceFirstRecordedInAggregationDuration = value; }
91 inline void SetUtteranceFirstRecordedInAggregationDuration(Aws::Utils::DateTime&& value) { m_utteranceFirstRecordedInAggregationDurationHasBeenSet = true; m_utteranceFirstRecordedInAggregationDuration = std::move(value); }
95
97
102 inline const Aws::Utils::DateTime& GetUtteranceLastRecordedInAggregationDuration() const{ return m_utteranceLastRecordedInAggregationDuration; }
103 inline bool UtteranceLastRecordedInAggregationDurationHasBeenSet() const { return m_utteranceLastRecordedInAggregationDurationHasBeenSet; }
104 inline void SetUtteranceLastRecordedInAggregationDuration(const Aws::Utils::DateTime& value) { m_utteranceLastRecordedInAggregationDurationHasBeenSet = true; m_utteranceLastRecordedInAggregationDuration = value; }
105 inline void SetUtteranceLastRecordedInAggregationDuration(Aws::Utils::DateTime&& value) { m_utteranceLastRecordedInAggregationDurationHasBeenSet = true; m_utteranceLastRecordedInAggregationDuration = std::move(value); }
109
111
116 inline bool GetContainsDataFromDeletedResources() const{ return m_containsDataFromDeletedResources; }
117 inline bool ContainsDataFromDeletedResourcesHasBeenSet() const { return m_containsDataFromDeletedResourcesHasBeenSet; }
118 inline void SetContainsDataFromDeletedResources(bool value) { m_containsDataFromDeletedResourcesHasBeenSet = true; m_containsDataFromDeletedResources = value; }
121 private:
122
123 Aws::String m_utterance;
124 bool m_utteranceHasBeenSet = false;
125
126 int m_hitCount;
127 bool m_hitCountHasBeenSet = false;
128
129 int m_missedCount;
130 bool m_missedCountHasBeenSet = false;
131
132 Aws::Utils::DateTime m_utteranceFirstRecordedInAggregationDuration;
133 bool m_utteranceFirstRecordedInAggregationDurationHasBeenSet = false;
134
135 Aws::Utils::DateTime m_utteranceLastRecordedInAggregationDuration;
136 bool m_utteranceLastRecordedInAggregationDurationHasBeenSet = false;
137
138 bool m_containsDataFromDeletedResources;
139 bool m_containsDataFromDeletedResourcesHasBeenSet = false;
140 };
141
142} // namespace Model
143} // namespace LexModelsV2
144} // namespace Aws
AggregatedUtterancesSummary & WithUtteranceLastRecordedInAggregationDuration(const Aws::Utils::DateTime &value)
AggregatedUtterancesSummary & WithUtterance(const char *value)
AggregatedUtterancesSummary & WithUtteranceLastRecordedInAggregationDuration(Aws::Utils::DateTime &&value)
AggregatedUtterancesSummary & WithContainsDataFromDeletedResources(bool value)
void SetUtteranceLastRecordedInAggregationDuration(Aws::Utils::DateTime &&value)
void SetUtteranceFirstRecordedInAggregationDuration(Aws::Utils::DateTime &&value)
AggregatedUtterancesSummary & WithUtteranceFirstRecordedInAggregationDuration(const Aws::Utils::DateTime &value)
AggregatedUtterancesSummary & WithUtteranceFirstRecordedInAggregationDuration(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetUtteranceFirstRecordedInAggregationDuration() const
AggregatedUtterancesSummary & WithUtterance(const Aws::String &value)
const Aws::Utils::DateTime & GetUtteranceLastRecordedInAggregationDuration() const
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AggregatedUtterancesSummary & WithUtterance(Aws::String &&value)
void SetUtteranceFirstRecordedInAggregationDuration(const Aws::Utils::DateTime &value)
AWS_LEXMODELSV2_API AggregatedUtterancesSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetUtteranceLastRecordedInAggregationDuration(const Aws::Utils::DateTime &value)
AWS_LEXMODELSV2_API AggregatedUtterancesSummary(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue