AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListHumanLoopsRequest.h
1
6#pragma once
7#include <aws/sagemaker-a2i-runtime/AugmentedAIRuntime_EXPORTS.h>
8#include <aws/sagemaker-a2i-runtime/AugmentedAIRuntimeRequest.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/sagemaker-a2i-runtime/model/SortOrder.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Http
17{
18 class URI;
19} //namespace Http
20namespace AugmentedAIRuntime
21{
22namespace Model
23{
24
28 {
29 public:
30 AWS_AUGMENTEDAIRUNTIME_API ListHumanLoopsRequest() = default;
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "ListHumanLoops"; }
37
38 AWS_AUGMENTEDAIRUNTIME_API Aws::String SerializePayload() const override;
39
40 AWS_AUGMENTEDAIRUNTIME_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
41
42
44
48 inline const Aws::Utils::DateTime& GetCreationTimeAfter() const { return m_creationTimeAfter; }
49 inline bool CreationTimeAfterHasBeenSet() const { return m_creationTimeAfterHasBeenSet; }
50 template<typename CreationTimeAfterT = Aws::Utils::DateTime>
51 void SetCreationTimeAfter(CreationTimeAfterT&& value) { m_creationTimeAfterHasBeenSet = true; m_creationTimeAfter = std::forward<CreationTimeAfterT>(value); }
52 template<typename CreationTimeAfterT = Aws::Utils::DateTime>
53 ListHumanLoopsRequest& WithCreationTimeAfter(CreationTimeAfterT&& value) { SetCreationTimeAfter(std::forward<CreationTimeAfterT>(value)); return *this;}
55
57
61 inline const Aws::Utils::DateTime& GetCreationTimeBefore() const { return m_creationTimeBefore; }
62 inline bool CreationTimeBeforeHasBeenSet() const { return m_creationTimeBeforeHasBeenSet; }
63 template<typename CreationTimeBeforeT = Aws::Utils::DateTime>
64 void SetCreationTimeBefore(CreationTimeBeforeT&& value) { m_creationTimeBeforeHasBeenSet = true; m_creationTimeBefore = std::forward<CreationTimeBeforeT>(value); }
65 template<typename CreationTimeBeforeT = Aws::Utils::DateTime>
66 ListHumanLoopsRequest& WithCreationTimeBefore(CreationTimeBeforeT&& value) { SetCreationTimeBefore(std::forward<CreationTimeBeforeT>(value)); return *this;}
68
70
73 inline const Aws::String& GetFlowDefinitionArn() const { return m_flowDefinitionArn; }
74 inline bool FlowDefinitionArnHasBeenSet() const { return m_flowDefinitionArnHasBeenSet; }
75 template<typename FlowDefinitionArnT = Aws::String>
76 void SetFlowDefinitionArn(FlowDefinitionArnT&& value) { m_flowDefinitionArnHasBeenSet = true; m_flowDefinitionArn = std::forward<FlowDefinitionArnT>(value); }
77 template<typename FlowDefinitionArnT = Aws::String>
78 ListHumanLoopsRequest& WithFlowDefinitionArn(FlowDefinitionArnT&& value) { SetFlowDefinitionArn(std::forward<FlowDefinitionArnT>(value)); return *this;}
80
82
86 inline SortOrder GetSortOrder() const { return m_sortOrder; }
87 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
88 inline void SetSortOrder(SortOrder value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
89 inline ListHumanLoopsRequest& WithSortOrder(SortOrder value) { SetSortOrder(value); return *this;}
91
93
96 inline const Aws::String& GetNextToken() const { return m_nextToken; }
97 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
98 template<typename NextTokenT = Aws::String>
99 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
100 template<typename NextTokenT = Aws::String>
101 ListHumanLoopsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
103
105
111 inline int GetMaxResults() const { return m_maxResults; }
112 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
113 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
114 inline ListHumanLoopsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
116 private:
117
118 Aws::Utils::DateTime m_creationTimeAfter{};
119 bool m_creationTimeAfterHasBeenSet = false;
120
121 Aws::Utils::DateTime m_creationTimeBefore{};
122 bool m_creationTimeBeforeHasBeenSet = false;
123
124 Aws::String m_flowDefinitionArn;
125 bool m_flowDefinitionArnHasBeenSet = false;
126
127 SortOrder m_sortOrder{SortOrder::NOT_SET};
128 bool m_sortOrderHasBeenSet = false;
129
130 Aws::String m_nextToken;
131 bool m_nextTokenHasBeenSet = false;
132
133 int m_maxResults{0};
134 bool m_maxResultsHasBeenSet = false;
135 };
136
137} // namespace Model
138} // namespace AugmentedAIRuntime
139} // namespace Aws
ListHumanLoopsRequest & WithNextToken(NextTokenT &&value)
const Aws::Utils::DateTime & GetCreationTimeAfter() const
virtual const char * GetServiceRequestName() const override
ListHumanLoopsRequest & WithCreationTimeAfter(CreationTimeAfterT &&value)
AWS_AUGMENTEDAIRUNTIME_API Aws::String SerializePayload() const override
const Aws::Utils::DateTime & GetCreationTimeBefore() const
ListHumanLoopsRequest & WithCreationTimeBefore(CreationTimeBeforeT &&value)
ListHumanLoopsRequest & WithFlowDefinitionArn(FlowDefinitionArnT &&value)
AWS_AUGMENTEDAIRUNTIME_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListHumanLoopsRequest & WithSortOrder(SortOrder value)
AWS_AUGMENTEDAIRUNTIME_API ListHumanLoopsRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String