AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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