AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCreationTimeAfter(const Aws::Utils::DateTime& value) { m_creationTimeAfterHasBeenSet = true; m_creationTimeAfter = value; }
51 inline void SetCreationTimeAfter(Aws::Utils::DateTime&& value) { m_creationTimeAfterHasBeenSet = true; m_creationTimeAfter = std::move(value); }
53 inline ListHumanLoopsRequest& WithCreationTimeAfter(Aws::Utils::DateTime&& value) { SetCreationTimeAfter(std::move(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 inline void SetCreationTimeBefore(const Aws::Utils::DateTime& value) { m_creationTimeBeforeHasBeenSet = true; m_creationTimeBefore = value; }
64 inline void SetCreationTimeBefore(Aws::Utils::DateTime&& value) { m_creationTimeBeforeHasBeenSet = true; m_creationTimeBefore = std::move(value); }
68
70
73 inline const Aws::String& GetFlowDefinitionArn() const{ return m_flowDefinitionArn; }
74 inline bool FlowDefinitionArnHasBeenSet() const { return m_flowDefinitionArnHasBeenSet; }
75 inline void SetFlowDefinitionArn(const Aws::String& value) { m_flowDefinitionArnHasBeenSet = true; m_flowDefinitionArn = value; }
76 inline void SetFlowDefinitionArn(Aws::String&& value) { m_flowDefinitionArnHasBeenSet = true; m_flowDefinitionArn = std::move(value); }
77 inline void SetFlowDefinitionArn(const char* value) { m_flowDefinitionArnHasBeenSet = true; m_flowDefinitionArn.assign(value); }
78 inline ListHumanLoopsRequest& WithFlowDefinitionArn(const Aws::String& value) { SetFlowDefinitionArn(value); return *this;}
79 inline ListHumanLoopsRequest& WithFlowDefinitionArn(Aws::String&& value) { SetFlowDefinitionArn(std::move(value)); return *this;}
80 inline ListHumanLoopsRequest& WithFlowDefinitionArn(const char* value) { SetFlowDefinitionArn(value); return *this;}
82
84
88 inline const SortOrder& GetSortOrder() const{ return m_sortOrder; }
89 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
90 inline void SetSortOrder(const SortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
91 inline void SetSortOrder(SortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); }
92 inline ListHumanLoopsRequest& WithSortOrder(const SortOrder& value) { SetSortOrder(value); return *this;}
93 inline ListHumanLoopsRequest& WithSortOrder(SortOrder&& value) { SetSortOrder(std::move(value)); return *this;}
95
97
100 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
101 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
102 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
103 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
104 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
105 inline ListHumanLoopsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
106 inline ListHumanLoopsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
107 inline ListHumanLoopsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
109
111
117 inline int GetMaxResults() const{ return m_maxResults; }
118 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
119 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
120 inline ListHumanLoopsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
122 private:
123
124 Aws::Utils::DateTime m_creationTimeAfter;
125 bool m_creationTimeAfterHasBeenSet = false;
126
127 Aws::Utils::DateTime m_creationTimeBefore;
128 bool m_creationTimeBeforeHasBeenSet = false;
129
130 Aws::String m_flowDefinitionArn;
131 bool m_flowDefinitionArnHasBeenSet = false;
132
133 SortOrder m_sortOrder;
134 bool m_sortOrderHasBeenSet = false;
135
136 Aws::String m_nextToken;
137 bool m_nextTokenHasBeenSet = false;
138
139 int m_maxResults;
140 bool m_maxResultsHasBeenSet = false;
141 };
142
143} // namespace Model
144} // namespace AugmentedAIRuntime
145} // namespace Aws
ListHumanLoopsRequest & WithNextToken(const char *value)
const Aws::Utils::DateTime & GetCreationTimeAfter() const
void SetCreationTimeBefore(const Aws::Utils::DateTime &value)
void SetCreationTimeAfter(const Aws::Utils::DateTime &value)
virtual const char * GetServiceRequestName() const override
ListHumanLoopsRequest & WithFlowDefinitionArn(const char *value)
AWS_AUGMENTEDAIRUNTIME_API Aws::String SerializePayload() const override
const Aws::Utils::DateTime & GetCreationTimeBefore() const
ListHumanLoopsRequest & WithFlowDefinitionArn(const Aws::String &value)
ListHumanLoopsRequest & WithNextToken(const Aws::String &value)
ListHumanLoopsRequest & WithSortOrder(const SortOrder &value)
ListHumanLoopsRequest & WithFlowDefinitionArn(Aws::String &&value)
ListHumanLoopsRequest & WithCreationTimeBefore(Aws::Utils::DateTime &&value)
ListHumanLoopsRequest & WithSortOrder(SortOrder &&value)
ListHumanLoopsRequest & WithCreationTimeAfter(const Aws::Utils::DateTime &value)
ListHumanLoopsRequest & WithCreationTimeAfter(Aws::Utils::DateTime &&value)
ListHumanLoopsRequest & WithCreationTimeBefore(const Aws::Utils::DateTime &value)
AWS_AUGMENTEDAIRUNTIME_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListHumanLoopsRequest & WithNextToken(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String