AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListActionsRequest.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/SageMakerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/sagemaker/model/SortActionsBy.h>
12#include <aws/sagemaker/model/SortOrder.h>
13#include <utility>
14
15namespace Aws
16{
17namespace SageMaker
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_SAGEMAKER_API ListActionsRequest();
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "ListActions"; }
34
35 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
36
38
39
41
44 inline const Aws::String& GetSourceUri() const{ return m_sourceUri; }
45 inline bool SourceUriHasBeenSet() const { return m_sourceUriHasBeenSet; }
46 inline void SetSourceUri(const Aws::String& value) { m_sourceUriHasBeenSet = true; m_sourceUri = value; }
47 inline void SetSourceUri(Aws::String&& value) { m_sourceUriHasBeenSet = true; m_sourceUri = std::move(value); }
48 inline void SetSourceUri(const char* value) { m_sourceUriHasBeenSet = true; m_sourceUri.assign(value); }
49 inline ListActionsRequest& WithSourceUri(const Aws::String& value) { SetSourceUri(value); return *this;}
50 inline ListActionsRequest& WithSourceUri(Aws::String&& value) { SetSourceUri(std::move(value)); return *this;}
51 inline ListActionsRequest& WithSourceUri(const char* value) { SetSourceUri(value); return *this;}
53
55
58 inline const Aws::String& GetActionType() const{ return m_actionType; }
59 inline bool ActionTypeHasBeenSet() const { return m_actionTypeHasBeenSet; }
60 inline void SetActionType(const Aws::String& value) { m_actionTypeHasBeenSet = true; m_actionType = value; }
61 inline void SetActionType(Aws::String&& value) { m_actionTypeHasBeenSet = true; m_actionType = std::move(value); }
62 inline void SetActionType(const char* value) { m_actionTypeHasBeenSet = true; m_actionType.assign(value); }
63 inline ListActionsRequest& WithActionType(const Aws::String& value) { SetActionType(value); return *this;}
64 inline ListActionsRequest& WithActionType(Aws::String&& value) { SetActionType(std::move(value)); return *this;}
65 inline ListActionsRequest& WithActionType(const char* value) { SetActionType(value); return *this;}
67
69
73 inline const Aws::Utils::DateTime& GetCreatedAfter() const{ return m_createdAfter; }
74 inline bool CreatedAfterHasBeenSet() const { return m_createdAfterHasBeenSet; }
75 inline void SetCreatedAfter(const Aws::Utils::DateTime& value) { m_createdAfterHasBeenSet = true; m_createdAfter = value; }
76 inline void SetCreatedAfter(Aws::Utils::DateTime&& value) { m_createdAfterHasBeenSet = true; m_createdAfter = std::move(value); }
77 inline ListActionsRequest& WithCreatedAfter(const Aws::Utils::DateTime& value) { SetCreatedAfter(value); return *this;}
78 inline ListActionsRequest& WithCreatedAfter(Aws::Utils::DateTime&& value) { SetCreatedAfter(std::move(value)); return *this;}
80
82
86 inline const Aws::Utils::DateTime& GetCreatedBefore() const{ return m_createdBefore; }
87 inline bool CreatedBeforeHasBeenSet() const { return m_createdBeforeHasBeenSet; }
88 inline void SetCreatedBefore(const Aws::Utils::DateTime& value) { m_createdBeforeHasBeenSet = true; m_createdBefore = value; }
89 inline void SetCreatedBefore(Aws::Utils::DateTime&& value) { m_createdBeforeHasBeenSet = true; m_createdBefore = std::move(value); }
90 inline ListActionsRequest& WithCreatedBefore(const Aws::Utils::DateTime& value) { SetCreatedBefore(value); return *this;}
91 inline ListActionsRequest& WithCreatedBefore(Aws::Utils::DateTime&& value) { SetCreatedBefore(std::move(value)); return *this;}
93
95
99 inline const SortActionsBy& GetSortBy() const{ return m_sortBy; }
100 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
101 inline void SetSortBy(const SortActionsBy& value) { m_sortByHasBeenSet = true; m_sortBy = value; }
102 inline void SetSortBy(SortActionsBy&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); }
103 inline ListActionsRequest& WithSortBy(const SortActionsBy& value) { SetSortBy(value); return *this;}
104 inline ListActionsRequest& WithSortBy(SortActionsBy&& value) { SetSortBy(std::move(value)); return *this;}
106
108
111 inline const SortOrder& GetSortOrder() const{ return m_sortOrder; }
112 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
113 inline void SetSortOrder(const SortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
114 inline void SetSortOrder(SortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); }
115 inline ListActionsRequest& WithSortOrder(const SortOrder& value) { SetSortOrder(value); return *this;}
116 inline ListActionsRequest& WithSortOrder(SortOrder&& value) { SetSortOrder(std::move(value)); return *this;}
118
120
124 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
125 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
126 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
127 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
128 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
129 inline ListActionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
130 inline ListActionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
131 inline ListActionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
133
135
139 inline int GetMaxResults() const{ return m_maxResults; }
140 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
141 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
142 inline ListActionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
144 private:
145
146 Aws::String m_sourceUri;
147 bool m_sourceUriHasBeenSet = false;
148
149 Aws::String m_actionType;
150 bool m_actionTypeHasBeenSet = false;
151
152 Aws::Utils::DateTime m_createdAfter;
153 bool m_createdAfterHasBeenSet = false;
154
155 Aws::Utils::DateTime m_createdBefore;
156 bool m_createdBeforeHasBeenSet = false;
157
158 SortActionsBy m_sortBy;
159 bool m_sortByHasBeenSet = false;
160
161 SortOrder m_sortOrder;
162 bool m_sortOrderHasBeenSet = false;
163
164 Aws::String m_nextToken;
165 bool m_nextTokenHasBeenSet = false;
166
167 int m_maxResults;
168 bool m_maxResultsHasBeenSet = false;
169 };
170
171} // namespace Model
172} // namespace SageMaker
173} // namespace Aws
ListActionsRequest & WithNextToken(const char *value)
ListActionsRequest & WithSortBy(SortActionsBy &&value)
ListActionsRequest & WithActionType(const Aws::String &value)
void SetCreatedAfter(const Aws::Utils::DateTime &value)
ListActionsRequest & WithActionType(Aws::String &&value)
void SetSortBy(const SortActionsBy &value)
void SetCreatedBefore(const Aws::Utils::DateTime &value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
const Aws::Utils::DateTime & GetCreatedAfter() const
ListActionsRequest & WithNextToken(const Aws::String &value)
void SetActionType(const Aws::String &value)
const SortActionsBy & GetSortBy() const
void SetCreatedAfter(Aws::Utils::DateTime &&value)
void SetNextToken(const Aws::String &value)
ListActionsRequest & WithCreatedAfter(Aws::Utils::DateTime &&value)
ListActionsRequest & WithCreatedAfter(const Aws::Utils::DateTime &value)
ListActionsRequest & WithCreatedBefore(Aws::Utils::DateTime &&value)
ListActionsRequest & WithSortOrder(SortOrder &&value)
void SetSourceUri(const Aws::String &value)
ListActionsRequest & WithSourceUri(const Aws::String &value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListActionsRequest & WithActionType(const char *value)
ListActionsRequest & WithSortBy(const SortActionsBy &value)
const Aws::Utils::DateTime & GetCreatedBefore() const
virtual const char * GetServiceRequestName() const override
ListActionsRequest & WithMaxResults(int value)
ListActionsRequest & WithSourceUri(Aws::String &&value)
void SetCreatedBefore(Aws::Utils::DateTime &&value)
ListActionsRequest & WithSortOrder(const SortOrder &value)
ListActionsRequest & WithNextToken(Aws::String &&value)
ListActionsRequest & WithSourceUri(const char *value)
ListActionsRequest & WithCreatedBefore(const Aws::Utils::DateTime &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String