AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UpdateVocabularyResult.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/core/utils/DateTime.h>
11#include <aws/transcribe/model/VocabularyState.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 UpdateVocabularyResult() = 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 UpdateVocabularyResult& 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; }
57
59
65 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
66 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
67 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
68 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
69 UpdateVocabularyResult& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
71
73
78 inline VocabularyState GetVocabularyState() const { return m_vocabularyState; }
79 inline void SetVocabularyState(VocabularyState value) { m_vocabularyStateHasBeenSet = true; m_vocabularyState = value; }
82
84
85 inline const Aws::String& GetRequestId() const { return m_requestId; }
86 template<typename RequestIdT = Aws::String>
87 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
88 template<typename RequestIdT = Aws::String>
89 UpdateVocabularyResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
91 private:
92
93 Aws::String m_vocabularyName;
94 bool m_vocabularyNameHasBeenSet = false;
95
96 LanguageCode m_languageCode{LanguageCode::NOT_SET};
97 bool m_languageCodeHasBeenSet = false;
98
99 Aws::Utils::DateTime m_lastModifiedTime{};
100 bool m_lastModifiedTimeHasBeenSet = false;
101
102 VocabularyState m_vocabularyState{VocabularyState::NOT_SET};
103 bool m_vocabularyStateHasBeenSet = false;
104
105 Aws::String m_requestId;
106 bool m_requestIdHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace TranscribeService
111} // 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