AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateVocabularyResult.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/transcribe/model/VocabularyState.h>
11#include <aws/core/utils/DateTime.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 CreateVocabularyResult();
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 CreateVocabularyResult& WithVocabularyName(const Aws::String& value) { SetVocabularyName(value); return *this;}
47 inline CreateVocabularyResult& WithVocabularyName(Aws::String&& value) { SetVocabularyName(std::move(value)); return *this;}
48 inline CreateVocabularyResult& 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 CreateVocabularyResult& WithLanguageCode(const LanguageCode& value) { SetLanguageCode(value); return *this;}
59 inline CreateVocabularyResult& WithLanguageCode(LanguageCode&& value) { SetLanguageCode(std::move(value)); return *this;}
61
63
68 inline const VocabularyState& GetVocabularyState() const{ return m_vocabularyState; }
69 inline void SetVocabularyState(const VocabularyState& value) { m_vocabularyState = value; }
70 inline void SetVocabularyState(VocabularyState&& value) { m_vocabularyState = std::move(value); }
72 inline CreateVocabularyResult& WithVocabularyState(VocabularyState&& value) { SetVocabularyState(std::move(value)); return *this;}
74
76
82 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
83 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTime = value; }
84 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTime = std::move(value); }
86 inline CreateVocabularyResult& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
88
90
97 inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
98 inline void SetFailureReason(const Aws::String& value) { m_failureReason = value; }
99 inline void SetFailureReason(Aws::String&& value) { m_failureReason = std::move(value); }
100 inline void SetFailureReason(const char* value) { m_failureReason.assign(value); }
101 inline CreateVocabularyResult& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
102 inline CreateVocabularyResult& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
103 inline CreateVocabularyResult& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
105
107
108 inline const Aws::String& GetRequestId() const{ return m_requestId; }
109 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
110 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
111 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
112 inline CreateVocabularyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
113 inline CreateVocabularyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
114 inline CreateVocabularyResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
116 private:
117
118 Aws::String m_vocabularyName;
119
120 LanguageCode m_languageCode;
121
122 VocabularyState m_vocabularyState;
123
124 Aws::Utils::DateTime m_lastModifiedTime;
125
126 Aws::String m_failureReason;
127
128 Aws::String m_requestId;
129 };
130
131} // namespace Model
132} // namespace TranscribeService
133} // namespace Aws
CreateVocabularyResult & WithRequestId(Aws::String &&value)
CreateVocabularyResult & WithLanguageCode(LanguageCode &&value)
CreateVocabularyResult & WithVocabularyName(const char *value)
CreateVocabularyResult & WithFailureReason(const Aws::String &value)
CreateVocabularyResult & WithVocabularyName(Aws::String &&value)
CreateVocabularyResult & WithLastModifiedTime(Aws::Utils::DateTime &&value)
CreateVocabularyResult & WithFailureReason(Aws::String &&value)
CreateVocabularyResult & WithLanguageCode(const LanguageCode &value)
CreateVocabularyResult & WithVocabularyState(const VocabularyState &value)
CreateVocabularyResult & WithFailureReason(const char *value)
CreateVocabularyResult & WithRequestId(const Aws::String &value)
CreateVocabularyResult & WithLastModifiedTime(const Aws::Utils::DateTime &value)
CreateVocabularyResult & WithVocabularyState(VocabularyState &&value)
AWS_TRANSCRIBESERVICE_API CreateVocabularyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
CreateVocabularyResult & WithRequestId(const char *value)
AWS_TRANSCRIBESERVICE_API CreateVocabularyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateVocabularyResult & WithVocabularyName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue