AWS SDK for C++  1.8.95
AWS SDK for C++
ListFlowDefinitionsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace SageMaker
17 {
18 namespace Model
19 {
20 
24  {
25  public:
27 
28  // Service request name is the Operation name which will send this request out,
29  // each operation should has unique request name, so that we can get operation's name from this request.
30  // Note: this is not true for response, multiple operations may have the same response name,
31  // so we can not get operation's name from response.
32  inline virtual const char* GetServiceRequestName() const override { return "ListFlowDefinitions"; }
33 
34  Aws::String SerializePayload() const override;
35 
36  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37 
38 
43  inline const Aws::Utils::DateTime& GetCreationTimeAfter() const{ return m_creationTimeAfter; }
44 
49  inline bool CreationTimeAfterHasBeenSet() const { return m_creationTimeAfterHasBeenSet; }
50 
55  inline void SetCreationTimeAfter(const Aws::Utils::DateTime& value) { m_creationTimeAfterHasBeenSet = true; m_creationTimeAfter = value; }
56 
61  inline void SetCreationTimeAfter(Aws::Utils::DateTime&& value) { m_creationTimeAfterHasBeenSet = true; m_creationTimeAfter = std::move(value); }
62 
67  inline ListFlowDefinitionsRequest& WithCreationTimeAfter(const Aws::Utils::DateTime& value) { SetCreationTimeAfter(value); return *this;}
68 
73  inline ListFlowDefinitionsRequest& WithCreationTimeAfter(Aws::Utils::DateTime&& value) { SetCreationTimeAfter(std::move(value)); return *this;}
74 
75 
80  inline const Aws::Utils::DateTime& GetCreationTimeBefore() const{ return m_creationTimeBefore; }
81 
86  inline bool CreationTimeBeforeHasBeenSet() const { return m_creationTimeBeforeHasBeenSet; }
87 
92  inline void SetCreationTimeBefore(const Aws::Utils::DateTime& value) { m_creationTimeBeforeHasBeenSet = true; m_creationTimeBefore = value; }
93 
98  inline void SetCreationTimeBefore(Aws::Utils::DateTime&& value) { m_creationTimeBeforeHasBeenSet = true; m_creationTimeBefore = std::move(value); }
99 
104  inline ListFlowDefinitionsRequest& WithCreationTimeBefore(const Aws::Utils::DateTime& value) { SetCreationTimeBefore(value); return *this;}
105 
110  inline ListFlowDefinitionsRequest& WithCreationTimeBefore(Aws::Utils::DateTime&& value) { SetCreationTimeBefore(std::move(value)); return *this;}
111 
112 
117  inline const SortOrder& GetSortOrder() const{ return m_sortOrder; }
118 
123  inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
124 
129  inline void SetSortOrder(const SortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
130 
135  inline void SetSortOrder(SortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); }
136 
141  inline ListFlowDefinitionsRequest& WithSortOrder(const SortOrder& value) { SetSortOrder(value); return *this;}
142 
147  inline ListFlowDefinitionsRequest& WithSortOrder(SortOrder&& value) { SetSortOrder(std::move(value)); return *this;}
148 
149 
153  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
154 
158  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
159 
163  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
164 
168  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
169 
173  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
174 
178  inline ListFlowDefinitionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
179 
183  inline ListFlowDefinitionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
184 
188  inline ListFlowDefinitionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
189 
190 
197  inline int GetMaxResults() const{ return m_maxResults; }
198 
205  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
206 
213  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
214 
221  inline ListFlowDefinitionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
222 
223  private:
224 
225  Aws::Utils::DateTime m_creationTimeAfter;
226  bool m_creationTimeAfterHasBeenSet;
227 
228  Aws::Utils::DateTime m_creationTimeBefore;
229  bool m_creationTimeBeforeHasBeenSet;
230 
231  SortOrder m_sortOrder;
232  bool m_sortOrderHasBeenSet;
233 
234  Aws::String m_nextToken;
235  bool m_nextTokenHasBeenSet;
236 
237  int m_maxResults;
238  bool m_maxResultsHasBeenSet;
239  };
240 
241 } // namespace Model
242 } // namespace SageMaker
243 } // namespace Aws
void SetCreationTimeBefore(const Aws::Utils::DateTime &value)
#define AWS_SAGEMAKER_API
ListFlowDefinitionsRequest & WithNextToken(const char *value)
ListFlowDefinitionsRequest & WithMaxResults(int value)
ListFlowDefinitionsRequest & WithCreationTimeAfter(const Aws::Utils::DateTime &value)
ListFlowDefinitionsRequest & WithSortOrder(const SortOrder &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
ListFlowDefinitionsRequest & WithCreationTimeBefore(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreationTimeBefore() const
void SetCreationTimeAfter(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreationTimeAfter() const
ListFlowDefinitionsRequest & WithCreationTimeBefore(Aws::Utils::DateTime &&value)
ListFlowDefinitionsRequest & WithSortOrder(SortOrder &&value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ListFlowDefinitionsRequest & WithNextToken(Aws::String &&value)
ListFlowDefinitionsRequest & WithNextToken(const Aws::String &value)
ListFlowDefinitionsRequest & WithCreationTimeAfter(Aws::Utils::DateTime &&value)