AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetTrainingJobName(const Aws::String& value) { m_trainingJobNameHasBeenSet = true; m_trainingJobName = value; }
65 inline void SetTrainingJobName(Aws::String&& value) { m_trainingJobNameHasBeenSet = true; m_trainingJobName = std::move(value); }
66 inline void SetTrainingJobName(const char* value) { m_trainingJobNameHasBeenSet = true; m_trainingJobName.assign(value); }
67 inline CreateTrainingJobRequest& WithTrainingJobName(const Aws::String& value) { SetTrainingJobName(value); return *this;}
68 inline CreateTrainingJobRequest& WithTrainingJobName(Aws::String&& value) { SetTrainingJobName(std::move(value)); return *this;}
69 inline CreateTrainingJobRequest& WithTrainingJobName(const char* value) { SetTrainingJobName(value); return *this;}
71
73
86 inline const Aws::Map<Aws::String, Aws::String>& GetHyperParameters() const{ return m_hyperParameters; }
87 inline bool HyperParametersHasBeenSet() const { return m_hyperParametersHasBeenSet; }
88 inline void SetHyperParameters(const Aws::Map<Aws::String, Aws::String>& value) { m_hyperParametersHasBeenSet = true; m_hyperParameters = value; }
89 inline void SetHyperParameters(Aws::Map<Aws::String, Aws::String>&& value) { m_hyperParametersHasBeenSet = true; m_hyperParameters = std::move(value); }
92 inline CreateTrainingJobRequest& AddHyperParameters(const Aws::String& key, const Aws::String& value) { m_hyperParametersHasBeenSet = true; m_hyperParameters.emplace(key, value); return *this; }
93 inline CreateTrainingJobRequest& AddHyperParameters(Aws::String&& key, const Aws::String& value) { m_hyperParametersHasBeenSet = true; m_hyperParameters.emplace(std::move(key), value); return *this; }
94 inline CreateTrainingJobRequest& AddHyperParameters(const Aws::String& key, Aws::String&& value) { m_hyperParametersHasBeenSet = true; m_hyperParameters.emplace(key, std::move(value)); return *this; }
95 inline CreateTrainingJobRequest& AddHyperParameters(Aws::String&& key, Aws::String&& value) { m_hyperParametersHasBeenSet = true; m_hyperParameters.emplace(std::move(key), std::move(value)); return *this; }
96 inline CreateTrainingJobRequest& AddHyperParameters(const char* key, Aws::String&& value) { m_hyperParametersHasBeenSet = true; m_hyperParameters.emplace(key, std::move(value)); return *this; }
97 inline CreateTrainingJobRequest& AddHyperParameters(Aws::String&& key, const char* value) { m_hyperParametersHasBeenSet = true; m_hyperParameters.emplace(std::move(key), value); return *this; }
98 inline CreateTrainingJobRequest& AddHyperParameters(const char* key, const char* value) { m_hyperParametersHasBeenSet = true; m_hyperParameters.emplace(key, value); return *this; }
100
102
111 inline const AlgorithmSpecification& GetAlgorithmSpecification() const{ return m_algorithmSpecification; }
112 inline bool AlgorithmSpecificationHasBeenSet() const { return m_algorithmSpecificationHasBeenSet; }
113 inline void SetAlgorithmSpecification(const AlgorithmSpecification& value) { m_algorithmSpecificationHasBeenSet = true; m_algorithmSpecification = value; }
114 inline void SetAlgorithmSpecification(AlgorithmSpecification&& value) { m_algorithmSpecificationHasBeenSet = true; m_algorithmSpecification = std::move(value); }
118
120
131 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
132 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
133 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
134 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
135 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
136 inline CreateTrainingJobRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
137 inline CreateTrainingJobRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
138 inline CreateTrainingJobRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
140
142
157 inline const Aws::Vector<Channel>& GetInputDataConfig() const{ return m_inputDataConfig; }
158 inline bool InputDataConfigHasBeenSet() const { return m_inputDataConfigHasBeenSet; }
159 inline void SetInputDataConfig(const Aws::Vector<Channel>& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = value; }
160 inline void SetInputDataConfig(Aws::Vector<Channel>&& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = std::move(value); }
162 inline CreateTrainingJobRequest& WithInputDataConfig(Aws::Vector<Channel>&& value) { SetInputDataConfig(std::move(value)); return *this;}
163 inline CreateTrainingJobRequest& AddInputDataConfig(const Channel& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig.push_back(value); return *this; }
164 inline CreateTrainingJobRequest& AddInputDataConfig(Channel&& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig.push_back(std::move(value)); return *this; }
166
168
172 inline const OutputDataConfig& GetOutputDataConfig() const{ return m_outputDataConfig; }
173 inline bool OutputDataConfigHasBeenSet() const { return m_outputDataConfigHasBeenSet; }
174 inline void SetOutputDataConfig(const OutputDataConfig& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = value; }
175 inline void SetOutputDataConfig(OutputDataConfig&& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = std::move(value); }
177 inline CreateTrainingJobRequest& WithOutputDataConfig(OutputDataConfig&& value) { SetOutputDataConfig(std::move(value)); return *this;}
179
181
190 inline const ResourceConfig& GetResourceConfig() const{ return m_resourceConfig; }
191 inline bool ResourceConfigHasBeenSet() const { return m_resourceConfigHasBeenSet; }
192 inline void SetResourceConfig(const ResourceConfig& value) { m_resourceConfigHasBeenSet = true; m_resourceConfig = value; }
193 inline void SetResourceConfig(ResourceConfig&& value) { m_resourceConfigHasBeenSet = true; m_resourceConfig = std::move(value); }
195 inline CreateTrainingJobRequest& WithResourceConfig(ResourceConfig&& value) { SetResourceConfig(std::move(value)); return *this;}
197
199
208 inline const VpcConfig& GetVpcConfig() const{ return m_vpcConfig; }
209 inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
210 inline void SetVpcConfig(const VpcConfig& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = value; }
211 inline void SetVpcConfig(VpcConfig&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::move(value); }
212 inline CreateTrainingJobRequest& WithVpcConfig(const VpcConfig& value) { SetVpcConfig(value); return *this;}
213 inline CreateTrainingJobRequest& WithVpcConfig(VpcConfig&& value) { SetVpcConfig(std::move(value)); return *this;}
215
217
226 inline const StoppingCondition& GetStoppingCondition() const{ return m_stoppingCondition; }
227 inline bool StoppingConditionHasBeenSet() const { return m_stoppingConditionHasBeenSet; }
228 inline void SetStoppingCondition(const StoppingCondition& value) { m_stoppingConditionHasBeenSet = true; m_stoppingCondition = value; }
229 inline void SetStoppingCondition(StoppingCondition&& value) { m_stoppingConditionHasBeenSet = true; m_stoppingCondition = std::move(value); }
233
235
242 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
243 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
244 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
245 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
246 inline CreateTrainingJobRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
247 inline CreateTrainingJobRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
248 inline CreateTrainingJobRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
249 inline CreateTrainingJobRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
251
253
261 inline bool GetEnableNetworkIsolation() const{ return m_enableNetworkIsolation; }
262 inline bool EnableNetworkIsolationHasBeenSet() const { return m_enableNetworkIsolationHasBeenSet; }
263 inline void SetEnableNetworkIsolation(bool value) { m_enableNetworkIsolationHasBeenSet = true; m_enableNetworkIsolation = value; }
266
268
278 inline bool GetEnableInterContainerTrafficEncryption() const{ return m_enableInterContainerTrafficEncryption; }
279 inline bool EnableInterContainerTrafficEncryptionHasBeenSet() const { return m_enableInterContainerTrafficEncryptionHasBeenSet; }
280 inline void SetEnableInterContainerTrafficEncryption(bool value) { m_enableInterContainerTrafficEncryptionHasBeenSet = true; m_enableInterContainerTrafficEncryption = value; }
283
285
296 inline bool GetEnableManagedSpotTraining() const{ return m_enableManagedSpotTraining; }
297 inline bool EnableManagedSpotTrainingHasBeenSet() const { return m_enableManagedSpotTrainingHasBeenSet; }
298 inline void SetEnableManagedSpotTraining(bool value) { m_enableManagedSpotTrainingHasBeenSet = true; m_enableManagedSpotTraining = value; }
301
303
307 inline const CheckpointConfig& GetCheckpointConfig() const{ return m_checkpointConfig; }
308 inline bool CheckpointConfigHasBeenSet() const { return m_checkpointConfigHasBeenSet; }
309 inline void SetCheckpointConfig(const CheckpointConfig& value) { m_checkpointConfigHasBeenSet = true; m_checkpointConfig = value; }
310 inline void SetCheckpointConfig(CheckpointConfig&& value) { m_checkpointConfigHasBeenSet = true; m_checkpointConfig = std::move(value); }
312 inline CreateTrainingJobRequest& WithCheckpointConfig(CheckpointConfig&& value) { SetCheckpointConfig(std::move(value)); return *this;}
314
316
317 inline const DebugHookConfig& GetDebugHookConfig() const{ return m_debugHookConfig; }
318 inline bool DebugHookConfigHasBeenSet() const { return m_debugHookConfigHasBeenSet; }
319 inline void SetDebugHookConfig(const DebugHookConfig& value) { m_debugHookConfigHasBeenSet = true; m_debugHookConfig = value; }
320 inline void SetDebugHookConfig(DebugHookConfig&& value) { m_debugHookConfigHasBeenSet = true; m_debugHookConfig = std::move(value); }
322 inline CreateTrainingJobRequest& WithDebugHookConfig(DebugHookConfig&& value) { SetDebugHookConfig(std::move(value)); return *this;}
324
326
330 inline const Aws::Vector<DebugRuleConfiguration>& GetDebugRuleConfigurations() const{ return m_debugRuleConfigurations; }
331 inline bool DebugRuleConfigurationsHasBeenSet() const { return m_debugRuleConfigurationsHasBeenSet; }
332 inline void SetDebugRuleConfigurations(const Aws::Vector<DebugRuleConfiguration>& value) { m_debugRuleConfigurationsHasBeenSet = true; m_debugRuleConfigurations = value; }
333 inline void SetDebugRuleConfigurations(Aws::Vector<DebugRuleConfiguration>&& value) { m_debugRuleConfigurationsHasBeenSet = true; m_debugRuleConfigurations = std::move(value); }
336 inline CreateTrainingJobRequest& AddDebugRuleConfigurations(const DebugRuleConfiguration& value) { m_debugRuleConfigurationsHasBeenSet = true; m_debugRuleConfigurations.push_back(value); return *this; }
337 inline CreateTrainingJobRequest& AddDebugRuleConfigurations(DebugRuleConfiguration&& value) { m_debugRuleConfigurationsHasBeenSet = true; m_debugRuleConfigurations.push_back(std::move(value)); return *this; }
339
341
342 inline const TensorBoardOutputConfig& GetTensorBoardOutputConfig() const{ return m_tensorBoardOutputConfig; }
343 inline bool TensorBoardOutputConfigHasBeenSet() const { return m_tensorBoardOutputConfigHasBeenSet; }
344 inline void SetTensorBoardOutputConfig(const TensorBoardOutputConfig& value) { m_tensorBoardOutputConfigHasBeenSet = true; m_tensorBoardOutputConfig = value; }
345 inline void SetTensorBoardOutputConfig(TensorBoardOutputConfig&& value) { m_tensorBoardOutputConfigHasBeenSet = true; m_tensorBoardOutputConfig = std::move(value); }
349
351
352 inline const ExperimentConfig& GetExperimentConfig() const{ return m_experimentConfig; }
353 inline bool ExperimentConfigHasBeenSet() const { return m_experimentConfigHasBeenSet; }
354 inline void SetExperimentConfig(const ExperimentConfig& value) { m_experimentConfigHasBeenSet = true; m_experimentConfig = value; }
355 inline void SetExperimentConfig(ExperimentConfig&& value) { m_experimentConfigHasBeenSet = true; m_experimentConfig = std::move(value); }
357 inline CreateTrainingJobRequest& WithExperimentConfig(ExperimentConfig&& value) { SetExperimentConfig(std::move(value)); return *this;}
359
361
362 inline const ProfilerConfig& GetProfilerConfig() const{ return m_profilerConfig; }
363 inline bool ProfilerConfigHasBeenSet() const { return m_profilerConfigHasBeenSet; }
364 inline void SetProfilerConfig(const ProfilerConfig& value) { m_profilerConfigHasBeenSet = true; m_profilerConfig = value; }
365 inline void SetProfilerConfig(ProfilerConfig&& value) { m_profilerConfigHasBeenSet = true; m_profilerConfig = std::move(value); }
367 inline CreateTrainingJobRequest& WithProfilerConfig(ProfilerConfig&& value) { SetProfilerConfig(std::move(value)); return *this;}
369
371
375 inline const Aws::Vector<ProfilerRuleConfiguration>& GetProfilerRuleConfigurations() const{ return m_profilerRuleConfigurations; }
376 inline bool ProfilerRuleConfigurationsHasBeenSet() const { return m_profilerRuleConfigurationsHasBeenSet; }
377 inline void SetProfilerRuleConfigurations(const Aws::Vector<ProfilerRuleConfiguration>& value) { m_profilerRuleConfigurationsHasBeenSet = true; m_profilerRuleConfigurations = value; }
378 inline void SetProfilerRuleConfigurations(Aws::Vector<ProfilerRuleConfiguration>&& value) { m_profilerRuleConfigurationsHasBeenSet = true; m_profilerRuleConfigurations = std::move(value); }
381 inline CreateTrainingJobRequest& AddProfilerRuleConfigurations(const ProfilerRuleConfiguration& value) { m_profilerRuleConfigurationsHasBeenSet = true; m_profilerRuleConfigurations.push_back(value); return *this; }
382 inline CreateTrainingJobRequest& AddProfilerRuleConfigurations(ProfilerRuleConfiguration&& value) { m_profilerRuleConfigurationsHasBeenSet = true; m_profilerRuleConfigurations.push_back(std::move(value)); return *this; }
384
386
389 inline const Aws::Map<Aws::String, Aws::String>& GetEnvironment() const{ return m_environment; }
390 inline bool EnvironmentHasBeenSet() const { return m_environmentHasBeenSet; }
391 inline void SetEnvironment(const Aws::Map<Aws::String, Aws::String>& value) { m_environmentHasBeenSet = true; m_environment = value; }
392 inline void SetEnvironment(Aws::Map<Aws::String, Aws::String>&& value) { m_environmentHasBeenSet = true; m_environment = std::move(value); }
395 inline CreateTrainingJobRequest& AddEnvironment(const Aws::String& key, const Aws::String& value) { m_environmentHasBeenSet = true; m_environment.emplace(key, value); return *this; }
396 inline CreateTrainingJobRequest& AddEnvironment(Aws::String&& key, const Aws::String& value) { m_environmentHasBeenSet = true; m_environment.emplace(std::move(key), value); return *this; }
397 inline CreateTrainingJobRequest& AddEnvironment(const Aws::String& key, Aws::String&& value) { m_environmentHasBeenSet = true; m_environment.emplace(key, std::move(value)); return *this; }
398 inline CreateTrainingJobRequest& AddEnvironment(Aws::String&& key, Aws::String&& value) { m_environmentHasBeenSet = true; m_environment.emplace(std::move(key), std::move(value)); return *this; }
399 inline CreateTrainingJobRequest& AddEnvironment(const char* key, Aws::String&& value) { m_environmentHasBeenSet = true; m_environment.emplace(key, std::move(value)); return *this; }
400 inline CreateTrainingJobRequest& AddEnvironment(Aws::String&& key, const char* value) { m_environmentHasBeenSet = true; m_environment.emplace(std::move(key), value); return *this; }
401 inline CreateTrainingJobRequest& AddEnvironment(const char* key, const char* value) { m_environmentHasBeenSet = true; m_environment.emplace(key, value); return *this; }
403
405
409 inline const RetryStrategy& GetRetryStrategy() const{ return m_retryStrategy; }
410 inline bool RetryStrategyHasBeenSet() const { return m_retryStrategyHasBeenSet; }
411 inline void SetRetryStrategy(const RetryStrategy& value) { m_retryStrategyHasBeenSet = true; m_retryStrategy = value; }
412 inline void SetRetryStrategy(RetryStrategy&& value) { m_retryStrategyHasBeenSet = true; m_retryStrategy = std::move(value); }
413 inline CreateTrainingJobRequest& WithRetryStrategy(const RetryStrategy& value) { SetRetryStrategy(value); return *this;}
414 inline CreateTrainingJobRequest& WithRetryStrategy(RetryStrategy&& value) { SetRetryStrategy(std::move(value)); return *this;}
416
418
425 inline const RemoteDebugConfig& GetRemoteDebugConfig() const{ return m_remoteDebugConfig; }
426 inline bool RemoteDebugConfigHasBeenSet() const { return m_remoteDebugConfigHasBeenSet; }
427 inline void SetRemoteDebugConfig(const RemoteDebugConfig& value) { m_remoteDebugConfigHasBeenSet = true; m_remoteDebugConfig = value; }
428 inline void SetRemoteDebugConfig(RemoteDebugConfig&& value) { m_remoteDebugConfigHasBeenSet = true; m_remoteDebugConfig = std::move(value); }
432
434
438 inline const InfraCheckConfig& GetInfraCheckConfig() const{ return m_infraCheckConfig; }
439 inline bool InfraCheckConfigHasBeenSet() const { return m_infraCheckConfigHasBeenSet; }
440 inline void SetInfraCheckConfig(const InfraCheckConfig& value) { m_infraCheckConfigHasBeenSet = true; m_infraCheckConfig = value; }
441 inline void SetInfraCheckConfig(InfraCheckConfig&& value) { m_infraCheckConfigHasBeenSet = true; m_infraCheckConfig = std::move(value); }
443 inline CreateTrainingJobRequest& WithInfraCheckConfig(InfraCheckConfig&& value) { SetInfraCheckConfig(std::move(value)); return *this;}
445
447
451 inline const SessionChainingConfig& GetSessionChainingConfig() const{ return m_sessionChainingConfig; }
452 inline bool SessionChainingConfigHasBeenSet() const { return m_sessionChainingConfigHasBeenSet; }
453 inline void SetSessionChainingConfig(const SessionChainingConfig& value) { m_sessionChainingConfigHasBeenSet = true; m_sessionChainingConfig = value; }
454 inline void SetSessionChainingConfig(SessionChainingConfig&& value) { m_sessionChainingConfigHasBeenSet = true; m_sessionChainingConfig = std::move(value); }
458 private:
459
460 Aws::String m_trainingJobName;
461 bool m_trainingJobNameHasBeenSet = false;
462
463 Aws::Map<Aws::String, Aws::String> m_hyperParameters;
464 bool m_hyperParametersHasBeenSet = false;
465
466 AlgorithmSpecification m_algorithmSpecification;
467 bool m_algorithmSpecificationHasBeenSet = false;
468
469 Aws::String m_roleArn;
470 bool m_roleArnHasBeenSet = false;
471
472 Aws::Vector<Channel> m_inputDataConfig;
473 bool m_inputDataConfigHasBeenSet = false;
474
475 OutputDataConfig m_outputDataConfig;
476 bool m_outputDataConfigHasBeenSet = false;
477
478 ResourceConfig m_resourceConfig;
479 bool m_resourceConfigHasBeenSet = false;
480
481 VpcConfig m_vpcConfig;
482 bool m_vpcConfigHasBeenSet = false;
483
484 StoppingCondition m_stoppingCondition;
485 bool m_stoppingConditionHasBeenSet = false;
486
487 Aws::Vector<Tag> m_tags;
488 bool m_tagsHasBeenSet = false;
489
490 bool m_enableNetworkIsolation;
491 bool m_enableNetworkIsolationHasBeenSet = false;
492
493 bool m_enableInterContainerTrafficEncryption;
494 bool m_enableInterContainerTrafficEncryptionHasBeenSet = false;
495
496 bool m_enableManagedSpotTraining;
497 bool m_enableManagedSpotTrainingHasBeenSet = false;
498
499 CheckpointConfig m_checkpointConfig;
500 bool m_checkpointConfigHasBeenSet = false;
501
502 DebugHookConfig m_debugHookConfig;
503 bool m_debugHookConfigHasBeenSet = false;
504
505 Aws::Vector<DebugRuleConfiguration> m_debugRuleConfigurations;
506 bool m_debugRuleConfigurationsHasBeenSet = false;
507
508 TensorBoardOutputConfig m_tensorBoardOutputConfig;
509 bool m_tensorBoardOutputConfigHasBeenSet = false;
510
511 ExperimentConfig m_experimentConfig;
512 bool m_experimentConfigHasBeenSet = false;
513
514 ProfilerConfig m_profilerConfig;
515 bool m_profilerConfigHasBeenSet = false;
516
517 Aws::Vector<ProfilerRuleConfiguration> m_profilerRuleConfigurations;
518 bool m_profilerRuleConfigurationsHasBeenSet = false;
519
521 bool m_environmentHasBeenSet = false;
522
523 RetryStrategy m_retryStrategy;
524 bool m_retryStrategyHasBeenSet = false;
525
526 RemoteDebugConfig m_remoteDebugConfig;
527 bool m_remoteDebugConfigHasBeenSet = false;
528
529 InfraCheckConfig m_infraCheckConfig;
530 bool m_infraCheckConfigHasBeenSet = false;
531
532 SessionChainingConfig m_sessionChainingConfig;
533 bool m_sessionChainingConfigHasBeenSet = false;
534 };
535
536} // namespace Model
537} // namespace SageMaker
538} // namespace Aws
virtual const char * GetServiceRequestName() const override
CreateTrainingJobRequest & WithRoleArn(Aws::String &&value)
CreateTrainingJobRequest & AddDebugRuleConfigurations(DebugRuleConfiguration &&value)
CreateTrainingJobRequest & AddProfilerRuleConfigurations(const ProfilerRuleConfiguration &value)
void SetInputDataConfig(const Aws::Vector< Channel > &value)
CreateTrainingJobRequest & AddHyperParameters(Aws::String &&key, const Aws::String &value)
CreateTrainingJobRequest & WithEnableInterContainerTrafficEncryption(bool value)
CreateTrainingJobRequest & WithTrainingJobName(const Aws::String &value)
CreateTrainingJobRequest & WithRoleArn(const char *value)
void SetHyperParameters(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Vector< DebugRuleConfiguration > & GetDebugRuleConfigurations() const
CreateTrainingJobRequest & WithCheckpointConfig(const CheckpointConfig &value)
void SetSessionChainingConfig(const SessionChainingConfig &value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateTrainingJobRequest & WithStoppingCondition(StoppingCondition &&value)
void SetRemoteDebugConfig(const RemoteDebugConfig &value)
const SessionChainingConfig & GetSessionChainingConfig() const
CreateTrainingJobRequest & WithEnableNetworkIsolation(bool value)
const Aws::Map< Aws::String, Aws::String > & GetHyperParameters() const
void SetProfilerRuleConfigurations(Aws::Vector< ProfilerRuleConfiguration > &&value)
CreateTrainingJobRequest & WithOutputDataConfig(OutputDataConfig &&value)
void SetEnvironment(const Aws::Map< Aws::String, Aws::String > &value)
CreateTrainingJobRequest & AddTags(Tag &&value)
CreateTrainingJobRequest & WithHyperParameters(const Aws::Map< Aws::String, Aws::String > &value)
CreateTrainingJobRequest & WithRemoteDebugConfig(RemoteDebugConfig &&value)
CreateTrainingJobRequest & AddHyperParameters(Aws::String &&key, const char *value)
CreateTrainingJobRequest & WithCheckpointConfig(CheckpointConfig &&value)
const Aws::Vector< Channel > & GetInputDataConfig() const
CreateTrainingJobRequest & AddEnvironment(Aws::String &&key, const Aws::String &value)
CreateTrainingJobRequest & WithVpcConfig(const VpcConfig &value)
CreateTrainingJobRequest & WithProfilerConfig(ProfilerConfig &&value)
CreateTrainingJobRequest & AddHyperParameters(const Aws::String &key, Aws::String &&value)
CreateTrainingJobRequest & WithInputDataConfig(const Aws::Vector< Channel > &value)
CreateTrainingJobRequest & WithAlgorithmSpecification(const AlgorithmSpecification &value)
CreateTrainingJobRequest & AddEnvironment(Aws::String &&key, Aws::String &&value)
CreateTrainingJobRequest & AddEnvironment(const Aws::String &key, const Aws::String &value)
CreateTrainingJobRequest & WithRoleArn(const Aws::String &value)
CreateTrainingJobRequest & AddHyperParameters(const char *key, Aws::String &&value)
CreateTrainingJobRequest & WithDebugRuleConfigurations(const Aws::Vector< DebugRuleConfiguration > &value)
CreateTrainingJobRequest & AddHyperParameters(Aws::String &&key, Aws::String &&value)
CreateTrainingJobRequest & WithResourceConfig(ResourceConfig &&value)
CreateTrainingJobRequest & WithEnableManagedSpotTraining(bool value)
CreateTrainingJobRequest & WithTensorBoardOutputConfig(TensorBoardOutputConfig &&value)
const AlgorithmSpecification & GetAlgorithmSpecification() const
const TensorBoardOutputConfig & GetTensorBoardOutputConfig() const
CreateTrainingJobRequest & WithAlgorithmSpecification(AlgorithmSpecification &&value)
CreateTrainingJobRequest & WithRemoteDebugConfig(const RemoteDebugConfig &value)
CreateTrainingJobRequest & AddDebugRuleConfigurations(const DebugRuleConfiguration &value)
CreateTrainingJobRequest & AddEnvironment(const char *key, Aws::String &&value)
CreateTrainingJobRequest & WithInfraCheckConfig(const InfraCheckConfig &value)
void SetCheckpointConfig(const CheckpointConfig &value)
CreateTrainingJobRequest & WithTags(Aws::Vector< Tag > &&value)
CreateTrainingJobRequest & WithTags(const Aws::Vector< Tag > &value)
void SetAlgorithmSpecification(AlgorithmSpecification &&value)
const Aws::Map< Aws::String, Aws::String > & GetEnvironment() const
void SetTensorBoardOutputConfig(const TensorBoardOutputConfig &value)
void SetStoppingCondition(const StoppingCondition &value)
CreateTrainingJobRequest & WithStoppingCondition(const StoppingCondition &value)
void SetExperimentConfig(const ExperimentConfig &value)
CreateTrainingJobRequest & WithRetryStrategy(const RetryStrategy &value)
CreateTrainingJobRequest & WithProfilerRuleConfigurations(const Aws::Vector< ProfilerRuleConfiguration > &value)
CreateTrainingJobRequest & WithDebugHookConfig(DebugHookConfig &&value)
CreateTrainingJobRequest & WithInfraCheckConfig(InfraCheckConfig &&value)
void SetOutputDataConfig(const OutputDataConfig &value)
CreateTrainingJobRequest & WithExperimentConfig(const ExperimentConfig &value)
CreateTrainingJobRequest & WithVpcConfig(VpcConfig &&value)
CreateTrainingJobRequest & WithDebugHookConfig(const DebugHookConfig &value)
CreateTrainingJobRequest & AddHyperParameters(const Aws::String &key, const Aws::String &value)
void SetSessionChainingConfig(SessionChainingConfig &&value)
void SetEnvironment(Aws::Map< Aws::String, Aws::String > &&value)
void SetInfraCheckConfig(const InfraCheckConfig &value)
CreateTrainingJobRequest & WithRetryStrategy(RetryStrategy &&value)
void SetDebugRuleConfigurations(Aws::Vector< DebugRuleConfiguration > &&value)
void SetAlgorithmSpecification(const AlgorithmSpecification &value)
CreateTrainingJobRequest & WithTrainingJobName(Aws::String &&value)
CreateTrainingJobRequest & AddEnvironment(Aws::String &&key, const char *value)
CreateTrainingJobRequest & WithResourceConfig(const ResourceConfig &value)
void SetDebugRuleConfigurations(const Aws::Vector< DebugRuleConfiguration > &value)
const Aws::Vector< ProfilerRuleConfiguration > & GetProfilerRuleConfigurations() const
CreateTrainingJobRequest & AddHyperParameters(const char *key, const char *value)
CreateTrainingJobRequest & WithSessionChainingConfig(SessionChainingConfig &&value)
CreateTrainingJobRequest & AddProfilerRuleConfigurations(ProfilerRuleConfiguration &&value)
CreateTrainingJobRequest & AddInputDataConfig(const Channel &value)
CreateTrainingJobRequest & WithInputDataConfig(Aws::Vector< Channel > &&value)
CreateTrainingJobRequest & WithProfilerConfig(const ProfilerConfig &value)
CreateTrainingJobRequest & WithHyperParameters(Aws::Map< Aws::String, Aws::String > &&value)
CreateTrainingJobRequest & WithExperimentConfig(ExperimentConfig &&value)
CreateTrainingJobRequest & WithEnvironment(Aws::Map< Aws::String, Aws::String > &&value)
void SetTensorBoardOutputConfig(TensorBoardOutputConfig &&value)
CreateTrainingJobRequest & WithProfilerRuleConfigurations(Aws::Vector< ProfilerRuleConfiguration > &&value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
CreateTrainingJobRequest & WithEnvironment(const Aws::Map< Aws::String, Aws::String > &value)
CreateTrainingJobRequest & AddEnvironment(const Aws::String &key, Aws::String &&value)
CreateTrainingJobRequest & WithOutputDataConfig(const OutputDataConfig &value)
CreateTrainingJobRequest & WithDebugRuleConfigurations(Aws::Vector< DebugRuleConfiguration > &&value)
CreateTrainingJobRequest & WithTrainingJobName(const char *value)
void SetProfilerRuleConfigurations(const Aws::Vector< ProfilerRuleConfiguration > &value)
void SetHyperParameters(Aws::Map< Aws::String, Aws::String > &&value)
void SetInputDataConfig(Aws::Vector< Channel > &&value)
CreateTrainingJobRequest & AddEnvironment(const char *key, const char *value)
CreateTrainingJobRequest & AddTags(const Tag &value)
CreateTrainingJobRequest & WithSessionChainingConfig(const SessionChainingConfig &value)
CreateTrainingJobRequest & WithTensorBoardOutputConfig(const TensorBoardOutputConfig &value)
CreateTrainingJobRequest & AddInputDataConfig(Channel &&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