AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetUtteranceString(const Aws::String& value) { m_utteranceStringHasBeenSet = true; m_utteranceString = value; }
50 inline void SetUtteranceString(Aws::String&& value) { m_utteranceStringHasBeenSet = true; m_utteranceString = std::move(value); }
51 inline void SetUtteranceString(const char* value) { m_utteranceStringHasBeenSet = true; m_utteranceString.assign(value); }
52 inline UtteranceData& WithUtteranceString(const Aws::String& value) { SetUtteranceString(value); return *this;}
53 inline UtteranceData& WithUtteranceString(Aws::String&& value) { SetUtteranceString(std::move(value)); return *this;}
54 inline UtteranceData& WithUtteranceString(const char* value) { SetUtteranceString(value); return *this;}
56
58
61 inline int GetCount() const{ return m_count; }
62 inline bool CountHasBeenSet() const { return m_countHasBeenSet; }
63 inline void SetCount(int value) { m_countHasBeenSet = true; m_count = value; }
64 inline UtteranceData& WithCount(int value) { SetCount(value); return *this;}
66
68
71 inline int GetDistinctUsers() const{ return m_distinctUsers; }
72 inline bool DistinctUsersHasBeenSet() const { return m_distinctUsersHasBeenSet; }
73 inline void SetDistinctUsers(int value) { m_distinctUsersHasBeenSet = true; m_distinctUsers = value; }
74 inline UtteranceData& WithDistinctUsers(int value) { SetDistinctUsers(value); return *this;}
76
78
81 inline const Aws::Utils::DateTime& GetFirstUtteredDate() const{ return m_firstUtteredDate; }
82 inline bool FirstUtteredDateHasBeenSet() const { return m_firstUtteredDateHasBeenSet; }
83 inline void SetFirstUtteredDate(const Aws::Utils::DateTime& value) { m_firstUtteredDateHasBeenSet = true; m_firstUtteredDate = value; }
84 inline void SetFirstUtteredDate(Aws::Utils::DateTime&& value) { m_firstUtteredDateHasBeenSet = true; m_firstUtteredDate = std::move(value); }
85 inline UtteranceData& WithFirstUtteredDate(const Aws::Utils::DateTime& value) { SetFirstUtteredDate(value); return *this;}
86 inline UtteranceData& WithFirstUtteredDate(Aws::Utils::DateTime&& value) { SetFirstUtteredDate(std::move(value)); return *this;}
88
90
93 inline const Aws::Utils::DateTime& GetLastUtteredDate() const{ return m_lastUtteredDate; }
94 inline bool LastUtteredDateHasBeenSet() const { return m_lastUtteredDateHasBeenSet; }
95 inline void SetLastUtteredDate(const Aws::Utils::DateTime& value) { m_lastUtteredDateHasBeenSet = true; m_lastUtteredDate = value; }
96 inline void SetLastUtteredDate(Aws::Utils::DateTime&& value) { m_lastUtteredDateHasBeenSet = true; m_lastUtteredDate = std::move(value); }
97 inline UtteranceData& WithLastUtteredDate(const Aws::Utils::DateTime& value) { SetLastUtteredDate(value); return *this;}
98 inline UtteranceData& WithLastUtteredDate(Aws::Utils::DateTime&& value) { SetLastUtteredDate(std::move(value)); return *this;}
100 private:
101
102 Aws::String m_utteranceString;
103 bool m_utteranceStringHasBeenSet = false;
104
105 int m_count;
106 bool m_countHasBeenSet = false;
107
108 int m_distinctUsers;
109 bool m_distinctUsersHasBeenSet = false;
110
111 Aws::Utils::DateTime m_firstUtteredDate;
112 bool m_firstUtteredDateHasBeenSet = false;
113
114 Aws::Utils::DateTime m_lastUtteredDate;
115 bool m_lastUtteredDateHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace LexModelBuildingService
120} // namespace Aws
AWS_LEXMODELBUILDINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
UtteranceData & WithFirstUtteredDate(Aws::Utils::DateTime &&value)
AWS_LEXMODELBUILDINGSERVICE_API UtteranceData & operator=(Aws::Utils::Json::JsonView jsonValue)
UtteranceData & WithUtteranceString(const char *value)
void SetFirstUtteredDate(Aws::Utils::DateTime &&value)
UtteranceData & WithFirstUtteredDate(const Aws::Utils::DateTime &value)
AWS_LEXMODELBUILDINGSERVICE_API UtteranceData()
const Aws::Utils::DateTime & GetLastUtteredDate() const
UtteranceData & WithLastUtteredDate(const Aws::Utils::DateTime &value)
UtteranceData & WithUtteranceString(Aws::String &&value)
UtteranceData & WithUtteranceString(const Aws::String &value)
AWS_LEXMODELBUILDINGSERVICE_API UtteranceData(Aws::Utils::Json::JsonView jsonValue)
void SetLastUtteredDate(Aws::Utils::DateTime &&value)
UtteranceData & WithLastUtteredDate(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetFirstUtteredDate() const
void SetFirstUtteredDate(const Aws::Utils::DateTime &value)
void SetUtteranceString(const Aws::String &value)
void SetLastUtteredDate(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue