AWS SDK for C++  1.9.66
AWS SDK for C++
ListVocabulariesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace TranscribeService
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "ListVocabularies"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
42  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
43 
48  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
49 
54  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
55 
60  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
61 
66  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
67 
72  inline ListVocabulariesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
73 
78  inline ListVocabulariesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
79 
84  inline ListVocabulariesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
85 
86 
91  inline int GetMaxResults() const{ return m_maxResults; }
92 
97  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
98 
103  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
104 
109  inline ListVocabulariesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
110 
111 
116  inline const VocabularyState& GetStateEquals() const{ return m_stateEquals; }
117 
122  inline bool StateEqualsHasBeenSet() const { return m_stateEqualsHasBeenSet; }
123 
128  inline void SetStateEquals(const VocabularyState& value) { m_stateEqualsHasBeenSet = true; m_stateEquals = value; }
129 
134  inline void SetStateEquals(VocabularyState&& value) { m_stateEqualsHasBeenSet = true; m_stateEquals = std::move(value); }
135 
140  inline ListVocabulariesRequest& WithStateEquals(const VocabularyState& value) { SetStateEquals(value); return *this;}
141 
146  inline ListVocabulariesRequest& WithStateEquals(VocabularyState&& value) { SetStateEquals(std::move(value)); return *this;}
147 
148 
155  inline const Aws::String& GetNameContains() const{ return m_nameContains; }
156 
163  inline bool NameContainsHasBeenSet() const { return m_nameContainsHasBeenSet; }
164 
171  inline void SetNameContains(const Aws::String& value) { m_nameContainsHasBeenSet = true; m_nameContains = value; }
172 
179  inline void SetNameContains(Aws::String&& value) { m_nameContainsHasBeenSet = true; m_nameContains = std::move(value); }
180 
187  inline void SetNameContains(const char* value) { m_nameContainsHasBeenSet = true; m_nameContains.assign(value); }
188 
195  inline ListVocabulariesRequest& WithNameContains(const Aws::String& value) { SetNameContains(value); return *this;}
196 
203  inline ListVocabulariesRequest& WithNameContains(Aws::String&& value) { SetNameContains(std::move(value)); return *this;}
204 
211  inline ListVocabulariesRequest& WithNameContains(const char* value) { SetNameContains(value); return *this;}
212 
213  private:
214 
215  Aws::String m_nextToken;
216  bool m_nextTokenHasBeenSet;
217 
218  int m_maxResults;
219  bool m_maxResultsHasBeenSet;
220 
221  VocabularyState m_stateEquals;
222  bool m_stateEqualsHasBeenSet;
223 
224  Aws::String m_nameContains;
225  bool m_nameContainsHasBeenSet;
226  };
227 
228 } // namespace Model
229 } // namespace TranscribeService
230 } // namespace Aws
Aws::TranscribeService::Model::ListVocabulariesRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListVocabulariesRequest.h:54
TranscribeService_EXPORTS.h
Aws::TranscribeService::Model::ListVocabulariesRequest::SetNameContains
void SetNameContains(Aws::String &&value)
Definition: ListVocabulariesRequest.h:179
Aws::TranscribeService::Model::ListVocabulariesRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListVocabulariesRequest.h:97
Aws::TranscribeService::Model::ListVocabulariesRequest::WithStateEquals
ListVocabulariesRequest & WithStateEquals(VocabularyState &&value)
Definition: ListVocabulariesRequest.h:146
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::TranscribeService::Model::ListVocabulariesRequest::WithMaxResults
ListVocabulariesRequest & WithMaxResults(int value)
Definition: ListVocabulariesRequest.h:109
Aws::TranscribeService::Model::ListVocabulariesRequest::ListVocabulariesRequest
ListVocabulariesRequest()
Aws::TranscribeService::Model::ListVocabulariesRequest::SetStateEquals
void SetStateEquals(VocabularyState &&value)
Definition: ListVocabulariesRequest.h:134
Aws::TranscribeService::Model::ListVocabulariesRequest::GetMaxResults
int GetMaxResults() const
Definition: ListVocabulariesRequest.h:91
VocabularyState.h
Aws::TranscribeService::Model::ListVocabulariesRequest::WithNameContains
ListVocabulariesRequest & WithNameContains(const Aws::String &value)
Definition: ListVocabulariesRequest.h:195
TranscribeServiceRequest.h
Aws::TranscribeService::Model::ListVocabulariesRequest::GetStateEquals
const VocabularyState & GetStateEquals() const
Definition: ListVocabulariesRequest.h:116
Aws::TranscribeService::Model::ListVocabulariesRequest::NameContainsHasBeenSet
bool NameContainsHasBeenSet() const
Definition: ListVocabulariesRequest.h:163
Aws::TranscribeService::Model::ListVocabulariesRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListVocabulariesRequest.h:60
Aws::TranscribeService::Model::ListVocabulariesRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListVocabulariesRequest.h:66
Aws::TranscribeService::Model::ListVocabulariesRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListVocabulariesRequest.h:103
Aws::TranscribeService::Model::ListVocabulariesRequest::WithNextToken
ListVocabulariesRequest & WithNextToken(const Aws::String &value)
Definition: ListVocabulariesRequest.h:72
Aws::TranscribeService::Model::ListVocabulariesRequest::SetStateEquals
void SetStateEquals(const VocabularyState &value)
Definition: ListVocabulariesRequest.h:128
Aws::TranscribeService::Model::ListVocabulariesRequest::WithStateEquals
ListVocabulariesRequest & WithStateEquals(const VocabularyState &value)
Definition: ListVocabulariesRequest.h:140
Aws::TranscribeService::Model::ListVocabulariesRequest::WithNextToken
ListVocabulariesRequest & WithNextToken(const char *value)
Definition: ListVocabulariesRequest.h:84
Aws::TranscribeService::Model::VocabularyState
VocabularyState
Definition: VocabularyState.h:17
Aws::TranscribeService::Model::ListVocabulariesRequest::GetNameContains
const Aws::String & GetNameContains() const
Definition: ListVocabulariesRequest.h:155
AWSString.h
Aws::TranscribeService::Model::ListVocabulariesRequest::WithNextToken
ListVocabulariesRequest & WithNextToken(Aws::String &&value)
Definition: ListVocabulariesRequest.h:78
Aws::TranscribeService::Model::ListVocabulariesRequest::WithNameContains
ListVocabulariesRequest & WithNameContains(Aws::String &&value)
Definition: ListVocabulariesRequest.h:203
Aws::TranscribeService::Model::ListVocabulariesRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::TranscribeService::Model::ListVocabulariesRequest
Definition: ListVocabulariesRequest.h:23
Aws::TranscribeService::Model::ListVocabulariesRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListVocabulariesRequest.h:48
Aws::TranscribeService::Model::ListVocabulariesRequest::StateEqualsHasBeenSet
bool StateEqualsHasBeenSet() const
Definition: ListVocabulariesRequest.h:122
Aws::TranscribeService::Model::ListVocabulariesRequest::SetNameContains
void SetNameContains(const char *value)
Definition: ListVocabulariesRequest.h:187
Aws
Definition: AccessManagementClient.h:15
Aws::TranscribeService::Model::ListVocabulariesRequest::WithNameContains
ListVocabulariesRequest & WithNameContains(const char *value)
Definition: ListVocabulariesRequest.h:211
Aws::TranscribeService::Model::ListVocabulariesRequest::SetNameContains
void SetNameContains(const Aws::String &value)
Definition: ListVocabulariesRequest.h:171
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::TranscribeService::Model::ListVocabulariesRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListVocabulariesRequest.h:42
Aws::TranscribeService::Model::ListVocabulariesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListVocabulariesRequest.h:31
Aws::TranscribeService::Model::ListVocabulariesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::TranscribeService::TranscribeServiceRequest
Definition: TranscribeServiceRequest.h:17
AWS_TRANSCRIBESERVICE_API
#define AWS_TRANSCRIBESERVICE_API
Definition: TranscribeService_EXPORTS.h:28