AWS SDK for C++

AWS SDK for C++ Version 1.11.791

Loading...
Searching...
No Matches
MedicalScribeOutputStream.h
1
6#pragma once
7#include <aws/connecthealth/ConnectHealth_EXPORTS.h>
8#include <aws/connecthealth/model/MedicalScribeTranscriptEvent.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace ConnectHealth {
20namespace Model {
21
29 public:
30 AWS_CONNECTHEALTH_API MedicalScribeOutputStream() = default;
31 AWS_CONNECTHEALTH_API MedicalScribeOutputStream(Aws::Utils::Json::JsonView jsonValue);
33 AWS_CONNECTHEALTH_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const MedicalScribeTranscriptEvent& GetTranscriptEvent() const { return m_transcriptEvent; }
40 inline bool TranscriptEventHasBeenSet() const { return m_transcriptEventHasBeenSet; }
41 template <typename TranscriptEventT = MedicalScribeTranscriptEvent>
42 void SetTranscriptEvent(TranscriptEventT&& value) {
43 m_transcriptEventHasBeenSet = true;
44 m_transcriptEvent = std::forward<TranscriptEventT>(value);
45 }
46 template <typename TranscriptEventT = MedicalScribeTranscriptEvent>
48 SetTranscriptEvent(std::forward<TranscriptEventT>(value));
49 return *this;
50 }
52
54
57 inline const ConnectHealthError& GetInternalFailureException() const { return m_internalFailureException; }
58 inline bool InternalFailureExceptionHasBeenSet() const { return m_internalFailureExceptionHasBeenSet; }
59 template <typename InternalFailureExceptionT = ConnectHealthError>
60 void SetInternalFailureException(InternalFailureExceptionT&& value) {
61 m_internalFailureExceptionHasBeenSet = true;
62 m_internalFailureException = std::forward<InternalFailureExceptionT>(value);
63 }
64 template <typename InternalFailureExceptionT = ConnectHealthError>
65 MedicalScribeOutputStream& WithInternalFailureException(InternalFailureExceptionT&& value) {
66 SetInternalFailureException(std::forward<InternalFailureExceptionT>(value));
67 return *this;
68 }
70
72
75 inline const ConnectHealthError& GetValidationException() const { return m_validationException; }
76 inline bool ValidationExceptionHasBeenSet() const { return m_validationExceptionHasBeenSet; }
77 template <typename ValidationExceptionT = ConnectHealthError>
78 void SetValidationException(ValidationExceptionT&& value) {
79 m_validationExceptionHasBeenSet = true;
80 m_validationException = std::forward<ValidationExceptionT>(value);
81 }
82 template <typename ValidationExceptionT = ConnectHealthError>
83 MedicalScribeOutputStream& WithValidationException(ValidationExceptionT&& value) {
84 SetValidationException(std::forward<ValidationExceptionT>(value));
85 return *this;
86 }
88 private:
89 MedicalScribeTranscriptEvent m_transcriptEvent;
90
91 ConnectHealthError m_internalFailureException;
92
93 ConnectHealthError m_validationException;
94 bool m_transcriptEventHasBeenSet = false;
95 bool m_internalFailureExceptionHasBeenSet = false;
96 bool m_validationExceptionHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace ConnectHealth
101} // namespace Aws
const MedicalScribeTranscriptEvent & GetTranscriptEvent() const
AWS_CONNECTHEALTH_API MedicalScribeOutputStream & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECTHEALTH_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECTHEALTH_API MedicalScribeOutputStream()=default
MedicalScribeOutputStream & WithTranscriptEvent(TranscriptEventT &&value)
MedicalScribeOutputStream & WithInternalFailureException(InternalFailureExceptionT &&value)
void SetInternalFailureException(InternalFailureExceptionT &&value)
MedicalScribeOutputStream & WithValidationException(ValidationExceptionT &&value)
AWS_CONNECTHEALTH_API MedicalScribeOutputStream(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue