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/sagemaker/model/MetadataProperties.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15#include <aws/sagemaker/model/TrialComponentParameterValue.h>
16#include <aws/sagemaker/model/TrialComponentArtifact.h>
17#include <aws/sagemaker/model/Tag.h>
52 template<
typename TrialComponentNameT = Aws::String>
53 void SetTrialComponentName(TrialComponentNameT&& value) { m_trialComponentNameHasBeenSet =
true; m_trialComponentName = std::forward<TrialComponentNameT>(value); }
54 template<
typename TrialComponentNameT = Aws::String>
66 template<
typename DisplayNameT = Aws::String>
67 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet =
true; m_displayName = std::forward<DisplayNameT>(value); }
68 template<
typename DisplayNameT = Aws::String>
79 template<
typename StatusT = TrialComponentStatus>
80 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
81 template<
typename StatusT = TrialComponentStatus>
91 template<
typename StartTimeT = Aws::Utils::DateTime>
92 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet =
true; m_startTime = std::forward<StartTimeT>(value); }
93 template<
typename StartTimeT = Aws::Utils::DateTime>
103 template<
typename EndTimeT = Aws::Utils::DateTime>
104 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet =
true; m_endTime = std::forward<EndTimeT>(value); }
105 template<
typename EndTimeT = Aws::Utils::DateTime>
115 template<
typename ParametersT = Aws::Map<Aws::String, TrialComponentParameterValue>>
116 void SetParameters(ParametersT&& value) { m_parametersHasBeenSet =
true; m_parameters = std::forward<ParametersT>(value); }
117 template<
typename ParametersT = Aws::Map<Aws::String, TrialComponentParameterValue>>
119 template<
typename ParametersKeyT = Aws::String,
typename ParametersValueT = TrialComponentParameterValue>
121 m_parametersHasBeenSet =
true; m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value));
return *
this;
132 template<
typename InputArtifactsT = Aws::Map<Aws::String, TrialComponentArtifact>>
133 void SetInputArtifacts(InputArtifactsT&& value) { m_inputArtifactsHasBeenSet =
true; m_inputArtifacts = std::forward<InputArtifactsT>(value); }
134 template<
typename InputArtifactsT = Aws::Map<Aws::String, TrialComponentArtifact>>
136 template<
typename InputArtifactsKeyT = Aws::String,
typename InputArtifactsValueT = TrialComponentArtifact>
138 m_inputArtifactsHasBeenSet =
true; m_inputArtifacts.emplace(std::forward<InputArtifactsKeyT>(key), std::forward<InputArtifactsValueT>(value));
return *
this;
149 template<
typename OutputArtifactsT = Aws::Map<Aws::String, TrialComponentArtifact>>
150 void SetOutputArtifacts(OutputArtifactsT&& value) { m_outputArtifactsHasBeenSet =
true; m_outputArtifacts = std::forward<OutputArtifactsT>(value); }
151 template<
typename OutputArtifactsT = Aws::Map<Aws::String, TrialComponentArtifact>>
153 template<
typename OutputArtifactsKeyT = Aws::String,
typename OutputArtifactsValueT = TrialComponentArtifact>
155 m_outputArtifactsHasBeenSet =
true; m_outputArtifacts.emplace(std::forward<OutputArtifactsKeyT>(key), std::forward<OutputArtifactsValueT>(value));
return *
this;
163 template<
typename MetadataPropertiesT = MetadataProperties>
164 void SetMetadataProperties(MetadataPropertiesT&& value) { m_metadataPropertiesHasBeenSet =
true; m_metadataProperties = std::forward<MetadataPropertiesT>(value); }
165 template<
typename MetadataPropertiesT = MetadataProperties>
177 template<
typename TagsT = Aws::Vector<Tag>>
178 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
179 template<
typename TagsT = Aws::Vector<Tag>>
181 template<
typename TagsT = Tag>
187 bool m_trialComponentNameHasBeenSet =
false;
190 bool m_displayNameHasBeenSet =
false;
193 bool m_statusHasBeenSet =
false;
196 bool m_startTimeHasBeenSet =
false;
199 bool m_endTimeHasBeenSet =
false;
202 bool m_parametersHasBeenSet =
false;
205 bool m_inputArtifactsHasBeenSet =
false;
208 bool m_outputArtifactsHasBeenSet =
false;
210 MetadataProperties m_metadataProperties;
211 bool m_metadataPropertiesHasBeenSet =
false;
214 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