AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListArtifactsRequest.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/SortArtifactsBy.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 ListArtifactsRequest();
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 "ListArtifacts"; }
34
35 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
36
38
39
41
44 inline const Aws::String& GetSourceUri() const{ return m_sourceUri; }
45 inline bool SourceUriHasBeenSet() const { return m_sourceUriHasBeenSet; }
46 inline void SetSourceUri(const Aws::String& value) { m_sourceUriHasBeenSet = true; m_sourceUri = value; }
47 inline void SetSourceUri(Aws::String&& value) { m_sourceUriHasBeenSet = true; m_sourceUri = std::move(value); }
48 inline void SetSourceUri(const char* value) { m_sourceUriHasBeenSet = true; m_sourceUri.assign(value); }
49 inline ListArtifactsRequest& WithSourceUri(const Aws::String& value) { SetSourceUri(value); return *this;}
50 inline ListArtifactsRequest& WithSourceUri(Aws::String&& value) { SetSourceUri(std::move(value)); return *this;}
51 inline ListArtifactsRequest& WithSourceUri(const char* value) { SetSourceUri(value); return *this;}
53
55
58 inline const Aws::String& GetArtifactType() const{ return m_artifactType; }
59 inline bool ArtifactTypeHasBeenSet() const { return m_artifactTypeHasBeenSet; }
60 inline void SetArtifactType(const Aws::String& value) { m_artifactTypeHasBeenSet = true; m_artifactType = value; }
61 inline void SetArtifactType(Aws::String&& value) { m_artifactTypeHasBeenSet = true; m_artifactType = std::move(value); }
62 inline void SetArtifactType(const char* value) { m_artifactTypeHasBeenSet = true; m_artifactType.assign(value); }
63 inline ListArtifactsRequest& WithArtifactType(const Aws::String& value) { SetArtifactType(value); return *this;}
64 inline ListArtifactsRequest& WithArtifactType(Aws::String&& value) { SetArtifactType(std::move(value)); return *this;}
65 inline ListArtifactsRequest& WithArtifactType(const char* value) { SetArtifactType(value); return *this;}
67
69
73 inline const Aws::Utils::DateTime& GetCreatedAfter() const{ return m_createdAfter; }
74 inline bool CreatedAfterHasBeenSet() const { return m_createdAfterHasBeenSet; }
75 inline void SetCreatedAfter(const Aws::Utils::DateTime& value) { m_createdAfterHasBeenSet = true; m_createdAfter = value; }
76 inline void SetCreatedAfter(Aws::Utils::DateTime&& value) { m_createdAfterHasBeenSet = true; m_createdAfter = std::move(value); }
77 inline ListArtifactsRequest& WithCreatedAfter(const Aws::Utils::DateTime& value) { SetCreatedAfter(value); return *this;}
78 inline ListArtifactsRequest& WithCreatedAfter(Aws::Utils::DateTime&& value) { SetCreatedAfter(std::move(value)); return *this;}
80
82
86 inline const Aws::Utils::DateTime& GetCreatedBefore() const{ return m_createdBefore; }
87 inline bool CreatedBeforeHasBeenSet() const { return m_createdBeforeHasBeenSet; }
88 inline void SetCreatedBefore(const Aws::Utils::DateTime& value) { m_createdBeforeHasBeenSet = true; m_createdBefore = value; }
89 inline void SetCreatedBefore(Aws::Utils::DateTime&& value) { m_createdBeforeHasBeenSet = true; m_createdBefore = std::move(value); }
90 inline ListArtifactsRequest& WithCreatedBefore(const Aws::Utils::DateTime& value) { SetCreatedBefore(value); return *this;}
91 inline ListArtifactsRequest& WithCreatedBefore(Aws::Utils::DateTime&& value) { SetCreatedBefore(std::move(value)); return *this;}
93
95
99 inline const SortArtifactsBy& GetSortBy() const{ return m_sortBy; }
100 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
101 inline void SetSortBy(const SortArtifactsBy& value) { m_sortByHasBeenSet = true; m_sortBy = value; }
102 inline void SetSortBy(SortArtifactsBy&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); }
103 inline ListArtifactsRequest& WithSortBy(const SortArtifactsBy& value) { SetSortBy(value); return *this;}
104 inline ListArtifactsRequest& WithSortBy(SortArtifactsBy&& value) { SetSortBy(std::move(value)); return *this;}
106
108
111 inline const SortOrder& GetSortOrder() const{ return m_sortOrder; }
112 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
113 inline void SetSortOrder(const SortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
114 inline void SetSortOrder(SortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); }
115 inline ListArtifactsRequest& WithSortOrder(const SortOrder& value) { SetSortOrder(value); return *this;}
116 inline ListArtifactsRequest& WithSortOrder(SortOrder&& value) { SetSortOrder(std::move(value)); return *this;}
118
120
125 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
126 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
127 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
128 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
129 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
130 inline ListArtifactsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
131 inline ListArtifactsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
132 inline ListArtifactsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
134
136
140 inline int GetMaxResults() const{ return m_maxResults; }
141 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
142 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
143 inline ListArtifactsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
145 private:
146
147 Aws::String m_sourceUri;
148 bool m_sourceUriHasBeenSet = false;
149
150 Aws::String m_artifactType;
151 bool m_artifactTypeHasBeenSet = false;
152
153 Aws::Utils::DateTime m_createdAfter;
154 bool m_createdAfterHasBeenSet = false;
155
156 Aws::Utils::DateTime m_createdBefore;
157 bool m_createdBeforeHasBeenSet = false;
158
159 SortArtifactsBy m_sortBy;
160 bool m_sortByHasBeenSet = false;
161
162 SortOrder m_sortOrder;
163 bool m_sortOrderHasBeenSet = false;
164
165 Aws::String m_nextToken;
166 bool m_nextTokenHasBeenSet = false;
167
168 int m_maxResults;
169 bool m_maxResultsHasBeenSet = false;
170 };
171
172} // namespace Model
173} // namespace SageMaker
174} // namespace Aws
void SetCreatedBefore(Aws::Utils::DateTime &&value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
ListArtifactsRequest & WithSortOrder(const SortOrder &value)
ListArtifactsRequest & WithSourceUri(const Aws::String &value)
ListArtifactsRequest & WithCreatedBefore(const Aws::Utils::DateTime &value)
ListArtifactsRequest & WithSourceUri(Aws::String &&value)
ListArtifactsRequest & WithCreatedBefore(Aws::Utils::DateTime &&value)
ListArtifactsRequest & WithNextToken(const Aws::String &value)
ListArtifactsRequest & WithArtifactType(const Aws::String &value)
ListArtifactsRequest & WithNextToken(const char *value)
ListArtifactsRequest & WithArtifactType(const char *value)
ListArtifactsRequest & WithSortBy(const SortArtifactsBy &value)
ListArtifactsRequest & WithCreatedAfter(const Aws::Utils::DateTime &value)
void SetCreatedAfter(Aws::Utils::DateTime &&value)
ListArtifactsRequest & WithSourceUri(const char *value)
ListArtifactsRequest & WithMaxResults(int value)
const Aws::Utils::DateTime & GetCreatedBefore() const
ListArtifactsRequest & WithSortBy(SortArtifactsBy &&value)
void SetCreatedBefore(const Aws::Utils::DateTime &value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
ListArtifactsRequest & WithArtifactType(Aws::String &&value)
ListArtifactsRequest & WithSortOrder(SortOrder &&value)
const Aws::Utils::DateTime & GetCreatedAfter() const
ListArtifactsRequest & WithNextToken(Aws::String &&value)
ListArtifactsRequest & WithCreatedAfter(Aws::Utils::DateTime &&value)
void SetArtifactType(const Aws::String &value)
void SetCreatedAfter(const Aws::Utils::DateTime &value)
void SetSortBy(const SortArtifactsBy &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String