AWS SDK for C++  1.8.129
AWS SDK for C++
ListEntityRecognizersRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Comprehend
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 "ListEntityRecognizers"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
43  inline const EntityRecognizerFilter& GetFilter() const{ return m_filter; }
44 
50  inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; }
51 
57  inline void SetFilter(const EntityRecognizerFilter& value) { m_filterHasBeenSet = true; m_filter = value; }
58 
64  inline void SetFilter(EntityRecognizerFilter&& value) { m_filterHasBeenSet = true; m_filter = std::move(value); }
65 
71  inline ListEntityRecognizersRequest& WithFilter(const EntityRecognizerFilter& value) { SetFilter(value); return *this;}
72 
78  inline ListEntityRecognizersRequest& WithFilter(EntityRecognizerFilter&& value) { SetFilter(std::move(value)); return *this;}
79 
80 
84  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
85 
89  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
90 
94  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
95 
99  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
100 
104  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
105 
109  inline ListEntityRecognizersRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
110 
114  inline ListEntityRecognizersRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
115 
119  inline ListEntityRecognizersRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
120 
121 
126  inline int GetMaxResults() const{ return m_maxResults; }
127 
132  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
133 
138  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
139 
144  inline ListEntityRecognizersRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
145 
146  private:
147 
148  EntityRecognizerFilter m_filter;
149  bool m_filterHasBeenSet;
150 
151  Aws::String m_nextToken;
152  bool m_nextTokenHasBeenSet;
153 
154  int m_maxResults;
155  bool m_maxResultsHasBeenSet;
156  };
157 
158 } // namespace Model
159 } // namespace Comprehend
160 } // namespace Aws
Aws::Comprehend::Model::ListEntityRecognizersRequest::SetFilter
void SetFilter(EntityRecognizerFilter &&value)
Definition: ListEntityRecognizersRequest.h:64
Aws::Comprehend::ComprehendRequest
Definition: ComprehendRequest.h:17
Aws::Comprehend::Model::EntityRecognizerFilter
Definition: EntityRecognizerFilter.h:35
AWS_COMPREHEND_API
#define AWS_COMPREHEND_API
Definition: Comprehend_EXPORTS.h:28
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Comprehend::Model::ListEntityRecognizersRequest::GetMaxResults
int GetMaxResults() const
Definition: ListEntityRecognizersRequest.h:126
Aws::Comprehend::Model::ListEntityRecognizersRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListEntityRecognizersRequest.h:99
Aws::Comprehend::Model::ListEntityRecognizersRequest
Definition: ListEntityRecognizersRequest.h:23
Aws::Comprehend::Model::ListEntityRecognizersRequest::WithNextToken
ListEntityRecognizersRequest & WithNextToken(const Aws::String &value)
Definition: ListEntityRecognizersRequest.h:109
Aws::Comprehend::Model::ListEntityRecognizersRequest::WithFilter
ListEntityRecognizersRequest & WithFilter(EntityRecognizerFilter &&value)
Definition: ListEntityRecognizersRequest.h:78
Aws::Comprehend::Model::ListEntityRecognizersRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListEntityRecognizersRequest.h:84
Aws::Comprehend::Model::ListEntityRecognizersRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Comprehend::Model::ListEntityRecognizersRequest::GetFilter
const EntityRecognizerFilter & GetFilter() const
Definition: ListEntityRecognizersRequest.h:43
Aws::Comprehend::Model::ListEntityRecognizersRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListEntityRecognizersRequest.h:132
Aws::Comprehend::Model::ListEntityRecognizersRequest::FilterHasBeenSet
bool FilterHasBeenSet() const
Definition: ListEntityRecognizersRequest.h:50
AWSString.h
Aws::Comprehend::Model::ListEntityRecognizersRequest::ListEntityRecognizersRequest
ListEntityRecognizersRequest()
Aws::Comprehend::Model::ListEntityRecognizersRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListEntityRecognizersRequest.h:31
Aws::Comprehend::Model::ListEntityRecognizersRequest::SetFilter
void SetFilter(const EntityRecognizerFilter &value)
Definition: ListEntityRecognizersRequest.h:57
ComprehendRequest.h
Aws::Comprehend::Model::ListEntityRecognizersRequest::WithMaxResults
ListEntityRecognizersRequest & WithMaxResults(int value)
Definition: ListEntityRecognizersRequest.h:144
Aws::Comprehend::Model::ListEntityRecognizersRequest::WithFilter
ListEntityRecognizersRequest & WithFilter(const EntityRecognizerFilter &value)
Definition: ListEntityRecognizersRequest.h:71
Aws::Comprehend::Model::ListEntityRecognizersRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListEntityRecognizersRequest.h:138
Comprehend_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
Aws::Comprehend::Model::ListEntityRecognizersRequest::WithNextToken
ListEntityRecognizersRequest & WithNextToken(const char *value)
Definition: ListEntityRecognizersRequest.h:119
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Comprehend::Model::ListEntityRecognizersRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListEntityRecognizersRequest.h:94
Aws::Comprehend::Model::ListEntityRecognizersRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListEntityRecognizersRequest.h:104
Aws::Comprehend::Model::ListEntityRecognizersRequest::WithNextToken
ListEntityRecognizersRequest & WithNextToken(Aws::String &&value)
Definition: ListEntityRecognizersRequest.h:114
Aws::Comprehend::Model::ListEntityRecognizersRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Comprehend::Model::ListEntityRecognizersRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListEntityRecognizersRequest.h:89
EntityRecognizerFilter.h