AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCreatedAfter(const Aws::Utils::DateTime& value) { m_createdAfterHasBeenSet = true; m_createdAfter = value; }
48 inline void SetCreatedAfter(Aws::Utils::DateTime&& value) { m_createdAfterHasBeenSet = true; m_createdAfter = std::move(value); }
50 inline ListLineageGroupsRequest& WithCreatedAfter(Aws::Utils::DateTime&& value) { SetCreatedAfter(std::move(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 inline void SetCreatedBefore(const Aws::Utils::DateTime& value) { m_createdBeforeHasBeenSet = true; m_createdBefore = value; }
61 inline void SetCreatedBefore(Aws::Utils::DateTime&& value) { m_createdBeforeHasBeenSet = true; m_createdBefore = std::move(value); }
63 inline ListLineageGroupsRequest& WithCreatedBefore(Aws::Utils::DateTime&& value) { SetCreatedBefore(std::move(value)); return *this;}
65
67
71 inline const SortLineageGroupsBy& GetSortBy() const{ return m_sortBy; }
72 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
73 inline void SetSortBy(const SortLineageGroupsBy& value) { m_sortByHasBeenSet = true; m_sortBy = value; }
74 inline void SetSortBy(SortLineageGroupsBy&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); }
75 inline ListLineageGroupsRequest& WithSortBy(const SortLineageGroupsBy& value) { SetSortBy(value); return *this;}
76 inline ListLineageGroupsRequest& WithSortBy(SortLineageGroupsBy&& value) { SetSortBy(std::move(value)); return *this;}
78
80
83 inline const SortOrder& GetSortOrder() const{ return m_sortOrder; }
84 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
85 inline void SetSortOrder(const SortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
86 inline void SetSortOrder(SortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); }
87 inline ListLineageGroupsRequest& WithSortOrder(const SortOrder& value) { SetSortOrder(value); return *this;}
88 inline ListLineageGroupsRequest& WithSortOrder(SortOrder&& value) { SetSortOrder(std::move(value)); return *this;}
90
92
96 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
97 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
98 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
99 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
100 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
101 inline ListLineageGroupsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
102 inline ListLineageGroupsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
103 inline ListLineageGroupsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
105
107
111 inline int GetMaxResults() const{ return m_maxResults; }
112 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
113 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
114 inline ListLineageGroupsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
116 private:
117
118 Aws::Utils::DateTime m_createdAfter;
119 bool m_createdAfterHasBeenSet = false;
120
121 Aws::Utils::DateTime m_createdBefore;
122 bool m_createdBeforeHasBeenSet = false;
123
124 SortLineageGroupsBy m_sortBy;
125 bool m_sortByHasBeenSet = false;
126
127 SortOrder m_sortOrder;
128 bool m_sortOrderHasBeenSet = false;
129
130 Aws::String m_nextToken;
131 bool m_nextTokenHasBeenSet = false;
132
133 int m_maxResults;
134 bool m_maxResultsHasBeenSet = false;
135 };
136
137} // namespace Model
138} // namespace SageMaker
139} // namespace Aws
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
ListLineageGroupsRequest & WithCreatedAfter(const Aws::Utils::DateTime &value)
ListLineageGroupsRequest & WithSortBy(SortLineageGroupsBy &&value)
ListLineageGroupsRequest & WithCreatedBefore(const Aws::Utils::DateTime &value)
ListLineageGroupsRequest & WithSortBy(const SortLineageGroupsBy &value)
void SetSortBy(const SortLineageGroupsBy &value)
const Aws::Utils::DateTime & GetCreatedAfter() const
ListLineageGroupsRequest & WithMaxResults(int value)
ListLineageGroupsRequest & WithCreatedBefore(Aws::Utils::DateTime &&value)
ListLineageGroupsRequest & WithSortOrder(SortOrder &&value)
void SetCreatedAfter(const Aws::Utils::DateTime &value)
ListLineageGroupsRequest & WithNextToken(const char *value)
ListLineageGroupsRequest & WithCreatedAfter(Aws::Utils::DateTime &&value)
ListLineageGroupsRequest & WithNextToken(const Aws::String &value)
ListLineageGroupsRequest & WithSortOrder(const SortOrder &value)
ListLineageGroupsRequest & WithNextToken(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
void SetCreatedBefore(const Aws::Utils::DateTime &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