AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
MedicalAlternative.h
1
6#pragma once
7#include <aws/transcribestreaming/TranscribeStreamingService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/transcribestreaming/model/MedicalItem.h>
11#include <aws/transcribestreaming/model/MedicalEntity.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace TranscribeStreamingService
25{
26namespace Model
27{
28
37 {
38 public:
39 AWS_TRANSCRIBESTREAMINGSERVICE_API MedicalAlternative() = default;
40 AWS_TRANSCRIBESTREAMINGSERVICE_API MedicalAlternative(Aws::Utils::Json::JsonView jsonValue);
41 AWS_TRANSCRIBESTREAMINGSERVICE_API MedicalAlternative& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_TRANSCRIBESTREAMINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetTranscript() const { return m_transcript; }
50 inline bool TranscriptHasBeenSet() const { return m_transcriptHasBeenSet; }
51 template<typename TranscriptT = Aws::String>
52 void SetTranscript(TranscriptT&& value) { m_transcriptHasBeenSet = true; m_transcript = std::forward<TranscriptT>(value); }
53 template<typename TranscriptT = Aws::String>
54 MedicalAlternative& WithTranscript(TranscriptT&& value) { SetTranscript(std::forward<TranscriptT>(value)); return *this;}
56
58
62 inline const Aws::Vector<MedicalItem>& GetItems() const { return m_items; }
63 inline bool ItemsHasBeenSet() const { return m_itemsHasBeenSet; }
64 template<typename ItemsT = Aws::Vector<MedicalItem>>
65 void SetItems(ItemsT&& value) { m_itemsHasBeenSet = true; m_items = std::forward<ItemsT>(value); }
66 template<typename ItemsT = Aws::Vector<MedicalItem>>
67 MedicalAlternative& WithItems(ItemsT&& value) { SetItems(std::forward<ItemsT>(value)); return *this;}
68 template<typename ItemsT = MedicalItem>
69 MedicalAlternative& AddItems(ItemsT&& value) { m_itemsHasBeenSet = true; m_items.emplace_back(std::forward<ItemsT>(value)); return *this; }
71
73
77 inline const Aws::Vector<MedicalEntity>& GetEntities() const { return m_entities; }
78 inline bool EntitiesHasBeenSet() const { return m_entitiesHasBeenSet; }
79 template<typename EntitiesT = Aws::Vector<MedicalEntity>>
80 void SetEntities(EntitiesT&& value) { m_entitiesHasBeenSet = true; m_entities = std::forward<EntitiesT>(value); }
81 template<typename EntitiesT = Aws::Vector<MedicalEntity>>
82 MedicalAlternative& WithEntities(EntitiesT&& value) { SetEntities(std::forward<EntitiesT>(value)); return *this;}
83 template<typename EntitiesT = MedicalEntity>
84 MedicalAlternative& AddEntities(EntitiesT&& value) { m_entitiesHasBeenSet = true; m_entities.emplace_back(std::forward<EntitiesT>(value)); return *this; }
86 private:
87
88 Aws::String m_transcript;
89 bool m_transcriptHasBeenSet = false;
90
92 bool m_itemsHasBeenSet = false;
93
95 bool m_entitiesHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace TranscribeStreamingService
100} // namespace Aws
AWS_TRANSCRIBESTREAMINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_TRANSCRIBESTREAMINGSERVICE_API MedicalAlternative & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< MedicalItem > & GetItems() const
AWS_TRANSCRIBESTREAMINGSERVICE_API MedicalAlternative(Aws::Utils::Json::JsonView jsonValue)
MedicalAlternative & WithTranscript(TranscriptT &&value)
AWS_TRANSCRIBESTREAMINGSERVICE_API MedicalAlternative()=default
const Aws::Vector< MedicalEntity > & GetEntities() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue