AWS SDK for C++

AWS SDK for C++ Version 1.11.758

Loading...
Searching...
No Matches
VocabularyInfo.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/transcribe/TranscribeService_EXPORTS.h>
10#include <aws/transcribe/model/LanguageCode.h>
11#include <aws/transcribe/model/VocabularyState.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace TranscribeService {
23namespace Model {
24
33 public:
34 AWS_TRANSCRIBESERVICE_API VocabularyInfo() = default;
35 AWS_TRANSCRIBESERVICE_API VocabularyInfo(Aws::Utils::Json::JsonView jsonValue);
36 AWS_TRANSCRIBESERVICE_API VocabularyInfo& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_TRANSCRIBESERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
45 inline const Aws::String& GetVocabularyName() const { return m_vocabularyName; }
46 inline bool VocabularyNameHasBeenSet() const { return m_vocabularyNameHasBeenSet; }
47 template <typename VocabularyNameT = Aws::String>
48 void SetVocabularyName(VocabularyNameT&& value) {
49 m_vocabularyNameHasBeenSet = true;
50 m_vocabularyName = std::forward<VocabularyNameT>(value);
51 }
52 template <typename VocabularyNameT = Aws::String>
53 VocabularyInfo& WithVocabularyName(VocabularyNameT&& value) {
54 SetVocabularyName(std::forward<VocabularyNameT>(value));
55 return *this;
56 }
58
60
68 inline LanguageCode GetLanguageCode() const { return m_languageCode; }
69 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
70 inline void SetLanguageCode(LanguageCode value) {
71 m_languageCodeHasBeenSet = true;
72 m_languageCode = value;
73 }
75 SetLanguageCode(value);
76 return *this;
77 }
79
81
87 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
88 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
89 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
90 void SetLastModifiedTime(LastModifiedTimeT&& value) {
91 m_lastModifiedTimeHasBeenSet = true;
92 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
93 }
94 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
95 VocabularyInfo& WithLastModifiedTime(LastModifiedTimeT&& value) {
96 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
97 return *this;
98 }
100
102
107 inline VocabularyState GetVocabularyState() const { return m_vocabularyState; }
108 inline bool VocabularyStateHasBeenSet() const { return m_vocabularyStateHasBeenSet; }
110 m_vocabularyStateHasBeenSet = true;
111 m_vocabularyState = value;
112 }
114 SetVocabularyState(value);
115 return *this;
116 }
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 bool m_vocabularyNameHasBeenSet = false;
127 bool m_languageCodeHasBeenSet = false;
128 bool m_lastModifiedTimeHasBeenSet = false;
129 bool m_vocabularyStateHasBeenSet = false;
130};
131
132} // namespace Model
133} // namespace TranscribeService
134} // namespace Aws
VocabularyInfo & WithLanguageCode(LanguageCode value)
void SetVocabularyName(VocabularyNameT &&value)
const Aws::String & GetVocabularyName() const
AWS_TRANSCRIBESERVICE_API VocabularyInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_TRANSCRIBESERVICE_API VocabularyInfo(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetLastModifiedTime() const
VocabularyInfo & WithVocabularyName(VocabularyNameT &&value)
AWS_TRANSCRIBESERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetVocabularyState(VocabularyState value)
AWS_TRANSCRIBESERVICE_API VocabularyInfo()=default
void SetLastModifiedTime(LastModifiedTimeT &&value)
VocabularyInfo & WithVocabularyState(VocabularyState value)
VocabularyInfo & WithLastModifiedTime(LastModifiedTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue