AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
VocabularyInfo.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{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace TranscribeService
25{
26namespace Model
27{
28
37 {
38 public:
39 AWS_TRANSCRIBESERVICE_API VocabularyInfo() = default;
40 AWS_TRANSCRIBESERVICE_API VocabularyInfo(Aws::Utils::Json::JsonView jsonValue);
41 AWS_TRANSCRIBESERVICE_API VocabularyInfo& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_TRANSCRIBESERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
51 inline const Aws::String& GetVocabularyName() const { return m_vocabularyName; }
52 inline bool VocabularyNameHasBeenSet() const { return m_vocabularyNameHasBeenSet; }
53 template<typename VocabularyNameT = Aws::String>
54 void SetVocabularyName(VocabularyNameT&& value) { m_vocabularyNameHasBeenSet = true; m_vocabularyName = std::forward<VocabularyNameT>(value); }
55 template<typename VocabularyNameT = Aws::String>
56 VocabularyInfo& WithVocabularyName(VocabularyNameT&& value) { SetVocabularyName(std::forward<VocabularyNameT>(value)); return *this;}
58
60
68 inline LanguageCode GetLanguageCode() const { return m_languageCode; }
69 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
70 inline void SetLanguageCode(LanguageCode value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
71 inline VocabularyInfo& WithLanguageCode(LanguageCode value) { SetLanguageCode(value); return *this;}
73
75
81 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
82 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
83 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
84 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
85 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
86 VocabularyInfo& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
88
90
95 inline VocabularyState GetVocabularyState() const { return m_vocabularyState; }
96 inline bool VocabularyStateHasBeenSet() const { return m_vocabularyStateHasBeenSet; }
97 inline void SetVocabularyState(VocabularyState value) { m_vocabularyStateHasBeenSet = true; m_vocabularyState = value; }
100 private:
101
102 Aws::String m_vocabularyName;
103 bool m_vocabularyNameHasBeenSet = false;
104
105 LanguageCode m_languageCode{LanguageCode::NOT_SET};
106 bool m_languageCodeHasBeenSet = false;
107
108 Aws::Utils::DateTime m_lastModifiedTime{};
109 bool m_lastModifiedTimeHasBeenSet = false;
110
111 VocabularyState m_vocabularyState{VocabularyState::NOT_SET};
112 bool m_vocabularyStateHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace TranscribeService
117} // 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