AWS SDK for C++  1.9.109
AWS SDK for C++
ListBatchInferenceJobsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Personalize
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 "ListBatchInferenceJobs"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
41  inline const Aws::String& GetSolutionVersionArn() const{ return m_solutionVersionArn; }
42 
47  inline bool SolutionVersionArnHasBeenSet() const { return m_solutionVersionArnHasBeenSet; }
48 
53  inline void SetSolutionVersionArn(const Aws::String& value) { m_solutionVersionArnHasBeenSet = true; m_solutionVersionArn = value; }
54 
59  inline void SetSolutionVersionArn(Aws::String&& value) { m_solutionVersionArnHasBeenSet = true; m_solutionVersionArn = std::move(value); }
60 
65  inline void SetSolutionVersionArn(const char* value) { m_solutionVersionArnHasBeenSet = true; m_solutionVersionArn.assign(value); }
66 
71  inline ListBatchInferenceJobsRequest& WithSolutionVersionArn(const Aws::String& value) { SetSolutionVersionArn(value); return *this;}
72 
77  inline ListBatchInferenceJobsRequest& WithSolutionVersionArn(Aws::String&& value) { SetSolutionVersionArn(std::move(value)); return *this;}
78 
83  inline ListBatchInferenceJobsRequest& WithSolutionVersionArn(const char* value) { SetSolutionVersionArn(value); return *this;}
84 
85 
89  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
90 
94  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
95 
99  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
100 
104  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
105 
109  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
110 
114  inline ListBatchInferenceJobsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
115 
119  inline ListBatchInferenceJobsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
120 
124  inline ListBatchInferenceJobsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
125 
126 
131  inline int GetMaxResults() const{ return m_maxResults; }
132 
137  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
138 
143  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
144 
149  inline ListBatchInferenceJobsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
150 
151  private:
152 
153  Aws::String m_solutionVersionArn;
154  bool m_solutionVersionArnHasBeenSet;
155 
156  Aws::String m_nextToken;
157  bool m_nextTokenHasBeenSet;
158 
159  int m_maxResults;
160  bool m_maxResultsHasBeenSet;
161  };
162 
163 } // namespace Model
164 } // namespace Personalize
165 } // namespace Aws
Aws::Personalize::Model::ListBatchInferenceJobsRequest::SolutionVersionArnHasBeenSet
bool SolutionVersionArnHasBeenSet() const
Definition: ListBatchInferenceJobsRequest.h:47
Aws::Personalize::Model::ListBatchInferenceJobsRequest::SetSolutionVersionArn
void SetSolutionVersionArn(const char *value)
Definition: ListBatchInferenceJobsRequest.h:65
Aws::Personalize::Model::ListBatchInferenceJobsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListBatchInferenceJobsRequest.h:143
Aws::Personalize::Model::ListBatchInferenceJobsRequest
Definition: ListBatchInferenceJobsRequest.h:22
PersonalizeRequest.h
Aws::Personalize::Model::ListBatchInferenceJobsRequest::WithSolutionVersionArn
ListBatchInferenceJobsRequest & WithSolutionVersionArn(const Aws::String &value)
Definition: ListBatchInferenceJobsRequest.h:71
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Personalize::Model::ListBatchInferenceJobsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListBatchInferenceJobsRequest.h:94
Aws::Personalize::Model::ListBatchInferenceJobsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListBatchInferenceJobsRequest.h:89
Aws::Personalize::Model::ListBatchInferenceJobsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListBatchInferenceJobsRequest.h:99
AWS_PERSONALIZE_API
#define AWS_PERSONALIZE_API
Definition: Personalize_EXPORTS.h:28
Aws::Personalize::Model::ListBatchInferenceJobsRequest::SetSolutionVersionArn
void SetSolutionVersionArn(Aws::String &&value)
Definition: ListBatchInferenceJobsRequest.h:59
Aws::Personalize::Model::ListBatchInferenceJobsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Personalize::Model::ListBatchInferenceJobsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListBatchInferenceJobsRequest.h:30
Aws::Personalize::Model::ListBatchInferenceJobsRequest::WithSolutionVersionArn
ListBatchInferenceJobsRequest & WithSolutionVersionArn(Aws::String &&value)
Definition: ListBatchInferenceJobsRequest.h:77
Aws::Personalize::Model::ListBatchInferenceJobsRequest::WithNextToken
ListBatchInferenceJobsRequest & WithNextToken(const char *value)
Definition: ListBatchInferenceJobsRequest.h:124
Aws::Personalize::Model::ListBatchInferenceJobsRequest::ListBatchInferenceJobsRequest
ListBatchInferenceJobsRequest()
Aws::Personalize::Model::ListBatchInferenceJobsRequest::WithNextToken
ListBatchInferenceJobsRequest & WithNextToken(const Aws::String &value)
Definition: ListBatchInferenceJobsRequest.h:114
Aws::Personalize::Model::ListBatchInferenceJobsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListBatchInferenceJobsRequest.h:109
AWSString.h
Aws::Personalize::Model::ListBatchInferenceJobsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Personalize::PersonalizeRequest
Definition: PersonalizeRequest.h:17
Aws::Personalize::Model::ListBatchInferenceJobsRequest::SetSolutionVersionArn
void SetSolutionVersionArn(const Aws::String &value)
Definition: ListBatchInferenceJobsRequest.h:53
Aws::Personalize::Model::ListBatchInferenceJobsRequest::WithSolutionVersionArn
ListBatchInferenceJobsRequest & WithSolutionVersionArn(const char *value)
Definition: ListBatchInferenceJobsRequest.h:83
Aws::Personalize::Model::ListBatchInferenceJobsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListBatchInferenceJobsRequest.h:137
Aws::Personalize::Model::ListBatchInferenceJobsRequest::WithNextToken
ListBatchInferenceJobsRequest & WithNextToken(Aws::String &&value)
Definition: ListBatchInferenceJobsRequest.h:119
Aws::Personalize::Model::ListBatchInferenceJobsRequest::GetSolutionVersionArn
const Aws::String & GetSolutionVersionArn() const
Definition: ListBatchInferenceJobsRequest.h:41
Aws
Definition: AccessManagementClient.h:15
Aws::Personalize::Model::ListBatchInferenceJobsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListBatchInferenceJobsRequest.h:104
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Personalize_EXPORTS.h
Aws::Personalize::Model::ListBatchInferenceJobsRequest::WithMaxResults
ListBatchInferenceJobsRequest & WithMaxResults(int value)
Definition: ListBatchInferenceJobsRequest.h:149
Aws::Personalize::Model::ListBatchInferenceJobsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListBatchInferenceJobsRequest.h:131