AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CallAnalyticsTranscriptResultStream.h
1
6#pragma once
7#include <aws/transcribestreaming/TranscribeStreamingService_EXPORTS.h>
8#include <aws/transcribestreaming/model/UtteranceEvent.h>
9#include <aws/transcribestreaming/model/CategoryEvent.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace TranscribeStreamingService
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_TRANSCRIBESTREAMINGSERVICE_API CallAnalyticsTranscriptResultStream() = default;
38 AWS_TRANSCRIBESTREAMINGSERVICE_API CallAnalyticsTranscriptResultStream(Aws::Utils::Json::JsonView jsonValue);
39 AWS_TRANSCRIBESTREAMINGSERVICE_API CallAnalyticsTranscriptResultStream& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_TRANSCRIBESTREAMINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
50 inline const UtteranceEvent& GetUtteranceEvent() const { return m_utteranceEvent; }
51 inline bool UtteranceEventHasBeenSet() const { return m_utteranceEventHasBeenSet; }
52 template<typename UtteranceEventT = UtteranceEvent>
53 void SetUtteranceEvent(UtteranceEventT&& value) { m_utteranceEventHasBeenSet = true; m_utteranceEvent = std::forward<UtteranceEventT>(value); }
54 template<typename UtteranceEventT = UtteranceEvent>
55 CallAnalyticsTranscriptResultStream& WithUtteranceEvent(UtteranceEventT&& value) { SetUtteranceEvent(std::forward<UtteranceEventT>(value)); return *this;}
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) { m_categoryEventHasBeenSet = true; m_categoryEvent = std::forward<CategoryEventT>(value); }
67 template<typename CategoryEventT = CategoryEvent>
68 CallAnalyticsTranscriptResultStream& WithCategoryEvent(CategoryEventT&& value) { SetCategoryEvent(std::forward<CategoryEventT>(value)); return *this;}
70
72
73 inline const TranscribeStreamingServiceError& GetBadRequestException() const { return m_badRequestException; }
74 inline bool BadRequestExceptionHasBeenSet() const { return m_badRequestExceptionHasBeenSet; }
75 template<typename BadRequestExceptionT = TranscribeStreamingServiceError>
76 void SetBadRequestException(BadRequestExceptionT&& value) { m_badRequestExceptionHasBeenSet = true; m_badRequestException = std::forward<BadRequestExceptionT>(value); }
77 template<typename BadRequestExceptionT = TranscribeStreamingServiceError>
78 CallAnalyticsTranscriptResultStream& WithBadRequestException(BadRequestExceptionT&& value) { SetBadRequestException(std::forward<BadRequestExceptionT>(value)); return *this;}
80
82
83 inline const TranscribeStreamingServiceError& GetLimitExceededException() const { return m_limitExceededException; }
84 inline bool LimitExceededExceptionHasBeenSet() const { return m_limitExceededExceptionHasBeenSet; }
85 template<typename LimitExceededExceptionT = TranscribeStreamingServiceError>
86 void SetLimitExceededException(LimitExceededExceptionT&& value) { m_limitExceededExceptionHasBeenSet = true; m_limitExceededException = std::forward<LimitExceededExceptionT>(value); }
87 template<typename LimitExceededExceptionT = TranscribeStreamingServiceError>
88 CallAnalyticsTranscriptResultStream& WithLimitExceededException(LimitExceededExceptionT&& value) { SetLimitExceededException(std::forward<LimitExceededExceptionT>(value)); return *this;}
90
92
93 inline const TranscribeStreamingServiceError& GetInternalFailureException() const { return m_internalFailureException; }
94 inline bool InternalFailureExceptionHasBeenSet() const { return m_internalFailureExceptionHasBeenSet; }
95 template<typename InternalFailureExceptionT = TranscribeStreamingServiceError>
96 void SetInternalFailureException(InternalFailureExceptionT&& value) { m_internalFailureExceptionHasBeenSet = true; m_internalFailureException = std::forward<InternalFailureExceptionT>(value); }
97 template<typename InternalFailureExceptionT = TranscribeStreamingServiceError>
98 CallAnalyticsTranscriptResultStream& WithInternalFailureException(InternalFailureExceptionT&& value) { SetInternalFailureException(std::forward<InternalFailureExceptionT>(value)); return *this;}
100
102
103 inline const TranscribeStreamingServiceError& GetConflictException() const { return m_conflictException; }
104 inline bool ConflictExceptionHasBeenSet() const { return m_conflictExceptionHasBeenSet; }
105 template<typename ConflictExceptionT = TranscribeStreamingServiceError>
106 void SetConflictException(ConflictExceptionT&& value) { m_conflictExceptionHasBeenSet = true; m_conflictException = std::forward<ConflictExceptionT>(value); }
107 template<typename ConflictExceptionT = TranscribeStreamingServiceError>
108 CallAnalyticsTranscriptResultStream& WithConflictException(ConflictExceptionT&& value) { SetConflictException(std::forward<ConflictExceptionT>(value)); return *this;}
110
112
113 inline const TranscribeStreamingServiceError& GetServiceUnavailableException() const { return m_serviceUnavailableException; }
114 inline bool ServiceUnavailableExceptionHasBeenSet() const { return m_serviceUnavailableExceptionHasBeenSet; }
115 template<typename ServiceUnavailableExceptionT = TranscribeStreamingServiceError>
116 void SetServiceUnavailableException(ServiceUnavailableExceptionT&& value) { m_serviceUnavailableExceptionHasBeenSet = true; m_serviceUnavailableException = std::forward<ServiceUnavailableExceptionT>(value); }
117 template<typename ServiceUnavailableExceptionT = TranscribeStreamingServiceError>
118 CallAnalyticsTranscriptResultStream& WithServiceUnavailableException(ServiceUnavailableExceptionT&& value) { SetServiceUnavailableException(std::forward<ServiceUnavailableExceptionT>(value)); return *this;}
120 private:
121
122 UtteranceEvent m_utteranceEvent;
123 bool m_utteranceEventHasBeenSet = false;
124
125 CategoryEvent m_categoryEvent;
126 bool m_categoryEventHasBeenSet = false;
127
128 TranscribeStreamingServiceError m_badRequestException;
129 bool m_badRequestExceptionHasBeenSet = false;
130
131 TranscribeStreamingServiceError m_limitExceededException;
132 bool m_limitExceededExceptionHasBeenSet = false;
133
134 TranscribeStreamingServiceError m_internalFailureException;
135 bool m_internalFailureExceptionHasBeenSet = false;
136
137 TranscribeStreamingServiceError m_conflictException;
138 bool m_conflictExceptionHasBeenSet = false;
139
140 TranscribeStreamingServiceError m_serviceUnavailableException;
141 bool m_serviceUnavailableExceptionHasBeenSet = false;
142 };
143
144} // namespace Model
145} // namespace TranscribeStreamingService
146} // 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