AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TranscriptResultStream.h
1
6#pragma once
7#include <aws/transcribestreaming/TranscribeStreamingService_EXPORTS.h>
8#include <aws/transcribestreaming/model/TranscriptEvent.h>
9#include <aws/transcribestreaming/model/BadRequestException.h>
10#include <aws/transcribestreaming/model/LimitExceededException.h>
11#include <aws/transcribestreaming/model/InternalFailureException.h>
12#include <aws/transcribestreaming/model/ConflictException.h>
13#include <aws/transcribestreaming/model/ServiceUnavailableException.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace TranscribeStreamingService
27{
28namespace Model
29{
30
38 {
39 public:
40 AWS_TRANSCRIBESTREAMINGSERVICE_API TranscriptResultStream();
41 AWS_TRANSCRIBESTREAMINGSERVICE_API TranscriptResultStream(Aws::Utils::Json::JsonView jsonValue);
42 AWS_TRANSCRIBESTREAMINGSERVICE_API TranscriptResultStream& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_TRANSCRIBESTREAMINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
52 inline const TranscriptEvent& GetTranscriptEvent() const{ return m_transcriptEvent; }
53 inline bool TranscriptEventHasBeenSet() const { return m_transcriptEventHasBeenSet; }
54 inline void SetTranscriptEvent(const TranscriptEvent& value) { m_transcriptEventHasBeenSet = true; m_transcriptEvent = value; }
55 inline void SetTranscriptEvent(TranscriptEvent&& value) { m_transcriptEventHasBeenSet = true; m_transcriptEvent = std::move(value); }
57 inline TranscriptResultStream& WithTranscriptEvent(TranscriptEvent&& value) { SetTranscriptEvent(std::move(value)); return *this;}
59
61
65 inline const BadRequestException& GetBadRequestException() const{ return m_badRequestException; }
66 inline bool BadRequestExceptionHasBeenSet() const { return m_badRequestExceptionHasBeenSet; }
67 inline void SetBadRequestException(const BadRequestException& value) { m_badRequestExceptionHasBeenSet = true; m_badRequestException = value; }
68 inline void SetBadRequestException(BadRequestException&& value) { m_badRequestExceptionHasBeenSet = true; m_badRequestException = std::move(value); }
69 inline TranscriptResultStream& WithBadRequestException(const BadRequestException& value) { SetBadRequestException(value); return *this;}
70 inline TranscriptResultStream& WithBadRequestException(BadRequestException&& value) { SetBadRequestException(std::move(value)); return *this;}
72
74
79 inline const LimitExceededException& GetLimitExceededException() const{ return m_limitExceededException; }
80 inline bool LimitExceededExceptionHasBeenSet() const { return m_limitExceededExceptionHasBeenSet; }
81 inline void SetLimitExceededException(const LimitExceededException& value) { m_limitExceededExceptionHasBeenSet = true; m_limitExceededException = value; }
82 inline void SetLimitExceededException(LimitExceededException&& value) { m_limitExceededExceptionHasBeenSet = true; m_limitExceededException = std::move(value); }
83 inline TranscriptResultStream& WithLimitExceededException(const LimitExceededException& value) { SetLimitExceededException(value); return *this;}
84 inline TranscriptResultStream& WithLimitExceededException(LimitExceededException&& value) { SetLimitExceededException(std::move(value)); return *this;}
86
88
92 inline const InternalFailureException& GetInternalFailureException() const{ return m_internalFailureException; }
93 inline bool InternalFailureExceptionHasBeenSet() const { return m_internalFailureExceptionHasBeenSet; }
94 inline void SetInternalFailureException(const InternalFailureException& value) { m_internalFailureExceptionHasBeenSet = true; m_internalFailureException = value; }
95 inline void SetInternalFailureException(InternalFailureException&& value) { m_internalFailureExceptionHasBeenSet = true; m_internalFailureException = std::move(value); }
96 inline TranscriptResultStream& WithInternalFailureException(const InternalFailureException& value) { SetInternalFailureException(value); return *this;}
97 inline TranscriptResultStream& WithInternalFailureException(InternalFailureException&& value) { SetInternalFailureException(std::move(value)); return *this;}
99
101
105 inline const ConflictException& GetConflictException() const{ return m_conflictException; }
106 inline bool ConflictExceptionHasBeenSet() const { return m_conflictExceptionHasBeenSet; }
107 inline void SetConflictException(const ConflictException& value) { m_conflictExceptionHasBeenSet = true; m_conflictException = value; }
108 inline void SetConflictException(ConflictException&& value) { m_conflictExceptionHasBeenSet = true; m_conflictException = std::move(value); }
109 inline TranscriptResultStream& WithConflictException(const ConflictException& value) { SetConflictException(value); return *this;}
110 inline TranscriptResultStream& WithConflictException(ConflictException&& value) { SetConflictException(std::move(value)); return *this;}
112
114
117 inline const ServiceUnavailableException& GetServiceUnavailableException() const{ return m_serviceUnavailableException; }
118 inline bool ServiceUnavailableExceptionHasBeenSet() const { return m_serviceUnavailableExceptionHasBeenSet; }
119 inline void SetServiceUnavailableException(const ServiceUnavailableException& value) { m_serviceUnavailableExceptionHasBeenSet = true; m_serviceUnavailableException = value; }
120 inline void SetServiceUnavailableException(ServiceUnavailableException&& value) { m_serviceUnavailableExceptionHasBeenSet = true; m_serviceUnavailableException = std::move(value); }
121 inline TranscriptResultStream& WithServiceUnavailableException(const ServiceUnavailableException& value) { SetServiceUnavailableException(value); return *this;}
122 inline TranscriptResultStream& WithServiceUnavailableException(ServiceUnavailableException&& value) { SetServiceUnavailableException(std::move(value)); return *this;}
124 private:
125
126 TranscriptEvent m_transcriptEvent;
127 bool m_transcriptEventHasBeenSet = false;
128
129 BadRequestException m_badRequestException;
130 bool m_badRequestExceptionHasBeenSet = false;
131
132 LimitExceededException m_limitExceededException;
133 bool m_limitExceededExceptionHasBeenSet = false;
134
135 InternalFailureException m_internalFailureException;
136 bool m_internalFailureExceptionHasBeenSet = false;
137
138 ConflictException m_conflictException;
139 bool m_conflictExceptionHasBeenSet = false;
140
141 ServiceUnavailableException m_serviceUnavailableException;
142 bool m_serviceUnavailableExceptionHasBeenSet = false;
143 };
144
145} // namespace Model
146} // namespace TranscribeStreamingService
147} // namespace Aws
TranscriptResultStream & WithConflictException(const ConflictException &value)
TranscriptResultStream & WithServiceUnavailableException(const ServiceUnavailableException &value)
void SetServiceUnavailableException(const ServiceUnavailableException &value)
AWS_TRANSCRIBESTREAMINGSERVICE_API TranscriptResultStream & operator=(Aws::Utils::Json::JsonView jsonValue)
TranscriptResultStream & WithInternalFailureException(InternalFailureException &&value)
TranscriptResultStream & WithInternalFailureException(const InternalFailureException &value)
TranscriptResultStream & WithBadRequestException(BadRequestException &&value)
TranscriptResultStream & WithConflictException(ConflictException &&value)
void SetServiceUnavailableException(ServiceUnavailableException &&value)
TranscriptResultStream & WithBadRequestException(const BadRequestException &value)
AWS_TRANSCRIBESTREAMINGSERVICE_API TranscriptResultStream()
TranscriptResultStream & WithTranscriptEvent(TranscriptEvent &&value)
const InternalFailureException & GetInternalFailureException() const
AWS_TRANSCRIBESTREAMINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
TranscriptResultStream & WithServiceUnavailableException(ServiceUnavailableException &&value)
TranscriptResultStream & WithTranscriptEvent(const TranscriptEvent &value)
AWS_TRANSCRIBESTREAMINGSERVICE_API TranscriptResultStream(Aws::Utils::Json::JsonView jsonValue)
void SetLimitExceededException(const LimitExceededException &value)
const ServiceUnavailableException & GetServiceUnavailableException() const
void SetInternalFailureException(const InternalFailureException &value)
TranscriptResultStream & WithLimitExceededException(const LimitExceededException &value)
TranscriptResultStream & WithLimitExceededException(LimitExceededException &&value)
Aws::Utils::Json::JsonValue JsonValue