1 /**
2  * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3  * SPDX-License-Identifier: Apache-2.0.
4  */
5 
6 #pragma once
7 #include <aws/transcribestreaming/TranscribeStreamingService_EXPORTS.h>
8 #include <aws/core/utils/memory/stl/AWSVector.h>
9 #include <aws/transcribestreaming/model/MedicalResult.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18   class JsonValue;
19   class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace TranscribeStreamingService
23 {
24 namespace Model
25 {
26 
27   /**
28    * <p>The medical transcript in a <a>MedicalTranscriptEvent</a>.</p><p><h3>See
29    * Also:</h3>   <a
30    * href="http://docs.aws.amazon.com/goto/WebAPI/transcribe-streaming-2017-10-26/MedicalTranscript">AWS
31    * API Reference</a></p>
32    */
33   class AWS_TRANSCRIBESTREAMINGSERVICE_API MedicalTranscript
34   {
35   public:
36     MedicalTranscript();
37     MedicalTranscript(Aws::Utils::Json::JsonView jsonValue);
38     MedicalTranscript& operator=(Aws::Utils::Json::JsonView jsonValue);
39     Aws::Utils::Json::JsonValue Jsonize() const;
40 
41 
42     /**
43      * <p> <a>MedicalResult</a> objects that contain the results of transcribing a
44      * portion of the input audio stream. The array can be empty.</p>
45      */
GetResults()46     inline const Aws::Vector<MedicalResult>& GetResults() const{ return m_results; }
47 
48     /**
49      * <p> <a>MedicalResult</a> objects that contain the results of transcribing a
50      * portion of the input audio stream. The array can be empty.</p>
51      */
ResultsHasBeenSet()52     inline bool ResultsHasBeenSet() const { return m_resultsHasBeenSet; }
53 
54     /**
55      * <p> <a>MedicalResult</a> objects that contain the results of transcribing a
56      * portion of the input audio stream. The array can be empty.</p>
57      */
SetResults(const Aws::Vector<MedicalResult> & value)58     inline void SetResults(const Aws::Vector<MedicalResult>& value) { m_resultsHasBeenSet = true; m_results = value; }
59 
60     /**
61      * <p> <a>MedicalResult</a> objects that contain the results of transcribing a
62      * portion of the input audio stream. The array can be empty.</p>
63      */
SetResults(Aws::Vector<MedicalResult> && value)64     inline void SetResults(Aws::Vector<MedicalResult>&& value) { m_resultsHasBeenSet = true; m_results = std::move(value); }
65 
66     /**
67      * <p> <a>MedicalResult</a> objects that contain the results of transcribing a
68      * portion of the input audio stream. The array can be empty.</p>
69      */
WithResults(const Aws::Vector<MedicalResult> & value)70     inline MedicalTranscript& WithResults(const Aws::Vector<MedicalResult>& value) { SetResults(value); return *this;}
71 
72     /**
73      * <p> <a>MedicalResult</a> objects that contain the results of transcribing a
74      * portion of the input audio stream. The array can be empty.</p>
75      */
WithResults(Aws::Vector<MedicalResult> && value)76     inline MedicalTranscript& WithResults(Aws::Vector<MedicalResult>&& value) { SetResults(std::move(value)); return *this;}
77 
78     /**
79      * <p> <a>MedicalResult</a> objects that contain the results of transcribing a
80      * portion of the input audio stream. The array can be empty.</p>
81      */
AddResults(const MedicalResult & value)82     inline MedicalTranscript& AddResults(const MedicalResult& value) { m_resultsHasBeenSet = true; m_results.push_back(value); return *this; }
83 
84     /**
85      * <p> <a>MedicalResult</a> objects that contain the results of transcribing a
86      * portion of the input audio stream. The array can be empty.</p>
87      */
AddResults(MedicalResult && value)88     inline MedicalTranscript& AddResults(MedicalResult&& value) { m_resultsHasBeenSet = true; m_results.push_back(std::move(value)); return *this; }
89 
90   private:
91 
92     Aws::Vector<MedicalResult> m_results;
93     bool m_resultsHasBeenSet;
94   };
95 
96 } // namespace Model
97 } // namespace TranscribeStreamingService
98 } // namespace Aws
99