AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListVocabulariesResult.h
1
6#pragma once
7#include <aws/transcribe/TranscribeService_EXPORTS.h>
8#include <aws/transcribe/model/VocabularyState.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/transcribe/model/VocabularyInfo.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 ListVocabulariesResult();
36
37
39
43 inline const VocabularyState& GetStatus() const{ return m_status; }
44 inline void SetStatus(const VocabularyState& value) { m_status = value; }
45 inline void SetStatus(VocabularyState&& value) { m_status = std::move(value); }
46 inline ListVocabulariesResult& WithStatus(const VocabularyState& value) { SetStatus(value); return *this;}
47 inline ListVocabulariesResult& WithStatus(VocabularyState&& value) { SetStatus(std::move(value)); return *this;}
49
51
58 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
59 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
60 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
61 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
62 inline ListVocabulariesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
63 inline ListVocabulariesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
64 inline ListVocabulariesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
66
68
72 inline const Aws::Vector<VocabularyInfo>& GetVocabularies() const{ return m_vocabularies; }
73 inline void SetVocabularies(const Aws::Vector<VocabularyInfo>& value) { m_vocabularies = value; }
74 inline void SetVocabularies(Aws::Vector<VocabularyInfo>&& value) { m_vocabularies = std::move(value); }
76 inline ListVocabulariesResult& WithVocabularies(Aws::Vector<VocabularyInfo>&& value) { SetVocabularies(std::move(value)); return *this;}
77 inline ListVocabulariesResult& AddVocabularies(const VocabularyInfo& value) { m_vocabularies.push_back(value); return *this; }
78 inline ListVocabulariesResult& AddVocabularies(VocabularyInfo&& value) { m_vocabularies.push_back(std::move(value)); return *this; }
80
82
83 inline const Aws::String& GetRequestId() const{ return m_requestId; }
84 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
85 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
86 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
87 inline ListVocabulariesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
88 inline ListVocabulariesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
89 inline ListVocabulariesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
91 private:
92
93 VocabularyState m_status;
94
95 Aws::String m_nextToken;
96
97 Aws::Vector<VocabularyInfo> m_vocabularies;
98
99 Aws::String m_requestId;
100 };
101
102} // namespace Model
103} // namespace TranscribeService
104} // namespace Aws
ListVocabulariesResult & WithStatus(VocabularyState &&value)
AWS_TRANSCRIBESERVICE_API ListVocabulariesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetVocabularies(const Aws::Vector< VocabularyInfo > &value)
const Aws::Vector< VocabularyInfo > & GetVocabularies() const
ListVocabulariesResult & WithVocabularies(Aws::Vector< VocabularyInfo > &&value)
ListVocabulariesResult & WithNextToken(const char *value)
ListVocabulariesResult & WithRequestId(Aws::String &&value)
ListVocabulariesResult & WithRequestId(const char *value)
AWS_TRANSCRIBESERVICE_API ListVocabulariesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListVocabulariesResult & WithNextToken(Aws::String &&value)
ListVocabulariesResult & WithRequestId(const Aws::String &value)
ListVocabulariesResult & WithNextToken(const Aws::String &value)
ListVocabulariesResult & WithStatus(const VocabularyState &value)
ListVocabulariesResult & AddVocabularies(const VocabularyInfo &value)
ListVocabulariesResult & AddVocabularies(VocabularyInfo &&value)
ListVocabulariesResult & WithVocabularies(const Aws::Vector< VocabularyInfo > &value)
void SetVocabularies(Aws::Vector< VocabularyInfo > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue