AWS SDK for C++

AWS SDK for C++ Version 1.11.764

Loading...
Searching...
No Matches
TranscriptEvent.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lexv2-runtime/LexRuntimeV2_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace LexRuntimeV2 {
20namespace Model {
21
29 public:
30 AWS_LEXRUNTIMEV2_API TranscriptEvent() = default;
31 AWS_LEXRUNTIMEV2_API TranscriptEvent(Aws::Utils::Json::JsonView jsonValue);
32 AWS_LEXRUNTIMEV2_API TranscriptEvent& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_LEXRUNTIMEV2_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetTranscript() const { return m_transcript; }
40 inline bool TranscriptHasBeenSet() const { return m_transcriptHasBeenSet; }
41 template <typename TranscriptT = Aws::String>
42 void SetTranscript(TranscriptT&& value) {
43 m_transcriptHasBeenSet = true;
44 m_transcript = std::forward<TranscriptT>(value);
45 }
46 template <typename TranscriptT = Aws::String>
47 TranscriptEvent& WithTranscript(TranscriptT&& value) {
48 SetTranscript(std::forward<TranscriptT>(value));
49 return *this;
50 }
52
54
59 inline const Aws::String& GetEventId() const { return m_eventId; }
60 inline bool EventIdHasBeenSet() const { return m_eventIdHasBeenSet; }
61 template <typename EventIdT = Aws::String>
62 void SetEventId(EventIdT&& value) {
63 m_eventIdHasBeenSet = true;
64 m_eventId = std::forward<EventIdT>(value);
65 }
66 template <typename EventIdT = Aws::String>
67 TranscriptEvent& WithEventId(EventIdT&& value) {
68 SetEventId(std::forward<EventIdT>(value));
69 return *this;
70 }
72 private:
73 Aws::String m_transcript;
74
75 Aws::String m_eventId;
76 bool m_transcriptHasBeenSet = false;
77 bool m_eventIdHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace LexRuntimeV2
82} // namespace Aws
AWS_LEXRUNTIMEV2_API TranscriptEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetTranscript() const
AWS_LEXRUNTIMEV2_API Aws::Utils::Json::JsonValue Jsonize() const
TranscriptEvent & WithEventId(EventIdT &&value)
AWS_LEXRUNTIMEV2_API TranscriptEvent(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXRUNTIMEV2_API TranscriptEvent()=default
TranscriptEvent & WithTranscript(TranscriptT &&value)
const Aws::String & GetEventId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue