AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetVocabularyResult.h
1
6#pragma once
7#include <aws/transcribe/TranscribeService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/transcribe/model/LanguageCode.h>
10#include <aws/transcribe/model/VocabularyState.h>
11#include <aws/core/utils/DateTime.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace TranscribeService
27{
28namespace Model
29{
31 {
32 public:
33 AWS_TRANSCRIBESERVICE_API GetVocabularyResult() = default;
36
37
39
42 inline const Aws::String& GetVocabularyName() const { return m_vocabularyName; }
43 template<typename VocabularyNameT = Aws::String>
44 void SetVocabularyName(VocabularyNameT&& value) { m_vocabularyNameHasBeenSet = true; m_vocabularyName = std::forward<VocabularyNameT>(value); }
45 template<typename VocabularyNameT = Aws::String>
46 GetVocabularyResult& WithVocabularyName(VocabularyNameT&& value) { SetVocabularyName(std::forward<VocabularyNameT>(value)); return *this;}
48
50
53 inline LanguageCode GetLanguageCode() const { return m_languageCode; }
54 inline void SetLanguageCode(LanguageCode value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
55 inline GetVocabularyResult& WithLanguageCode(LanguageCode value) { SetLanguageCode(value); return *this;}
57
59
64 inline VocabularyState GetVocabularyState() const { return m_vocabularyState; }
65 inline void SetVocabularyState(VocabularyState value) { m_vocabularyStateHasBeenSet = true; m_vocabularyState = value; }
68
70
76 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
77 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
78 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
79 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
80 GetVocabularyResult& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
82
84
91 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
92 template<typename FailureReasonT = Aws::String>
93 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::forward<FailureReasonT>(value); }
94 template<typename FailureReasonT = Aws::String>
95 GetVocabularyResult& WithFailureReason(FailureReasonT&& value) { SetFailureReason(std::forward<FailureReasonT>(value)); return *this;}
97
99
103 inline const Aws::String& GetDownloadUri() const { return m_downloadUri; }
104 template<typename DownloadUriT = Aws::String>
105 void SetDownloadUri(DownloadUriT&& value) { m_downloadUriHasBeenSet = true; m_downloadUri = std::forward<DownloadUriT>(value); }
106 template<typename DownloadUriT = Aws::String>
107 GetVocabularyResult& WithDownloadUri(DownloadUriT&& value) { SetDownloadUri(std::forward<DownloadUriT>(value)); return *this;}
109
111
112 inline const Aws::String& GetRequestId() const { return m_requestId; }
113 template<typename RequestIdT = Aws::String>
114 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
115 template<typename RequestIdT = Aws::String>
116 GetVocabularyResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
118 private:
119
120 Aws::String m_vocabularyName;
121 bool m_vocabularyNameHasBeenSet = false;
122
123 LanguageCode m_languageCode{LanguageCode::NOT_SET};
124 bool m_languageCodeHasBeenSet = false;
125
126 VocabularyState m_vocabularyState{VocabularyState::NOT_SET};
127 bool m_vocabularyStateHasBeenSet = false;
128
129 Aws::Utils::DateTime m_lastModifiedTime{};
130 bool m_lastModifiedTimeHasBeenSet = false;
131
132 Aws::String m_failureReason;
133 bool m_failureReasonHasBeenSet = false;
134
135 Aws::String m_downloadUri;
136 bool m_downloadUriHasBeenSet = false;
137
138 Aws::String m_requestId;
139 bool m_requestIdHasBeenSet = false;
140 };
141
142} // namespace Model
143} // namespace TranscribeService
144} // namespace Aws
GetVocabularyResult & WithVocabularyState(VocabularyState value)
GetVocabularyResult & WithVocabularyName(VocabularyNameT &&value)
GetVocabularyResult & WithRequestId(RequestIdT &&value)
AWS_TRANSCRIBESERVICE_API GetVocabularyResult()=default
GetVocabularyResult & WithDownloadUri(DownloadUriT &&value)
AWS_TRANSCRIBESERVICE_API GetVocabularyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetVocabularyResult & WithLastModifiedTime(LastModifiedTimeT &&value)
GetVocabularyResult & WithFailureReason(FailureReasonT &&value)
GetVocabularyResult & WithLanguageCode(LanguageCode value)
AWS_TRANSCRIBESERVICE_API GetVocabularyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetLastModifiedTime() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue