AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetTranscript(const Aws::String& value) { m_transcriptHasBeenSet = true; m_transcript = value; }
52 inline void SetTranscript(Aws::String&& value) { m_transcriptHasBeenSet = true; m_transcript = std::move(value); }
53 inline void SetTranscript(const char* value) { m_transcriptHasBeenSet = true; m_transcript.assign(value); }
54 inline MedicalAlternative& WithTranscript(const Aws::String& value) { SetTranscript(value); return *this;}
55 inline MedicalAlternative& WithTranscript(Aws::String&& value) { SetTranscript(std::move(value)); return *this;}
56 inline MedicalAlternative& WithTranscript(const char* value) { SetTranscript(value); return *this;}
58
60
64 inline const Aws::Vector<MedicalItem>& GetItems() const{ return m_items; }
65 inline bool ItemsHasBeenSet() const { return m_itemsHasBeenSet; }
66 inline void SetItems(const Aws::Vector<MedicalItem>& value) { m_itemsHasBeenSet = true; m_items = value; }
67 inline void SetItems(Aws::Vector<MedicalItem>&& value) { m_itemsHasBeenSet = true; m_items = std::move(value); }
68 inline MedicalAlternative& WithItems(const Aws::Vector<MedicalItem>& value) { SetItems(value); return *this;}
69 inline MedicalAlternative& WithItems(Aws::Vector<MedicalItem>&& value) { SetItems(std::move(value)); return *this;}
70 inline MedicalAlternative& AddItems(const MedicalItem& value) { m_itemsHasBeenSet = true; m_items.push_back(value); return *this; }
71 inline MedicalAlternative& AddItems(MedicalItem&& value) { m_itemsHasBeenSet = true; m_items.push_back(std::move(value)); return *this; }
73
75
79 inline const Aws::Vector<MedicalEntity>& GetEntities() const{ return m_entities; }
80 inline bool EntitiesHasBeenSet() const { return m_entitiesHasBeenSet; }
81 inline void SetEntities(const Aws::Vector<MedicalEntity>& value) { m_entitiesHasBeenSet = true; m_entities = value; }
82 inline void SetEntities(Aws::Vector<MedicalEntity>&& value) { m_entitiesHasBeenSet = true; m_entities = std::move(value); }
83 inline MedicalAlternative& WithEntities(const Aws::Vector<MedicalEntity>& value) { SetEntities(value); return *this;}
84 inline MedicalAlternative& WithEntities(Aws::Vector<MedicalEntity>&& value) { SetEntities(std::move(value)); return *this;}
85 inline MedicalAlternative& AddEntities(const MedicalEntity& value) { m_entitiesHasBeenSet = true; m_entities.push_back(value); return *this; }
86 inline MedicalAlternative& AddEntities(MedicalEntity&& value) { m_entitiesHasBeenSet = true; m_entities.push_back(std::move(value)); return *this; }
88 private:
89
90 Aws::String m_transcript;
91 bool m_transcriptHasBeenSet = false;
92
94 bool m_itemsHasBeenSet = false;
95
97 bool m_entitiesHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace TranscribeStreamingService
102} // 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
MedicalAlternative & WithTranscript(const char *value)
void SetEntities(const Aws::Vector< MedicalEntity > &value)
MedicalAlternative & WithEntities(Aws::Vector< MedicalEntity > &&value)
AWS_TRANSCRIBESTREAMINGSERVICE_API MedicalAlternative(Aws::Utils::Json::JsonView jsonValue)
MedicalAlternative & WithItems(Aws::Vector< MedicalItem > &&value)
MedicalAlternative & AddEntities(const MedicalEntity &value)
MedicalAlternative & WithTranscript(const Aws::String &value)
MedicalAlternative & AddItems(MedicalItem &&value)
AWS_TRANSCRIBESTREAMINGSERVICE_API MedicalAlternative()
void SetEntities(Aws::Vector< MedicalEntity > &&value)
MedicalAlternative & AddItems(const MedicalItem &value)
const Aws::Vector< MedicalEntity > & GetEntities() const
MedicalAlternative & WithItems(const Aws::Vector< MedicalItem > &value)
void SetItems(const Aws::Vector< MedicalItem > &value)
MedicalAlternative & AddEntities(MedicalEntity &&value)
MedicalAlternative & WithEntities(const Aws::Vector< MedicalEntity > &value)
MedicalAlternative & WithTranscript(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue