AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListHubContentsRequest.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/sagemaker/model/HubContentType.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/sagemaker/model/HubContentSortBy.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 ListHubContentsRequest();
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 "ListHubContents"; }
35
36 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
37
39
40
42
45 inline const Aws::String& GetHubName() const{ return m_hubName; }
46 inline bool HubNameHasBeenSet() const { return m_hubNameHasBeenSet; }
47 inline void SetHubName(const Aws::String& value) { m_hubNameHasBeenSet = true; m_hubName = value; }
48 inline void SetHubName(Aws::String&& value) { m_hubNameHasBeenSet = true; m_hubName = std::move(value); }
49 inline void SetHubName(const char* value) { m_hubNameHasBeenSet = true; m_hubName.assign(value); }
50 inline ListHubContentsRequest& WithHubName(const Aws::String& value) { SetHubName(value); return *this;}
51 inline ListHubContentsRequest& WithHubName(Aws::String&& value) { SetHubName(std::move(value)); return *this;}
52 inline ListHubContentsRequest& WithHubName(const char* value) { SetHubName(value); return *this;}
54
56
59 inline const HubContentType& GetHubContentType() const{ return m_hubContentType; }
60 inline bool HubContentTypeHasBeenSet() const { return m_hubContentTypeHasBeenSet; }
61 inline void SetHubContentType(const HubContentType& value) { m_hubContentTypeHasBeenSet = true; m_hubContentType = value; }
62 inline void SetHubContentType(HubContentType&& value) { m_hubContentTypeHasBeenSet = true; m_hubContentType = std::move(value); }
63 inline ListHubContentsRequest& WithHubContentType(const HubContentType& value) { SetHubContentType(value); return *this;}
64 inline ListHubContentsRequest& WithHubContentType(HubContentType&& value) { SetHubContentType(std::move(value)); return *this;}
66
68
71 inline const Aws::String& GetNameContains() const{ return m_nameContains; }
72 inline bool NameContainsHasBeenSet() const { return m_nameContainsHasBeenSet; }
73 inline void SetNameContains(const Aws::String& value) { m_nameContainsHasBeenSet = true; m_nameContains = value; }
74 inline void SetNameContains(Aws::String&& value) { m_nameContainsHasBeenSet = true; m_nameContains = std::move(value); }
75 inline void SetNameContains(const char* value) { m_nameContainsHasBeenSet = true; m_nameContains.assign(value); }
76 inline ListHubContentsRequest& WithNameContains(const Aws::String& value) { SetNameContains(value); return *this;}
77 inline ListHubContentsRequest& WithNameContains(Aws::String&& value) { SetNameContains(std::move(value)); return *this;}
78 inline ListHubContentsRequest& WithNameContains(const char* value) { SetNameContains(value); return *this;}
80
82
85 inline const Aws::String& GetMaxSchemaVersion() const{ return m_maxSchemaVersion; }
86 inline bool MaxSchemaVersionHasBeenSet() const { return m_maxSchemaVersionHasBeenSet; }
87 inline void SetMaxSchemaVersion(const Aws::String& value) { m_maxSchemaVersionHasBeenSet = true; m_maxSchemaVersion = value; }
88 inline void SetMaxSchemaVersion(Aws::String&& value) { m_maxSchemaVersionHasBeenSet = true; m_maxSchemaVersion = std::move(value); }
89 inline void SetMaxSchemaVersion(const char* value) { m_maxSchemaVersionHasBeenSet = true; m_maxSchemaVersion.assign(value); }
90 inline ListHubContentsRequest& WithMaxSchemaVersion(const Aws::String& value) { SetMaxSchemaVersion(value); return *this;}
91 inline ListHubContentsRequest& WithMaxSchemaVersion(Aws::String&& value) { SetMaxSchemaVersion(std::move(value)); return *this;}
92 inline ListHubContentsRequest& WithMaxSchemaVersion(const char* value) { SetMaxSchemaVersion(value); return *this;}
94
96
99 inline const Aws::Utils::DateTime& GetCreationTimeBefore() const{ return m_creationTimeBefore; }
100 inline bool CreationTimeBeforeHasBeenSet() const { return m_creationTimeBeforeHasBeenSet; }
101 inline void SetCreationTimeBefore(const Aws::Utils::DateTime& value) { m_creationTimeBeforeHasBeenSet = true; m_creationTimeBefore = value; }
102 inline void SetCreationTimeBefore(Aws::Utils::DateTime&& value) { m_creationTimeBeforeHasBeenSet = true; m_creationTimeBefore = std::move(value); }
106
108
111 inline const Aws::Utils::DateTime& GetCreationTimeAfter() const{ return m_creationTimeAfter; }
112 inline bool CreationTimeAfterHasBeenSet() const { return m_creationTimeAfterHasBeenSet; }
113 inline void SetCreationTimeAfter(const Aws::Utils::DateTime& value) { m_creationTimeAfterHasBeenSet = true; m_creationTimeAfter = value; }
114 inline void SetCreationTimeAfter(Aws::Utils::DateTime&& value) { m_creationTimeAfterHasBeenSet = true; m_creationTimeAfter = std::move(value); }
118
120
123 inline const HubContentSortBy& GetSortBy() const{ return m_sortBy; }
124 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
125 inline void SetSortBy(const HubContentSortBy& value) { m_sortByHasBeenSet = true; m_sortBy = value; }
126 inline void SetSortBy(HubContentSortBy&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); }
127 inline ListHubContentsRequest& WithSortBy(const HubContentSortBy& value) { SetSortBy(value); return *this;}
128 inline ListHubContentsRequest& WithSortBy(HubContentSortBy&& value) { SetSortBy(std::move(value)); return *this;}
130
132
135 inline const SortOrder& GetSortOrder() const{ return m_sortOrder; }
136 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
137 inline void SetSortOrder(const SortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
138 inline void SetSortOrder(SortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); }
139 inline ListHubContentsRequest& WithSortOrder(const SortOrder& value) { SetSortOrder(value); return *this;}
140 inline ListHubContentsRequest& WithSortOrder(SortOrder&& value) { SetSortOrder(std::move(value)); return *this;}
142
144
147 inline int GetMaxResults() const{ return m_maxResults; }
148 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
149 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
150 inline ListHubContentsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
152
154
159 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
160 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
161 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
162 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
163 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
164 inline ListHubContentsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
165 inline ListHubContentsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
166 inline ListHubContentsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
168 private:
169
170 Aws::String m_hubName;
171 bool m_hubNameHasBeenSet = false;
172
173 HubContentType m_hubContentType;
174 bool m_hubContentTypeHasBeenSet = false;
175
176 Aws::String m_nameContains;
177 bool m_nameContainsHasBeenSet = false;
178
179 Aws::String m_maxSchemaVersion;
180 bool m_maxSchemaVersionHasBeenSet = false;
181
182 Aws::Utils::DateTime m_creationTimeBefore;
183 bool m_creationTimeBeforeHasBeenSet = false;
184
185 Aws::Utils::DateTime m_creationTimeAfter;
186 bool m_creationTimeAfterHasBeenSet = false;
187
188 HubContentSortBy m_sortBy;
189 bool m_sortByHasBeenSet = false;
190
191 SortOrder m_sortOrder;
192 bool m_sortOrderHasBeenSet = false;
193
194 int m_maxResults;
195 bool m_maxResultsHasBeenSet = false;
196
197 Aws::String m_nextToken;
198 bool m_nextTokenHasBeenSet = false;
199 };
200
201} // namespace Model
202} // namespace SageMaker
203} // namespace Aws
ListHubContentsRequest & WithHubContentType(const HubContentType &value)
ListHubContentsRequest & WithSortBy(HubContentSortBy &&value)
void SetHubContentType(const HubContentType &value)
ListHubContentsRequest & WithMaxResults(int value)
ListHubContentsRequest & WithNextToken(Aws::String &&value)
ListHubContentsRequest & WithHubName(const Aws::String &value)
void SetCreationTimeAfter(const Aws::Utils::DateTime &value)
ListHubContentsRequest & WithCreationTimeAfter(Aws::Utils::DateTime &&value)
ListHubContentsRequest & WithMaxSchemaVersion(const char *value)
const Aws::Utils::DateTime & GetCreationTimeBefore() const
ListHubContentsRequest & WithSortOrder(const SortOrder &value)
ListHubContentsRequest & WithNameContains(Aws::String &&value)
ListHubContentsRequest & WithHubName(Aws::String &&value)
ListHubContentsRequest & WithMaxSchemaVersion(const Aws::String &value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
ListHubContentsRequest & WithMaxSchemaVersion(Aws::String &&value)
void SetCreationTimeAfter(Aws::Utils::DateTime &&value)
ListHubContentsRequest & WithCreationTimeAfter(const Aws::Utils::DateTime &value)
ListHubContentsRequest & WithHubName(const char *value)
ListHubContentsRequest & WithSortOrder(SortOrder &&value)
ListHubContentsRequest & WithHubContentType(HubContentType &&value)
virtual const char * GetServiceRequestName() const override
ListHubContentsRequest & WithCreationTimeBefore(Aws::Utils::DateTime &&value)
ListHubContentsRequest & WithNameContains(const Aws::String &value)
ListHubContentsRequest & WithCreationTimeBefore(const Aws::Utils::DateTime &value)
void SetSortBy(const HubContentSortBy &value)
void SetCreationTimeBefore(Aws::Utils::DateTime &&value)
ListHubContentsRequest & WithNextToken(const Aws::String &value)
ListHubContentsRequest & WithSortBy(const HubContentSortBy &value)
void SetCreationTimeBefore(const Aws::Utils::DateTime &value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::Utils::DateTime & GetCreationTimeAfter() const
ListHubContentsRequest & WithNextToken(const char *value)
ListHubContentsRequest & WithNameContains(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String