AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListTrialComponentsRequest.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/SortTrialComponentsBy.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 ListTrialComponentsRequest() = 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 "ListTrialComponents"; }
34
35 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
36
38
39
41
46 inline const Aws::String& GetExperimentName() const { return m_experimentName; }
47 inline bool ExperimentNameHasBeenSet() const { return m_experimentNameHasBeenSet; }
48 template<typename ExperimentNameT = Aws::String>
49 void SetExperimentName(ExperimentNameT&& value) { m_experimentNameHasBeenSet = true; m_experimentName = std::forward<ExperimentNameT>(value); }
50 template<typename ExperimentNameT = Aws::String>
51 ListTrialComponentsRequest& WithExperimentName(ExperimentNameT&& value) { SetExperimentName(std::forward<ExperimentNameT>(value)); return *this;}
53
55
60 inline const Aws::String& GetTrialName() const { return m_trialName; }
61 inline bool TrialNameHasBeenSet() const { return m_trialNameHasBeenSet; }
62 template<typename TrialNameT = Aws::String>
63 void SetTrialName(TrialNameT&& value) { m_trialNameHasBeenSet = true; m_trialName = std::forward<TrialNameT>(value); }
64 template<typename TrialNameT = Aws::String>
65 ListTrialComponentsRequest& WithTrialName(TrialNameT&& value) { SetTrialName(std::forward<TrialNameT>(value)); return *this;}
67
69
74 inline const Aws::String& GetSourceArn() const { return m_sourceArn; }
75 inline bool SourceArnHasBeenSet() const { return m_sourceArnHasBeenSet; }
76 template<typename SourceArnT = Aws::String>
77 void SetSourceArn(SourceArnT&& value) { m_sourceArnHasBeenSet = true; m_sourceArn = std::forward<SourceArnT>(value); }
78 template<typename SourceArnT = Aws::String>
79 ListTrialComponentsRequest& WithSourceArn(SourceArnT&& value) { SetSourceArn(std::forward<SourceArnT>(value)); return *this;}
81
83
86 inline const Aws::Utils::DateTime& GetCreatedAfter() const { return m_createdAfter; }
87 inline bool CreatedAfterHasBeenSet() const { return m_createdAfterHasBeenSet; }
88 template<typename CreatedAfterT = Aws::Utils::DateTime>
89 void SetCreatedAfter(CreatedAfterT&& value) { m_createdAfterHasBeenSet = true; m_createdAfter = std::forward<CreatedAfterT>(value); }
90 template<typename CreatedAfterT = Aws::Utils::DateTime>
91 ListTrialComponentsRequest& WithCreatedAfter(CreatedAfterT&& value) { SetCreatedAfter(std::forward<CreatedAfterT>(value)); return *this;}
93
95
98 inline const Aws::Utils::DateTime& GetCreatedBefore() const { return m_createdBefore; }
99 inline bool CreatedBeforeHasBeenSet() const { return m_createdBeforeHasBeenSet; }
100 template<typename CreatedBeforeT = Aws::Utils::DateTime>
101 void SetCreatedBefore(CreatedBeforeT&& value) { m_createdBeforeHasBeenSet = true; m_createdBefore = std::forward<CreatedBeforeT>(value); }
102 template<typename CreatedBeforeT = Aws::Utils::DateTime>
103 ListTrialComponentsRequest& WithCreatedBefore(CreatedBeforeT&& value) { SetCreatedBefore(std::forward<CreatedBeforeT>(value)); return *this;}
105
107
111 inline SortTrialComponentsBy GetSortBy() const { return m_sortBy; }
112 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
113 inline void SetSortBy(SortTrialComponentsBy value) { m_sortByHasBeenSet = true; m_sortBy = value; }
116
118
121 inline SortOrder GetSortOrder() const { return m_sortOrder; }
122 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
123 inline void SetSortOrder(SortOrder value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
124 inline ListTrialComponentsRequest& WithSortOrder(SortOrder value) { SetSortOrder(value); return *this;}
126
128
132 inline int GetMaxResults() const { return m_maxResults; }
133 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
134 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
135 inline ListTrialComponentsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
137
139
144 inline const Aws::String& GetNextToken() const { return m_nextToken; }
145 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
146 template<typename NextTokenT = Aws::String>
147 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
148 template<typename NextTokenT = Aws::String>
149 ListTrialComponentsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
151 private:
152
153 Aws::String m_experimentName;
154 bool m_experimentNameHasBeenSet = false;
155
156 Aws::String m_trialName;
157 bool m_trialNameHasBeenSet = false;
158
159 Aws::String m_sourceArn;
160 bool m_sourceArnHasBeenSet = false;
161
162 Aws::Utils::DateTime m_createdAfter{};
163 bool m_createdAfterHasBeenSet = false;
164
165 Aws::Utils::DateTime m_createdBefore{};
166 bool m_createdBeforeHasBeenSet = false;
167
169 bool m_sortByHasBeenSet = false;
170
171 SortOrder m_sortOrder{SortOrder::NOT_SET};
172 bool m_sortOrderHasBeenSet = false;
173
174 int m_maxResults{0};
175 bool m_maxResultsHasBeenSet = false;
176
177 Aws::String m_nextToken;
178 bool m_nextTokenHasBeenSet = false;
179 };
180
181} // namespace Model
182} // namespace SageMaker
183} // namespace Aws
virtual const char * GetServiceRequestName() const override
ListTrialComponentsRequest & WithExperimentName(ExperimentNameT &&value)
ListTrialComponentsRequest & WithCreatedAfter(CreatedAfterT &&value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListTrialComponentsRequest & WithSortBy(SortTrialComponentsBy value)
ListTrialComponentsRequest & WithMaxResults(int value)
ListTrialComponentsRequest & WithTrialName(TrialNameT &&value)
ListTrialComponentsRequest & WithNextToken(NextTokenT &&value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
ListTrialComponentsRequest & WithSortOrder(SortOrder value)
ListTrialComponentsRequest & WithCreatedBefore(CreatedBeforeT &&value)
ListTrialComponentsRequest & WithSourceArn(SourceArnT &&value)
AWS_SAGEMAKER_API ListTrialComponentsRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String