AWS SDK for C++

AWS SDK for C++ Version 1.11.609

Loading...
Searching...
No Matches
ListAsyncInvokesRequest.h
1
6#pragma once
7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8#include <aws/bedrock-runtime/BedrockRuntimeRequest.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/bedrock-runtime/model/AsyncInvokeStatus.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/bedrock-runtime/model/SortAsyncInvocationBy.h>
13#include <aws/bedrock-runtime/model/SortOrder.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Http
19{
20 class URI;
21} //namespace Http
22namespace BedrockRuntime
23{
24namespace Model
25{
26
30 {
31 public:
32 AWS_BEDROCKRUNTIME_API ListAsyncInvokesRequest() = default;
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 "ListAsyncInvokes"; }
39
40 AWS_BEDROCKRUNTIME_API Aws::String SerializePayload() const override;
41
42 AWS_BEDROCKRUNTIME_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
43
44
46
49 inline const Aws::Utils::DateTime& GetSubmitTimeAfter() const { return m_submitTimeAfter; }
50 inline bool SubmitTimeAfterHasBeenSet() const { return m_submitTimeAfterHasBeenSet; }
51 template<typename SubmitTimeAfterT = Aws::Utils::DateTime>
52 void SetSubmitTimeAfter(SubmitTimeAfterT&& value) { m_submitTimeAfterHasBeenSet = true; m_submitTimeAfter = std::forward<SubmitTimeAfterT>(value); }
53 template<typename SubmitTimeAfterT = Aws::Utils::DateTime>
54 ListAsyncInvokesRequest& WithSubmitTimeAfter(SubmitTimeAfterT&& value) { SetSubmitTimeAfter(std::forward<SubmitTimeAfterT>(value)); return *this;}
56
58
61 inline const Aws::Utils::DateTime& GetSubmitTimeBefore() const { return m_submitTimeBefore; }
62 inline bool SubmitTimeBeforeHasBeenSet() const { return m_submitTimeBeforeHasBeenSet; }
63 template<typename SubmitTimeBeforeT = Aws::Utils::DateTime>
64 void SetSubmitTimeBefore(SubmitTimeBeforeT&& value) { m_submitTimeBeforeHasBeenSet = true; m_submitTimeBefore = std::forward<SubmitTimeBeforeT>(value); }
65 template<typename SubmitTimeBeforeT = Aws::Utils::DateTime>
66 ListAsyncInvokesRequest& WithSubmitTimeBefore(SubmitTimeBeforeT&& value) { SetSubmitTimeBefore(std::forward<SubmitTimeBeforeT>(value)); return *this;}
68
70
73 inline AsyncInvokeStatus GetStatusEquals() const { return m_statusEquals; }
74 inline bool StatusEqualsHasBeenSet() const { return m_statusEqualsHasBeenSet; }
75 inline void SetStatusEquals(AsyncInvokeStatus value) { m_statusEqualsHasBeenSet = true; m_statusEquals = value; }
78
80
83 inline int GetMaxResults() const { return m_maxResults; }
84 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
85 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
86 inline ListAsyncInvokesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
88
90
94 inline const Aws::String& GetNextToken() const { return m_nextToken; }
95 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
96 template<typename NextTokenT = Aws::String>
97 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
98 template<typename NextTokenT = Aws::String>
99 ListAsyncInvokesRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
101
103
106 inline SortAsyncInvocationBy GetSortBy() const { return m_sortBy; }
107 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
108 inline void SetSortBy(SortAsyncInvocationBy value) { m_sortByHasBeenSet = true; m_sortBy = value; }
111
113
116 inline SortOrder GetSortOrder() const { return m_sortOrder; }
117 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
118 inline void SetSortOrder(SortOrder value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
119 inline ListAsyncInvokesRequest& WithSortOrder(SortOrder value) { SetSortOrder(value); return *this;}
121 private:
122
123 Aws::Utils::DateTime m_submitTimeAfter{};
124 bool m_submitTimeAfterHasBeenSet = false;
125
126 Aws::Utils::DateTime m_submitTimeBefore{};
127 bool m_submitTimeBeforeHasBeenSet = false;
128
130 bool m_statusEqualsHasBeenSet = false;
131
132 int m_maxResults{0};
133 bool m_maxResultsHasBeenSet = false;
134
135 Aws::String m_nextToken;
136 bool m_nextTokenHasBeenSet = false;
137
139 bool m_sortByHasBeenSet = false;
140
141 SortOrder m_sortOrder{SortOrder::NOT_SET};
142 bool m_sortOrderHasBeenSet = false;
143 };
144
145} // namespace Model
146} // namespace BedrockRuntime
147} // namespace Aws
ListAsyncInvokesRequest & WithSortBy(SortAsyncInvocationBy value)
AWS_BEDROCKRUNTIME_API Aws::String SerializePayload() const override
const Aws::Utils::DateTime & GetSubmitTimeBefore() const
ListAsyncInvokesRequest & WithStatusEquals(AsyncInvokeStatus value)
AWS_BEDROCKRUNTIME_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_BEDROCKRUNTIME_API ListAsyncInvokesRequest()=default
virtual const char * GetServiceRequestName() const override
ListAsyncInvokesRequest & WithSubmitTimeAfter(SubmitTimeAfterT &&value)
ListAsyncInvokesRequest & WithSortOrder(SortOrder value)
const Aws::Utils::DateTime & GetSubmitTimeAfter() const
ListAsyncInvokesRequest & WithNextToken(NextTokenT &&value)
ListAsyncInvokesRequest & WithSubmitTimeBefore(SubmitTimeBeforeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String