AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListEvaluationJobsRequest.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/bedrock/BedrockRequest.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/bedrock/model/EvaluationJobStatus.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/bedrock/model/SortJobsBy.h>
13#include <aws/bedrock/model/SortOrder.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Http
19{
20 class URI;
21} //namespace Http
22namespace Bedrock
23{
24namespace Model
25{
26
30 {
31 public:
32 AWS_BEDROCK_API ListEvaluationJobsRequest();
33
34 // Service request name is the Operation name which will send this request out,
35 // each operation should has unique request name, so that we can get operation's name from this request.
36 // Note: this is not true for response, multiple operations may have the same response name,
37 // so we can not get operation's name from response.
38 inline virtual const char* GetServiceRequestName() const override { return "ListEvaluationJobs"; }
39
40 AWS_BEDROCK_API Aws::String SerializePayload() const override;
41
42 AWS_BEDROCK_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
43
44
46
50 inline const Aws::Utils::DateTime& GetCreationTimeAfter() const{ return m_creationTimeAfter; }
51 inline bool CreationTimeAfterHasBeenSet() const { return m_creationTimeAfterHasBeenSet; }
52 inline void SetCreationTimeAfter(const Aws::Utils::DateTime& value) { m_creationTimeAfterHasBeenSet = true; m_creationTimeAfter = value; }
53 inline void SetCreationTimeAfter(Aws::Utils::DateTime&& value) { m_creationTimeAfterHasBeenSet = true; m_creationTimeAfter = std::move(value); }
57
59
63 inline const Aws::Utils::DateTime& GetCreationTimeBefore() const{ return m_creationTimeBefore; }
64 inline bool CreationTimeBeforeHasBeenSet() const { return m_creationTimeBeforeHasBeenSet; }
65 inline void SetCreationTimeBefore(const Aws::Utils::DateTime& value) { m_creationTimeBeforeHasBeenSet = true; m_creationTimeBefore = value; }
66 inline void SetCreationTimeBefore(Aws::Utils::DateTime&& value) { m_creationTimeBeforeHasBeenSet = true; m_creationTimeBefore = std::move(value); }
70
72
75 inline const EvaluationJobStatus& GetStatusEquals() const{ return m_statusEquals; }
76 inline bool StatusEqualsHasBeenSet() const { return m_statusEqualsHasBeenSet; }
77 inline void SetStatusEquals(const EvaluationJobStatus& value) { m_statusEqualsHasBeenSet = true; m_statusEquals = value; }
78 inline void SetStatusEquals(EvaluationJobStatus&& value) { m_statusEqualsHasBeenSet = true; m_statusEquals = std::move(value); }
80 inline ListEvaluationJobsRequest& WithStatusEquals(EvaluationJobStatus&& value) { SetStatusEquals(std::move(value)); return *this;}
82
84
87 inline const Aws::String& GetNameContains() const{ return m_nameContains; }
88 inline bool NameContainsHasBeenSet() const { return m_nameContainsHasBeenSet; }
89 inline void SetNameContains(const Aws::String& value) { m_nameContainsHasBeenSet = true; m_nameContains = value; }
90 inline void SetNameContains(Aws::String&& value) { m_nameContainsHasBeenSet = true; m_nameContains = std::move(value); }
91 inline void SetNameContains(const char* value) { m_nameContainsHasBeenSet = true; m_nameContains.assign(value); }
92 inline ListEvaluationJobsRequest& WithNameContains(const Aws::String& value) { SetNameContains(value); return *this;}
93 inline ListEvaluationJobsRequest& WithNameContains(Aws::String&& value) { SetNameContains(std::move(value)); return *this;}
94 inline ListEvaluationJobsRequest& WithNameContains(const char* value) { SetNameContains(value); return *this;}
96
98
101 inline int GetMaxResults() const{ return m_maxResults; }
102 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
103 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
104 inline ListEvaluationJobsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
106
108
112 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
113 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
114 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
115 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
116 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
117 inline ListEvaluationJobsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
118 inline ListEvaluationJobsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
119 inline ListEvaluationJobsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
121
123
126 inline const SortJobsBy& GetSortBy() const{ return m_sortBy; }
127 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
128 inline void SetSortBy(const SortJobsBy& value) { m_sortByHasBeenSet = true; m_sortBy = value; }
129 inline void SetSortBy(SortJobsBy&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); }
130 inline ListEvaluationJobsRequest& WithSortBy(const SortJobsBy& value) { SetSortBy(value); return *this;}
131 inline ListEvaluationJobsRequest& WithSortBy(SortJobsBy&& value) { SetSortBy(std::move(value)); return *this;}
133
135
138 inline const SortOrder& GetSortOrder() const{ return m_sortOrder; }
139 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
140 inline void SetSortOrder(const SortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
141 inline void SetSortOrder(SortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); }
142 inline ListEvaluationJobsRequest& WithSortOrder(const SortOrder& value) { SetSortOrder(value); return *this;}
143 inline ListEvaluationJobsRequest& WithSortOrder(SortOrder&& value) { SetSortOrder(std::move(value)); return *this;}
145 private:
146
147 Aws::Utils::DateTime m_creationTimeAfter;
148 bool m_creationTimeAfterHasBeenSet = false;
149
150 Aws::Utils::DateTime m_creationTimeBefore;
151 bool m_creationTimeBeforeHasBeenSet = false;
152
153 EvaluationJobStatus m_statusEquals;
154 bool m_statusEqualsHasBeenSet = false;
155
156 Aws::String m_nameContains;
157 bool m_nameContainsHasBeenSet = false;
158
159 int m_maxResults;
160 bool m_maxResultsHasBeenSet = false;
161
162 Aws::String m_nextToken;
163 bool m_nextTokenHasBeenSet = false;
164
165 SortJobsBy m_sortBy;
166 bool m_sortByHasBeenSet = false;
167
168 SortOrder m_sortOrder;
169 bool m_sortOrderHasBeenSet = false;
170 };
171
172} // namespace Model
173} // namespace Bedrock
174} // namespace Aws
ListEvaluationJobsRequest & WithNextToken(const char *value)
ListEvaluationJobsRequest & WithStatusEquals(EvaluationJobStatus &&value)
void SetStatusEquals(const EvaluationJobStatus &value)
ListEvaluationJobsRequest & WithMaxResults(int value)
AWS_BEDROCK_API Aws::String SerializePayload() const override
ListEvaluationJobsRequest & WithNameContains(Aws::String &&value)
ListEvaluationJobsRequest & WithStatusEquals(const EvaluationJobStatus &value)
ListEvaluationJobsRequest & WithCreationTimeBefore(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreationTimeAfter() const
ListEvaluationJobsRequest & WithSortBy(const SortJobsBy &value)
ListEvaluationJobsRequest & WithSortOrder(SortOrder &&value)
const EvaluationJobStatus & GetStatusEquals() const
virtual const char * GetServiceRequestName() const override
ListEvaluationJobsRequest & WithNextToken(Aws::String &&value)
ListEvaluationJobsRequest & WithNameContains(const Aws::String &value)
void SetCreationTimeAfter(Aws::Utils::DateTime &&value)
void SetCreationTimeAfter(const Aws::Utils::DateTime &value)
ListEvaluationJobsRequest & WithCreationTimeAfter(Aws::Utils::DateTime &&value)
ListEvaluationJobsRequest & WithNameContains(const char *value)
void SetCreationTimeBefore(Aws::Utils::DateTime &&value)
ListEvaluationJobsRequest & WithCreationTimeAfter(const Aws::Utils::DateTime &value)
AWS_BEDROCK_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListEvaluationJobsRequest & WithNextToken(const Aws::String &value)
ListEvaluationJobsRequest & WithSortOrder(const SortOrder &value)
const Aws::Utils::DateTime & GetCreationTimeBefore() const
void SetCreationTimeBefore(const Aws::Utils::DateTime &value)
ListEvaluationJobsRequest & WithSortBy(SortJobsBy &&value)
ListEvaluationJobsRequest & WithCreationTimeBefore(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String