AWS SDK for C++  1.9.15
AWS SDK for C++
GetBatchPredictionJobsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace FraudDetector
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "GetBatchPredictionJobs"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetJobId() const{ return m_jobId; }
41 
45  inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
46 
50  inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
51 
55  inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); }
56 
60  inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
61 
65  inline GetBatchPredictionJobsRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
66 
70  inline GetBatchPredictionJobsRequest& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
71 
75  inline GetBatchPredictionJobsRequest& WithJobId(const char* value) { SetJobId(value); return *this;}
76 
77 
81  inline int GetMaxResults() const{ return m_maxResults; }
82 
86  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
87 
91  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
92 
96  inline GetBatchPredictionJobsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
97 
98 
102  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
103 
107  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
108 
112  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
113 
117  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
118 
122  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
123 
127  inline GetBatchPredictionJobsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
128 
132  inline GetBatchPredictionJobsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
133 
137  inline GetBatchPredictionJobsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
138 
139  private:
140 
141  Aws::String m_jobId;
142  bool m_jobIdHasBeenSet;
143 
144  int m_maxResults;
145  bool m_maxResultsHasBeenSet;
146 
147  Aws::String m_nextToken;
148  bool m_nextTokenHasBeenSet;
149  };
150 
151 } // namespace Model
152 } // namespace FraudDetector
153 } // namespace Aws
Aws::FraudDetector::Model::GetBatchPredictionJobsRequest::GetMaxResults
int GetMaxResults() const
Definition: GetBatchPredictionJobsRequest.h:81
FraudDetectorRequest.h
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::FraudDetector::Model::GetBatchPredictionJobsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: GetBatchPredictionJobsRequest.h:112
FraudDetector_EXPORTS.h
Aws::FraudDetector::Model::GetBatchPredictionJobsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::FraudDetector::Model::GetBatchPredictionJobsRequest::SetJobId
void SetJobId(const char *value)
Definition: GetBatchPredictionJobsRequest.h:60
Aws::FraudDetector::Model::GetBatchPredictionJobsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: GetBatchPredictionJobsRequest.h:91
Aws::FraudDetector::Model::GetBatchPredictionJobsRequest
Definition: GetBatchPredictionJobsRequest.h:22
Aws::FraudDetector::Model::GetBatchPredictionJobsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetBatchPredictionJobsRequest.h:30
Aws::FraudDetector::Model::GetBatchPredictionJobsRequest::GetBatchPredictionJobsRequest
GetBatchPredictionJobsRequest()
Aws::FraudDetector::Model::GetBatchPredictionJobsRequest::WithJobId
GetBatchPredictionJobsRequest & WithJobId(const char *value)
Definition: GetBatchPredictionJobsRequest.h:75
Aws::FraudDetector::Model::GetBatchPredictionJobsRequest::WithNextToken
GetBatchPredictionJobsRequest & WithNextToken(const char *value)
Definition: GetBatchPredictionJobsRequest.h:137
Aws::FraudDetector::Model::GetBatchPredictionJobsRequest::SetJobId
void SetJobId(const Aws::String &value)
Definition: GetBatchPredictionJobsRequest.h:50
Aws::FraudDetector::FraudDetectorRequest
Definition: FraudDetectorRequest.h:17
AWS_FRAUDDETECTOR_API
#define AWS_FRAUDDETECTOR_API
Definition: FraudDetector_EXPORTS.h:28
Aws::FraudDetector::Model::GetBatchPredictionJobsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::FraudDetector::Model::GetBatchPredictionJobsRequest::WithMaxResults
GetBatchPredictionJobsRequest & WithMaxResults(int value)
Definition: GetBatchPredictionJobsRequest.h:96
Aws::FraudDetector::Model::GetBatchPredictionJobsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: GetBatchPredictionJobsRequest.h:102
AWSString.h
Aws::FraudDetector::Model::GetBatchPredictionJobsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: GetBatchPredictionJobsRequest.h:122
Aws::FraudDetector::Model::GetBatchPredictionJobsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: GetBatchPredictionJobsRequest.h:86
Aws::FraudDetector::Model::GetBatchPredictionJobsRequest::JobIdHasBeenSet
bool JobIdHasBeenSet() const
Definition: GetBatchPredictionJobsRequest.h:45
Aws::FraudDetector::Model::GetBatchPredictionJobsRequest::WithNextToken
GetBatchPredictionJobsRequest & WithNextToken(const Aws::String &value)
Definition: GetBatchPredictionJobsRequest.h:127
Aws
Definition: AccessManagementClient.h:15
Aws::FraudDetector::Model::GetBatchPredictionJobsRequest::WithJobId
GetBatchPredictionJobsRequest & WithJobId(Aws::String &&value)
Definition: GetBatchPredictionJobsRequest.h:70
Aws::FraudDetector::Model::GetBatchPredictionJobsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: GetBatchPredictionJobsRequest.h:107
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::FraudDetector::Model::GetBatchPredictionJobsRequest::WithJobId
GetBatchPredictionJobsRequest & WithJobId(const Aws::String &value)
Definition: GetBatchPredictionJobsRequest.h:65
Aws::FraudDetector::Model::GetBatchPredictionJobsRequest::GetJobId
const Aws::String & GetJobId() const
Definition: GetBatchPredictionJobsRequest.h:40
Aws::FraudDetector::Model::GetBatchPredictionJobsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: GetBatchPredictionJobsRequest.h:117
Aws::FraudDetector::Model::GetBatchPredictionJobsRequest::WithNextToken
GetBatchPredictionJobsRequest & WithNextToken(Aws::String &&value)
Definition: GetBatchPredictionJobsRequest.h:132
Aws::FraudDetector::Model::GetBatchPredictionJobsRequest::SetJobId
void SetJobId(Aws::String &&value)
Definition: GetBatchPredictionJobsRequest.h:55