AWS SDK for C++  1.8.129
AWS SDK for C++
ListDocumentClassificationJobsRequest.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 "ListDocumentClassificationJobs"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
43  inline const DocumentClassificationJobFilter& GetFilter() const{ return m_filter; }
44 
50  inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; }
51 
57  inline void SetFilter(const DocumentClassificationJobFilter& value) { m_filterHasBeenSet = true; m_filter = value; }
58 
64  inline void SetFilter(DocumentClassificationJobFilter&& value) { m_filterHasBeenSet = true; m_filter = std::move(value); }
65 
71  inline ListDocumentClassificationJobsRequest& WithFilter(const DocumentClassificationJobFilter& value) { SetFilter(value); return *this;}
72 
78  inline ListDocumentClassificationJobsRequest& WithFilter(DocumentClassificationJobFilter&& 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 ListDocumentClassificationJobsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
110 
114  inline ListDocumentClassificationJobsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
115 
119  inline ListDocumentClassificationJobsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
120 
121 
125  inline int GetMaxResults() const{ return m_maxResults; }
126 
130  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
131 
135  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
136 
140  inline ListDocumentClassificationJobsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
141 
142  private:
143 
145  bool m_filterHasBeenSet;
146 
147  Aws::String m_nextToken;
148  bool m_nextTokenHasBeenSet;
149 
150  int m_maxResults;
151  bool m_maxResultsHasBeenSet;
152  };
153 
154 } // namespace Model
155 } // namespace Comprehend
156 } // namespace Aws
Aws::Comprehend::Model::ListDocumentClassificationJobsRequest::WithFilter
ListDocumentClassificationJobsRequest & WithFilter(const DocumentClassificationJobFilter &value)
Definition: ListDocumentClassificationJobsRequest.h:71
Aws::Comprehend::ComprehendRequest
Definition: ComprehendRequest.h:17
Aws::Comprehend::Model::DocumentClassificationJobFilter
Definition: DocumentClassificationJobFilter.h:36
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::ListDocumentClassificationJobsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListDocumentClassificationJobsRequest.h:89
Aws::Comprehend::Model::ListDocumentClassificationJobsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListDocumentClassificationJobsRequest.h:135
Aws::Comprehend::Model::ListDocumentClassificationJobsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListDocumentClassificationJobsRequest.h:125
Aws::Comprehend::Model::ListDocumentClassificationJobsRequest::WithFilter
ListDocumentClassificationJobsRequest & WithFilter(DocumentClassificationJobFilter &&value)
Definition: ListDocumentClassificationJobsRequest.h:78
Aws::Comprehend::Model::ListDocumentClassificationJobsRequest::SerializePayload
Aws::String SerializePayload() const override
DocumentClassificationJobFilter.h
Aws::Comprehend::Model::ListDocumentClassificationJobsRequest::ListDocumentClassificationJobsRequest
ListDocumentClassificationJobsRequest()
Aws::Comprehend::Model::ListDocumentClassificationJobsRequest::SetFilter
void SetFilter(DocumentClassificationJobFilter &&value)
Definition: ListDocumentClassificationJobsRequest.h:64
Aws::Comprehend::Model::ListDocumentClassificationJobsRequest::GetFilter
const DocumentClassificationJobFilter & GetFilter() const
Definition: ListDocumentClassificationJobsRequest.h:43
Aws::Comprehend::Model::ListDocumentClassificationJobsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListDocumentClassificationJobsRequest.h:130
Aws::Comprehend::Model::ListDocumentClassificationJobsRequest::SetFilter
void SetFilter(const DocumentClassificationJobFilter &value)
Definition: ListDocumentClassificationJobsRequest.h:57
Aws::Comprehend::Model::ListDocumentClassificationJobsRequest
Definition: ListDocumentClassificationJobsRequest.h:23
Aws::Comprehend::Model::ListDocumentClassificationJobsRequest::WithNextToken
ListDocumentClassificationJobsRequest & WithNextToken(const char *value)
Definition: ListDocumentClassificationJobsRequest.h:119
Aws::Comprehend::Model::ListDocumentClassificationJobsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Comprehend::Model::ListDocumentClassificationJobsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListDocumentClassificationJobsRequest.h:94
AWSString.h
Aws::Comprehend::Model::ListDocumentClassificationJobsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListDocumentClassificationJobsRequest.h:31
Aws::Comprehend::Model::ListDocumentClassificationJobsRequest::WithNextToken
ListDocumentClassificationJobsRequest & WithNextToken(Aws::String &&value)
Definition: ListDocumentClassificationJobsRequest.h:114
ComprehendRequest.h
Aws::Comprehend::Model::ListDocumentClassificationJobsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListDocumentClassificationJobsRequest.h:84
Comprehend_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Comprehend::Model::ListDocumentClassificationJobsRequest::FilterHasBeenSet
bool FilterHasBeenSet() const
Definition: ListDocumentClassificationJobsRequest.h:50
Aws::Comprehend::Model::ListDocumentClassificationJobsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListDocumentClassificationJobsRequest.h:99
Aws::Comprehend::Model::ListDocumentClassificationJobsRequest::WithNextToken
ListDocumentClassificationJobsRequest & WithNextToken(const Aws::String &value)
Definition: ListDocumentClassificationJobsRequest.h:109
Aws::Comprehend::Model::ListDocumentClassificationJobsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListDocumentClassificationJobsRequest.h:104
Aws::Comprehend::Model::ListDocumentClassificationJobsRequest::WithMaxResults
ListDocumentClassificationJobsRequest & WithMaxResults(int value)
Definition: ListDocumentClassificationJobsRequest.h:140