AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListClusterNodesRequest.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/ClusterSortBy.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 ListClusterNodesRequest();
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 "ListClusterNodes"; }
34
35 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
36
38
39
41
45 inline const Aws::String& GetClusterName() const{ return m_clusterName; }
46 inline bool ClusterNameHasBeenSet() const { return m_clusterNameHasBeenSet; }
47 inline void SetClusterName(const Aws::String& value) { m_clusterNameHasBeenSet = true; m_clusterName = value; }
48 inline void SetClusterName(Aws::String&& value) { m_clusterNameHasBeenSet = true; m_clusterName = std::move(value); }
49 inline void SetClusterName(const char* value) { m_clusterNameHasBeenSet = true; m_clusterName.assign(value); }
50 inline ListClusterNodesRequest& WithClusterName(const Aws::String& value) { SetClusterName(value); return *this;}
51 inline ListClusterNodesRequest& WithClusterName(Aws::String&& value) { SetClusterName(std::move(value)); return *this;}
52 inline ListClusterNodesRequest& WithClusterName(const char* value) { SetClusterName(value); return *this;}
54
56
72 inline const Aws::Utils::DateTime& GetCreationTimeAfter() const{ return m_creationTimeAfter; }
73 inline bool CreationTimeAfterHasBeenSet() const { return m_creationTimeAfterHasBeenSet; }
74 inline void SetCreationTimeAfter(const Aws::Utils::DateTime& value) { m_creationTimeAfterHasBeenSet = true; m_creationTimeAfter = value; }
75 inline void SetCreationTimeAfter(Aws::Utils::DateTime&& value) { m_creationTimeAfterHasBeenSet = true; m_creationTimeAfter = std::move(value); }
79
81
89 inline const Aws::Utils::DateTime& GetCreationTimeBefore() const{ return m_creationTimeBefore; }
90 inline bool CreationTimeBeforeHasBeenSet() const { return m_creationTimeBeforeHasBeenSet; }
91 inline void SetCreationTimeBefore(const Aws::Utils::DateTime& value) { m_creationTimeBeforeHasBeenSet = true; m_creationTimeBefore = value; }
92 inline void SetCreationTimeBefore(Aws::Utils::DateTime&& value) { m_creationTimeBeforeHasBeenSet = true; m_creationTimeBefore = std::move(value); }
96
98
102 inline const Aws::String& GetInstanceGroupNameContains() const{ return m_instanceGroupNameContains; }
103 inline bool InstanceGroupNameContainsHasBeenSet() const { return m_instanceGroupNameContainsHasBeenSet; }
104 inline void SetInstanceGroupNameContains(const Aws::String& value) { m_instanceGroupNameContainsHasBeenSet = true; m_instanceGroupNameContains = value; }
105 inline void SetInstanceGroupNameContains(Aws::String&& value) { m_instanceGroupNameContainsHasBeenSet = true; m_instanceGroupNameContains = std::move(value); }
106 inline void SetInstanceGroupNameContains(const char* value) { m_instanceGroupNameContainsHasBeenSet = true; m_instanceGroupNameContains.assign(value); }
111
113
116 inline int GetMaxResults() const{ return m_maxResults; }
117 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
118 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
119 inline ListClusterNodesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
121
123
128 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
129 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
130 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
131 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
132 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
133 inline ListClusterNodesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
134 inline ListClusterNodesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
135 inline ListClusterNodesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
137
139
143 inline const ClusterSortBy& GetSortBy() const{ return m_sortBy; }
144 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
145 inline void SetSortBy(const ClusterSortBy& value) { m_sortByHasBeenSet = true; m_sortBy = value; }
146 inline void SetSortBy(ClusterSortBy&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); }
147 inline ListClusterNodesRequest& WithSortBy(const ClusterSortBy& value) { SetSortBy(value); return *this;}
148 inline ListClusterNodesRequest& WithSortBy(ClusterSortBy&& value) { SetSortBy(std::move(value)); return *this;}
150
152
155 inline const SortOrder& GetSortOrder() const{ return m_sortOrder; }
156 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
157 inline void SetSortOrder(const SortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
158 inline void SetSortOrder(SortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); }
159 inline ListClusterNodesRequest& WithSortOrder(const SortOrder& value) { SetSortOrder(value); return *this;}
160 inline ListClusterNodesRequest& WithSortOrder(SortOrder&& value) { SetSortOrder(std::move(value)); return *this;}
162 private:
163
164 Aws::String m_clusterName;
165 bool m_clusterNameHasBeenSet = false;
166
167 Aws::Utils::DateTime m_creationTimeAfter;
168 bool m_creationTimeAfterHasBeenSet = false;
169
170 Aws::Utils::DateTime m_creationTimeBefore;
171 bool m_creationTimeBeforeHasBeenSet = false;
172
173 Aws::String m_instanceGroupNameContains;
174 bool m_instanceGroupNameContainsHasBeenSet = false;
175
176 int m_maxResults;
177 bool m_maxResultsHasBeenSet = false;
178
179 Aws::String m_nextToken;
180 bool m_nextTokenHasBeenSet = false;
181
182 ClusterSortBy m_sortBy;
183 bool m_sortByHasBeenSet = false;
184
185 SortOrder m_sortOrder;
186 bool m_sortOrderHasBeenSet = false;
187 };
188
189} // namespace Model
190} // namespace SageMaker
191} // namespace Aws
ListClusterNodesRequest & WithInstanceGroupNameContains(const char *value)
void SetCreationTimeBefore(const Aws::Utils::DateTime &value)
ListClusterNodesRequest & WithSortOrder(SortOrder &&value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
ListClusterNodesRequest & WithCreationTimeAfter(Aws::Utils::DateTime &&value)
virtual const char * GetServiceRequestName() const override
ListClusterNodesRequest & WithClusterName(Aws::String &&value)
ListClusterNodesRequest & WithSortBy(const ClusterSortBy &value)
ListClusterNodesRequest & WithInstanceGroupNameContains(const Aws::String &value)
void SetCreationTimeAfter(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreationTimeBefore() const
ListClusterNodesRequest & WithMaxResults(int value)
ListClusterNodesRequest & WithNextToken(const Aws::String &value)
ListClusterNodesRequest & WithCreationTimeAfter(const Aws::Utils::DateTime &value)
ListClusterNodesRequest & WithInstanceGroupNameContains(Aws::String &&value)
void SetCreationTimeBefore(Aws::Utils::DateTime &&value)
void SetInstanceGroupNameContains(const Aws::String &value)
ListClusterNodesRequest & WithCreationTimeBefore(Aws::Utils::DateTime &&value)
ListClusterNodesRequest & WithCreationTimeBefore(const Aws::Utils::DateTime &value)
ListClusterNodesRequest & WithSortOrder(const SortOrder &value)
ListClusterNodesRequest & WithSortBy(ClusterSortBy &&value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListClusterNodesRequest & WithNextToken(const char *value)
const Aws::Utils::DateTime & GetCreationTimeAfter() const
ListClusterNodesRequest & WithNextToken(Aws::String &&value)
ListClusterNodesRequest & WithClusterName(const char *value)
void SetCreationTimeAfter(const Aws::Utils::DateTime &value)
ListClusterNodesRequest & WithClusterName(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String