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>
49 template<
typename TrialComponentNameT = Aws::String>
50 void SetTrialComponentName(TrialComponentNameT&& value) { m_trialComponentNameHasBeenSet =
true; m_trialComponentName = std::forward<TrialComponentNameT>(value); }
51 template<
typename TrialComponentNameT = Aws::String>
63 template<
typename DisplayNameT = Aws::String>
64 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet =
true; m_displayName = std::forward<DisplayNameT>(value); }
65 template<
typename DisplayNameT = Aws::String>
75 template<
typename StatusT = TrialComponentStatus>
76 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
77 template<
typename StatusT = TrialComponentStatus>
87 template<
typename StartTimeT = Aws::Utils::DateTime>
88 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet =
true; m_startTime = std::forward<StartTimeT>(value); }
89 template<
typename StartTimeT = Aws::Utils::DateTime>
99 template<
typename EndTimeT = Aws::Utils::DateTime>
100 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet =
true; m_endTime = std::forward<EndTimeT>(value); }
101 template<
typename EndTimeT = Aws::Utils::DateTime>
114 template<
typename ParametersT = Aws::Map<Aws::String, TrialComponentParameterValue>>
115 void SetParameters(ParametersT&& value) { m_parametersHasBeenSet =
true; m_parameters = std::forward<ParametersT>(value); }
116 template<
typename ParametersT = Aws::Map<Aws::String, TrialComponentParameterValue>>
118 template<
typename ParametersKeyT = Aws::String,
typename ParametersValueT = TrialComponentParameterValue>
120 m_parametersHasBeenSet =
true; m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value));
return *
this;
130 template<
typename ParametersToRemoveT = Aws::Vector<Aws::String>>
131 void SetParametersToRemove(ParametersToRemoveT&& value) { m_parametersToRemoveHasBeenSet =
true; m_parametersToRemove = std::forward<ParametersToRemoveT>(value); }
132 template<
typename ParametersToRemoveT = Aws::Vector<Aws::String>>
134 template<
typename ParametersToRemoveT = Aws::String>
146 template<
typename InputArtifactsT = Aws::Map<Aws::String, TrialComponentArtifact>>
147 void SetInputArtifacts(InputArtifactsT&& value) { m_inputArtifactsHasBeenSet =
true; m_inputArtifacts = std::forward<InputArtifactsT>(value); }
148 template<
typename InputArtifactsT = Aws::Map<Aws::String, TrialComponentArtifact>>
150 template<
typename InputArtifactsKeyT = Aws::String,
typename InputArtifactsValueT = TrialComponentArtifact>
152 m_inputArtifactsHasBeenSet =
true; m_inputArtifacts.emplace(std::forward<InputArtifactsKeyT>(key), std::forward<InputArtifactsValueT>(value));
return *
this;
162 template<
typename InputArtifactsToRemoveT = Aws::Vector<Aws::String>>
163 void SetInputArtifactsToRemove(InputArtifactsToRemoveT&& value) { m_inputArtifactsToRemoveHasBeenSet =
true; m_inputArtifactsToRemove = std::forward<InputArtifactsToRemoveT>(value); }
164 template<
typename InputArtifactsToRemoveT = Aws::Vector<Aws::String>>
166 template<
typename InputArtifactsToRemoveT = Aws::String>
178 template<
typename OutputArtifactsT = Aws::Map<Aws::String, TrialComponentArtifact>>
179 void SetOutputArtifacts(OutputArtifactsT&& value) { m_outputArtifactsHasBeenSet =
true; m_outputArtifacts = std::forward<OutputArtifactsT>(value); }
180 template<
typename OutputArtifactsT = Aws::Map<Aws::String, TrialComponentArtifact>>
182 template<
typename OutputArtifactsKeyT = Aws::String,
typename OutputArtifactsValueT = TrialComponentArtifact>
184 m_outputArtifactsHasBeenSet =
true; m_outputArtifacts.emplace(std::forward<OutputArtifactsKeyT>(key), std::forward<OutputArtifactsValueT>(value));
return *
this;
194 template<
typename OutputArtifactsToRemoveT = Aws::Vector<Aws::String>>
195 void SetOutputArtifactsToRemove(OutputArtifactsToRemoveT&& value) { m_outputArtifactsToRemoveHasBeenSet =
true; m_outputArtifactsToRemove = std::forward<OutputArtifactsToRemoveT>(value); }
196 template<
typename OutputArtifactsToRemoveT = Aws::Vector<Aws::String>>
198 template<
typename OutputArtifactsToRemoveT = Aws::String>
204 bool m_trialComponentNameHasBeenSet =
false;
207 bool m_displayNameHasBeenSet =
false;
210 bool m_statusHasBeenSet =
false;
213 bool m_startTimeHasBeenSet =
false;
216 bool m_endTimeHasBeenSet =
false;
219 bool m_parametersHasBeenSet =
false;
222 bool m_parametersToRemoveHasBeenSet =
false;
225 bool m_inputArtifactsHasBeenSet =
false;
228 bool m_inputArtifactsToRemoveHasBeenSet =
false;
231 bool m_outputArtifactsHasBeenSet =
false;
234 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