AWS SDK for C++

AWS SDK for C++ Version 1.11.610

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/bedrock/model/ApplicationType.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/bedrock/model/SortJobsBy.h>
14#include <aws/bedrock/model/SortOrder.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Http
20{
21 class URI;
22} //namespace Http
23namespace Bedrock
24{
25namespace Model
26{
27
31 {
32 public:
33 AWS_BEDROCK_API ListEvaluationJobsRequest() = default;
34
35 // Service request name is the Operation name which will send this request out,
36 // each operation should has unique request name, so that we can get operation's name from this request.
37 // Note: this is not true for response, multiple operations may have the same response name,
38 // so we can not get operation's name from response.
39 inline virtual const char* GetServiceRequestName() const override { return "ListEvaluationJobs"; }
40
41 AWS_BEDROCK_API Aws::String SerializePayload() const override;
42
43 AWS_BEDROCK_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
44
45
47
50 inline const Aws::Utils::DateTime& GetCreationTimeAfter() const { return m_creationTimeAfter; }
51 inline bool CreationTimeAfterHasBeenSet() const { return m_creationTimeAfterHasBeenSet; }
52 template<typename CreationTimeAfterT = Aws::Utils::DateTime>
53 void SetCreationTimeAfter(CreationTimeAfterT&& value) { m_creationTimeAfterHasBeenSet = true; m_creationTimeAfter = std::forward<CreationTimeAfterT>(value); }
54 template<typename CreationTimeAfterT = Aws::Utils::DateTime>
55 ListEvaluationJobsRequest& WithCreationTimeAfter(CreationTimeAfterT&& value) { SetCreationTimeAfter(std::forward<CreationTimeAfterT>(value)); return *this;}
57
59
62 inline const Aws::Utils::DateTime& GetCreationTimeBefore() const { return m_creationTimeBefore; }
63 inline bool CreationTimeBeforeHasBeenSet() const { return m_creationTimeBeforeHasBeenSet; }
64 template<typename CreationTimeBeforeT = Aws::Utils::DateTime>
65 void SetCreationTimeBefore(CreationTimeBeforeT&& value) { m_creationTimeBeforeHasBeenSet = true; m_creationTimeBefore = std::forward<CreationTimeBeforeT>(value); }
66 template<typename CreationTimeBeforeT = Aws::Utils::DateTime>
67 ListEvaluationJobsRequest& WithCreationTimeBefore(CreationTimeBeforeT&& value) { SetCreationTimeBefore(std::forward<CreationTimeBeforeT>(value)); return *this;}
69
71
74 inline EvaluationJobStatus GetStatusEquals() const { return m_statusEquals; }
75 inline bool StatusEqualsHasBeenSet() const { return m_statusEqualsHasBeenSet; }
76 inline void SetStatusEquals(EvaluationJobStatus value) { m_statusEqualsHasBeenSet = true; m_statusEquals = value; }
79
81
85 inline ApplicationType GetApplicationTypeEquals() const { return m_applicationTypeEquals; }
86 inline bool ApplicationTypeEqualsHasBeenSet() const { return m_applicationTypeEqualsHasBeenSet; }
87 inline void SetApplicationTypeEquals(ApplicationType value) { m_applicationTypeEqualsHasBeenSet = true; m_applicationTypeEquals = value; }
90
92
96 inline const Aws::String& GetNameContains() const { return m_nameContains; }
97 inline bool NameContainsHasBeenSet() const { return m_nameContainsHasBeenSet; }
98 template<typename NameContainsT = Aws::String>
99 void SetNameContains(NameContainsT&& value) { m_nameContainsHasBeenSet = true; m_nameContains = std::forward<NameContainsT>(value); }
100 template<typename NameContainsT = Aws::String>
101 ListEvaluationJobsRequest& WithNameContains(NameContainsT&& value) { SetNameContains(std::forward<NameContainsT>(value)); return *this;}
103
105
108 inline int GetMaxResults() const { return m_maxResults; }
109 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
110 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
111 inline ListEvaluationJobsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
113
115
119 inline const Aws::String& GetNextToken() const { return m_nextToken; }
120 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
121 template<typename NextTokenT = Aws::String>
122 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
123 template<typename NextTokenT = Aws::String>
124 ListEvaluationJobsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
126
128
132 inline SortJobsBy GetSortBy() const { return m_sortBy; }
133 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
134 inline void SetSortBy(SortJobsBy value) { m_sortByHasBeenSet = true; m_sortBy = value; }
135 inline ListEvaluationJobsRequest& WithSortBy(SortJobsBy value) { SetSortBy(value); return *this;}
137
139
143 inline SortOrder GetSortOrder() const { return m_sortOrder; }
144 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
145 inline void SetSortOrder(SortOrder value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
146 inline ListEvaluationJobsRequest& WithSortOrder(SortOrder value) { SetSortOrder(value); return *this;}
148 private:
149
150 Aws::Utils::DateTime m_creationTimeAfter{};
151 bool m_creationTimeAfterHasBeenSet = false;
152
153 Aws::Utils::DateTime m_creationTimeBefore{};
154 bool m_creationTimeBeforeHasBeenSet = false;
155
157 bool m_statusEqualsHasBeenSet = false;
158
159 ApplicationType m_applicationTypeEquals{ApplicationType::NOT_SET};
160 bool m_applicationTypeEqualsHasBeenSet = false;
161
162 Aws::String m_nameContains;
163 bool m_nameContainsHasBeenSet = false;
164
165 int m_maxResults{0};
166 bool m_maxResultsHasBeenSet = false;
167
168 Aws::String m_nextToken;
169 bool m_nextTokenHasBeenSet = false;
170
172 bool m_sortByHasBeenSet = false;
173
174 SortOrder m_sortOrder{SortOrder::NOT_SET};
175 bool m_sortOrderHasBeenSet = false;
176 };
177
178} // namespace Model
179} // namespace Bedrock
180} // namespace Aws
ListEvaluationJobsRequest & WithMaxResults(int value)
AWS_BEDROCK_API Aws::String SerializePayload() const override
AWS_BEDROCK_API ListEvaluationJobsRequest()=default
ListEvaluationJobsRequest & WithNameContains(NameContainsT &&value)
ListEvaluationJobsRequest & WithSortOrder(SortOrder value)
const Aws::Utils::DateTime & GetCreationTimeAfter() const
ListEvaluationJobsRequest & WithSortBy(SortJobsBy value)
ListEvaluationJobsRequest & WithStatusEquals(EvaluationJobStatus value)
ListEvaluationJobsRequest & WithNextToken(NextTokenT &&value)
virtual const char * GetServiceRequestName() const override
ListEvaluationJobsRequest & WithCreationTimeAfter(CreationTimeAfterT &&value)
void SetCreationTimeBefore(CreationTimeBeforeT &&value)
ListEvaluationJobsRequest & WithApplicationTypeEquals(ApplicationType value)
AWS_BEDROCK_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListEvaluationJobsRequest & WithCreationTimeBefore(CreationTimeBeforeT &&value)
const Aws::Utils::DateTime & GetCreationTimeBefore() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String