AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateTrialComponentRequest.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/TrialComponentStatus.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/sagemaker/model/TrialComponentParameterValue.h>
15#include <aws/sagemaker/model/TrialComponentArtifact.h>
16#include <utility>
17
18namespace Aws
19{
20namespace SageMaker
21{
22namespace Model
23{
24
28 {
29 public:
30 AWS_SAGEMAKER_API UpdateTrialComponentRequest();
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "UpdateTrialComponent"; }
37
38 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
39
41
42
44
47 inline const Aws::String& GetTrialComponentName() const{ return m_trialComponentName; }
48 inline bool TrialComponentNameHasBeenSet() const { return m_trialComponentNameHasBeenSet; }
49 inline void SetTrialComponentName(const Aws::String& value) { m_trialComponentNameHasBeenSet = true; m_trialComponentName = value; }
50 inline void SetTrialComponentName(Aws::String&& value) { m_trialComponentNameHasBeenSet = true; m_trialComponentName = std::move(value); }
51 inline void SetTrialComponentName(const char* value) { m_trialComponentNameHasBeenSet = true; m_trialComponentName.assign(value); }
53 inline UpdateTrialComponentRequest& WithTrialComponentName(Aws::String&& value) { SetTrialComponentName(std::move(value)); return *this;}
54 inline UpdateTrialComponentRequest& WithTrialComponentName(const char* value) { SetTrialComponentName(value); return *this;}
56
58
63 inline const Aws::String& GetDisplayName() const{ return m_displayName; }
64 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
65 inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
66 inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
67 inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
68 inline UpdateTrialComponentRequest& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
69 inline UpdateTrialComponentRequest& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
70 inline UpdateTrialComponentRequest& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
72
74
77 inline const TrialComponentStatus& GetStatus() const{ return m_status; }
78 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
79 inline void SetStatus(const TrialComponentStatus& value) { m_statusHasBeenSet = true; m_status = value; }
80 inline void SetStatus(TrialComponentStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
81 inline UpdateTrialComponentRequest& WithStatus(const TrialComponentStatus& value) { SetStatus(value); return *this;}
82 inline UpdateTrialComponentRequest& WithStatus(TrialComponentStatus&& value) { SetStatus(std::move(value)); return *this;}
84
86
89 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
90 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
91 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
92 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
93 inline UpdateTrialComponentRequest& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
94 inline UpdateTrialComponentRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
96
98
101 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
102 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
103 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
104 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
105 inline UpdateTrialComponentRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
106 inline UpdateTrialComponentRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
108
110
116 inline const Aws::Map<Aws::String, TrialComponentParameterValue>& GetParameters() const{ return m_parameters; }
117 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
118 inline void SetParameters(const Aws::Map<Aws::String, TrialComponentParameterValue>& value) { m_parametersHasBeenSet = true; m_parameters = value; }
119 inline void SetParameters(Aws::Map<Aws::String, TrialComponentParameterValue>&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
122 inline UpdateTrialComponentRequest& AddParameters(const Aws::String& key, const TrialComponentParameterValue& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; }
123 inline UpdateTrialComponentRequest& AddParameters(Aws::String&& key, const TrialComponentParameterValue& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; }
124 inline UpdateTrialComponentRequest& AddParameters(const Aws::String& key, TrialComponentParameterValue&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; }
125 inline UpdateTrialComponentRequest& AddParameters(Aws::String&& key, TrialComponentParameterValue&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), std::move(value)); return *this; }
126 inline UpdateTrialComponentRequest& AddParameters(const char* key, TrialComponentParameterValue&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; }
127 inline UpdateTrialComponentRequest& AddParameters(const char* key, const TrialComponentParameterValue& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; }
129
131
134 inline const Aws::Vector<Aws::String>& GetParametersToRemove() const{ return m_parametersToRemove; }
135 inline bool ParametersToRemoveHasBeenSet() const { return m_parametersToRemoveHasBeenSet; }
136 inline void SetParametersToRemove(const Aws::Vector<Aws::String>& value) { m_parametersToRemoveHasBeenSet = true; m_parametersToRemove = value; }
137 inline void SetParametersToRemove(Aws::Vector<Aws::String>&& value) { m_parametersToRemoveHasBeenSet = true; m_parametersToRemove = std::move(value); }
140 inline UpdateTrialComponentRequest& AddParametersToRemove(const Aws::String& value) { m_parametersToRemoveHasBeenSet = true; m_parametersToRemove.push_back(value); return *this; }
141 inline UpdateTrialComponentRequest& AddParametersToRemove(Aws::String&& value) { m_parametersToRemoveHasBeenSet = true; m_parametersToRemove.push_back(std::move(value)); return *this; }
142 inline UpdateTrialComponentRequest& AddParametersToRemove(const char* value) { m_parametersToRemoveHasBeenSet = true; m_parametersToRemove.push_back(value); return *this; }
144
146
151 inline const Aws::Map<Aws::String, TrialComponentArtifact>& GetInputArtifacts() const{ return m_inputArtifacts; }
152 inline bool InputArtifactsHasBeenSet() const { return m_inputArtifactsHasBeenSet; }
153 inline void SetInputArtifacts(const Aws::Map<Aws::String, TrialComponentArtifact>& value) { m_inputArtifactsHasBeenSet = true; m_inputArtifacts = value; }
154 inline void SetInputArtifacts(Aws::Map<Aws::String, TrialComponentArtifact>&& value) { m_inputArtifactsHasBeenSet = true; m_inputArtifacts = std::move(value); }
157 inline UpdateTrialComponentRequest& AddInputArtifacts(const Aws::String& key, const TrialComponentArtifact& value) { m_inputArtifactsHasBeenSet = true; m_inputArtifacts.emplace(key, value); return *this; }
158 inline UpdateTrialComponentRequest& AddInputArtifacts(Aws::String&& key, const TrialComponentArtifact& value) { m_inputArtifactsHasBeenSet = true; m_inputArtifacts.emplace(std::move(key), value); return *this; }
159 inline UpdateTrialComponentRequest& AddInputArtifacts(const Aws::String& key, TrialComponentArtifact&& value) { m_inputArtifactsHasBeenSet = true; m_inputArtifacts.emplace(key, std::move(value)); return *this; }
160 inline UpdateTrialComponentRequest& AddInputArtifacts(Aws::String&& key, TrialComponentArtifact&& value) { m_inputArtifactsHasBeenSet = true; m_inputArtifacts.emplace(std::move(key), std::move(value)); return *this; }
161 inline UpdateTrialComponentRequest& AddInputArtifacts(const char* key, TrialComponentArtifact&& value) { m_inputArtifactsHasBeenSet = true; m_inputArtifacts.emplace(key, std::move(value)); return *this; }
162 inline UpdateTrialComponentRequest& AddInputArtifacts(const char* key, const TrialComponentArtifact& value) { m_inputArtifactsHasBeenSet = true; m_inputArtifacts.emplace(key, value); return *this; }
164
166
169 inline const Aws::Vector<Aws::String>& GetInputArtifactsToRemove() const{ return m_inputArtifactsToRemove; }
170 inline bool InputArtifactsToRemoveHasBeenSet() const { return m_inputArtifactsToRemoveHasBeenSet; }
171 inline void SetInputArtifactsToRemove(const Aws::Vector<Aws::String>& value) { m_inputArtifactsToRemoveHasBeenSet = true; m_inputArtifactsToRemove = value; }
172 inline void SetInputArtifactsToRemove(Aws::Vector<Aws::String>&& value) { m_inputArtifactsToRemoveHasBeenSet = true; m_inputArtifactsToRemove = std::move(value); }
175 inline UpdateTrialComponentRequest& AddInputArtifactsToRemove(const Aws::String& value) { m_inputArtifactsToRemoveHasBeenSet = true; m_inputArtifactsToRemove.push_back(value); return *this; }
176 inline UpdateTrialComponentRequest& AddInputArtifactsToRemove(Aws::String&& value) { m_inputArtifactsToRemoveHasBeenSet = true; m_inputArtifactsToRemove.push_back(std::move(value)); return *this; }
177 inline UpdateTrialComponentRequest& AddInputArtifactsToRemove(const char* value) { m_inputArtifactsToRemoveHasBeenSet = true; m_inputArtifactsToRemove.push_back(value); return *this; }
179
181
186 inline const Aws::Map<Aws::String, TrialComponentArtifact>& GetOutputArtifacts() const{ return m_outputArtifacts; }
187 inline bool OutputArtifactsHasBeenSet() const { return m_outputArtifactsHasBeenSet; }
188 inline void SetOutputArtifacts(const Aws::Map<Aws::String, TrialComponentArtifact>& value) { m_outputArtifactsHasBeenSet = true; m_outputArtifacts = value; }
189 inline void SetOutputArtifacts(Aws::Map<Aws::String, TrialComponentArtifact>&& value) { m_outputArtifactsHasBeenSet = true; m_outputArtifacts = std::move(value); }
192 inline UpdateTrialComponentRequest& AddOutputArtifacts(const Aws::String& key, const TrialComponentArtifact& value) { m_outputArtifactsHasBeenSet = true; m_outputArtifacts.emplace(key, value); return *this; }
193 inline UpdateTrialComponentRequest& AddOutputArtifacts(Aws::String&& key, const TrialComponentArtifact& value) { m_outputArtifactsHasBeenSet = true; m_outputArtifacts.emplace(std::move(key), value); return *this; }
194 inline UpdateTrialComponentRequest& AddOutputArtifacts(const Aws::String& key, TrialComponentArtifact&& value) { m_outputArtifactsHasBeenSet = true; m_outputArtifacts.emplace(key, std::move(value)); return *this; }
195 inline UpdateTrialComponentRequest& AddOutputArtifacts(Aws::String&& key, TrialComponentArtifact&& value) { m_outputArtifactsHasBeenSet = true; m_outputArtifacts.emplace(std::move(key), std::move(value)); return *this; }
196 inline UpdateTrialComponentRequest& AddOutputArtifacts(const char* key, TrialComponentArtifact&& value) { m_outputArtifactsHasBeenSet = true; m_outputArtifacts.emplace(key, std::move(value)); return *this; }
197 inline UpdateTrialComponentRequest& AddOutputArtifacts(const char* key, const TrialComponentArtifact& value) { m_outputArtifactsHasBeenSet = true; m_outputArtifacts.emplace(key, value); return *this; }
199
201
204 inline const Aws::Vector<Aws::String>& GetOutputArtifactsToRemove() const{ return m_outputArtifactsToRemove; }
205 inline bool OutputArtifactsToRemoveHasBeenSet() const { return m_outputArtifactsToRemoveHasBeenSet; }
206 inline void SetOutputArtifactsToRemove(const Aws::Vector<Aws::String>& value) { m_outputArtifactsToRemoveHasBeenSet = true; m_outputArtifactsToRemove = value; }
207 inline void SetOutputArtifactsToRemove(Aws::Vector<Aws::String>&& value) { m_outputArtifactsToRemoveHasBeenSet = true; m_outputArtifactsToRemove = std::move(value); }
210 inline UpdateTrialComponentRequest& AddOutputArtifactsToRemove(const Aws::String& value) { m_outputArtifactsToRemoveHasBeenSet = true; m_outputArtifactsToRemove.push_back(value); return *this; }
211 inline UpdateTrialComponentRequest& AddOutputArtifactsToRemove(Aws::String&& value) { m_outputArtifactsToRemoveHasBeenSet = true; m_outputArtifactsToRemove.push_back(std::move(value)); return *this; }
212 inline UpdateTrialComponentRequest& AddOutputArtifactsToRemove(const char* value) { m_outputArtifactsToRemoveHasBeenSet = true; m_outputArtifactsToRemove.push_back(value); return *this; }
214 private:
215
216 Aws::String m_trialComponentName;
217 bool m_trialComponentNameHasBeenSet = false;
218
219 Aws::String m_displayName;
220 bool m_displayNameHasBeenSet = false;
221
222 TrialComponentStatus m_status;
223 bool m_statusHasBeenSet = false;
224
225 Aws::Utils::DateTime m_startTime;
226 bool m_startTimeHasBeenSet = false;
227
228 Aws::Utils::DateTime m_endTime;
229 bool m_endTimeHasBeenSet = false;
230
232 bool m_parametersHasBeenSet = false;
233
234 Aws::Vector<Aws::String> m_parametersToRemove;
235 bool m_parametersToRemoveHasBeenSet = false;
236
238 bool m_inputArtifactsHasBeenSet = false;
239
240 Aws::Vector<Aws::String> m_inputArtifactsToRemove;
241 bool m_inputArtifactsToRemoveHasBeenSet = false;
242
244 bool m_outputArtifactsHasBeenSet = false;
245
246 Aws::Vector<Aws::String> m_outputArtifactsToRemove;
247 bool m_outputArtifactsToRemoveHasBeenSet = false;
248 };
249
250} // namespace Model
251} // namespace SageMaker
252} // namespace Aws
UpdateTrialComponentRequest & AddInputArtifactsToRemove(Aws::String &&value)
UpdateTrialComponentRequest & WithDisplayName(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
UpdateTrialComponentRequest & AddInputArtifacts(Aws::String &&key, const TrialComponentArtifact &value)
UpdateTrialComponentRequest & WithStartTime(const Aws::Utils::DateTime &value)
UpdateTrialComponentRequest & WithStatus(const TrialComponentStatus &value)
UpdateTrialComponentRequest & AddInputArtifacts(const char *key, const TrialComponentArtifact &value)
UpdateTrialComponentRequest & WithDisplayName(const char *value)
UpdateTrialComponentRequest & WithOutputArtifacts(Aws::Map< Aws::String, TrialComponentArtifact > &&value)
UpdateTrialComponentRequest & WithDisplayName(Aws::String &&value)
const Aws::Vector< Aws::String > & GetInputArtifactsToRemove() const
UpdateTrialComponentRequest & WithInputArtifactsToRemove(const Aws::Vector< Aws::String > &value)
UpdateTrialComponentRequest & AddParameters(Aws::String &&key, const TrialComponentParameterValue &value)
UpdateTrialComponentRequest & AddOutputArtifacts(Aws::String &&key, TrialComponentArtifact &&value)
void SetParameters(Aws::Map< Aws::String, TrialComponentParameterValue > &&value)
UpdateTrialComponentRequest & AddInputArtifactsToRemove(const Aws::String &value)
UpdateTrialComponentRequest & AddParameters(const Aws::String &key, TrialComponentParameterValue &&value)
UpdateTrialComponentRequest & AddOutputArtifacts(Aws::String &&key, const TrialComponentArtifact &value)
UpdateTrialComponentRequest & WithTrialComponentName(const char *value)
const Aws::Vector< Aws::String > & GetParametersToRemove() const
UpdateTrialComponentRequest & AddParameters(const char *key, const TrialComponentParameterValue &value)
void SetOutputArtifacts(Aws::Map< Aws::String, TrialComponentArtifact > &&value)
UpdateTrialComponentRequest & AddParameters(const char *key, TrialComponentParameterValue &&value)
UpdateTrialComponentRequest & AddParametersToRemove(Aws::String &&value)
UpdateTrialComponentRequest & AddParameters(Aws::String &&key, TrialComponentParameterValue &&value)
void SetInputArtifacts(const Aws::Map< Aws::String, TrialComponentArtifact > &value)
UpdateTrialComponentRequest & WithInputArtifactsToRemove(Aws::Vector< Aws::String > &&value)
UpdateTrialComponentRequest & AddInputArtifacts(const Aws::String &key, TrialComponentArtifact &&value)
void SetParametersToRemove(Aws::Vector< Aws::String > &&value)
void SetOutputArtifactsToRemove(const Aws::Vector< Aws::String > &value)
UpdateTrialComponentRequest & WithStatus(TrialComponentStatus &&value)
UpdateTrialComponentRequest & AddOutputArtifacts(const char *key, TrialComponentArtifact &&value)
void SetParametersToRemove(const Aws::Vector< Aws::String > &value)
UpdateTrialComponentRequest & AddOutputArtifactsToRemove(const Aws::String &value)
const Aws::Map< Aws::String, TrialComponentParameterValue > & GetParameters() const
const Aws::Vector< Aws::String > & GetOutputArtifactsToRemove() const
UpdateTrialComponentRequest & WithOutputArtifactsToRemove(const Aws::Vector< Aws::String > &value)
void SetInputArtifactsToRemove(const Aws::Vector< Aws::String > &value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateTrialComponentRequest & WithParameters(const Aws::Map< Aws::String, TrialComponentParameterValue > &value)
UpdateTrialComponentRequest & AddParametersToRemove(const char *value)
UpdateTrialComponentRequest & WithEndTime(const Aws::Utils::DateTime &value)
UpdateTrialComponentRequest & AddParametersToRemove(const Aws::String &value)
const Aws::Map< Aws::String, TrialComponentArtifact > & GetOutputArtifacts() const
UpdateTrialComponentRequest & AddInputArtifacts(const Aws::String &key, const TrialComponentArtifact &value)
UpdateTrialComponentRequest & AddInputArtifacts(const char *key, TrialComponentArtifact &&value)
UpdateTrialComponentRequest & WithTrialComponentName(Aws::String &&value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
UpdateTrialComponentRequest & AddInputArtifacts(Aws::String &&key, TrialComponentArtifact &&value)
UpdateTrialComponentRequest & WithStartTime(Aws::Utils::DateTime &&value)
UpdateTrialComponentRequest & WithInputArtifacts(Aws::Map< Aws::String, TrialComponentArtifact > &&value)
void SetOutputArtifactsToRemove(Aws::Vector< Aws::String > &&value)
UpdateTrialComponentRequest & WithEndTime(Aws::Utils::DateTime &&value)
UpdateTrialComponentRequest & WithTrialComponentName(const Aws::String &value)
void SetInputArtifactsToRemove(Aws::Vector< Aws::String > &&value)
UpdateTrialComponentRequest & AddOutputArtifacts(const Aws::String &key, TrialComponentArtifact &&value)
UpdateTrialComponentRequest & AddInputArtifactsToRemove(const char *value)
UpdateTrialComponentRequest & AddParameters(const Aws::String &key, const TrialComponentParameterValue &value)
void SetOutputArtifacts(const Aws::Map< Aws::String, TrialComponentArtifact > &value)
UpdateTrialComponentRequest & AddOutputArtifacts(const Aws::String &key, const TrialComponentArtifact &value)
UpdateTrialComponentRequest & AddOutputArtifacts(const char *key, const TrialComponentArtifact &value)
const Aws::Map< Aws::String, TrialComponentArtifact > & GetInputArtifacts() const
UpdateTrialComponentRequest & AddOutputArtifactsToRemove(Aws::String &&value)
UpdateTrialComponentRequest & WithOutputArtifactsToRemove(Aws::Vector< Aws::String > &&value)
UpdateTrialComponentRequest & WithParametersToRemove(Aws::Vector< Aws::String > &&value)
UpdateTrialComponentRequest & WithParametersToRemove(const Aws::Vector< Aws::String > &value)
UpdateTrialComponentRequest & WithInputArtifacts(const Aws::Map< Aws::String, TrialComponentArtifact > &value)
UpdateTrialComponentRequest & AddOutputArtifactsToRemove(const char *value)
UpdateTrialComponentRequest & WithParameters(Aws::Map< Aws::String, TrialComponentParameterValue > &&value)
UpdateTrialComponentRequest & WithOutputArtifacts(const Aws::Map< Aws::String, TrialComponentArtifact > &value)
void SetInputArtifacts(Aws::Map< Aws::String, TrialComponentArtifact > &&value)
void SetParameters(const Aws::Map< Aws::String, TrialComponentParameterValue > &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector