AWS SDK for C++

AWS SDK for C++ Version 1.11.758

Loading...
Searching...
No Matches
UpdateVocabularyResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/transcribe/TranscribeService_EXPORTS.h>
11#include <aws/transcribe/model/LanguageCode.h>
12#include <aws/transcribe/model/VocabularyState.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace TranscribeService {
26namespace Model {
28 public:
29 AWS_TRANSCRIBESERVICE_API UpdateVocabularyResult() = default;
32
34
37 inline const Aws::String& GetVocabularyName() const { return m_vocabularyName; }
38 template <typename VocabularyNameT = Aws::String>
39 void SetVocabularyName(VocabularyNameT&& value) {
40 m_vocabularyNameHasBeenSet = true;
41 m_vocabularyName = std::forward<VocabularyNameT>(value);
42 }
43 template <typename VocabularyNameT = Aws::String>
44 UpdateVocabularyResult& WithVocabularyName(VocabularyNameT&& value) {
45 SetVocabularyName(std::forward<VocabularyNameT>(value));
46 return *this;
47 }
49
51
54 inline LanguageCode GetLanguageCode() const { return m_languageCode; }
55 inline void SetLanguageCode(LanguageCode value) {
56 m_languageCodeHasBeenSet = true;
57 m_languageCode = value;
58 }
60 SetLanguageCode(value);
61 return *this;
62 }
64
66
72 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
73 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
74 void SetLastModifiedTime(LastModifiedTimeT&& value) {
75 m_lastModifiedTimeHasBeenSet = true;
76 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
77 }
78 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
79 UpdateVocabularyResult& WithLastModifiedTime(LastModifiedTimeT&& value) {
80 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
81 return *this;
82 }
84
86
91 inline VocabularyState GetVocabularyState() const { return m_vocabularyState; }
93 m_vocabularyStateHasBeenSet = true;
94 m_vocabularyState = value;
95 }
97 SetVocabularyState(value);
98 return *this;
99 }
101
103
104 inline const Aws::String& GetRequestId() const { return m_requestId; }
105 template <typename RequestIdT = Aws::String>
106 void SetRequestId(RequestIdT&& value) {
107 m_requestIdHasBeenSet = true;
108 m_requestId = std::forward<RequestIdT>(value);
109 }
110 template <typename RequestIdT = Aws::String>
112 SetRequestId(std::forward<RequestIdT>(value));
113 return *this;
114 }
116 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
117
118 private:
119 Aws::String m_vocabularyName;
120
121 LanguageCode m_languageCode{LanguageCode::NOT_SET};
122
123 Aws::Utils::DateTime m_lastModifiedTime{};
124
125 VocabularyState m_vocabularyState{VocabularyState::NOT_SET};
126
127 Aws::String m_requestId;
128 Aws::Http::HttpResponseCode m_HttpResponseCode;
129 bool m_vocabularyNameHasBeenSet = false;
130 bool m_languageCodeHasBeenSet = false;
131 bool m_lastModifiedTimeHasBeenSet = false;
132 bool m_vocabularyStateHasBeenSet = false;
133 bool m_requestIdHasBeenSet = false;
134};
135
136} // namespace Model
137} // namespace TranscribeService
138} // namespace Aws
UpdateVocabularyResult & WithVocabularyName(VocabularyNameT &&value)
UpdateVocabularyResult & WithLastModifiedTime(LastModifiedTimeT &&value)
UpdateVocabularyResult & WithVocabularyState(VocabularyState value)
AWS_TRANSCRIBESERVICE_API UpdateVocabularyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_TRANSCRIBESERVICE_API UpdateVocabularyResult()=default
UpdateVocabularyResult & WithLanguageCode(LanguageCode value)
AWS_TRANSCRIBESERVICE_API UpdateVocabularyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateVocabularyResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue