AWS SDK for C++  1.9.131
AWS SDK for C++
ListKeyPhrasesDetectionJobsRequest.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 "ListKeyPhrasesDetectionJobs"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
43  inline const KeyPhrasesDetectionJobFilter& GetFilter() const{ return m_filter; }
44 
50  inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; }
51 
57  inline void SetFilter(const KeyPhrasesDetectionJobFilter& value) { m_filterHasBeenSet = true; m_filter = value; }
58 
64  inline void SetFilter(KeyPhrasesDetectionJobFilter&& value) { m_filterHasBeenSet = true; m_filter = std::move(value); }
65 
71  inline ListKeyPhrasesDetectionJobsRequest& WithFilter(const KeyPhrasesDetectionJobFilter& value) { SetFilter(value); return *this;}
72 
78  inline ListKeyPhrasesDetectionJobsRequest& WithFilter(KeyPhrasesDetectionJobFilter&& 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 ListKeyPhrasesDetectionJobsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
110 
114  inline ListKeyPhrasesDetectionJobsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
115 
119  inline ListKeyPhrasesDetectionJobsRequest& 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 ListKeyPhrasesDetectionJobsRequest& 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::ComprehendRequest
Definition: ComprehendRequest.h:17
Aws::Comprehend::Model::ListKeyPhrasesDetectionJobsRequest::WithFilter
ListKeyPhrasesDetectionJobsRequest & WithFilter(KeyPhrasesDetectionJobFilter &&value)
Definition: ListKeyPhrasesDetectionJobsRequest.h:78
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::ListKeyPhrasesDetectionJobsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListKeyPhrasesDetectionJobsRequest.h:125
Aws::Comprehend::Model::ListKeyPhrasesDetectionJobsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListKeyPhrasesDetectionJobsRequest.h:130
Aws::Comprehend::Model::KeyPhrasesDetectionJobFilter
Definition: KeyPhrasesDetectionJobFilter.h:35
Aws::Comprehend::Model::ListKeyPhrasesDetectionJobsRequest::WithNextToken
ListKeyPhrasesDetectionJobsRequest & WithNextToken(Aws::String &&value)
Definition: ListKeyPhrasesDetectionJobsRequest.h:114
KeyPhrasesDetectionJobFilter.h
Aws::Comprehend::Model::ListKeyPhrasesDetectionJobsRequest::SetFilter
void SetFilter(const KeyPhrasesDetectionJobFilter &value)
Definition: ListKeyPhrasesDetectionJobsRequest.h:57
Aws::Comprehend::Model::ListKeyPhrasesDetectionJobsRequest::WithNextToken
ListKeyPhrasesDetectionJobsRequest & WithNextToken(const Aws::String &value)
Definition: ListKeyPhrasesDetectionJobsRequest.h:109
Aws::Comprehend::Model::ListKeyPhrasesDetectionJobsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListKeyPhrasesDetectionJobsRequest.h:89
Aws::Comprehend::Model::ListKeyPhrasesDetectionJobsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListKeyPhrasesDetectionJobsRequest.h:31
Aws::Comprehend::Model::ListKeyPhrasesDetectionJobsRequest::GetFilter
const KeyPhrasesDetectionJobFilter & GetFilter() const
Definition: ListKeyPhrasesDetectionJobsRequest.h:43
AWSString.h
Aws::Comprehend::Model::ListKeyPhrasesDetectionJobsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListKeyPhrasesDetectionJobsRequest.h:135
Aws::Comprehend::Model::ListKeyPhrasesDetectionJobsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListKeyPhrasesDetectionJobsRequest.h:84
ComprehendRequest.h
Aws::Comprehend::Model::ListKeyPhrasesDetectionJobsRequest::WithNextToken
ListKeyPhrasesDetectionJobsRequest & WithNextToken(const char *value)
Definition: ListKeyPhrasesDetectionJobsRequest.h:119
Aws::Comprehend::Model::ListKeyPhrasesDetectionJobsRequest::ListKeyPhrasesDetectionJobsRequest
ListKeyPhrasesDetectionJobsRequest()
Aws::Comprehend::Model::ListKeyPhrasesDetectionJobsRequest::WithMaxResults
ListKeyPhrasesDetectionJobsRequest & WithMaxResults(int value)
Definition: ListKeyPhrasesDetectionJobsRequest.h:140
Comprehend_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
Aws::Comprehend::Model::ListKeyPhrasesDetectionJobsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Comprehend::Model::ListKeyPhrasesDetectionJobsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListKeyPhrasesDetectionJobsRequest.h:99
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Comprehend::Model::ListKeyPhrasesDetectionJobsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListKeyPhrasesDetectionJobsRequest.h:104
Aws::Comprehend::Model::ListKeyPhrasesDetectionJobsRequest::FilterHasBeenSet
bool FilterHasBeenSet() const
Definition: ListKeyPhrasesDetectionJobsRequest.h:50
Aws::Comprehend::Model::ListKeyPhrasesDetectionJobsRequest
Definition: ListKeyPhrasesDetectionJobsRequest.h:23
Aws::Comprehend::Model::ListKeyPhrasesDetectionJobsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Comprehend::Model::ListKeyPhrasesDetectionJobsRequest::SetFilter
void SetFilter(KeyPhrasesDetectionJobFilter &&value)
Definition: ListKeyPhrasesDetectionJobsRequest.h:64
Aws::Comprehend::Model::ListKeyPhrasesDetectionJobsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListKeyPhrasesDetectionJobsRequest.h:94
Aws::Comprehend::Model::ListKeyPhrasesDetectionJobsRequest::WithFilter
ListKeyPhrasesDetectionJobsRequest & WithFilter(const KeyPhrasesDetectionJobFilter &value)
Definition: ListKeyPhrasesDetectionJobsRequest.h:71