AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListLineageGroupsRequest.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/SageMakerRequest.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/sagemaker/model/SortLineageGroupsBy.h>
11#include <aws/sagemaker/model/SortOrder.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <utility>
14
15namespace Aws
16{
17namespace SageMaker
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_SAGEMAKER_API ListLineageGroupsRequest() = 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 "ListLineageGroups"; }
34
35 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
36
38
39
41
45 inline const Aws::Utils::DateTime& GetCreatedAfter() const { return m_createdAfter; }
46 inline bool CreatedAfterHasBeenSet() const { return m_createdAfterHasBeenSet; }
47 template<typename CreatedAfterT = Aws::Utils::DateTime>
48 void SetCreatedAfter(CreatedAfterT&& value) { m_createdAfterHasBeenSet = true; m_createdAfter = std::forward<CreatedAfterT>(value); }
49 template<typename CreatedAfterT = Aws::Utils::DateTime>
50 ListLineageGroupsRequest& WithCreatedAfter(CreatedAfterT&& value) { SetCreatedAfter(std::forward<CreatedAfterT>(value)); return *this;}
52
54
58 inline const Aws::Utils::DateTime& GetCreatedBefore() const { return m_createdBefore; }
59 inline bool CreatedBeforeHasBeenSet() const { return m_createdBeforeHasBeenSet; }
60 template<typename CreatedBeforeT = Aws::Utils::DateTime>
61 void SetCreatedBefore(CreatedBeforeT&& value) { m_createdBeforeHasBeenSet = true; m_createdBefore = std::forward<CreatedBeforeT>(value); }
62 template<typename CreatedBeforeT = Aws::Utils::DateTime>
63 ListLineageGroupsRequest& WithCreatedBefore(CreatedBeforeT&& value) { SetCreatedBefore(std::forward<CreatedBeforeT>(value)); return *this;}
65
67
71 inline SortLineageGroupsBy GetSortBy() const { return m_sortBy; }
72 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
73 inline void SetSortBy(SortLineageGroupsBy value) { m_sortByHasBeenSet = true; m_sortBy = value; }
74 inline ListLineageGroupsRequest& WithSortBy(SortLineageGroupsBy value) { SetSortBy(value); return *this;}
76
78
81 inline SortOrder GetSortOrder() const { return m_sortOrder; }
82 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
83 inline void SetSortOrder(SortOrder value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
84 inline ListLineageGroupsRequest& WithSortOrder(SortOrder value) { SetSortOrder(value); return *this;}
86
88
92 inline const Aws::String& GetNextToken() const { return m_nextToken; }
93 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
94 template<typename NextTokenT = Aws::String>
95 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
96 template<typename NextTokenT = Aws::String>
97 ListLineageGroupsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
99
101
105 inline int GetMaxResults() const { return m_maxResults; }
106 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
107 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
108 inline ListLineageGroupsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
110 private:
111
112 Aws::Utils::DateTime m_createdAfter{};
113 bool m_createdAfterHasBeenSet = false;
114
115 Aws::Utils::DateTime m_createdBefore{};
116 bool m_createdBeforeHasBeenSet = false;
117
119 bool m_sortByHasBeenSet = false;
120
121 SortOrder m_sortOrder{SortOrder::NOT_SET};
122 bool m_sortOrderHasBeenSet = false;
123
124 Aws::String m_nextToken;
125 bool m_nextTokenHasBeenSet = false;
126
127 int m_maxResults{0};
128 bool m_maxResultsHasBeenSet = false;
129 };
130
131} // namespace Model
132} // namespace SageMaker
133} // namespace Aws
ListLineageGroupsRequest & WithCreatedAfter(CreatedAfterT &&value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
ListLineageGroupsRequest & WithCreatedBefore(CreatedBeforeT &&value)
const Aws::Utils::DateTime & GetCreatedAfter() const
ListLineageGroupsRequest & WithMaxResults(int value)
AWS_SAGEMAKER_API ListLineageGroupsRequest()=default
ListLineageGroupsRequest & WithSortBy(SortLineageGroupsBy value)
ListLineageGroupsRequest & WithNextToken(NextTokenT &&value)
virtual const char * GetServiceRequestName() const override
ListLineageGroupsRequest & WithSortOrder(SortOrder value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::Utils::DateTime & GetCreatedBefore() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String