AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetVocabularyName(const Aws::String& value) { m_vocabularyNameHasBeenSet = true; m_vocabularyName = value; }
54 inline void SetVocabularyName(Aws::String&& value) { m_vocabularyNameHasBeenSet = true; m_vocabularyName = std::move(value); }
55 inline void SetVocabularyName(const char* value) { m_vocabularyNameHasBeenSet = true; m_vocabularyName.assign(value); }
56 inline VocabularyInfo& WithVocabularyName(const Aws::String& value) { SetVocabularyName(value); return *this;}
57 inline VocabularyInfo& WithVocabularyName(Aws::String&& value) { SetVocabularyName(std::move(value)); return *this;}
58 inline VocabularyInfo& WithVocabularyName(const char* value) { SetVocabularyName(value); return *this;}
60
62
70 inline const LanguageCode& GetLanguageCode() const{ return m_languageCode; }
71 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
72 inline void SetLanguageCode(const LanguageCode& value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
73 inline void SetLanguageCode(LanguageCode&& value) { m_languageCodeHasBeenSet = true; m_languageCode = std::move(value); }
74 inline VocabularyInfo& WithLanguageCode(const LanguageCode& value) { SetLanguageCode(value); return *this;}
75 inline VocabularyInfo& WithLanguageCode(LanguageCode&& value) { SetLanguageCode(std::move(value)); return *this;}
77
79
85 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
86 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
87 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
88 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
89 inline VocabularyInfo& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;}
90 inline VocabularyInfo& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
92
94
99 inline const VocabularyState& GetVocabularyState() const{ return m_vocabularyState; }
100 inline bool VocabularyStateHasBeenSet() const { return m_vocabularyStateHasBeenSet; }
101 inline void SetVocabularyState(const VocabularyState& value) { m_vocabularyStateHasBeenSet = true; m_vocabularyState = value; }
102 inline void SetVocabularyState(VocabularyState&& value) { m_vocabularyStateHasBeenSet = true; m_vocabularyState = std::move(value); }
103 inline VocabularyInfo& WithVocabularyState(const VocabularyState& value) { SetVocabularyState(value); return *this;}
104 inline VocabularyInfo& WithVocabularyState(VocabularyState&& value) { SetVocabularyState(std::move(value)); return *this;}
106 private:
107
108 Aws::String m_vocabularyName;
109 bool m_vocabularyNameHasBeenSet = false;
110
111 LanguageCode m_languageCode;
112 bool m_languageCodeHasBeenSet = false;
113
114 Aws::Utils::DateTime m_lastModifiedTime;
115 bool m_lastModifiedTimeHasBeenSet = false;
116
117 VocabularyState m_vocabularyState;
118 bool m_vocabularyStateHasBeenSet = false;
119 };
120
121} // namespace Model
122} // namespace TranscribeService
123} // namespace Aws
VocabularyInfo & WithLanguageCode(const LanguageCode &value)
VocabularyInfo & WithVocabularyName(Aws::String &&value)
const Aws::String & GetVocabularyName() const
const VocabularyState & GetVocabularyState() const
VocabularyInfo & WithVocabularyName(const char *value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
VocabularyInfo & WithLastModifiedTime(Aws::Utils::DateTime &&value)
AWS_TRANSCRIBESERVICE_API VocabularyInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetVocabularyName(const Aws::String &value)
VocabularyInfo & WithLastModifiedTime(const Aws::Utils::DateTime &value)
void SetLanguageCode(const LanguageCode &value)
AWS_TRANSCRIBESERVICE_API VocabularyInfo(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetLastModifiedTime() const
void SetVocabularyState(VocabularyState &&value)
VocabularyInfo & WithLanguageCode(LanguageCode &&value)
void SetVocabularyState(const VocabularyState &value)
AWS_TRANSCRIBESERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
const LanguageCode & GetLanguageCode() const
AWS_TRANSCRIBESERVICE_API VocabularyInfo()
VocabularyInfo & WithVocabularyState(VocabularyState &&value)
VocabularyInfo & WithVocabularyState(const VocabularyState &value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
VocabularyInfo & WithVocabularyName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue