AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
MedicalScribeResultStream.h
1
6#pragma once
7#include <aws/transcribestreaming/TranscribeStreamingService_EXPORTS.h>
8#include <aws/transcribestreaming/model/MedicalScribeTranscriptEvent.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 TranscribeStreamingService
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_TRANSCRIBESTREAMINGSERVICE_API MedicalScribeResultStream() = default;
37 AWS_TRANSCRIBESTREAMINGSERVICE_API MedicalScribeResultStream(Aws::Utils::Json::JsonView jsonValue);
38 AWS_TRANSCRIBESTREAMINGSERVICE_API MedicalScribeResultStream& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_TRANSCRIBESTREAMINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const MedicalScribeTranscriptEvent& GetTranscriptEvent() const { return m_transcriptEvent; }
47 inline bool TranscriptEventHasBeenSet() const { return m_transcriptEventHasBeenSet; }
48 template<typename TranscriptEventT = MedicalScribeTranscriptEvent>
49 void SetTranscriptEvent(TranscriptEventT&& value) { m_transcriptEventHasBeenSet = true; m_transcriptEvent = std::forward<TranscriptEventT>(value); }
50 template<typename TranscriptEventT = MedicalScribeTranscriptEvent>
51 MedicalScribeResultStream& WithTranscriptEvent(TranscriptEventT&& value) { SetTranscriptEvent(std::forward<TranscriptEventT>(value)); return *this;}
53
55
56 inline const TranscribeStreamingServiceError& GetBadRequestException() const { return m_badRequestException; }
57 inline bool BadRequestExceptionHasBeenSet() const { return m_badRequestExceptionHasBeenSet; }
58 template<typename BadRequestExceptionT = TranscribeStreamingServiceError>
59 void SetBadRequestException(BadRequestExceptionT&& value) { m_badRequestExceptionHasBeenSet = true; m_badRequestException = std::forward<BadRequestExceptionT>(value); }
60 template<typename BadRequestExceptionT = TranscribeStreamingServiceError>
61 MedicalScribeResultStream& WithBadRequestException(BadRequestExceptionT&& value) { SetBadRequestException(std::forward<BadRequestExceptionT>(value)); return *this;}
63
65
66 inline const TranscribeStreamingServiceError& GetLimitExceededException() const { return m_limitExceededException; }
67 inline bool LimitExceededExceptionHasBeenSet() const { return m_limitExceededExceptionHasBeenSet; }
68 template<typename LimitExceededExceptionT = TranscribeStreamingServiceError>
69 void SetLimitExceededException(LimitExceededExceptionT&& value) { m_limitExceededExceptionHasBeenSet = true; m_limitExceededException = std::forward<LimitExceededExceptionT>(value); }
70 template<typename LimitExceededExceptionT = TranscribeStreamingServiceError>
71 MedicalScribeResultStream& WithLimitExceededException(LimitExceededExceptionT&& value) { SetLimitExceededException(std::forward<LimitExceededExceptionT>(value)); return *this;}
73
75
76 inline const TranscribeStreamingServiceError& GetInternalFailureException() const { return m_internalFailureException; }
77 inline bool InternalFailureExceptionHasBeenSet() const { return m_internalFailureExceptionHasBeenSet; }
78 template<typename InternalFailureExceptionT = TranscribeStreamingServiceError>
79 void SetInternalFailureException(InternalFailureExceptionT&& value) { m_internalFailureExceptionHasBeenSet = true; m_internalFailureException = std::forward<InternalFailureExceptionT>(value); }
80 template<typename InternalFailureExceptionT = TranscribeStreamingServiceError>
81 MedicalScribeResultStream& WithInternalFailureException(InternalFailureExceptionT&& value) { SetInternalFailureException(std::forward<InternalFailureExceptionT>(value)); return *this;}
83
85
86 inline const TranscribeStreamingServiceError& GetConflictException() const { return m_conflictException; }
87 inline bool ConflictExceptionHasBeenSet() const { return m_conflictExceptionHasBeenSet; }
88 template<typename ConflictExceptionT = TranscribeStreamingServiceError>
89 void SetConflictException(ConflictExceptionT&& value) { m_conflictExceptionHasBeenSet = true; m_conflictException = std::forward<ConflictExceptionT>(value); }
90 template<typename ConflictExceptionT = TranscribeStreamingServiceError>
91 MedicalScribeResultStream& WithConflictException(ConflictExceptionT&& value) { SetConflictException(std::forward<ConflictExceptionT>(value)); return *this;}
93
95
96 inline const TranscribeStreamingServiceError& GetServiceUnavailableException() const { return m_serviceUnavailableException; }
97 inline bool ServiceUnavailableExceptionHasBeenSet() const { return m_serviceUnavailableExceptionHasBeenSet; }
98 template<typename ServiceUnavailableExceptionT = TranscribeStreamingServiceError>
99 void SetServiceUnavailableException(ServiceUnavailableExceptionT&& value) { m_serviceUnavailableExceptionHasBeenSet = true; m_serviceUnavailableException = std::forward<ServiceUnavailableExceptionT>(value); }
100 template<typename ServiceUnavailableExceptionT = TranscribeStreamingServiceError>
101 MedicalScribeResultStream& WithServiceUnavailableException(ServiceUnavailableExceptionT&& value) { SetServiceUnavailableException(std::forward<ServiceUnavailableExceptionT>(value)); return *this;}
103 private:
104
105 MedicalScribeTranscriptEvent m_transcriptEvent;
106 bool m_transcriptEventHasBeenSet = false;
107
108 TranscribeStreamingServiceError m_badRequestException;
109 bool m_badRequestExceptionHasBeenSet = false;
110
111 TranscribeStreamingServiceError m_limitExceededException;
112 bool m_limitExceededExceptionHasBeenSet = false;
113
114 TranscribeStreamingServiceError m_internalFailureException;
115 bool m_internalFailureExceptionHasBeenSet = false;
116
117 TranscribeStreamingServiceError m_conflictException;
118 bool m_conflictExceptionHasBeenSet = false;
119
120 TranscribeStreamingServiceError m_serviceUnavailableException;
121 bool m_serviceUnavailableExceptionHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace TranscribeStreamingService
126} // namespace Aws
AWS_TRANSCRIBESTREAMINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_TRANSCRIBESTREAMINGSERVICE_API MedicalScribeResultStream()=default
MedicalScribeResultStream & WithServiceUnavailableException(ServiceUnavailableExceptionT &&value)
const TranscribeStreamingServiceError & GetInternalFailureException() const
MedicalScribeResultStream & WithConflictException(ConflictExceptionT &&value)
AWS_TRANSCRIBESTREAMINGSERVICE_API MedicalScribeResultStream & operator=(Aws::Utils::Json::JsonView jsonValue)
const TranscribeStreamingServiceError & GetConflictException() const
AWS_TRANSCRIBESTREAMINGSERVICE_API MedicalScribeResultStream(Aws::Utils::Json::JsonView jsonValue)
const TranscribeStreamingServiceError & GetBadRequestException() const
MedicalScribeResultStream & WithInternalFailureException(InternalFailureExceptionT &&value)
MedicalScribeResultStream & WithBadRequestException(BadRequestExceptionT &&value)
const TranscribeStreamingServiceError & GetServiceUnavailableException() const
MedicalScribeResultStream & WithTranscriptEvent(TranscriptEventT &&value)
const TranscribeStreamingServiceError & GetLimitExceededException() const
MedicalScribeResultStream & WithLimitExceededException(LimitExceededExceptionT &&value)
Aws::Utils::Json::JsonValue JsonValue