AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = 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 "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 template<typename HubNameT = Aws::String>
48 void SetHubName(HubNameT&& value) { m_hubNameHasBeenSet = true; m_hubName = std::forward<HubNameT>(value); }
49 template<typename HubNameT = Aws::String>
50 ListHubContentsRequest& WithHubName(HubNameT&& value) { SetHubName(std::forward<HubNameT>(value)); return *this;}
52
54
57 inline HubContentType GetHubContentType() const { return m_hubContentType; }
58 inline bool HubContentTypeHasBeenSet() const { return m_hubContentTypeHasBeenSet; }
59 inline void SetHubContentType(HubContentType value) { m_hubContentTypeHasBeenSet = true; m_hubContentType = value; }
62
64
67 inline const Aws::String& GetNameContains() const { return m_nameContains; }
68 inline bool NameContainsHasBeenSet() const { return m_nameContainsHasBeenSet; }
69 template<typename NameContainsT = Aws::String>
70 void SetNameContains(NameContainsT&& value) { m_nameContainsHasBeenSet = true; m_nameContains = std::forward<NameContainsT>(value); }
71 template<typename NameContainsT = Aws::String>
72 ListHubContentsRequest& WithNameContains(NameContainsT&& value) { SetNameContains(std::forward<NameContainsT>(value)); return *this;}
74
76
79 inline const Aws::String& GetMaxSchemaVersion() const { return m_maxSchemaVersion; }
80 inline bool MaxSchemaVersionHasBeenSet() const { return m_maxSchemaVersionHasBeenSet; }
81 template<typename MaxSchemaVersionT = Aws::String>
82 void SetMaxSchemaVersion(MaxSchemaVersionT&& value) { m_maxSchemaVersionHasBeenSet = true; m_maxSchemaVersion = std::forward<MaxSchemaVersionT>(value); }
83 template<typename MaxSchemaVersionT = Aws::String>
84 ListHubContentsRequest& WithMaxSchemaVersion(MaxSchemaVersionT&& value) { SetMaxSchemaVersion(std::forward<MaxSchemaVersionT>(value)); return *this;}
86
88
91 inline const Aws::Utils::DateTime& GetCreationTimeBefore() const { return m_creationTimeBefore; }
92 inline bool CreationTimeBeforeHasBeenSet() const { return m_creationTimeBeforeHasBeenSet; }
93 template<typename CreationTimeBeforeT = Aws::Utils::DateTime>
94 void SetCreationTimeBefore(CreationTimeBeforeT&& value) { m_creationTimeBeforeHasBeenSet = true; m_creationTimeBefore = std::forward<CreationTimeBeforeT>(value); }
95 template<typename CreationTimeBeforeT = Aws::Utils::DateTime>
96 ListHubContentsRequest& WithCreationTimeBefore(CreationTimeBeforeT&& value) { SetCreationTimeBefore(std::forward<CreationTimeBeforeT>(value)); return *this;}
98
100
103 inline const Aws::Utils::DateTime& GetCreationTimeAfter() const { return m_creationTimeAfter; }
104 inline bool CreationTimeAfterHasBeenSet() const { return m_creationTimeAfterHasBeenSet; }
105 template<typename CreationTimeAfterT = Aws::Utils::DateTime>
106 void SetCreationTimeAfter(CreationTimeAfterT&& value) { m_creationTimeAfterHasBeenSet = true; m_creationTimeAfter = std::forward<CreationTimeAfterT>(value); }
107 template<typename CreationTimeAfterT = Aws::Utils::DateTime>
108 ListHubContentsRequest& WithCreationTimeAfter(CreationTimeAfterT&& value) { SetCreationTimeAfter(std::forward<CreationTimeAfterT>(value)); return *this;}
110
112
115 inline HubContentSortBy GetSortBy() const { return m_sortBy; }
116 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
117 inline void SetSortBy(HubContentSortBy value) { m_sortByHasBeenSet = true; m_sortBy = value; }
118 inline ListHubContentsRequest& WithSortBy(HubContentSortBy value) { SetSortBy(value); return *this;}
120
122
125 inline SortOrder GetSortOrder() const { return m_sortOrder; }
126 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
127 inline void SetSortOrder(SortOrder value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
128 inline ListHubContentsRequest& WithSortOrder(SortOrder value) { SetSortOrder(value); return *this;}
130
132
135 inline int GetMaxResults() const { return m_maxResults; }
136 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
137 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
138 inline ListHubContentsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
140
142
147 inline const Aws::String& GetNextToken() const { return m_nextToken; }
148 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
149 template<typename NextTokenT = Aws::String>
150 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
151 template<typename NextTokenT = Aws::String>
152 ListHubContentsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
154 private:
155
156 Aws::String m_hubName;
157 bool m_hubNameHasBeenSet = false;
158
159 HubContentType m_hubContentType{HubContentType::NOT_SET};
160 bool m_hubContentTypeHasBeenSet = false;
161
162 Aws::String m_nameContains;
163 bool m_nameContainsHasBeenSet = false;
164
165 Aws::String m_maxSchemaVersion;
166 bool m_maxSchemaVersionHasBeenSet = false;
167
168 Aws::Utils::DateTime m_creationTimeBefore{};
169 bool m_creationTimeBeforeHasBeenSet = false;
170
171 Aws::Utils::DateTime m_creationTimeAfter{};
172 bool m_creationTimeAfterHasBeenSet = false;
173
175 bool m_sortByHasBeenSet = false;
176
177 SortOrder m_sortOrder{SortOrder::NOT_SET};
178 bool m_sortOrderHasBeenSet = false;
179
180 int m_maxResults{0};
181 bool m_maxResultsHasBeenSet = false;
182
183 Aws::String m_nextToken;
184 bool m_nextTokenHasBeenSet = false;
185 };
186
187} // namespace Model
188} // namespace SageMaker
189} // namespace Aws
ListHubContentsRequest & WithHubContentType(HubContentType value)
ListHubContentsRequest & WithMaxResults(int value)
const Aws::Utils::DateTime & GetCreationTimeBefore() const
ListHubContentsRequest & WithMaxSchemaVersion(MaxSchemaVersionT &&value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
ListHubContentsRequest & WithNextToken(NextTokenT &&value)
void SetMaxSchemaVersion(MaxSchemaVersionT &&value)
ListHubContentsRequest & WithNameContains(NameContainsT &&value)
void SetCreationTimeBefore(CreationTimeBeforeT &&value)
ListHubContentsRequest & WithCreationTimeBefore(CreationTimeBeforeT &&value)
ListHubContentsRequest & WithCreationTimeAfter(CreationTimeAfterT &&value)
virtual const char * GetServiceRequestName() const override
AWS_SAGEMAKER_API ListHubContentsRequest()=default
ListHubContentsRequest & WithHubName(HubNameT &&value)
ListHubContentsRequest & WithSortBy(HubContentSortBy value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::Utils::DateTime & GetCreationTimeAfter() const
ListHubContentsRequest & WithSortOrder(SortOrder value)
void SetCreationTimeAfter(CreationTimeAfterT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String