AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UtteranceData.h
1
6#pragma once
7#include <aws/lex-models/LexModelBuildingService_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 LexModelBuildingService
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_LEXMODELBUILDINGSERVICE_API UtteranceData() = default;
37 AWS_LEXMODELBUILDINGSERVICE_API UtteranceData(Aws::Utils::Json::JsonView jsonValue);
38 AWS_LEXMODELBUILDINGSERVICE_API UtteranceData& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_LEXMODELBUILDINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetUtteranceString() const { return m_utteranceString; }
48 inline bool UtteranceStringHasBeenSet() const { return m_utteranceStringHasBeenSet; }
49 template<typename UtteranceStringT = Aws::String>
50 void SetUtteranceString(UtteranceStringT&& value) { m_utteranceStringHasBeenSet = true; m_utteranceString = std::forward<UtteranceStringT>(value); }
51 template<typename UtteranceStringT = Aws::String>
52 UtteranceData& WithUtteranceString(UtteranceStringT&& value) { SetUtteranceString(std::forward<UtteranceStringT>(value)); return *this;}
54
56
59 inline int GetCount() const { return m_count; }
60 inline bool CountHasBeenSet() const { return m_countHasBeenSet; }
61 inline void SetCount(int value) { m_countHasBeenSet = true; m_count = value; }
62 inline UtteranceData& WithCount(int value) { SetCount(value); return *this;}
64
66
69 inline int GetDistinctUsers() const { return m_distinctUsers; }
70 inline bool DistinctUsersHasBeenSet() const { return m_distinctUsersHasBeenSet; }
71 inline void SetDistinctUsers(int value) { m_distinctUsersHasBeenSet = true; m_distinctUsers = value; }
72 inline UtteranceData& WithDistinctUsers(int value) { SetDistinctUsers(value); return *this;}
74
76
79 inline const Aws::Utils::DateTime& GetFirstUtteredDate() const { return m_firstUtteredDate; }
80 inline bool FirstUtteredDateHasBeenSet() const { return m_firstUtteredDateHasBeenSet; }
81 template<typename FirstUtteredDateT = Aws::Utils::DateTime>
82 void SetFirstUtteredDate(FirstUtteredDateT&& value) { m_firstUtteredDateHasBeenSet = true; m_firstUtteredDate = std::forward<FirstUtteredDateT>(value); }
83 template<typename FirstUtteredDateT = Aws::Utils::DateTime>
84 UtteranceData& WithFirstUtteredDate(FirstUtteredDateT&& value) { SetFirstUtteredDate(std::forward<FirstUtteredDateT>(value)); return *this;}
86
88
91 inline const Aws::Utils::DateTime& GetLastUtteredDate() const { return m_lastUtteredDate; }
92 inline bool LastUtteredDateHasBeenSet() const { return m_lastUtteredDateHasBeenSet; }
93 template<typename LastUtteredDateT = Aws::Utils::DateTime>
94 void SetLastUtteredDate(LastUtteredDateT&& value) { m_lastUtteredDateHasBeenSet = true; m_lastUtteredDate = std::forward<LastUtteredDateT>(value); }
95 template<typename LastUtteredDateT = Aws::Utils::DateTime>
96 UtteranceData& WithLastUtteredDate(LastUtteredDateT&& value) { SetLastUtteredDate(std::forward<LastUtteredDateT>(value)); return *this;}
98 private:
99
100 Aws::String m_utteranceString;
101 bool m_utteranceStringHasBeenSet = false;
102
103 int m_count{0};
104 bool m_countHasBeenSet = false;
105
106 int m_distinctUsers{0};
107 bool m_distinctUsersHasBeenSet = false;
108
109 Aws::Utils::DateTime m_firstUtteredDate{};
110 bool m_firstUtteredDateHasBeenSet = false;
111
112 Aws::Utils::DateTime m_lastUtteredDate{};
113 bool m_lastUtteredDateHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace LexModelBuildingService
118} // namespace Aws
AWS_LEXMODELBUILDINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
UtteranceData & WithFirstUtteredDate(FirstUtteredDateT &&value)
void SetLastUtteredDate(LastUtteredDateT &&value)
AWS_LEXMODELBUILDINGSERVICE_API UtteranceData & operator=(Aws::Utils::Json::JsonView jsonValue)
UtteranceData & WithUtteranceString(UtteranceStringT &&value)
const Aws::Utils::DateTime & GetLastUtteredDate() const
AWS_LEXMODELBUILDINGSERVICE_API UtteranceData()=default
AWS_LEXMODELBUILDINGSERVICE_API UtteranceData(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetFirstUtteredDate() const
UtteranceData & WithLastUtteredDate(LastUtteredDateT &&value)
void SetUtteranceString(UtteranceStringT &&value)
void SetFirstUtteredDate(FirstUtteredDateT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue