AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
CreateTrainingJobRequest.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/core/utils/memory/stl/AWSMap.h>
11#include <aws/sagemaker/model/AlgorithmSpecification.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/sagemaker/model/OutputDataConfig.h>
14#include <aws/sagemaker/model/ResourceConfig.h>
15#include <aws/sagemaker/model/VpcConfig.h>
16#include <aws/sagemaker/model/StoppingCondition.h>
17#include <aws/sagemaker/model/CheckpointConfig.h>
18#include <aws/sagemaker/model/DebugHookConfig.h>
19#include <aws/sagemaker/model/TensorBoardOutputConfig.h>
20#include <aws/sagemaker/model/ExperimentConfig.h>
21#include <aws/sagemaker/model/ProfilerConfig.h>
22#include <aws/sagemaker/model/RetryStrategy.h>
23#include <aws/sagemaker/model/RemoteDebugConfig.h>
24#include <aws/sagemaker/model/InfraCheckConfig.h>
25#include <aws/sagemaker/model/SessionChainingConfig.h>
26#include <aws/sagemaker/model/Channel.h>
27#include <aws/sagemaker/model/Tag.h>
28#include <aws/sagemaker/model/DebugRuleConfiguration.h>
29#include <aws/sagemaker/model/ProfilerRuleConfiguration.h>
30#include <utility>
31
32namespace Aws
33{
34namespace SageMaker
35{
36namespace Model
37{
38
42 {
43 public:
44 AWS_SAGEMAKER_API CreateTrainingJobRequest() = default;
45
46 // Service request name is the Operation name which will send this request out,
47 // each operation should has unique request name, so that we can get operation's name from this request.
48 // Note: this is not true for response, multiple operations may have the same response name,
49 // so we can not get operation's name from response.
50 inline virtual const char* GetServiceRequestName() const override { return "CreateTrainingJob"; }
51
52 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
53
55
56
58
62 inline const Aws::String& GetTrainingJobName() const { return m_trainingJobName; }
63 inline bool TrainingJobNameHasBeenSet() const { return m_trainingJobNameHasBeenSet; }
64 template<typename TrainingJobNameT = Aws::String>
65 void SetTrainingJobName(TrainingJobNameT&& value) { m_trainingJobNameHasBeenSet = true; m_trainingJobName = std::forward<TrainingJobNameT>(value); }
66 template<typename TrainingJobNameT = Aws::String>
67 CreateTrainingJobRequest& WithTrainingJobName(TrainingJobNameT&& value) { SetTrainingJobName(std::forward<TrainingJobNameT>(value)); return *this;}
69
71
85 inline const Aws::Map<Aws::String, Aws::String>& GetHyperParameters() const { return m_hyperParameters; }
86 inline bool HyperParametersHasBeenSet() const { return m_hyperParametersHasBeenSet; }
87 template<typename HyperParametersT = Aws::Map<Aws::String, Aws::String>>
88 void SetHyperParameters(HyperParametersT&& value) { m_hyperParametersHasBeenSet = true; m_hyperParameters = std::forward<HyperParametersT>(value); }
89 template<typename HyperParametersT = Aws::Map<Aws::String, Aws::String>>
90 CreateTrainingJobRequest& WithHyperParameters(HyperParametersT&& value) { SetHyperParameters(std::forward<HyperParametersT>(value)); return *this;}
91 template<typename HyperParametersKeyT = Aws::String, typename HyperParametersValueT = Aws::String>
92 CreateTrainingJobRequest& AddHyperParameters(HyperParametersKeyT&& key, HyperParametersValueT&& value) {
93 m_hyperParametersHasBeenSet = true; m_hyperParameters.emplace(std::forward<HyperParametersKeyT>(key), std::forward<HyperParametersValueT>(value)); return *this;
94 }
96
98
107 inline const AlgorithmSpecification& GetAlgorithmSpecification() const { return m_algorithmSpecification; }
108 inline bool AlgorithmSpecificationHasBeenSet() const { return m_algorithmSpecificationHasBeenSet; }
109 template<typename AlgorithmSpecificationT = AlgorithmSpecification>
110 void SetAlgorithmSpecification(AlgorithmSpecificationT&& value) { m_algorithmSpecificationHasBeenSet = true; m_algorithmSpecification = std::forward<AlgorithmSpecificationT>(value); }
111 template<typename AlgorithmSpecificationT = AlgorithmSpecification>
112 CreateTrainingJobRequest& WithAlgorithmSpecification(AlgorithmSpecificationT&& value) { SetAlgorithmSpecification(std::forward<AlgorithmSpecificationT>(value)); return *this;}
114
116
127 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
128 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
129 template<typename RoleArnT = Aws::String>
130 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
131 template<typename RoleArnT = Aws::String>
132 CreateTrainingJobRequest& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
134
136
151 inline const Aws::Vector<Channel>& GetInputDataConfig() const { return m_inputDataConfig; }
152 inline bool InputDataConfigHasBeenSet() const { return m_inputDataConfigHasBeenSet; }
153 template<typename InputDataConfigT = Aws::Vector<Channel>>
154 void SetInputDataConfig(InputDataConfigT&& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = std::forward<InputDataConfigT>(value); }
155 template<typename InputDataConfigT = Aws::Vector<Channel>>
156 CreateTrainingJobRequest& WithInputDataConfig(InputDataConfigT&& value) { SetInputDataConfig(std::forward<InputDataConfigT>(value)); return *this;}
157 template<typename InputDataConfigT = Channel>
158 CreateTrainingJobRequest& AddInputDataConfig(InputDataConfigT&& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig.emplace_back(std::forward<InputDataConfigT>(value)); return *this; }
160
162
166 inline const OutputDataConfig& GetOutputDataConfig() const { return m_outputDataConfig; }
167 inline bool OutputDataConfigHasBeenSet() const { return m_outputDataConfigHasBeenSet; }
168 template<typename OutputDataConfigT = OutputDataConfig>
169 void SetOutputDataConfig(OutputDataConfigT&& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = std::forward<OutputDataConfigT>(value); }
170 template<typename OutputDataConfigT = OutputDataConfig>
171 CreateTrainingJobRequest& WithOutputDataConfig(OutputDataConfigT&& value) { SetOutputDataConfig(std::forward<OutputDataConfigT>(value)); return *this;}
173
175
184 inline const ResourceConfig& GetResourceConfig() const { return m_resourceConfig; }
185 inline bool ResourceConfigHasBeenSet() const { return m_resourceConfigHasBeenSet; }
186 template<typename ResourceConfigT = ResourceConfig>
187 void SetResourceConfig(ResourceConfigT&& value) { m_resourceConfigHasBeenSet = true; m_resourceConfig = std::forward<ResourceConfigT>(value); }
188 template<typename ResourceConfigT = ResourceConfig>
189 CreateTrainingJobRequest& WithResourceConfig(ResourceConfigT&& value) { SetResourceConfig(std::forward<ResourceConfigT>(value)); return *this;}
191
193
202 inline const VpcConfig& GetVpcConfig() const { return m_vpcConfig; }
203 inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
204 template<typename VpcConfigT = VpcConfig>
205 void SetVpcConfig(VpcConfigT&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::forward<VpcConfigT>(value); }
206 template<typename VpcConfigT = VpcConfig>
207 CreateTrainingJobRequest& WithVpcConfig(VpcConfigT&& value) { SetVpcConfig(std::forward<VpcConfigT>(value)); return *this;}
209
211
220 inline const StoppingCondition& GetStoppingCondition() const { return m_stoppingCondition; }
221 inline bool StoppingConditionHasBeenSet() const { return m_stoppingConditionHasBeenSet; }
222 template<typename StoppingConditionT = StoppingCondition>
223 void SetStoppingCondition(StoppingConditionT&& value) { m_stoppingConditionHasBeenSet = true; m_stoppingCondition = std::forward<StoppingConditionT>(value); }
224 template<typename StoppingConditionT = StoppingCondition>
225 CreateTrainingJobRequest& WithStoppingCondition(StoppingConditionT&& value) { SetStoppingCondition(std::forward<StoppingConditionT>(value)); return *this;}
227
229
241 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
242 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
243 template<typename TagsT = Aws::Vector<Tag>>
244 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
245 template<typename TagsT = Aws::Vector<Tag>>
246 CreateTrainingJobRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
247 template<typename TagsT = Tag>
248 CreateTrainingJobRequest& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
250
252
260 inline bool GetEnableNetworkIsolation() const { return m_enableNetworkIsolation; }
261 inline bool EnableNetworkIsolationHasBeenSet() const { return m_enableNetworkIsolationHasBeenSet; }
262 inline void SetEnableNetworkIsolation(bool value) { m_enableNetworkIsolationHasBeenSet = true; m_enableNetworkIsolation = value; }
265
267
277 inline bool GetEnableInterContainerTrafficEncryption() const { return m_enableInterContainerTrafficEncryption; }
278 inline bool EnableInterContainerTrafficEncryptionHasBeenSet() const { return m_enableInterContainerTrafficEncryptionHasBeenSet; }
279 inline void SetEnableInterContainerTrafficEncryption(bool value) { m_enableInterContainerTrafficEncryptionHasBeenSet = true; m_enableInterContainerTrafficEncryption = value; }
282
284
295 inline bool GetEnableManagedSpotTraining() const { return m_enableManagedSpotTraining; }
296 inline bool EnableManagedSpotTrainingHasBeenSet() const { return m_enableManagedSpotTrainingHasBeenSet; }
297 inline void SetEnableManagedSpotTraining(bool value) { m_enableManagedSpotTrainingHasBeenSet = true; m_enableManagedSpotTraining = value; }
300
302
306 inline const CheckpointConfig& GetCheckpointConfig() const { return m_checkpointConfig; }
307 inline bool CheckpointConfigHasBeenSet() const { return m_checkpointConfigHasBeenSet; }
308 template<typename CheckpointConfigT = CheckpointConfig>
309 void SetCheckpointConfig(CheckpointConfigT&& value) { m_checkpointConfigHasBeenSet = true; m_checkpointConfig = std::forward<CheckpointConfigT>(value); }
310 template<typename CheckpointConfigT = CheckpointConfig>
311 CreateTrainingJobRequest& WithCheckpointConfig(CheckpointConfigT&& value) { SetCheckpointConfig(std::forward<CheckpointConfigT>(value)); return *this;}
313
315
316 inline const DebugHookConfig& GetDebugHookConfig() const { return m_debugHookConfig; }
317 inline bool DebugHookConfigHasBeenSet() const { return m_debugHookConfigHasBeenSet; }
318 template<typename DebugHookConfigT = DebugHookConfig>
319 void SetDebugHookConfig(DebugHookConfigT&& value) { m_debugHookConfigHasBeenSet = true; m_debugHookConfig = std::forward<DebugHookConfigT>(value); }
320 template<typename DebugHookConfigT = DebugHookConfig>
321 CreateTrainingJobRequest& WithDebugHookConfig(DebugHookConfigT&& value) { SetDebugHookConfig(std::forward<DebugHookConfigT>(value)); return *this;}
323
325
329 inline const Aws::Vector<DebugRuleConfiguration>& GetDebugRuleConfigurations() const { return m_debugRuleConfigurations; }
330 inline bool DebugRuleConfigurationsHasBeenSet() const { return m_debugRuleConfigurationsHasBeenSet; }
331 template<typename DebugRuleConfigurationsT = Aws::Vector<DebugRuleConfiguration>>
332 void SetDebugRuleConfigurations(DebugRuleConfigurationsT&& value) { m_debugRuleConfigurationsHasBeenSet = true; m_debugRuleConfigurations = std::forward<DebugRuleConfigurationsT>(value); }
333 template<typename DebugRuleConfigurationsT = Aws::Vector<DebugRuleConfiguration>>
334 CreateTrainingJobRequest& WithDebugRuleConfigurations(DebugRuleConfigurationsT&& value) { SetDebugRuleConfigurations(std::forward<DebugRuleConfigurationsT>(value)); return *this;}
335 template<typename DebugRuleConfigurationsT = DebugRuleConfiguration>
336 CreateTrainingJobRequest& AddDebugRuleConfigurations(DebugRuleConfigurationsT&& value) { m_debugRuleConfigurationsHasBeenSet = true; m_debugRuleConfigurations.emplace_back(std::forward<DebugRuleConfigurationsT>(value)); return *this; }
338
340
341 inline const TensorBoardOutputConfig& GetTensorBoardOutputConfig() const { return m_tensorBoardOutputConfig; }
342 inline bool TensorBoardOutputConfigHasBeenSet() const { return m_tensorBoardOutputConfigHasBeenSet; }
343 template<typename TensorBoardOutputConfigT = TensorBoardOutputConfig>
344 void SetTensorBoardOutputConfig(TensorBoardOutputConfigT&& value) { m_tensorBoardOutputConfigHasBeenSet = true; m_tensorBoardOutputConfig = std::forward<TensorBoardOutputConfigT>(value); }
345 template<typename TensorBoardOutputConfigT = TensorBoardOutputConfig>
346 CreateTrainingJobRequest& WithTensorBoardOutputConfig(TensorBoardOutputConfigT&& value) { SetTensorBoardOutputConfig(std::forward<TensorBoardOutputConfigT>(value)); return *this;}
348
350
351 inline const ExperimentConfig& GetExperimentConfig() const { return m_experimentConfig; }
352 inline bool ExperimentConfigHasBeenSet() const { return m_experimentConfigHasBeenSet; }
353 template<typename ExperimentConfigT = ExperimentConfig>
354 void SetExperimentConfig(ExperimentConfigT&& value) { m_experimentConfigHasBeenSet = true; m_experimentConfig = std::forward<ExperimentConfigT>(value); }
355 template<typename ExperimentConfigT = ExperimentConfig>
356 CreateTrainingJobRequest& WithExperimentConfig(ExperimentConfigT&& value) { SetExperimentConfig(std::forward<ExperimentConfigT>(value)); return *this;}
358
360
361 inline const ProfilerConfig& GetProfilerConfig() const { return m_profilerConfig; }
362 inline bool ProfilerConfigHasBeenSet() const { return m_profilerConfigHasBeenSet; }
363 template<typename ProfilerConfigT = ProfilerConfig>
364 void SetProfilerConfig(ProfilerConfigT&& value) { m_profilerConfigHasBeenSet = true; m_profilerConfig = std::forward<ProfilerConfigT>(value); }
365 template<typename ProfilerConfigT = ProfilerConfig>
366 CreateTrainingJobRequest& WithProfilerConfig(ProfilerConfigT&& value) { SetProfilerConfig(std::forward<ProfilerConfigT>(value)); return *this;}
368
370
374 inline const Aws::Vector<ProfilerRuleConfiguration>& GetProfilerRuleConfigurations() const { return m_profilerRuleConfigurations; }
375 inline bool ProfilerRuleConfigurationsHasBeenSet() const { return m_profilerRuleConfigurationsHasBeenSet; }
376 template<typename ProfilerRuleConfigurationsT = Aws::Vector<ProfilerRuleConfiguration>>
377 void SetProfilerRuleConfigurations(ProfilerRuleConfigurationsT&& value) { m_profilerRuleConfigurationsHasBeenSet = true; m_profilerRuleConfigurations = std::forward<ProfilerRuleConfigurationsT>(value); }
378 template<typename ProfilerRuleConfigurationsT = Aws::Vector<ProfilerRuleConfiguration>>
379 CreateTrainingJobRequest& WithProfilerRuleConfigurations(ProfilerRuleConfigurationsT&& value) { SetProfilerRuleConfigurations(std::forward<ProfilerRuleConfigurationsT>(value)); return *this;}
380 template<typename ProfilerRuleConfigurationsT = ProfilerRuleConfiguration>
381 CreateTrainingJobRequest& AddProfilerRuleConfigurations(ProfilerRuleConfigurationsT&& value) { m_profilerRuleConfigurationsHasBeenSet = true; m_profilerRuleConfigurations.emplace_back(std::forward<ProfilerRuleConfigurationsT>(value)); return *this; }
383
385
394 inline const Aws::Map<Aws::String, Aws::String>& GetEnvironment() const { return m_environment; }
395 inline bool EnvironmentHasBeenSet() const { return m_environmentHasBeenSet; }
396 template<typename EnvironmentT = Aws::Map<Aws::String, Aws::String>>
397 void SetEnvironment(EnvironmentT&& value) { m_environmentHasBeenSet = true; m_environment = std::forward<EnvironmentT>(value); }
398 template<typename EnvironmentT = Aws::Map<Aws::String, Aws::String>>
399 CreateTrainingJobRequest& WithEnvironment(EnvironmentT&& value) { SetEnvironment(std::forward<EnvironmentT>(value)); return *this;}
400 template<typename EnvironmentKeyT = Aws::String, typename EnvironmentValueT = Aws::String>
401 CreateTrainingJobRequest& AddEnvironment(EnvironmentKeyT&& key, EnvironmentValueT&& value) {
402 m_environmentHasBeenSet = true; m_environment.emplace(std::forward<EnvironmentKeyT>(key), std::forward<EnvironmentValueT>(value)); return *this;
403 }
405
407
411 inline const RetryStrategy& GetRetryStrategy() const { return m_retryStrategy; }
412 inline bool RetryStrategyHasBeenSet() const { return m_retryStrategyHasBeenSet; }
413 template<typename RetryStrategyT = RetryStrategy>
414 void SetRetryStrategy(RetryStrategyT&& value) { m_retryStrategyHasBeenSet = true; m_retryStrategy = std::forward<RetryStrategyT>(value); }
415 template<typename RetryStrategyT = RetryStrategy>
416 CreateTrainingJobRequest& WithRetryStrategy(RetryStrategyT&& value) { SetRetryStrategy(std::forward<RetryStrategyT>(value)); return *this;}
418
420
427 inline const RemoteDebugConfig& GetRemoteDebugConfig() const { return m_remoteDebugConfig; }
428 inline bool RemoteDebugConfigHasBeenSet() const { return m_remoteDebugConfigHasBeenSet; }
429 template<typename RemoteDebugConfigT = RemoteDebugConfig>
430 void SetRemoteDebugConfig(RemoteDebugConfigT&& value) { m_remoteDebugConfigHasBeenSet = true; m_remoteDebugConfig = std::forward<RemoteDebugConfigT>(value); }
431 template<typename RemoteDebugConfigT = RemoteDebugConfig>
432 CreateTrainingJobRequest& WithRemoteDebugConfig(RemoteDebugConfigT&& value) { SetRemoteDebugConfig(std::forward<RemoteDebugConfigT>(value)); return *this;}
434
436
440 inline const InfraCheckConfig& GetInfraCheckConfig() const { return m_infraCheckConfig; }
441 inline bool InfraCheckConfigHasBeenSet() const { return m_infraCheckConfigHasBeenSet; }
442 template<typename InfraCheckConfigT = InfraCheckConfig>
443 void SetInfraCheckConfig(InfraCheckConfigT&& value) { m_infraCheckConfigHasBeenSet = true; m_infraCheckConfig = std::forward<InfraCheckConfigT>(value); }
444 template<typename InfraCheckConfigT = InfraCheckConfig>
445 CreateTrainingJobRequest& WithInfraCheckConfig(InfraCheckConfigT&& value) { SetInfraCheckConfig(std::forward<InfraCheckConfigT>(value)); return *this;}
447
449
453 inline const SessionChainingConfig& GetSessionChainingConfig() const { return m_sessionChainingConfig; }
454 inline bool SessionChainingConfigHasBeenSet() const { return m_sessionChainingConfigHasBeenSet; }
455 template<typename SessionChainingConfigT = SessionChainingConfig>
456 void SetSessionChainingConfig(SessionChainingConfigT&& value) { m_sessionChainingConfigHasBeenSet = true; m_sessionChainingConfig = std::forward<SessionChainingConfigT>(value); }
457 template<typename SessionChainingConfigT = SessionChainingConfig>
458 CreateTrainingJobRequest& WithSessionChainingConfig(SessionChainingConfigT&& value) { SetSessionChainingConfig(std::forward<SessionChainingConfigT>(value)); return *this;}
460 private:
461
462 Aws::String m_trainingJobName;
463 bool m_trainingJobNameHasBeenSet = false;
464
465 Aws::Map<Aws::String, Aws::String> m_hyperParameters;
466 bool m_hyperParametersHasBeenSet = false;
467
468 AlgorithmSpecification m_algorithmSpecification;
469 bool m_algorithmSpecificationHasBeenSet = false;
470
471 Aws::String m_roleArn;
472 bool m_roleArnHasBeenSet = false;
473
474 Aws::Vector<Channel> m_inputDataConfig;
475 bool m_inputDataConfigHasBeenSet = false;
476
477 OutputDataConfig m_outputDataConfig;
478 bool m_outputDataConfigHasBeenSet = false;
479
480 ResourceConfig m_resourceConfig;
481 bool m_resourceConfigHasBeenSet = false;
482
483 VpcConfig m_vpcConfig;
484 bool m_vpcConfigHasBeenSet = false;
485
486 StoppingCondition m_stoppingCondition;
487 bool m_stoppingConditionHasBeenSet = false;
488
489 Aws::Vector<Tag> m_tags;
490 bool m_tagsHasBeenSet = false;
491
492 bool m_enableNetworkIsolation{false};
493 bool m_enableNetworkIsolationHasBeenSet = false;
494
495 bool m_enableInterContainerTrafficEncryption{false};
496 bool m_enableInterContainerTrafficEncryptionHasBeenSet = false;
497
498 bool m_enableManagedSpotTraining{false};
499 bool m_enableManagedSpotTrainingHasBeenSet = false;
500
501 CheckpointConfig m_checkpointConfig;
502 bool m_checkpointConfigHasBeenSet = false;
503
504 DebugHookConfig m_debugHookConfig;
505 bool m_debugHookConfigHasBeenSet = false;
506
507 Aws::Vector<DebugRuleConfiguration> m_debugRuleConfigurations;
508 bool m_debugRuleConfigurationsHasBeenSet = false;
509
510 TensorBoardOutputConfig m_tensorBoardOutputConfig;
511 bool m_tensorBoardOutputConfigHasBeenSet = false;
512
513 ExperimentConfig m_experimentConfig;
514 bool m_experimentConfigHasBeenSet = false;
515
516 ProfilerConfig m_profilerConfig;
517 bool m_profilerConfigHasBeenSet = false;
518
519 Aws::Vector<ProfilerRuleConfiguration> m_profilerRuleConfigurations;
520 bool m_profilerRuleConfigurationsHasBeenSet = false;
521
523 bool m_environmentHasBeenSet = false;
524
525 RetryStrategy m_retryStrategy;
526 bool m_retryStrategyHasBeenSet = false;
527
528 RemoteDebugConfig m_remoteDebugConfig;
529 bool m_remoteDebugConfigHasBeenSet = false;
530
531 InfraCheckConfig m_infraCheckConfig;
532 bool m_infraCheckConfigHasBeenSet = false;
533
534 SessionChainingConfig m_sessionChainingConfig;
535 bool m_sessionChainingConfigHasBeenSet = false;
536 };
537
538} // namespace Model
539} // namespace SageMaker
540} // namespace Aws
virtual const char * GetServiceRequestName() const override
CreateTrainingJobRequest & WithEnableInterContainerTrafficEncryption(bool value)
CreateTrainingJobRequest & WithResourceConfig(ResourceConfigT &&value)
const Aws::Vector< DebugRuleConfiguration > & GetDebugRuleConfigurations() const
CreateTrainingJobRequest & WithSessionChainingConfig(SessionChainingConfigT &&value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateTrainingJobRequest & WithVpcConfig(VpcConfigT &&value)
const SessionChainingConfig & GetSessionChainingConfig() const
CreateTrainingJobRequest & WithEnableNetworkIsolation(bool value)
const Aws::Map< Aws::String, Aws::String > & GetHyperParameters() const
CreateTrainingJobRequest & WithCheckpointConfig(CheckpointConfigT &&value)
CreateTrainingJobRequest & WithDebugRuleConfigurations(DebugRuleConfigurationsT &&value)
AWS_SAGEMAKER_API CreateTrainingJobRequest()=default
const Aws::Vector< Channel > & GetInputDataConfig() const
CreateTrainingJobRequest & WithRemoteDebugConfig(RemoteDebugConfigT &&value)
CreateTrainingJobRequest & WithTrainingJobName(TrainingJobNameT &&value)
CreateTrainingJobRequest & AddProfilerRuleConfigurations(ProfilerRuleConfigurationsT &&value)
CreateTrainingJobRequest & WithTags(TagsT &&value)
CreateTrainingJobRequest & WithEnableManagedSpotTraining(bool value)
CreateTrainingJobRequest & AddEnvironment(EnvironmentKeyT &&key, EnvironmentValueT &&value)
const AlgorithmSpecification & GetAlgorithmSpecification() const
CreateTrainingJobRequest & AddInputDataConfig(InputDataConfigT &&value)
const TensorBoardOutputConfig & GetTensorBoardOutputConfig() const
CreateTrainingJobRequest & WithExperimentConfig(ExperimentConfigT &&value)
CreateTrainingJobRequest & WithStoppingCondition(StoppingConditionT &&value)
CreateTrainingJobRequest & AddHyperParameters(HyperParametersKeyT &&key, HyperParametersValueT &&value)
const Aws::Map< Aws::String, Aws::String > & GetEnvironment() const
CreateTrainingJobRequest & WithRetryStrategy(RetryStrategyT &&value)
CreateTrainingJobRequest & WithTensorBoardOutputConfig(TensorBoardOutputConfigT &&value)
CreateTrainingJobRequest & WithAlgorithmSpecification(AlgorithmSpecificationT &&value)
void SetDebugRuleConfigurations(DebugRuleConfigurationsT &&value)
CreateTrainingJobRequest & AddTags(TagsT &&value)
CreateTrainingJobRequest & AddDebugRuleConfigurations(DebugRuleConfigurationsT &&value)
void SetProfilerRuleConfigurations(ProfilerRuleConfigurationsT &&value)
CreateTrainingJobRequest & WithHyperParameters(HyperParametersT &&value)
void SetSessionChainingConfig(SessionChainingConfigT &&value)
CreateTrainingJobRequest & WithDebugHookConfig(DebugHookConfigT &&value)
void SetTensorBoardOutputConfig(TensorBoardOutputConfigT &&value)
CreateTrainingJobRequest & WithInfraCheckConfig(InfraCheckConfigT &&value)
void SetAlgorithmSpecification(AlgorithmSpecificationT &&value)
const Aws::Vector< ProfilerRuleConfiguration > & GetProfilerRuleConfigurations() const
CreateTrainingJobRequest & WithProfilerRuleConfigurations(ProfilerRuleConfigurationsT &&value)
CreateTrainingJobRequest & WithInputDataConfig(InputDataConfigT &&value)
CreateTrainingJobRequest & WithEnvironment(EnvironmentT &&value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
CreateTrainingJobRequest & WithProfilerConfig(ProfilerConfigT &&value)
CreateTrainingJobRequest & WithOutputDataConfig(OutputDataConfigT &&value)
CreateTrainingJobRequest & WithRoleArn(RoleArnT &&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