AWS SDK for C++  1.9.129
AWS SDK for C++
ListLanguageModelsRequest.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 "ListLanguageModels"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
44  inline const ModelStatus& GetStatusEquals() const{ return m_statusEquals; }
45 
52  inline bool StatusEqualsHasBeenSet() const { return m_statusEqualsHasBeenSet; }
53 
60  inline void SetStatusEquals(const ModelStatus& value) { m_statusEqualsHasBeenSet = true; m_statusEquals = value; }
61 
68  inline void SetStatusEquals(ModelStatus&& value) { m_statusEqualsHasBeenSet = true; m_statusEquals = std::move(value); }
69 
76  inline ListLanguageModelsRequest& WithStatusEquals(const ModelStatus& value) { SetStatusEquals(value); return *this;}
77 
84  inline ListLanguageModelsRequest& WithStatusEquals(ModelStatus&& value) { SetStatusEquals(std::move(value)); return *this;}
85 
86 
91  inline const Aws::String& GetNameContains() const{ return m_nameContains; }
92 
97  inline bool NameContainsHasBeenSet() const { return m_nameContainsHasBeenSet; }
98 
103  inline void SetNameContains(const Aws::String& value) { m_nameContainsHasBeenSet = true; m_nameContains = value; }
104 
109  inline void SetNameContains(Aws::String&& value) { m_nameContainsHasBeenSet = true; m_nameContains = std::move(value); }
110 
115  inline void SetNameContains(const char* value) { m_nameContainsHasBeenSet = true; m_nameContains.assign(value); }
116 
121  inline ListLanguageModelsRequest& WithNameContains(const Aws::String& value) { SetNameContains(value); return *this;}
122 
127  inline ListLanguageModelsRequest& WithNameContains(Aws::String&& value) { SetNameContains(std::move(value)); return *this;}
128 
133  inline ListLanguageModelsRequest& WithNameContains(const char* value) { SetNameContains(value); return *this;}
134 
135 
140  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
141 
146  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
147 
152  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
153 
158  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
159 
164  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
165 
170  inline ListLanguageModelsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
171 
176  inline ListLanguageModelsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
177 
182  inline ListLanguageModelsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
183 
184 
190  inline int GetMaxResults() const{ return m_maxResults; }
191 
197  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
198 
204  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
205 
211  inline ListLanguageModelsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
212 
213  private:
214 
215  ModelStatus m_statusEquals;
216  bool m_statusEqualsHasBeenSet;
217 
218  Aws::String m_nameContains;
219  bool m_nameContainsHasBeenSet;
220 
221  Aws::String m_nextToken;
222  bool m_nextTokenHasBeenSet;
223 
224  int m_maxResults;
225  bool m_maxResultsHasBeenSet;
226  };
227 
228 } // namespace Model
229 } // namespace TranscribeService
230 } // namespace Aws
Aws::TranscribeService::Model::ListLanguageModelsRequest::WithNameContains
ListLanguageModelsRequest & WithNameContains(const Aws::String &value)
Definition: ListLanguageModelsRequest.h:121
TranscribeService_EXPORTS.h
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::TranscribeService::Model::ListLanguageModelsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListLanguageModelsRequest.h:140
Aws::TranscribeService::Model::ListLanguageModelsRequest::GetStatusEquals
const ModelStatus & GetStatusEquals() const
Definition: ListLanguageModelsRequest.h:44
Aws::TranscribeService::Model::ListLanguageModelsRequest::WithNextToken
ListLanguageModelsRequest & WithNextToken(const Aws::String &value)
Definition: ListLanguageModelsRequest.h:170
Aws::TranscribeService::Model::ListLanguageModelsRequest::WithNameContains
ListLanguageModelsRequest & WithNameContains(const char *value)
Definition: ListLanguageModelsRequest.h:133
Aws::TranscribeService::Model::ListLanguageModelsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListLanguageModelsRequest.h:164
Aws::TranscribeService::Model::ListLanguageModelsRequest::WithNameContains
ListLanguageModelsRequest & WithNameContains(Aws::String &&value)
Definition: ListLanguageModelsRequest.h:127
TranscribeServiceRequest.h
Aws::TranscribeService::Model::ListLanguageModelsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListLanguageModelsRequest.h:190
Aws::TranscribeService::Model::ListLanguageModelsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListLanguageModelsRequest.h:31
Aws::TranscribeService::Model::ListLanguageModelsRequest::WithStatusEquals
ListLanguageModelsRequest & WithStatusEquals(ModelStatus &&value)
Definition: ListLanguageModelsRequest.h:84
Aws::TranscribeService::Model::ListLanguageModelsRequest::StatusEqualsHasBeenSet
bool StatusEqualsHasBeenSet() const
Definition: ListLanguageModelsRequest.h:52
Aws::TranscribeService::Model::ListLanguageModelsRequest::SetStatusEquals
void SetStatusEquals(ModelStatus &&value)
Definition: ListLanguageModelsRequest.h:68
Aws::TranscribeService::Model::ListLanguageModelsRequest::WithNextToken
ListLanguageModelsRequest & WithNextToken(Aws::String &&value)
Definition: ListLanguageModelsRequest.h:176
Aws::TranscribeService::Model::ListLanguageModelsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListLanguageModelsRequest.h:158
Aws::TranscribeService::Model::ListLanguageModelsRequest::GetNameContains
const Aws::String & GetNameContains() const
Definition: ListLanguageModelsRequest.h:91
AWSString.h
Aws::TranscribeService::Model::ListLanguageModelsRequest::SetNameContains
void SetNameContains(const char *value)
Definition: ListLanguageModelsRequest.h:115
Aws::TranscribeService::Model::ListLanguageModelsRequest::SetStatusEquals
void SetStatusEquals(const ModelStatus &value)
Definition: ListLanguageModelsRequest.h:60
Aws::TranscribeService::Model::ListLanguageModelsRequest::ListLanguageModelsRequest
ListLanguageModelsRequest()
Aws::TranscribeService::Model::ListLanguageModelsRequest::WithNextToken
ListLanguageModelsRequest & WithNextToken(const char *value)
Definition: ListLanguageModelsRequest.h:182
Aws::TranscribeService::Model::ListLanguageModelsRequest
Definition: ListLanguageModelsRequest.h:23
Aws::TranscribeService::Model::ListLanguageModelsRequest::SetNameContains
void SetNameContains(Aws::String &&value)
Definition: ListLanguageModelsRequest.h:109
Aws::TranscribeService::Model::ListLanguageModelsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ModelStatus.h
Aws::TranscribeService::Model::ListLanguageModelsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListLanguageModelsRequest.h:146
Aws
Definition: AccessManagementClient.h:15
Aws::TranscribeService::Model::ListLanguageModelsRequest::SetNameContains
void SetNameContains(const Aws::String &value)
Definition: ListLanguageModelsRequest.h:103
Aws::TranscribeService::Model::ListLanguageModelsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListLanguageModelsRequest.h:204
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::TranscribeService::Model::ListLanguageModelsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::TranscribeService::Model::ListLanguageModelsRequest::NameContainsHasBeenSet
bool NameContainsHasBeenSet() const
Definition: ListLanguageModelsRequest.h:97
Aws::TranscribeService::Model::ListLanguageModelsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListLanguageModelsRequest.h:197
Aws::TranscribeService::Model::ListLanguageModelsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListLanguageModelsRequest.h:152
Aws::TranscribeService::Model::ModelStatus
ModelStatus
Definition: ModelStatus.h:17
Aws::TranscribeService::Model::ListLanguageModelsRequest::WithMaxResults
ListLanguageModelsRequest & WithMaxResults(int value)
Definition: ListLanguageModelsRequest.h:211
Aws::TranscribeService::Model::ListLanguageModelsRequest::WithStatusEquals
ListLanguageModelsRequest & WithStatusEquals(const ModelStatus &value)
Definition: ListLanguageModelsRequest.h:76
Aws::TranscribeService::TranscribeServiceRequest
Definition: TranscribeServiceRequest.h:17
AWS_TRANSCRIBESERVICE_API
#define AWS_TRANSCRIBESERVICE_API
Definition: TranscribeService_EXPORTS.h:28