AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
36
37
39
42 inline const Aws::String& GetVocabularyName() const{ return m_vocabularyName; }
43 inline void SetVocabularyName(const Aws::String& value) { m_vocabularyName = value; }
44 inline void SetVocabularyName(Aws::String&& value) { m_vocabularyName = std::move(value); }
45 inline void SetVocabularyName(const char* value) { m_vocabularyName.assign(value); }
46 inline UpdateVocabularyResult& WithVocabularyName(const Aws::String& value) { SetVocabularyName(value); return *this;}
47 inline UpdateVocabularyResult& WithVocabularyName(Aws::String&& value) { SetVocabularyName(std::move(value)); return *this;}
48 inline UpdateVocabularyResult& WithVocabularyName(const char* value) { SetVocabularyName(value); return *this;}
50
52
55 inline const LanguageCode& GetLanguageCode() const{ return m_languageCode; }
56 inline void SetLanguageCode(const LanguageCode& value) { m_languageCode = value; }
57 inline void SetLanguageCode(LanguageCode&& value) { m_languageCode = std::move(value); }
58 inline UpdateVocabularyResult& WithLanguageCode(const LanguageCode& value) { SetLanguageCode(value); return *this;}
59 inline UpdateVocabularyResult& WithLanguageCode(LanguageCode&& value) { SetLanguageCode(std::move(value)); return *this;}
61
63
69 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
70 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTime = value; }
71 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTime = std::move(value); }
73 inline UpdateVocabularyResult& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
75
77
82 inline const VocabularyState& GetVocabularyState() const{ return m_vocabularyState; }
83 inline void SetVocabularyState(const VocabularyState& value) { m_vocabularyState = value; }
84 inline void SetVocabularyState(VocabularyState&& value) { m_vocabularyState = std::move(value); }
86 inline UpdateVocabularyResult& WithVocabularyState(VocabularyState&& value) { SetVocabularyState(std::move(value)); return *this;}
88
90
91 inline const Aws::String& GetRequestId() const{ return m_requestId; }
92 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
93 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
94 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
95 inline UpdateVocabularyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
96 inline UpdateVocabularyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
97 inline UpdateVocabularyResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
99 private:
100
101 Aws::String m_vocabularyName;
102
103 LanguageCode m_languageCode;
104
105 Aws::Utils::DateTime m_lastModifiedTime;
106
107 VocabularyState m_vocabularyState;
108
109 Aws::String m_requestId;
110 };
111
112} // namespace Model
113} // namespace TranscribeService
114} // namespace Aws
UpdateVocabularyResult & WithLanguageCode(const LanguageCode &value)
UpdateVocabularyResult & WithRequestId(Aws::String &&value)
UpdateVocabularyResult & WithVocabularyName(const char *value)
UpdateVocabularyResult & WithRequestId(const Aws::String &value)
UpdateVocabularyResult & WithVocabularyState(VocabularyState &&value)
UpdateVocabularyResult & WithVocabularyName(const Aws::String &value)
UpdateVocabularyResult & WithVocabularyName(Aws::String &&value)
AWS_TRANSCRIBESERVICE_API UpdateVocabularyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateVocabularyResult & WithLastModifiedTime(const Aws::Utils::DateTime &value)
UpdateVocabularyResult & WithLanguageCode(LanguageCode &&value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
UpdateVocabularyResult & WithRequestId(const char *value)
UpdateVocabularyResult & WithLastModifiedTime(Aws::Utils::DateTime &&value)
AWS_TRANSCRIBESERVICE_API UpdateVocabularyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateVocabularyResult & WithVocabularyState(const VocabularyState &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue