AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListDeviceFleetsRequest.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/ListDeviceFleetsSortBy.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 ListDeviceFleetsRequest();
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 "ListDeviceFleets"; }
34
35 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
36
38
39
41
45 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
46 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
47 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
48 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
49 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
50 inline ListDeviceFleetsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
51 inline ListDeviceFleetsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
52 inline ListDeviceFleetsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
54
56
59 inline int GetMaxResults() const{ return m_maxResults; }
60 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
61 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
62 inline ListDeviceFleetsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
64
66
69 inline const Aws::Utils::DateTime& GetCreationTimeAfter() const{ return m_creationTimeAfter; }
70 inline bool CreationTimeAfterHasBeenSet() const { return m_creationTimeAfterHasBeenSet; }
71 inline void SetCreationTimeAfter(const Aws::Utils::DateTime& value) { m_creationTimeAfterHasBeenSet = true; m_creationTimeAfter = value; }
72 inline void SetCreationTimeAfter(Aws::Utils::DateTime&& value) { m_creationTimeAfterHasBeenSet = true; m_creationTimeAfter = std::move(value); }
76
78
82 inline const Aws::Utils::DateTime& GetCreationTimeBefore() const{ return m_creationTimeBefore; }
83 inline bool CreationTimeBeforeHasBeenSet() const { return m_creationTimeBeforeHasBeenSet; }
84 inline void SetCreationTimeBefore(const Aws::Utils::DateTime& value) { m_creationTimeBeforeHasBeenSet = true; m_creationTimeBefore = value; }
85 inline void SetCreationTimeBefore(Aws::Utils::DateTime&& value) { m_creationTimeBeforeHasBeenSet = true; m_creationTimeBefore = std::move(value); }
89
91
94 inline const Aws::Utils::DateTime& GetLastModifiedTimeAfter() const{ return m_lastModifiedTimeAfter; }
95 inline bool LastModifiedTimeAfterHasBeenSet() const { return m_lastModifiedTimeAfterHasBeenSet; }
96 inline void SetLastModifiedTimeAfter(const Aws::Utils::DateTime& value) { m_lastModifiedTimeAfterHasBeenSet = true; m_lastModifiedTimeAfter = value; }
97 inline void SetLastModifiedTimeAfter(Aws::Utils::DateTime&& value) { m_lastModifiedTimeAfterHasBeenSet = true; m_lastModifiedTimeAfter = std::move(value); }
101
103
106 inline const Aws::Utils::DateTime& GetLastModifiedTimeBefore() const{ return m_lastModifiedTimeBefore; }
107 inline bool LastModifiedTimeBeforeHasBeenSet() const { return m_lastModifiedTimeBeforeHasBeenSet; }
108 inline void SetLastModifiedTimeBefore(const Aws::Utils::DateTime& value) { m_lastModifiedTimeBeforeHasBeenSet = true; m_lastModifiedTimeBefore = value; }
109 inline void SetLastModifiedTimeBefore(Aws::Utils::DateTime&& value) { m_lastModifiedTimeBeforeHasBeenSet = true; m_lastModifiedTimeBefore = std::move(value); }
113
115
118 inline const Aws::String& GetNameContains() const{ return m_nameContains; }
119 inline bool NameContainsHasBeenSet() const { return m_nameContainsHasBeenSet; }
120 inline void SetNameContains(const Aws::String& value) { m_nameContainsHasBeenSet = true; m_nameContains = value; }
121 inline void SetNameContains(Aws::String&& value) { m_nameContainsHasBeenSet = true; m_nameContains = std::move(value); }
122 inline void SetNameContains(const char* value) { m_nameContainsHasBeenSet = true; m_nameContains.assign(value); }
123 inline ListDeviceFleetsRequest& WithNameContains(const Aws::String& value) { SetNameContains(value); return *this;}
124 inline ListDeviceFleetsRequest& WithNameContains(Aws::String&& value) { SetNameContains(std::move(value)); return *this;}
125 inline ListDeviceFleetsRequest& WithNameContains(const char* value) { SetNameContains(value); return *this;}
127
129
132 inline const ListDeviceFleetsSortBy& GetSortBy() const{ return m_sortBy; }
133 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
134 inline void SetSortBy(const ListDeviceFleetsSortBy& value) { m_sortByHasBeenSet = true; m_sortBy = value; }
135 inline void SetSortBy(ListDeviceFleetsSortBy&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); }
136 inline ListDeviceFleetsRequest& WithSortBy(const ListDeviceFleetsSortBy& value) { SetSortBy(value); return *this;}
137 inline ListDeviceFleetsRequest& WithSortBy(ListDeviceFleetsSortBy&& value) { SetSortBy(std::move(value)); return *this;}
139
141
144 inline const SortOrder& GetSortOrder() const{ return m_sortOrder; }
145 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
146 inline void SetSortOrder(const SortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
147 inline void SetSortOrder(SortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); }
148 inline ListDeviceFleetsRequest& WithSortOrder(const SortOrder& value) { SetSortOrder(value); return *this;}
149 inline ListDeviceFleetsRequest& WithSortOrder(SortOrder&& value) { SetSortOrder(std::move(value)); return *this;}
151 private:
152
153 Aws::String m_nextToken;
154 bool m_nextTokenHasBeenSet = false;
155
156 int m_maxResults;
157 bool m_maxResultsHasBeenSet = false;
158
159 Aws::Utils::DateTime m_creationTimeAfter;
160 bool m_creationTimeAfterHasBeenSet = false;
161
162 Aws::Utils::DateTime m_creationTimeBefore;
163 bool m_creationTimeBeforeHasBeenSet = false;
164
165 Aws::Utils::DateTime m_lastModifiedTimeAfter;
166 bool m_lastModifiedTimeAfterHasBeenSet = false;
167
168 Aws::Utils::DateTime m_lastModifiedTimeBefore;
169 bool m_lastModifiedTimeBeforeHasBeenSet = false;
170
171 Aws::String m_nameContains;
172 bool m_nameContainsHasBeenSet = false;
173
174 ListDeviceFleetsSortBy m_sortBy;
175 bool m_sortByHasBeenSet = false;
176
177 SortOrder m_sortOrder;
178 bool m_sortOrderHasBeenSet = false;
179 };
180
181} // namespace Model
182} // namespace SageMaker
183} // namespace Aws
ListDeviceFleetsRequest & WithLastModifiedTimeAfter(Aws::Utils::DateTime &&value)
ListDeviceFleetsRequest & WithLastModifiedTimeAfter(const Aws::Utils::DateTime &value)
ListDeviceFleetsRequest & WithMaxResults(int value)
void SetLastModifiedTimeAfter(Aws::Utils::DateTime &&value)
const ListDeviceFleetsSortBy & GetSortBy() const
ListDeviceFleetsRequest & WithNextToken(Aws::String &&value)
void SetSortBy(const ListDeviceFleetsSortBy &value)
const Aws::Utils::DateTime & GetCreationTimeAfter() const
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListDeviceFleetsRequest & WithSortOrder(const SortOrder &value)
ListDeviceFleetsRequest & WithNameContains(Aws::String &&value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
ListDeviceFleetsRequest & WithSortBy(const ListDeviceFleetsSortBy &value)
ListDeviceFleetsRequest & WithNextToken(const char *value)
const Aws::Utils::DateTime & GetCreationTimeBefore() const
virtual const char * GetServiceRequestName() const override
const Aws::Utils::DateTime & GetLastModifiedTimeBefore() const
ListDeviceFleetsRequest & WithLastModifiedTimeBefore(const Aws::Utils::DateTime &value)
ListDeviceFleetsRequest & WithNextToken(const Aws::String &value)
void SetLastModifiedTimeAfter(const Aws::Utils::DateTime &value)
ListDeviceFleetsRequest & WithSortOrder(SortOrder &&value)
void SetCreationTimeBefore(const Aws::Utils::DateTime &value)
void SetCreationTimeAfter(Aws::Utils::DateTime &&value)
ListDeviceFleetsRequest & WithCreationTimeBefore(const Aws::Utils::DateTime &value)
void SetLastModifiedTimeBefore(const Aws::Utils::DateTime &value)
void SetCreationTimeBefore(Aws::Utils::DateTime &&value)
void SetCreationTimeAfter(const Aws::Utils::DateTime &value)
ListDeviceFleetsRequest & WithNameContains(const char *value)
const Aws::Utils::DateTime & GetLastModifiedTimeAfter() const
ListDeviceFleetsRequest & WithSortBy(ListDeviceFleetsSortBy &&value)
ListDeviceFleetsRequest & WithCreationTimeAfter(Aws::Utils::DateTime &&value)
ListDeviceFleetsRequest & WithCreationTimeBefore(Aws::Utils::DateTime &&value)
ListDeviceFleetsRequest & WithLastModifiedTimeBefore(Aws::Utils::DateTime &&value)
ListDeviceFleetsRequest & WithCreationTimeAfter(const Aws::Utils::DateTime &value)
ListDeviceFleetsRequest & WithNameContains(const Aws::String &value)
void SetLastModifiedTimeBefore(Aws::Utils::DateTime &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String