AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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 <aws/transcribestreaming/model/BadRequestException.h>
11#include <aws/transcribestreaming/model/LimitExceededException.h>
12#include <aws/transcribestreaming/model/InternalFailureException.h>
13#include <aws/transcribestreaming/model/ConflictException.h>
14#include <aws/transcribestreaming/model/ServiceUnavailableException.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace TranscribeStreamingService
28{
29namespace Model
30{
31
40 {
41 public:
42 AWS_TRANSCRIBESTREAMINGSERVICE_API CallAnalyticsTranscriptResultStream();
43 AWS_TRANSCRIBESTREAMINGSERVICE_API CallAnalyticsTranscriptResultStream(Aws::Utils::Json::JsonView jsonValue);
44 AWS_TRANSCRIBESTREAMINGSERVICE_API CallAnalyticsTranscriptResultStream& operator=(Aws::Utils::Json::JsonView jsonValue);
45 AWS_TRANSCRIBESTREAMINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
55 inline const UtteranceEvent& GetUtteranceEvent() const{ return m_utteranceEvent; }
56 inline bool UtteranceEventHasBeenSet() const { return m_utteranceEventHasBeenSet; }
57 inline void SetUtteranceEvent(const UtteranceEvent& value) { m_utteranceEventHasBeenSet = true; m_utteranceEvent = value; }
58 inline void SetUtteranceEvent(UtteranceEvent&& value) { m_utteranceEventHasBeenSet = true; m_utteranceEvent = std::move(value); }
62
64
68 inline const CategoryEvent& GetCategoryEvent() const{ return m_categoryEvent; }
69 inline bool CategoryEventHasBeenSet() const { return m_categoryEventHasBeenSet; }
70 inline void SetCategoryEvent(const CategoryEvent& value) { m_categoryEventHasBeenSet = true; m_categoryEvent = value; }
71 inline void SetCategoryEvent(CategoryEvent&& value) { m_categoryEventHasBeenSet = true; m_categoryEvent = std::move(value); }
73 inline CallAnalyticsTranscriptResultStream& WithCategoryEvent(CategoryEvent&& value) { SetCategoryEvent(std::move(value)); return *this;}
75
77
78 inline const BadRequestException& GetBadRequestException() const{ return m_badRequestException; }
79 inline bool BadRequestExceptionHasBeenSet() const { return m_badRequestExceptionHasBeenSet; }
80 inline void SetBadRequestException(const BadRequestException& value) { m_badRequestExceptionHasBeenSet = true; m_badRequestException = value; }
81 inline void SetBadRequestException(BadRequestException&& value) { m_badRequestExceptionHasBeenSet = true; m_badRequestException = std::move(value); }
82 inline CallAnalyticsTranscriptResultStream& WithBadRequestException(const BadRequestException& value) { SetBadRequestException(value); return *this;}
83 inline CallAnalyticsTranscriptResultStream& WithBadRequestException(BadRequestException&& value) { SetBadRequestException(std::move(value)); return *this;}
85
87
88 inline const LimitExceededException& GetLimitExceededException() const{ return m_limitExceededException; }
89 inline bool LimitExceededExceptionHasBeenSet() const { return m_limitExceededExceptionHasBeenSet; }
90 inline void SetLimitExceededException(const LimitExceededException& value) { m_limitExceededExceptionHasBeenSet = true; m_limitExceededException = value; }
91 inline void SetLimitExceededException(LimitExceededException&& value) { m_limitExceededExceptionHasBeenSet = true; m_limitExceededException = std::move(value); }
92 inline CallAnalyticsTranscriptResultStream& WithLimitExceededException(const LimitExceededException& value) { SetLimitExceededException(value); return *this;}
93 inline CallAnalyticsTranscriptResultStream& WithLimitExceededException(LimitExceededException&& value) { SetLimitExceededException(std::move(value)); return *this;}
95
97
98 inline const InternalFailureException& GetInternalFailureException() const{ return m_internalFailureException; }
99 inline bool InternalFailureExceptionHasBeenSet() const { return m_internalFailureExceptionHasBeenSet; }
100 inline void SetInternalFailureException(const InternalFailureException& value) { m_internalFailureExceptionHasBeenSet = true; m_internalFailureException = value; }
101 inline void SetInternalFailureException(InternalFailureException&& value) { m_internalFailureExceptionHasBeenSet = true; m_internalFailureException = std::move(value); }
102 inline CallAnalyticsTranscriptResultStream& WithInternalFailureException(const InternalFailureException& value) { SetInternalFailureException(value); return *this;}
103 inline CallAnalyticsTranscriptResultStream& WithInternalFailureException(InternalFailureException&& value) { SetInternalFailureException(std::move(value)); return *this;}
105
107
108 inline const ConflictException& GetConflictException() const{ return m_conflictException; }
109 inline bool ConflictExceptionHasBeenSet() const { return m_conflictExceptionHasBeenSet; }
110 inline void SetConflictException(const ConflictException& value) { m_conflictExceptionHasBeenSet = true; m_conflictException = value; }
111 inline void SetConflictException(ConflictException&& value) { m_conflictExceptionHasBeenSet = true; m_conflictException = std::move(value); }
112 inline CallAnalyticsTranscriptResultStream& WithConflictException(const ConflictException& value) { SetConflictException(value); return *this;}
113 inline CallAnalyticsTranscriptResultStream& WithConflictException(ConflictException&& value) { SetConflictException(std::move(value)); return *this;}
115
117
118 inline const ServiceUnavailableException& GetServiceUnavailableException() const{ return m_serviceUnavailableException; }
119 inline bool ServiceUnavailableExceptionHasBeenSet() const { return m_serviceUnavailableExceptionHasBeenSet; }
120 inline void SetServiceUnavailableException(const ServiceUnavailableException& value) { m_serviceUnavailableExceptionHasBeenSet = true; m_serviceUnavailableException = value; }
121 inline void SetServiceUnavailableException(ServiceUnavailableException&& value) { m_serviceUnavailableExceptionHasBeenSet = true; m_serviceUnavailableException = std::move(value); }
122 inline CallAnalyticsTranscriptResultStream& WithServiceUnavailableException(const ServiceUnavailableException& value) { SetServiceUnavailableException(value); return *this;}
123 inline CallAnalyticsTranscriptResultStream& WithServiceUnavailableException(ServiceUnavailableException&& value) { SetServiceUnavailableException(std::move(value)); return *this;}
125 private:
126
127 UtteranceEvent m_utteranceEvent;
128 bool m_utteranceEventHasBeenSet = false;
129
130 CategoryEvent m_categoryEvent;
131 bool m_categoryEventHasBeenSet = false;
132
133 BadRequestException m_badRequestException;
134 bool m_badRequestExceptionHasBeenSet = false;
135
136 LimitExceededException m_limitExceededException;
137 bool m_limitExceededExceptionHasBeenSet = false;
138
139 InternalFailureException m_internalFailureException;
140 bool m_internalFailureExceptionHasBeenSet = false;
141
142 ConflictException m_conflictException;
143 bool m_conflictExceptionHasBeenSet = false;
144
145 ServiceUnavailableException m_serviceUnavailableException;
146 bool m_serviceUnavailableExceptionHasBeenSet = false;
147 };
148
149} // namespace Model
150} // namespace TranscribeStreamingService
151} // namespace Aws
CallAnalyticsTranscriptResultStream & WithBadRequestException(const BadRequestException &value)
AWS_TRANSCRIBESTREAMINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
CallAnalyticsTranscriptResultStream & WithServiceUnavailableException(const ServiceUnavailableException &value)
CallAnalyticsTranscriptResultStream & WithBadRequestException(BadRequestException &&value)
AWS_TRANSCRIBESTREAMINGSERVICE_API CallAnalyticsTranscriptResultStream(Aws::Utils::Json::JsonView jsonValue)
CallAnalyticsTranscriptResultStream & WithInternalFailureException(const InternalFailureException &value)
CallAnalyticsTranscriptResultStream & WithConflictException(const ConflictException &value)
CallAnalyticsTranscriptResultStream & WithLimitExceededException(const LimitExceededException &value)
CallAnalyticsTranscriptResultStream & WithLimitExceededException(LimitExceededException &&value)
CallAnalyticsTranscriptResultStream & WithServiceUnavailableException(ServiceUnavailableException &&value)
CallAnalyticsTranscriptResultStream & WithUtteranceEvent(const UtteranceEvent &value)
AWS_TRANSCRIBESTREAMINGSERVICE_API CallAnalyticsTranscriptResultStream & operator=(Aws::Utils::Json::JsonView jsonValue)
CallAnalyticsTranscriptResultStream & WithConflictException(ConflictException &&value)
CallAnalyticsTranscriptResultStream & WithCategoryEvent(const CategoryEvent &value)
CallAnalyticsTranscriptResultStream & WithInternalFailureException(InternalFailureException &&value)
CallAnalyticsTranscriptResultStream & WithUtteranceEvent(UtteranceEvent &&value)
Aws::Utils::Json::JsonValue JsonValue