AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetTranscript(const Aws::String& value) { m_transcriptHasBeenSet = true; m_transcript = value; }
48 inline void SetTranscript(Aws::String&& value) { m_transcriptHasBeenSet = true; m_transcript = std::move(value); }
49 inline void SetTranscript(const char* value) { m_transcriptHasBeenSet = true; m_transcript.assign(value); }
50 inline TranscriptEvent& WithTranscript(const Aws::String& value) { SetTranscript(value); return *this;}
51 inline TranscriptEvent& WithTranscript(Aws::String&& value) { SetTranscript(std::move(value)); return *this;}
52 inline TranscriptEvent& WithTranscript(const char* value) { SetTranscript(value); return *this;}
54
56
61 inline const Aws::String& GetEventId() const{ return m_eventId; }
62 inline bool EventIdHasBeenSet() const { return m_eventIdHasBeenSet; }
63 inline void SetEventId(const Aws::String& value) { m_eventIdHasBeenSet = true; m_eventId = value; }
64 inline void SetEventId(Aws::String&& value) { m_eventIdHasBeenSet = true; m_eventId = std::move(value); }
65 inline void SetEventId(const char* value) { m_eventIdHasBeenSet = true; m_eventId.assign(value); }
66 inline TranscriptEvent& WithEventId(const Aws::String& value) { SetEventId(value); return *this;}
67 inline TranscriptEvent& WithEventId(Aws::String&& value) { SetEventId(std::move(value)); return *this;}
68 inline TranscriptEvent& WithEventId(const char* value) { SetEventId(value); return *this;}
70 private:
71
72 Aws::String m_transcript;
73 bool m_transcriptHasBeenSet = false;
74
75 Aws::String m_eventId;
76 bool m_eventIdHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace LexRuntimeV2
81} // namespace Aws
void SetEventId(const Aws::String &value)
AWS_LEXRUNTIMEV2_API TranscriptEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
TranscriptEvent & WithTranscript(const Aws::String &value)
TranscriptEvent & WithEventId(Aws::String &&value)
void SetTranscript(const Aws::String &value)
TranscriptEvent & WithEventId(const Aws::String &value)
const Aws::String & GetTranscript() const
AWS_LEXRUNTIMEV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LEXRUNTIMEV2_API TranscriptEvent(Aws::Utils::Json::JsonView jsonValue)
TranscriptEvent & WithEventId(const char *value)
const Aws::String & GetEventId() const
TranscriptEvent & WithTranscript(const char *value)
TranscriptEvent & WithTranscript(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue