AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename SourceUriT = Aws::String>
47 void SetSourceUri(SourceUriT&& value) { m_sourceUriHasBeenSet = true; m_sourceUri = std::forward<SourceUriT>(value); }
48 template<typename SourceUriT = Aws::String>
49 ListActionsRequest& WithSourceUri(SourceUriT&& value) { SetSourceUri(std::forward<SourceUriT>(value)); return *this;}
51
53
56 inline const Aws::String& GetActionType() const { return m_actionType; }
57 inline bool ActionTypeHasBeenSet() const { return m_actionTypeHasBeenSet; }
58 template<typename ActionTypeT = Aws::String>
59 void SetActionType(ActionTypeT&& value) { m_actionTypeHasBeenSet = true; m_actionType = std::forward<ActionTypeT>(value); }
60 template<typename ActionTypeT = Aws::String>
61 ListActionsRequest& WithActionType(ActionTypeT&& value) { SetActionType(std::forward<ActionTypeT>(value)); return *this;}
63
65
69 inline const Aws::Utils::DateTime& GetCreatedAfter() const { return m_createdAfter; }
70 inline bool CreatedAfterHasBeenSet() const { return m_createdAfterHasBeenSet; }
71 template<typename CreatedAfterT = Aws::Utils::DateTime>
72 void SetCreatedAfter(CreatedAfterT&& value) { m_createdAfterHasBeenSet = true; m_createdAfter = std::forward<CreatedAfterT>(value); }
73 template<typename CreatedAfterT = Aws::Utils::DateTime>
74 ListActionsRequest& WithCreatedAfter(CreatedAfterT&& value) { SetCreatedAfter(std::forward<CreatedAfterT>(value)); return *this;}
76
78
82 inline const Aws::Utils::DateTime& GetCreatedBefore() const { return m_createdBefore; }
83 inline bool CreatedBeforeHasBeenSet() const { return m_createdBeforeHasBeenSet; }
84 template<typename CreatedBeforeT = Aws::Utils::DateTime>
85 void SetCreatedBefore(CreatedBeforeT&& value) { m_createdBeforeHasBeenSet = true; m_createdBefore = std::forward<CreatedBeforeT>(value); }
86 template<typename CreatedBeforeT = Aws::Utils::DateTime>
87 ListActionsRequest& WithCreatedBefore(CreatedBeforeT&& value) { SetCreatedBefore(std::forward<CreatedBeforeT>(value)); return *this;}
89
91
95 inline SortActionsBy GetSortBy() const { return m_sortBy; }
96 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
97 inline void SetSortBy(SortActionsBy value) { m_sortByHasBeenSet = true; m_sortBy = value; }
98 inline ListActionsRequest& WithSortBy(SortActionsBy value) { SetSortBy(value); return *this;}
100
102
105 inline SortOrder GetSortOrder() const { return m_sortOrder; }
106 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
107 inline void SetSortOrder(SortOrder value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
108 inline ListActionsRequest& WithSortOrder(SortOrder value) { SetSortOrder(value); return *this;}
110
112
116 inline const Aws::String& GetNextToken() const { return m_nextToken; }
117 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
118 template<typename NextTokenT = Aws::String>
119 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
120 template<typename NextTokenT = Aws::String>
121 ListActionsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
123
125
129 inline int GetMaxResults() const { return m_maxResults; }
130 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
131 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
132 inline ListActionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
134 private:
135
136 Aws::String m_sourceUri;
137 bool m_sourceUriHasBeenSet = false;
138
139 Aws::String m_actionType;
140 bool m_actionTypeHasBeenSet = false;
141
142 Aws::Utils::DateTime m_createdAfter{};
143 bool m_createdAfterHasBeenSet = false;
144
145 Aws::Utils::DateTime m_createdBefore{};
146 bool m_createdBeforeHasBeenSet = false;
147
149 bool m_sortByHasBeenSet = false;
150
151 SortOrder m_sortOrder{SortOrder::NOT_SET};
152 bool m_sortOrderHasBeenSet = false;
153
154 Aws::String m_nextToken;
155 bool m_nextTokenHasBeenSet = false;
156
157 int m_maxResults{0};
158 bool m_maxResultsHasBeenSet = false;
159 };
160
161} // namespace Model
162} // namespace SageMaker
163} // namespace Aws
ListActionsRequest & WithCreatedAfter(CreatedAfterT &&value)
void SetCreatedBefore(CreatedBeforeT &&value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
const Aws::Utils::DateTime & GetCreatedAfter() const
AWS_SAGEMAKER_API ListActionsRequest()=default
ListActionsRequest & WithSortBy(SortActionsBy value)
ListActionsRequest & WithCreatedBefore(CreatedBeforeT &&value)
void SetCreatedAfter(CreatedAfterT &&value)
ListActionsRequest & WithNextToken(NextTokenT &&value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::Utils::DateTime & GetCreatedBefore() const
virtual const char * GetServiceRequestName() const override
ListActionsRequest & WithMaxResults(int value)
ListActionsRequest & WithActionType(ActionTypeT &&value)
ListActionsRequest & WithSourceUri(SourceUriT &&value)
ListActionsRequest & WithSortOrder(SortOrder value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String