AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
36
37
39
42 inline const Aws::String& GetVocabularyName() const{ return m_vocabularyName; }
43 inline void SetVocabularyName(const Aws::String& value) { m_vocabularyName = value; }
44 inline void SetVocabularyName(Aws::String&& value) { m_vocabularyName = std::move(value); }
45 inline void SetVocabularyName(const char* value) { m_vocabularyName.assign(value); }
46 inline GetVocabularyResult& WithVocabularyName(const Aws::String& value) { SetVocabularyName(value); return *this;}
47 inline GetVocabularyResult& WithVocabularyName(Aws::String&& value) { SetVocabularyName(std::move(value)); return *this;}
48 inline GetVocabularyResult& WithVocabularyName(const char* value) { SetVocabularyName(value); return *this;}
50
52
55 inline const LanguageCode& GetLanguageCode() const{ return m_languageCode; }
56 inline void SetLanguageCode(const LanguageCode& value) { m_languageCode = value; }
57 inline void SetLanguageCode(LanguageCode&& value) { m_languageCode = std::move(value); }
58 inline GetVocabularyResult& WithLanguageCode(const LanguageCode& value) { SetLanguageCode(value); return *this;}
59 inline GetVocabularyResult& WithLanguageCode(LanguageCode&& value) { SetLanguageCode(std::move(value)); return *this;}
61
63
68 inline const VocabularyState& GetVocabularyState() const{ return m_vocabularyState; }
69 inline void SetVocabularyState(const VocabularyState& value) { m_vocabularyState = value; }
70 inline void SetVocabularyState(VocabularyState&& value) { m_vocabularyState = std::move(value); }
71 inline GetVocabularyResult& WithVocabularyState(const VocabularyState& value) { SetVocabularyState(value); return *this;}
72 inline GetVocabularyResult& WithVocabularyState(VocabularyState&& value) { SetVocabularyState(std::move(value)); return *this;}
74
76
82 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
83 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTime = value; }
84 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTime = std::move(value); }
86 inline GetVocabularyResult& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
88
90
97 inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
98 inline void SetFailureReason(const Aws::String& value) { m_failureReason = value; }
99 inline void SetFailureReason(Aws::String&& value) { m_failureReason = std::move(value); }
100 inline void SetFailureReason(const char* value) { m_failureReason.assign(value); }
101 inline GetVocabularyResult& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
102 inline GetVocabularyResult& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
103 inline GetVocabularyResult& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
105
107
111 inline const Aws::String& GetDownloadUri() const{ return m_downloadUri; }
112 inline void SetDownloadUri(const Aws::String& value) { m_downloadUri = value; }
113 inline void SetDownloadUri(Aws::String&& value) { m_downloadUri = std::move(value); }
114 inline void SetDownloadUri(const char* value) { m_downloadUri.assign(value); }
115 inline GetVocabularyResult& WithDownloadUri(const Aws::String& value) { SetDownloadUri(value); return *this;}
116 inline GetVocabularyResult& WithDownloadUri(Aws::String&& value) { SetDownloadUri(std::move(value)); return *this;}
117 inline GetVocabularyResult& WithDownloadUri(const char* value) { SetDownloadUri(value); return *this;}
119
121
122 inline const Aws::String& GetRequestId() const{ return m_requestId; }
123 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
124 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
125 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
126 inline GetVocabularyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
127 inline GetVocabularyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
128 inline GetVocabularyResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
130 private:
131
132 Aws::String m_vocabularyName;
133
134 LanguageCode m_languageCode;
135
136 VocabularyState m_vocabularyState;
137
138 Aws::Utils::DateTime m_lastModifiedTime;
139
140 Aws::String m_failureReason;
141
142 Aws::String m_downloadUri;
143
144 Aws::String m_requestId;
145 };
146
147} // namespace Model
148} // namespace TranscribeService
149} // namespace Aws
GetVocabularyResult & WithRequestId(const Aws::String &value)
GetVocabularyResult & WithVocabularyState(VocabularyState &&value)
GetVocabularyResult & WithFailureReason(const char *value)
GetVocabularyResult & WithLanguageCode(LanguageCode &&value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
GetVocabularyResult & WithRequestId(Aws::String &&value)
GetVocabularyResult & WithFailureReason(const Aws::String &value)
GetVocabularyResult & WithLastModifiedTime(Aws::Utils::DateTime &&value)
GetVocabularyResult & WithVocabularyName(const char *value)
AWS_TRANSCRIBESERVICE_API GetVocabularyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetVocabularyResult & WithVocabularyName(const Aws::String &value)
GetVocabularyResult & WithLanguageCode(const LanguageCode &value)
GetVocabularyResult & WithLastModifiedTime(const Aws::Utils::DateTime &value)
GetVocabularyResult & WithDownloadUri(Aws::String &&value)
GetVocabularyResult & WithDownloadUri(const char *value)
GetVocabularyResult & WithVocabularyName(Aws::String &&value)
GetVocabularyResult & WithFailureReason(Aws::String &&value)
GetVocabularyResult & WithDownloadUri(const Aws::String &value)
AWS_TRANSCRIBESERVICE_API GetVocabularyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetVocabularyResult & WithRequestId(const char *value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
void SetVocabularyState(const VocabularyState &value)
GetVocabularyResult & WithVocabularyState(const VocabularyState &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue