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/MetadataProperties.h>
14#include <aws/sagemaker/model/Tag.h>
15#include <aws/sagemaker/model/TrialComponentArtifact.h>
16#include <aws/sagemaker/model/TrialComponentParameterValue.h>
17#include <aws/sagemaker/model/TrialComponentStatus.h>
48 template <
typename TrialComponentNameT = Aws::String>
50 m_trialComponentNameHasBeenSet =
true;
51 m_trialComponentName = std::forward<TrialComponentNameT>(value);
53 template <
typename TrialComponentNameT = Aws::String>
68 template <
typename DisplayNameT = Aws::String>
70 m_displayNameHasBeenSet =
true;
71 m_displayName = std::forward<DisplayNameT>(value);
73 template <
typename DisplayNameT = Aws::String>
87 template <
typename StatusT = TrialComponentStatus>
89 m_statusHasBeenSet =
true;
90 m_status = std::forward<StatusT>(value);
92 template <
typename StatusT = TrialComponentStatus>
105 template <
typename StartTimeT = Aws::Utils::DateTime>
107 m_startTimeHasBeenSet =
true;
108 m_startTime = std::forward<StartTimeT>(value);
110 template <
typename StartTimeT = Aws::Utils::DateTime>
123 template <
typename EndTimeT = Aws::Utils::DateTime>
125 m_endTimeHasBeenSet =
true;
126 m_endTime = std::forward<EndTimeT>(value);
128 template <
typename EndTimeT = Aws::Utils::DateTime>
141 template <
typename ParametersT = Aws::Map<Aws::String, TrialComponentParameterValue>>
143 m_parametersHasBeenSet =
true;
144 m_parameters = std::forward<ParametersT>(value);
146 template <
typename ParametersT = Aws::Map<Aws::String, TrialComponentParameterValue>>
151 template <
typename ParametersKeyT = Aws::String,
typename ParametersValueT = TrialComponentParameterValue>
153 m_parametersHasBeenSet =
true;
154 m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value));
166 template <
typename InputArtifactsT = Aws::Map<Aws::String, TrialComponentArtifact>>
168 m_inputArtifactsHasBeenSet =
true;
169 m_inputArtifacts = std::forward<InputArtifactsT>(value);
171 template <
typename InputArtifactsT = Aws::Map<Aws::String, TrialComponentArtifact>>
176 template <
typename InputArtifactsKeyT = Aws::String,
typename InputArtifactsValueT = TrialComponentArtifact>
178 m_inputArtifactsHasBeenSet =
true;
179 m_inputArtifacts.emplace(std::forward<InputArtifactsKeyT>(key), std::forward<InputArtifactsValueT>(value));
191 template <
typename OutputArtifactsT = Aws::Map<Aws::String, TrialComponentArtifact>>
193 m_outputArtifactsHasBeenSet =
true;
194 m_outputArtifacts = std::forward<OutputArtifactsT>(value);
196 template <
typename OutputArtifactsT = Aws::Map<Aws::String, TrialComponentArtifact>>
201 template <
typename OutputArtifactsKeyT = Aws::String,
typename OutputArtifactsValueT = TrialComponentArtifact>
203 m_outputArtifactsHasBeenSet =
true;
204 m_outputArtifacts.emplace(std::forward<OutputArtifactsKeyT>(key), std::forward<OutputArtifactsValueT>(value));
213 template <
typename MetadataPropertiesT = MetadataProperties>
215 m_metadataPropertiesHasBeenSet =
true;
216 m_metadataProperties = std::forward<MetadataPropertiesT>(value);
218 template <
typename MetadataPropertiesT = MetadataProperties>
233 template <
typename TagsT = Aws::Vector<Tag>>
235 m_tagsHasBeenSet =
true;
236 m_tags = std::forward<TagsT>(value);
238 template <
typename TagsT = Aws::Vector<Tag>>
240 SetTags(std::forward<TagsT>(value));
243 template <
typename TagsT = Tag>
245 m_tagsHasBeenSet =
true;
246 m_tags.emplace_back(std::forward<TagsT>(value));
267 MetadataProperties m_metadataProperties;
270 bool m_trialComponentNameHasBeenSet =
false;
271 bool m_displayNameHasBeenSet =
false;
272 bool m_statusHasBeenSet =
false;
273 bool m_startTimeHasBeenSet =
false;
274 bool m_endTimeHasBeenSet =
false;
275 bool m_parametersHasBeenSet =
false;
276 bool m_inputArtifactsHasBeenSet =
false;
277 bool m_outputArtifactsHasBeenSet =
false;
278 bool m_metadataPropertiesHasBeenSet =
false;
279 bool m_tagsHasBeenSet =
false;
const Aws::Map< Aws::String, TrialComponentArtifact > & GetOutputArtifacts() const
CreateTrialComponentRequest & WithOutputArtifacts(OutputArtifactsT &&value)
bool StatusHasBeenSet() const
void SetStartTime(StartTimeT &&value)
bool TagsHasBeenSet() const
CreateTrialComponentRequest & WithTrialComponentName(TrialComponentNameT &&value)
CreateTrialComponentRequest & WithParameters(ParametersT &&value)
const Aws::Utils::DateTime & GetEndTime() const
void SetInputArtifacts(InputArtifactsT &&value)
void SetParameters(ParametersT &&value)
const MetadataProperties & GetMetadataProperties() const
bool MetadataPropertiesHasBeenSet() const
bool DisplayNameHasBeenSet() const
void SetOutputArtifacts(OutputArtifactsT &&value)
CreateTrialComponentRequest & WithStatus(StatusT &&value)
CreateTrialComponentRequest & WithMetadataProperties(MetadataPropertiesT &&value)
CreateTrialComponentRequest & WithEndTime(EndTimeT &&value)
CreateTrialComponentRequest & AddOutputArtifacts(OutputArtifactsKeyT &&key, OutputArtifactsValueT &&value)
void SetStatus(StatusT &&value)
bool TrialComponentNameHasBeenSet() const
bool OutputArtifactsHasBeenSet() const
CreateTrialComponentRequest & WithDisplayName(DisplayNameT &&value)
const Aws::Map< Aws::String, TrialComponentParameterValue > & GetParameters() const
CreateTrialComponentRequest & WithInputArtifacts(InputArtifactsT &&value)
void SetTags(TagsT &&value)
virtual const char * GetServiceRequestName() const override
void SetTrialComponentName(TrialComponentNameT &&value)
AWS_SAGEMAKER_API CreateTrialComponentRequest()=default
const Aws::Vector< Tag > & GetTags() const
CreateTrialComponentRequest & AddTags(TagsT &&value)
const TrialComponentStatus & GetStatus() const
bool StartTimeHasBeenSet() const
bool EndTimeHasBeenSet() const
const Aws::String & GetTrialComponentName() const
const Aws::Utils::DateTime & GetStartTime() const
bool InputArtifactsHasBeenSet() const
const Aws::Map< Aws::String, TrialComponentArtifact > & GetInputArtifacts() const
bool ParametersHasBeenSet() const
void SetMetadataProperties(MetadataPropertiesT &&value)
void SetDisplayName(DisplayNameT &&value)
const Aws::String & GetDisplayName() const
CreateTrialComponentRequest & AddInputArtifacts(InputArtifactsKeyT &&key, InputArtifactsValueT &&value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
void SetEndTime(EndTimeT &&value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateTrialComponentRequest & WithStartTime(StartTimeT &&value)
CreateTrialComponentRequest & AddParameters(ParametersKeyT &&key, ParametersValueT &&value)
CreateTrialComponentRequest & WithTags(TagsT &&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