AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CallAnalyticsJobSummary.h
1
6#pragma once
7#include <aws/transcribe/TranscribeService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/transcribe/model/LanguageCode.h>
11#include <aws/transcribe/model/CallAnalyticsJobStatus.h>
12#include <aws/transcribe/model/CallAnalyticsJobDetails.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace TranscribeService
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_TRANSCRIBESERVICE_API CallAnalyticsJobSummary();
40 AWS_TRANSCRIBESERVICE_API CallAnalyticsJobSummary(Aws::Utils::Json::JsonView jsonValue);
41 AWS_TRANSCRIBESERVICE_API CallAnalyticsJobSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_TRANSCRIBESERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
50 inline const Aws::String& GetCallAnalyticsJobName() const{ return m_callAnalyticsJobName; }
51 inline bool CallAnalyticsJobNameHasBeenSet() const { return m_callAnalyticsJobNameHasBeenSet; }
52 inline void SetCallAnalyticsJobName(const Aws::String& value) { m_callAnalyticsJobNameHasBeenSet = true; m_callAnalyticsJobName = value; }
53 inline void SetCallAnalyticsJobName(Aws::String&& value) { m_callAnalyticsJobNameHasBeenSet = true; m_callAnalyticsJobName = std::move(value); }
54 inline void SetCallAnalyticsJobName(const char* value) { m_callAnalyticsJobNameHasBeenSet = true; m_callAnalyticsJobName.assign(value); }
56 inline CallAnalyticsJobSummary& WithCallAnalyticsJobName(Aws::String&& value) { SetCallAnalyticsJobName(std::move(value)); return *this;}
57 inline CallAnalyticsJobSummary& WithCallAnalyticsJobName(const char* value) { SetCallAnalyticsJobName(value); return *this;}
59
61
67 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
68 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
69 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
70 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
72 inline CallAnalyticsJobSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
74
76
82 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
83 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
84 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
85 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
86 inline CallAnalyticsJobSummary& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
87 inline CallAnalyticsJobSummary& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
89
91
97 inline const Aws::Utils::DateTime& GetCompletionTime() const{ return m_completionTime; }
98 inline bool CompletionTimeHasBeenSet() const { return m_completionTimeHasBeenSet; }
99 inline void SetCompletionTime(const Aws::Utils::DateTime& value) { m_completionTimeHasBeenSet = true; m_completionTime = value; }
100 inline void SetCompletionTime(Aws::Utils::DateTime&& value) { m_completionTimeHasBeenSet = true; m_completionTime = std::move(value); }
102 inline CallAnalyticsJobSummary& WithCompletionTime(Aws::Utils::DateTime&& value) { SetCompletionTime(std::move(value)); return *this;}
104
106
109 inline const LanguageCode& GetLanguageCode() const{ return m_languageCode; }
110 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
111 inline void SetLanguageCode(const LanguageCode& value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
112 inline void SetLanguageCode(LanguageCode&& value) { m_languageCodeHasBeenSet = true; m_languageCode = std::move(value); }
113 inline CallAnalyticsJobSummary& WithLanguageCode(const LanguageCode& value) { SetLanguageCode(value); return *this;}
114 inline CallAnalyticsJobSummary& WithLanguageCode(LanguageCode&& value) { SetLanguageCode(std::move(value)); return *this;}
116
118
126 inline const CallAnalyticsJobStatus& GetCallAnalyticsJobStatus() const{ return m_callAnalyticsJobStatus; }
127 inline bool CallAnalyticsJobStatusHasBeenSet() const { return m_callAnalyticsJobStatusHasBeenSet; }
128 inline void SetCallAnalyticsJobStatus(const CallAnalyticsJobStatus& value) { m_callAnalyticsJobStatusHasBeenSet = true; m_callAnalyticsJobStatus = value; }
129 inline void SetCallAnalyticsJobStatus(CallAnalyticsJobStatus&& value) { m_callAnalyticsJobStatusHasBeenSet = true; m_callAnalyticsJobStatus = std::move(value); }
133
135
139 inline const CallAnalyticsJobDetails& GetCallAnalyticsJobDetails() const{ return m_callAnalyticsJobDetails; }
140 inline bool CallAnalyticsJobDetailsHasBeenSet() const { return m_callAnalyticsJobDetailsHasBeenSet; }
141 inline void SetCallAnalyticsJobDetails(const CallAnalyticsJobDetails& value) { m_callAnalyticsJobDetailsHasBeenSet = true; m_callAnalyticsJobDetails = value; }
142 inline void SetCallAnalyticsJobDetails(CallAnalyticsJobDetails&& value) { m_callAnalyticsJobDetailsHasBeenSet = true; m_callAnalyticsJobDetails = std::move(value); }
146
148
155 inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
156 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
157 inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; }
158 inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); }
159 inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); }
160 inline CallAnalyticsJobSummary& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
161 inline CallAnalyticsJobSummary& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
162 inline CallAnalyticsJobSummary& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
164 private:
165
166 Aws::String m_callAnalyticsJobName;
167 bool m_callAnalyticsJobNameHasBeenSet = false;
168
169 Aws::Utils::DateTime m_creationTime;
170 bool m_creationTimeHasBeenSet = false;
171
172 Aws::Utils::DateTime m_startTime;
173 bool m_startTimeHasBeenSet = false;
174
175 Aws::Utils::DateTime m_completionTime;
176 bool m_completionTimeHasBeenSet = false;
177
178 LanguageCode m_languageCode;
179 bool m_languageCodeHasBeenSet = false;
180
181 CallAnalyticsJobStatus m_callAnalyticsJobStatus;
182 bool m_callAnalyticsJobStatusHasBeenSet = false;
183
184 CallAnalyticsJobDetails m_callAnalyticsJobDetails;
185 bool m_callAnalyticsJobDetailsHasBeenSet = false;
186
187 Aws::String m_failureReason;
188 bool m_failureReasonHasBeenSet = false;
189 };
190
191} // namespace Model
192} // namespace TranscribeService
193} // namespace Aws
void SetCreationTime(const Aws::Utils::DateTime &value)
CallAnalyticsJobSummary & WithLanguageCode(LanguageCode &&value)
CallAnalyticsJobSummary & WithFailureReason(Aws::String &&value)
CallAnalyticsJobSummary & WithFailureReason(const char *value)
CallAnalyticsJobSummary & WithCallAnalyticsJobDetails(CallAnalyticsJobDetails &&value)
const CallAnalyticsJobStatus & GetCallAnalyticsJobStatus() const
CallAnalyticsJobSummary & WithCreationTime(const Aws::Utils::DateTime &value)
CallAnalyticsJobSummary & WithCallAnalyticsJobName(Aws::String &&value)
AWS_TRANSCRIBESERVICE_API CallAnalyticsJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const CallAnalyticsJobDetails & GetCallAnalyticsJobDetails() const
CallAnalyticsJobSummary & WithStartTime(const Aws::Utils::DateTime &value)
CallAnalyticsJobSummary & WithCallAnalyticsJobDetails(const CallAnalyticsJobDetails &value)
AWS_TRANSCRIBESERVICE_API CallAnalyticsJobSummary(Aws::Utils::Json::JsonView jsonValue)
CallAnalyticsJobSummary & WithFailureReason(const Aws::String &value)
CallAnalyticsJobSummary & WithStartTime(Aws::Utils::DateTime &&value)
CallAnalyticsJobSummary & WithCreationTime(Aws::Utils::DateTime &&value)
CallAnalyticsJobSummary & WithCallAnalyticsJobStatus(const CallAnalyticsJobStatus &value)
CallAnalyticsJobSummary & WithCompletionTime(Aws::Utils::DateTime &&value)
void SetCallAnalyticsJobDetails(const CallAnalyticsJobDetails &value)
void SetCallAnalyticsJobStatus(const CallAnalyticsJobStatus &value)
CallAnalyticsJobSummary & WithCallAnalyticsJobName(const Aws::String &value)
void SetCompletionTime(const Aws::Utils::DateTime &value)
CallAnalyticsJobSummary & WithCallAnalyticsJobName(const char *value)
AWS_TRANSCRIBESERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
CallAnalyticsJobSummary & WithLanguageCode(const LanguageCode &value)
void SetCallAnalyticsJobDetails(CallAnalyticsJobDetails &&value)
CallAnalyticsJobSummary & WithCompletionTime(const Aws::Utils::DateTime &value)
CallAnalyticsJobSummary & WithCallAnalyticsJobStatus(CallAnalyticsJobStatus &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue