AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListComputeQuotasRequest.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/core/utils/memory/stl/AWSString.h>
11#include <aws/sagemaker/model/SchedulerResourceStatus.h>
12#include <aws/sagemaker/model/SortQuotaBy.h>
13#include <aws/sagemaker/model/SortOrder.h>
14#include <utility>
15
16namespace Aws
17{
18namespace SageMaker
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_SAGEMAKER_API ListComputeQuotasRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "ListComputeQuotas"; }
35
36 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
37
39
40
42
47 inline const Aws::Utils::DateTime& GetCreatedAfter() const { return m_createdAfter; }
48 inline bool CreatedAfterHasBeenSet() const { return m_createdAfterHasBeenSet; }
49 template<typename CreatedAfterT = Aws::Utils::DateTime>
50 void SetCreatedAfter(CreatedAfterT&& value) { m_createdAfterHasBeenSet = true; m_createdAfter = std::forward<CreatedAfterT>(value); }
51 template<typename CreatedAfterT = Aws::Utils::DateTime>
52 ListComputeQuotasRequest& WithCreatedAfter(CreatedAfterT&& value) { SetCreatedAfter(std::forward<CreatedAfterT>(value)); return *this;}
54
56
61 inline const Aws::Utils::DateTime& GetCreatedBefore() const { return m_createdBefore; }
62 inline bool CreatedBeforeHasBeenSet() const { return m_createdBeforeHasBeenSet; }
63 template<typename CreatedBeforeT = Aws::Utils::DateTime>
64 void SetCreatedBefore(CreatedBeforeT&& value) { m_createdBeforeHasBeenSet = true; m_createdBefore = std::forward<CreatedBeforeT>(value); }
65 template<typename CreatedBeforeT = Aws::Utils::DateTime>
66 ListComputeQuotasRequest& WithCreatedBefore(CreatedBeforeT&& value) { SetCreatedBefore(std::forward<CreatedBeforeT>(value)); return *this;}
68
70
73 inline const Aws::String& GetNameContains() const { return m_nameContains; }
74 inline bool NameContainsHasBeenSet() const { return m_nameContainsHasBeenSet; }
75 template<typename NameContainsT = Aws::String>
76 void SetNameContains(NameContainsT&& value) { m_nameContainsHasBeenSet = true; m_nameContains = std::forward<NameContainsT>(value); }
77 template<typename NameContainsT = Aws::String>
78 ListComputeQuotasRequest& WithNameContains(NameContainsT&& value) { SetNameContains(std::forward<NameContainsT>(value)); return *this;}
80
82
85 inline SchedulerResourceStatus GetStatus() const { return m_status; }
86 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
87 inline void SetStatus(SchedulerResourceStatus value) { m_statusHasBeenSet = true; m_status = value; }
90
92
95 inline const Aws::String& GetClusterArn() const { return m_clusterArn; }
96 inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; }
97 template<typename ClusterArnT = Aws::String>
98 void SetClusterArn(ClusterArnT&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::forward<ClusterArnT>(value); }
99 template<typename ClusterArnT = Aws::String>
100 ListComputeQuotasRequest& WithClusterArn(ClusterArnT&& value) { SetClusterArn(std::forward<ClusterArnT>(value)); return *this;}
102
104
108 inline SortQuotaBy GetSortBy() const { return m_sortBy; }
109 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
110 inline void SetSortBy(SortQuotaBy value) { m_sortByHasBeenSet = true; m_sortBy = value; }
111 inline ListComputeQuotasRequest& WithSortBy(SortQuotaBy value) { SetSortBy(value); return *this;}
113
115
120 inline SortOrder GetSortOrder() const { return m_sortOrder; }
121 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
122 inline void SetSortOrder(SortOrder value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
123 inline ListComputeQuotasRequest& WithSortOrder(SortOrder value) { SetSortOrder(value); return *this;}
125
127
131 inline const Aws::String& GetNextToken() const { return m_nextToken; }
132 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
133 template<typename NextTokenT = Aws::String>
134 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
135 template<typename NextTokenT = Aws::String>
136 ListComputeQuotasRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
138
140
143 inline int GetMaxResults() const { return m_maxResults; }
144 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
145 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
146 inline ListComputeQuotasRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
148 private:
149
150 Aws::Utils::DateTime m_createdAfter{};
151 bool m_createdAfterHasBeenSet = false;
152
153 Aws::Utils::DateTime m_createdBefore{};
154 bool m_createdBeforeHasBeenSet = false;
155
156 Aws::String m_nameContains;
157 bool m_nameContainsHasBeenSet = false;
158
160 bool m_statusHasBeenSet = false;
161
162 Aws::String m_clusterArn;
163 bool m_clusterArnHasBeenSet = false;
164
166 bool m_sortByHasBeenSet = false;
167
168 SortOrder m_sortOrder{SortOrder::NOT_SET};
169 bool m_sortOrderHasBeenSet = false;
170
171 Aws::String m_nextToken;
172 bool m_nextTokenHasBeenSet = false;
173
174 int m_maxResults{0};
175 bool m_maxResultsHasBeenSet = false;
176 };
177
178} // namespace Model
179} // namespace SageMaker
180} // namespace Aws
ListComputeQuotasRequest & WithNameContains(NameContainsT &&value)
ListComputeQuotasRequest & WithClusterArn(ClusterArnT &&value)
ListComputeQuotasRequest & WithMaxResults(int value)
ListComputeQuotasRequest & WithCreatedAfter(CreatedAfterT &&value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::Utils::DateTime & GetCreatedBefore() const
virtual const char * GetServiceRequestName() const override
AWS_SAGEMAKER_API ListComputeQuotasRequest()=default
const Aws::Utils::DateTime & GetCreatedAfter() const
ListComputeQuotasRequest & WithSortOrder(SortOrder value)
ListComputeQuotasRequest & WithNextToken(NextTokenT &&value)
ListComputeQuotasRequest & WithCreatedBefore(CreatedBeforeT &&value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
ListComputeQuotasRequest & WithSortBy(SortQuotaBy value)
ListComputeQuotasRequest & WithStatus(SchedulerResourceStatus value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String