AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename NameContainsT = Aws::String>
47 void SetNameContains(NameContainsT&& value) { m_nameContainsHasBeenSet = true; m_nameContains = std::forward<NameContainsT>(value); }
48 template<typename NameContainsT = Aws::String>
49 ListHubsRequest& WithNameContains(NameContainsT&& value) { SetNameContains(std::forward<NameContainsT>(value)); return *this;}
51
53
56 inline const Aws::Utils::DateTime& GetCreationTimeBefore() const { return m_creationTimeBefore; }
57 inline bool CreationTimeBeforeHasBeenSet() const { return m_creationTimeBeforeHasBeenSet; }
58 template<typename CreationTimeBeforeT = Aws::Utils::DateTime>
59 void SetCreationTimeBefore(CreationTimeBeforeT&& value) { m_creationTimeBeforeHasBeenSet = true; m_creationTimeBefore = std::forward<CreationTimeBeforeT>(value); }
60 template<typename CreationTimeBeforeT = Aws::Utils::DateTime>
61 ListHubsRequest& WithCreationTimeBefore(CreationTimeBeforeT&& value) { SetCreationTimeBefore(std::forward<CreationTimeBeforeT>(value)); return *this;}
63
65
68 inline const Aws::Utils::DateTime& GetCreationTimeAfter() const { return m_creationTimeAfter; }
69 inline bool CreationTimeAfterHasBeenSet() const { return m_creationTimeAfterHasBeenSet; }
70 template<typename CreationTimeAfterT = Aws::Utils::DateTime>
71 void SetCreationTimeAfter(CreationTimeAfterT&& value) { m_creationTimeAfterHasBeenSet = true; m_creationTimeAfter = std::forward<CreationTimeAfterT>(value); }
72 template<typename CreationTimeAfterT = Aws::Utils::DateTime>
73 ListHubsRequest& WithCreationTimeAfter(CreationTimeAfterT&& value) { SetCreationTimeAfter(std::forward<CreationTimeAfterT>(value)); return *this;}
75
77
80 inline const Aws::Utils::DateTime& GetLastModifiedTimeBefore() const { return m_lastModifiedTimeBefore; }
81 inline bool LastModifiedTimeBeforeHasBeenSet() const { return m_lastModifiedTimeBeforeHasBeenSet; }
82 template<typename LastModifiedTimeBeforeT = Aws::Utils::DateTime>
83 void SetLastModifiedTimeBefore(LastModifiedTimeBeforeT&& value) { m_lastModifiedTimeBeforeHasBeenSet = true; m_lastModifiedTimeBefore = std::forward<LastModifiedTimeBeforeT>(value); }
84 template<typename LastModifiedTimeBeforeT = Aws::Utils::DateTime>
85 ListHubsRequest& WithLastModifiedTimeBefore(LastModifiedTimeBeforeT&& value) { SetLastModifiedTimeBefore(std::forward<LastModifiedTimeBeforeT>(value)); return *this;}
87
89
92 inline const Aws::Utils::DateTime& GetLastModifiedTimeAfter() const { return m_lastModifiedTimeAfter; }
93 inline bool LastModifiedTimeAfterHasBeenSet() const { return m_lastModifiedTimeAfterHasBeenSet; }
94 template<typename LastModifiedTimeAfterT = Aws::Utils::DateTime>
95 void SetLastModifiedTimeAfter(LastModifiedTimeAfterT&& value) { m_lastModifiedTimeAfterHasBeenSet = true; m_lastModifiedTimeAfter = std::forward<LastModifiedTimeAfterT>(value); }
96 template<typename LastModifiedTimeAfterT = Aws::Utils::DateTime>
97 ListHubsRequest& WithLastModifiedTimeAfter(LastModifiedTimeAfterT&& value) { SetLastModifiedTimeAfter(std::forward<LastModifiedTimeAfterT>(value)); return *this;}
99
101
104 inline HubSortBy GetSortBy() const { return m_sortBy; }
105 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
106 inline void SetSortBy(HubSortBy value) { m_sortByHasBeenSet = true; m_sortBy = value; }
107 inline ListHubsRequest& WithSortBy(HubSortBy value) { SetSortBy(value); return *this;}
109
111
114 inline SortOrder GetSortOrder() const { return m_sortOrder; }
115 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
116 inline void SetSortOrder(SortOrder value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
117 inline ListHubsRequest& WithSortOrder(SortOrder value) { SetSortOrder(value); return *this;}
119
121
124 inline int GetMaxResults() const { return m_maxResults; }
125 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
126 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
127 inline ListHubsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
129
131
136 inline const Aws::String& GetNextToken() const { return m_nextToken; }
137 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
138 template<typename NextTokenT = Aws::String>
139 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
140 template<typename NextTokenT = Aws::String>
141 ListHubsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
143 private:
144
145 Aws::String m_nameContains;
146 bool m_nameContainsHasBeenSet = false;
147
148 Aws::Utils::DateTime m_creationTimeBefore{};
149 bool m_creationTimeBeforeHasBeenSet = false;
150
151 Aws::Utils::DateTime m_creationTimeAfter{};
152 bool m_creationTimeAfterHasBeenSet = false;
153
154 Aws::Utils::DateTime m_lastModifiedTimeBefore{};
155 bool m_lastModifiedTimeBeforeHasBeenSet = false;
156
157 Aws::Utils::DateTime m_lastModifiedTimeAfter{};
158 bool m_lastModifiedTimeAfterHasBeenSet = false;
159
161 bool m_sortByHasBeenSet = false;
162
163 SortOrder m_sortOrder{SortOrder::NOT_SET};
164 bool m_sortOrderHasBeenSet = false;
165
166 int m_maxResults{0};
167 bool m_maxResultsHasBeenSet = false;
168
169 Aws::String m_nextToken;
170 bool m_nextTokenHasBeenSet = false;
171 };
172
173} // namespace Model
174} // namespace SageMaker
175} // namespace Aws
const Aws::Utils::DateTime & GetCreationTimeBefore() const
ListHubsRequest & WithSortOrder(SortOrder value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetCreationTimeAfter(CreationTimeAfterT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetNextToken() const
const Aws::Utils::DateTime & GetLastModifiedTimeAfter() const
ListHubsRequest & WithNameContains(NameContainsT &&value)
void SetLastModifiedTimeBefore(LastModifiedTimeBeforeT &&value)
ListHubsRequest & WithLastModifiedTimeBefore(LastModifiedTimeBeforeT &&value)
ListHubsRequest & WithCreationTimeAfter(CreationTimeAfterT &&value)
ListHubsRequest & WithNextToken(NextTokenT &&value)
void SetCreationTimeBefore(CreationTimeBeforeT &&value)
const Aws::Utils::DateTime & GetLastModifiedTimeBefore() const
ListHubsRequest & WithLastModifiedTimeAfter(LastModifiedTimeAfterT &&value)
const Aws::Utils::DateTime & GetCreationTimeAfter() const
ListHubsRequest & WithCreationTimeBefore(CreationTimeBeforeT &&value)
ListHubsRequest & WithSortBy(HubSortBy value)
const Aws::String & GetNameContains() const
ListHubsRequest & WithMaxResults(int value)
AWS_SAGEMAKER_API ListHubsRequest()=default
void SetLastModifiedTimeAfter(LastModifiedTimeAfterT &&value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
void SetNameContains(NameContainsT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String