AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListModelCardsRequest.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/SageMakerRequest.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/sagemaker/model/ModelCardStatus.h>
12#include <aws/sagemaker/model/ModelCardSortBy.h>
13#include <aws/sagemaker/model/ModelCardSortOrder.h>
14#include <utility>
15
16namespace Aws
17{
18namespace SageMaker
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_SAGEMAKER_API ListModelCardsRequest();
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 "ListModelCards"; }
35
36 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
37
39
40
42
45 inline const Aws::Utils::DateTime& GetCreationTimeAfter() const{ return m_creationTimeAfter; }
46 inline bool CreationTimeAfterHasBeenSet() const { return m_creationTimeAfterHasBeenSet; }
47 inline void SetCreationTimeAfter(const Aws::Utils::DateTime& value) { m_creationTimeAfterHasBeenSet = true; m_creationTimeAfter = value; }
48 inline void SetCreationTimeAfter(Aws::Utils::DateTime&& value) { m_creationTimeAfterHasBeenSet = true; m_creationTimeAfter = std::move(value); }
50 inline ListModelCardsRequest& WithCreationTimeAfter(Aws::Utils::DateTime&& value) { SetCreationTimeAfter(std::move(value)); return *this;}
52
54
57 inline const Aws::Utils::DateTime& GetCreationTimeBefore() const{ return m_creationTimeBefore; }
58 inline bool CreationTimeBeforeHasBeenSet() const { return m_creationTimeBeforeHasBeenSet; }
59 inline void SetCreationTimeBefore(const Aws::Utils::DateTime& value) { m_creationTimeBeforeHasBeenSet = true; m_creationTimeBefore = value; }
60 inline void SetCreationTimeBefore(Aws::Utils::DateTime&& value) { m_creationTimeBeforeHasBeenSet = true; m_creationTimeBefore = std::move(value); }
64
66
69 inline int GetMaxResults() const{ return m_maxResults; }
70 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
71 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
72 inline ListModelCardsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
74
76
79 inline const Aws::String& GetNameContains() const{ return m_nameContains; }
80 inline bool NameContainsHasBeenSet() const { return m_nameContainsHasBeenSet; }
81 inline void SetNameContains(const Aws::String& value) { m_nameContainsHasBeenSet = true; m_nameContains = value; }
82 inline void SetNameContains(Aws::String&& value) { m_nameContainsHasBeenSet = true; m_nameContains = std::move(value); }
83 inline void SetNameContains(const char* value) { m_nameContainsHasBeenSet = true; m_nameContains.assign(value); }
84 inline ListModelCardsRequest& WithNameContains(const Aws::String& value) { SetNameContains(value); return *this;}
85 inline ListModelCardsRequest& WithNameContains(Aws::String&& value) { SetNameContains(std::move(value)); return *this;}
86 inline ListModelCardsRequest& WithNameContains(const char* value) { SetNameContains(value); return *this;}
88
90
93 inline const ModelCardStatus& GetModelCardStatus() const{ return m_modelCardStatus; }
94 inline bool ModelCardStatusHasBeenSet() const { return m_modelCardStatusHasBeenSet; }
95 inline void SetModelCardStatus(const ModelCardStatus& value) { m_modelCardStatusHasBeenSet = true; m_modelCardStatus = value; }
96 inline void SetModelCardStatus(ModelCardStatus&& value) { m_modelCardStatusHasBeenSet = true; m_modelCardStatus = std::move(value); }
97 inline ListModelCardsRequest& WithModelCardStatus(const ModelCardStatus& value) { SetModelCardStatus(value); return *this;}
98 inline ListModelCardsRequest& WithModelCardStatus(ModelCardStatus&& value) { SetModelCardStatus(std::move(value)); return *this;}
100
102
107 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
108 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
109 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
110 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
111 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
112 inline ListModelCardsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
113 inline ListModelCardsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
114 inline ListModelCardsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
116
118
122 inline const ModelCardSortBy& GetSortBy() const{ return m_sortBy; }
123 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
124 inline void SetSortBy(const ModelCardSortBy& value) { m_sortByHasBeenSet = true; m_sortBy = value; }
125 inline void SetSortBy(ModelCardSortBy&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); }
126 inline ListModelCardsRequest& WithSortBy(const ModelCardSortBy& value) { SetSortBy(value); return *this;}
127 inline ListModelCardsRequest& WithSortBy(ModelCardSortBy&& value) { SetSortBy(std::move(value)); return *this;}
129
131
134 inline const ModelCardSortOrder& GetSortOrder() const{ return m_sortOrder; }
135 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
136 inline void SetSortOrder(const ModelCardSortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
137 inline void SetSortOrder(ModelCardSortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); }
138 inline ListModelCardsRequest& WithSortOrder(const ModelCardSortOrder& value) { SetSortOrder(value); return *this;}
139 inline ListModelCardsRequest& WithSortOrder(ModelCardSortOrder&& value) { SetSortOrder(std::move(value)); return *this;}
141 private:
142
143 Aws::Utils::DateTime m_creationTimeAfter;
144 bool m_creationTimeAfterHasBeenSet = false;
145
146 Aws::Utils::DateTime m_creationTimeBefore;
147 bool m_creationTimeBeforeHasBeenSet = false;
148
149 int m_maxResults;
150 bool m_maxResultsHasBeenSet = false;
151
152 Aws::String m_nameContains;
153 bool m_nameContainsHasBeenSet = false;
154
155 ModelCardStatus m_modelCardStatus;
156 bool m_modelCardStatusHasBeenSet = false;
157
158 Aws::String m_nextToken;
159 bool m_nextTokenHasBeenSet = false;
160
161 ModelCardSortBy m_sortBy;
162 bool m_sortByHasBeenSet = false;
163
164 ModelCardSortOrder m_sortOrder;
165 bool m_sortOrderHasBeenSet = false;
166 };
167
168} // namespace Model
169} // namespace SageMaker
170} // namespace Aws
const Aws::Utils::DateTime & GetCreationTimeAfter() const
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListModelCardsRequest & WithModelCardStatus(ModelCardStatus &&value)
const Aws::Utils::DateTime & GetCreationTimeBefore() const
void SetSortBy(const ModelCardSortBy &value)
ListModelCardsRequest & WithCreationTimeBefore(const Aws::Utils::DateTime &value)
ListModelCardsRequest & WithNameContains(const char *value)
void SetSortOrder(const ModelCardSortOrder &value)
void SetCreationTimeAfter(const Aws::Utils::DateTime &value)
ListModelCardsRequest & WithMaxResults(int value)
ListModelCardsRequest & WithSortOrder(ModelCardSortOrder &&value)
void SetModelCardStatus(const ModelCardStatus &value)
const ModelCardStatus & GetModelCardStatus() const
void SetCreationTimeBefore(const Aws::Utils::DateTime &value)
void SetCreationTimeBefore(Aws::Utils::DateTime &&value)
ListModelCardsRequest & WithNextToken(Aws::String &&value)
ListModelCardsRequest & WithModelCardStatus(const ModelCardStatus &value)
ListModelCardsRequest & WithNextToken(const char *value)
ListModelCardsRequest & WithCreationTimeBefore(Aws::Utils::DateTime &&value)
ListModelCardsRequest & WithCreationTimeAfter(Aws::Utils::DateTime &&value)
ListModelCardsRequest & WithCreationTimeAfter(const Aws::Utils::DateTime &value)
ListModelCardsRequest & WithSortOrder(const ModelCardSortOrder &value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
ListModelCardsRequest & WithSortBy(ModelCardSortBy &&value)
virtual const char * GetServiceRequestName() const override
const ModelCardSortOrder & GetSortOrder() const
ListModelCardsRequest & WithNameContains(const Aws::String &value)
ListModelCardsRequest & WithNextToken(const Aws::String &value)
ListModelCardsRequest & WithNameContains(Aws::String &&value)
ListModelCardsRequest & WithSortBy(const ModelCardSortBy &value)
void SetCreationTimeAfter(Aws::Utils::DateTime &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String