AWS SDK for C++

AWS SDK for C++ Version 1.11.742

Loading...
Searching...
No Matches
CallAnalyticsTranscriptResultStream.h
1
6#pragma once
7#include <aws/transcribestreaming/TranscribeStreamingService_EXPORTS.h>
8#include <aws/transcribestreaming/model/CategoryEvent.h>
9#include <aws/transcribestreaming/model/UtteranceEvent.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace TranscribeStreamingService {
21namespace Model {
22
31 public:
32 AWS_TRANSCRIBESTREAMINGSERVICE_API CallAnalyticsTranscriptResultStream() = default;
33 AWS_TRANSCRIBESTREAMINGSERVICE_API CallAnalyticsTranscriptResultStream(Aws::Utils::Json::JsonView jsonValue);
34 AWS_TRANSCRIBESTREAMINGSERVICE_API CallAnalyticsTranscriptResultStream& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_TRANSCRIBESTREAMINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
44 inline const UtteranceEvent& GetUtteranceEvent() const { return m_utteranceEvent; }
45 inline bool UtteranceEventHasBeenSet() const { return m_utteranceEventHasBeenSet; }
46 template <typename UtteranceEventT = UtteranceEvent>
47 void SetUtteranceEvent(UtteranceEventT&& value) {
48 m_utteranceEventHasBeenSet = true;
49 m_utteranceEvent = std::forward<UtteranceEventT>(value);
50 }
51 template <typename UtteranceEventT = UtteranceEvent>
53 SetUtteranceEvent(std::forward<UtteranceEventT>(value));
54 return *this;
55 }
57
59
63 inline const CategoryEvent& GetCategoryEvent() const { return m_categoryEvent; }
64 inline bool CategoryEventHasBeenSet() const { return m_categoryEventHasBeenSet; }
65 template <typename CategoryEventT = CategoryEvent>
66 void SetCategoryEvent(CategoryEventT&& value) {
67 m_categoryEventHasBeenSet = true;
68 m_categoryEvent = std::forward<CategoryEventT>(value);
69 }
70 template <typename CategoryEventT = CategoryEvent>
72 SetCategoryEvent(std::forward<CategoryEventT>(value));
73 return *this;
74 }
76
78
79 inline const TranscribeStreamingServiceError& GetBadRequestException() const { return m_badRequestException; }
80 inline bool BadRequestExceptionHasBeenSet() const { return m_badRequestExceptionHasBeenSet; }
81 template <typename BadRequestExceptionT = TranscribeStreamingServiceError>
82 void SetBadRequestException(BadRequestExceptionT&& value) {
83 m_badRequestExceptionHasBeenSet = true;
84 m_badRequestException = std::forward<BadRequestExceptionT>(value);
85 }
86 template <typename BadRequestExceptionT = TranscribeStreamingServiceError>
88 SetBadRequestException(std::forward<BadRequestExceptionT>(value));
89 return *this;
90 }
92
94
95 inline const TranscribeStreamingServiceError& GetLimitExceededException() const { return m_limitExceededException; }
96 inline bool LimitExceededExceptionHasBeenSet() const { return m_limitExceededExceptionHasBeenSet; }
97 template <typename LimitExceededExceptionT = TranscribeStreamingServiceError>
98 void SetLimitExceededException(LimitExceededExceptionT&& value) {
99 m_limitExceededExceptionHasBeenSet = true;
100 m_limitExceededException = std::forward<LimitExceededExceptionT>(value);
101 }
102 template <typename LimitExceededExceptionT = TranscribeStreamingServiceError>
104 SetLimitExceededException(std::forward<LimitExceededExceptionT>(value));
105 return *this;
106 }
108
110
111 inline const TranscribeStreamingServiceError& GetInternalFailureException() const { return m_internalFailureException; }
112 inline bool InternalFailureExceptionHasBeenSet() const { return m_internalFailureExceptionHasBeenSet; }
113 template <typename InternalFailureExceptionT = TranscribeStreamingServiceError>
114 void SetInternalFailureException(InternalFailureExceptionT&& value) {
115 m_internalFailureExceptionHasBeenSet = true;
116 m_internalFailureException = std::forward<InternalFailureExceptionT>(value);
117 }
118 template <typename InternalFailureExceptionT = TranscribeStreamingServiceError>
120 SetInternalFailureException(std::forward<InternalFailureExceptionT>(value));
121 return *this;
122 }
124
126
127 inline const TranscribeStreamingServiceError& GetConflictException() const { return m_conflictException; }
128 inline bool ConflictExceptionHasBeenSet() const { return m_conflictExceptionHasBeenSet; }
129 template <typename ConflictExceptionT = TranscribeStreamingServiceError>
130 void SetConflictException(ConflictExceptionT&& value) {
131 m_conflictExceptionHasBeenSet = true;
132 m_conflictException = std::forward<ConflictExceptionT>(value);
133 }
134 template <typename ConflictExceptionT = TranscribeStreamingServiceError>
136 SetConflictException(std::forward<ConflictExceptionT>(value));
137 return *this;
138 }
140
142
143 inline const TranscribeStreamingServiceError& GetServiceUnavailableException() const { return m_serviceUnavailableException; }
144 inline bool ServiceUnavailableExceptionHasBeenSet() const { return m_serviceUnavailableExceptionHasBeenSet; }
145 template <typename ServiceUnavailableExceptionT = TranscribeStreamingServiceError>
146 void SetServiceUnavailableException(ServiceUnavailableExceptionT&& value) {
147 m_serviceUnavailableExceptionHasBeenSet = true;
148 m_serviceUnavailableException = std::forward<ServiceUnavailableExceptionT>(value);
149 }
150 template <typename ServiceUnavailableExceptionT = TranscribeStreamingServiceError>
152 SetServiceUnavailableException(std::forward<ServiceUnavailableExceptionT>(value));
153 return *this;
154 }
156 private:
157 UtteranceEvent m_utteranceEvent;
158
159 CategoryEvent m_categoryEvent;
160
161 TranscribeStreamingServiceError m_badRequestException;
162
163 TranscribeStreamingServiceError m_limitExceededException;
164
165 TranscribeStreamingServiceError m_internalFailureException;
166
167 TranscribeStreamingServiceError m_conflictException;
168
169 TranscribeStreamingServiceError m_serviceUnavailableException;
170 bool m_utteranceEventHasBeenSet = false;
171 bool m_categoryEventHasBeenSet = false;
172 bool m_badRequestExceptionHasBeenSet = false;
173 bool m_limitExceededExceptionHasBeenSet = false;
174 bool m_internalFailureExceptionHasBeenSet = false;
175 bool m_conflictExceptionHasBeenSet = false;
176 bool m_serviceUnavailableExceptionHasBeenSet = false;
177};
178
179} // namespace Model
180} // namespace TranscribeStreamingService
181} // namespace Aws
AWS_TRANSCRIBESTREAMINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
CallAnalyticsTranscriptResultStream & WithLimitExceededException(LimitExceededExceptionT &&value)
AWS_TRANSCRIBESTREAMINGSERVICE_API CallAnalyticsTranscriptResultStream(Aws::Utils::Json::JsonView jsonValue)
CallAnalyticsTranscriptResultStream & WithCategoryEvent(CategoryEventT &&value)
CallAnalyticsTranscriptResultStream & WithInternalFailureException(InternalFailureExceptionT &&value)
CallAnalyticsTranscriptResultStream & WithUtteranceEvent(UtteranceEventT &&value)
CallAnalyticsTranscriptResultStream & WithServiceUnavailableException(ServiceUnavailableExceptionT &&value)
CallAnalyticsTranscriptResultStream & WithBadRequestException(BadRequestExceptionT &&value)
AWS_TRANSCRIBESTREAMINGSERVICE_API CallAnalyticsTranscriptResultStream()=default
CallAnalyticsTranscriptResultStream & WithConflictException(ConflictExceptionT &&value)
AWS_TRANSCRIBESTREAMINGSERVICE_API CallAnalyticsTranscriptResultStream & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue