7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/sagemaker/SageMakerRequest.h>
12#include <aws/sagemaker/SageMaker_EXPORTS.h>
13#include <aws/sagemaker/model/TrialComponentArtifact.h>
14#include <aws/sagemaker/model/TrialComponentParameterValue.h>
15#include <aws/sagemaker/model/TrialComponentStatus.h>
45 template <
typename TrialComponentNameT = Aws::String>
47 m_trialComponentNameHasBeenSet =
true;
48 m_trialComponentName = std::forward<TrialComponentNameT>(value);
50 template <
typename TrialComponentNameT = Aws::String>
65 template <
typename DisplayNameT = Aws::String>
67 m_displayNameHasBeenSet =
true;
68 m_displayName = std::forward<DisplayNameT>(value);
70 template <
typename DisplayNameT = Aws::String>
83 template <
typename StatusT = TrialComponentStatus>
85 m_statusHasBeenSet =
true;
86 m_status = std::forward<StatusT>(value);
88 template <
typename StatusT = TrialComponentStatus>
101 template <
typename StartTimeT = Aws::Utils::DateTime>
103 m_startTimeHasBeenSet =
true;
104 m_startTime = std::forward<StartTimeT>(value);
106 template <
typename StartTimeT = Aws::Utils::DateTime>
119 template <
typename EndTimeT = Aws::Utils::DateTime>
121 m_endTimeHasBeenSet =
true;
122 m_endTime = std::forward<EndTimeT>(value);
124 template <
typename EndTimeT = Aws::Utils::DateTime>
140 template <
typename ParametersT = Aws::Map<Aws::String, TrialComponentParameterValue>>
142 m_parametersHasBeenSet =
true;
143 m_parameters = std::forward<ParametersT>(value);
145 template <
typename ParametersT = Aws::Map<Aws::String, TrialComponentParameterValue>>
150 template <
typename ParametersKeyT = Aws::String,
typename ParametersValueT = TrialComponentParameterValue>
152 m_parametersHasBeenSet =
true;
153 m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value));
164 template <
typename ParametersToRemoveT = Aws::Vector<Aws::String>>
166 m_parametersToRemoveHasBeenSet =
true;
167 m_parametersToRemove = std::forward<ParametersToRemoveT>(value);
169 template <
typename ParametersToRemoveT = Aws::Vector<Aws::String>>
174 template <
typename ParametersToRemoveT = Aws::String>
176 m_parametersToRemoveHasBeenSet =
true;
177 m_parametersToRemove.emplace_back(std::forward<ParametersToRemoveT>(value));
190 template <
typename InputArtifactsT = Aws::Map<Aws::String, TrialComponentArtifact>>
192 m_inputArtifactsHasBeenSet =
true;
193 m_inputArtifacts = std::forward<InputArtifactsT>(value);
195 template <
typename InputArtifactsT = Aws::Map<Aws::String, TrialComponentArtifact>>
200 template <
typename InputArtifactsKeyT = Aws::String,
typename InputArtifactsValueT = TrialComponentArtifact>
202 m_inputArtifactsHasBeenSet =
true;
203 m_inputArtifacts.emplace(std::forward<InputArtifactsKeyT>(key), std::forward<InputArtifactsValueT>(value));
214 template <
typename InputArtifactsToRemoveT = Aws::Vector<Aws::String>>
216 m_inputArtifactsToRemoveHasBeenSet =
true;
217 m_inputArtifactsToRemove = std::forward<InputArtifactsToRemoveT>(value);
219 template <
typename InputArtifactsToRemoveT = Aws::Vector<Aws::String>>
224 template <
typename InputArtifactsToRemoveT = Aws::String>
226 m_inputArtifactsToRemoveHasBeenSet =
true;
227 m_inputArtifactsToRemove.emplace_back(std::forward<InputArtifactsToRemoveT>(value));
240 template <
typename OutputArtifactsT = Aws::Map<Aws::String, TrialComponentArtifact>>
242 m_outputArtifactsHasBeenSet =
true;
243 m_outputArtifacts = std::forward<OutputArtifactsT>(value);
245 template <
typename OutputArtifactsT = Aws::Map<Aws::String, TrialComponentArtifact>>
250 template <
typename OutputArtifactsKeyT = Aws::String,
typename OutputArtifactsValueT = TrialComponentArtifact>
252 m_outputArtifactsHasBeenSet =
true;
253 m_outputArtifacts.emplace(std::forward<OutputArtifactsKeyT>(key), std::forward<OutputArtifactsValueT>(value));
264 template <
typename OutputArtifactsToRemoveT = Aws::Vector<Aws::String>>
266 m_outputArtifactsToRemoveHasBeenSet =
true;
267 m_outputArtifactsToRemove = std::forward<OutputArtifactsToRemoveT>(value);
269 template <
typename OutputArtifactsToRemoveT = Aws::Vector<Aws::String>>
274 template <
typename OutputArtifactsToRemoveT = Aws::String>
276 m_outputArtifactsToRemoveHasBeenSet =
true;
277 m_outputArtifactsToRemove.emplace_back(std::forward<OutputArtifactsToRemoveT>(value));
303 bool m_trialComponentNameHasBeenSet =
false;
304 bool m_displayNameHasBeenSet =
false;
305 bool m_statusHasBeenSet =
false;
306 bool m_startTimeHasBeenSet =
false;
307 bool m_endTimeHasBeenSet =
false;
308 bool m_parametersHasBeenSet =
false;
309 bool m_parametersToRemoveHasBeenSet =
false;
310 bool m_inputArtifactsHasBeenSet =
false;
311 bool m_inputArtifactsToRemoveHasBeenSet =
false;
312 bool m_outputArtifactsHasBeenSet =
false;
313 bool m_outputArtifactsToRemoveHasBeenSet =
false;
virtual const char * GetServiceRequestName() const override
void SetDisplayName(DisplayNameT &&value)
bool OutputArtifactsHasBeenSet() const
void SetParameters(ParametersT &&value)
bool InputArtifactsToRemoveHasBeenSet() const
const Aws::Vector< Aws::String > & GetInputArtifactsToRemove() const
void SetOutputArtifacts(OutputArtifactsT &&value)
const Aws::Utils::DateTime & GetStartTime() const
UpdateTrialComponentRequest & AddOutputArtifacts(OutputArtifactsKeyT &&key, OutputArtifactsValueT &&value)
bool OutputArtifactsToRemoveHasBeenSet() const
const Aws::Vector< Aws::String > & GetParametersToRemove() const
bool TrialComponentNameHasBeenSet() const
UpdateTrialComponentRequest & AddParameters(ParametersKeyT &&key, ParametersValueT &&value)
const TrialComponentStatus & GetStatus() const
bool ParametersHasBeenSet() const
UpdateTrialComponentRequest & AddParametersToRemove(ParametersToRemoveT &&value)
void SetParametersToRemove(ParametersToRemoveT &&value)
void SetEndTime(EndTimeT &&value)
UpdateTrialComponentRequest & AddInputArtifactsToRemove(InputArtifactsToRemoveT &&value)
void SetStartTime(StartTimeT &&value)
bool InputArtifactsHasBeenSet() const
UpdateTrialComponentRequest & WithOutputArtifactsToRemove(OutputArtifactsToRemoveT &&value)
UpdateTrialComponentRequest & WithInputArtifactsToRemove(InputArtifactsToRemoveT &&value)
UpdateTrialComponentRequest & WithParameters(ParametersT &&value)
UpdateTrialComponentRequest & WithEndTime(EndTimeT &&value)
bool ParametersToRemoveHasBeenSet() const
void SetStatus(StatusT &&value)
const Aws::Map< Aws::String, TrialComponentParameterValue > & GetParameters() const
const Aws::Vector< Aws::String > & GetOutputArtifactsToRemove() const
bool StatusHasBeenSet() const
UpdateTrialComponentRequest & AddInputArtifacts(InputArtifactsKeyT &&key, InputArtifactsValueT &&value)
bool DisplayNameHasBeenSet() const
UpdateTrialComponentRequest & WithStatus(StatusT &&value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_SAGEMAKER_API UpdateTrialComponentRequest()=default
void SetInputArtifactsToRemove(InputArtifactsToRemoveT &&value)
UpdateTrialComponentRequest & WithDisplayName(DisplayNameT &&value)
const Aws::Map< Aws::String, TrialComponentArtifact > & GetOutputArtifacts() const
UpdateTrialComponentRequest & WithInputArtifacts(InputArtifactsT &&value)
void SetOutputArtifactsToRemove(OutputArtifactsToRemoveT &&value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
const Aws::String & GetDisplayName() const
UpdateTrialComponentRequest & AddOutputArtifactsToRemove(OutputArtifactsToRemoveT &&value)
UpdateTrialComponentRequest & WithParametersToRemove(ParametersToRemoveT &&value)
void SetInputArtifacts(InputArtifactsT &&value)
const Aws::Utils::DateTime & GetEndTime() const
bool StartTimeHasBeenSet() const
const Aws::Map< Aws::String, TrialComponentArtifact > & GetInputArtifacts() const
const Aws::String & GetTrialComponentName() const
UpdateTrialComponentRequest & WithTrialComponentName(TrialComponentNameT &&value)
UpdateTrialComponentRequest & WithOutputArtifacts(OutputArtifactsT &&value)
bool EndTimeHasBeenSet() const
void SetTrialComponentName(TrialComponentNameT &&value)
UpdateTrialComponentRequest & WithStartTime(StartTimeT &&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