AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
TranscriptEvent.h
1
6#pragma once
7#include <aws/lexv2-runtime/LexRuntimeV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace LexRuntimeV2
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_LEXRUNTIMEV2_API TranscriptEvent() = default;
36 AWS_LEXRUNTIMEV2_API TranscriptEvent(Aws::Utils::Json::JsonView jsonValue);
37 AWS_LEXRUNTIMEV2_API TranscriptEvent& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_LEXRUNTIMEV2_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetTranscript() const { return m_transcript; }
46 inline bool TranscriptHasBeenSet() const { return m_transcriptHasBeenSet; }
47 template<typename TranscriptT = Aws::String>
48 void SetTranscript(TranscriptT&& value) { m_transcriptHasBeenSet = true; m_transcript = std::forward<TranscriptT>(value); }
49 template<typename TranscriptT = Aws::String>
50 TranscriptEvent& WithTranscript(TranscriptT&& value) { SetTranscript(std::forward<TranscriptT>(value)); return *this;}
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) { m_eventIdHasBeenSet = true; m_eventId = std::forward<EventIdT>(value); }
63 template<typename EventIdT = Aws::String>
64 TranscriptEvent& WithEventId(EventIdT&& value) { SetEventId(std::forward<EventIdT>(value)); return *this;}
66 private:
67
68 Aws::String m_transcript;
69 bool m_transcriptHasBeenSet = false;
70
71 Aws::String m_eventId;
72 bool m_eventIdHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace LexRuntimeV2
77} // 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