AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TrainingImageConfig.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/TrainingRepositoryAccessMode.h>
9#include <aws/sagemaker/model/TrainingRepositoryAuthConfig.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SageMaker
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SAGEMAKER_API TrainingImageConfig();
37 AWS_SAGEMAKER_API TrainingImageConfig(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
48 inline const TrainingRepositoryAccessMode& GetTrainingRepositoryAccessMode() const{ return m_trainingRepositoryAccessMode; }
49 inline bool TrainingRepositoryAccessModeHasBeenSet() const { return m_trainingRepositoryAccessModeHasBeenSet; }
50 inline void SetTrainingRepositoryAccessMode(const TrainingRepositoryAccessMode& value) { m_trainingRepositoryAccessModeHasBeenSet = true; m_trainingRepositoryAccessMode = value; }
51 inline void SetTrainingRepositoryAccessMode(TrainingRepositoryAccessMode&& value) { m_trainingRepositoryAccessModeHasBeenSet = true; m_trainingRepositoryAccessMode = std::move(value); }
55
57
61 inline const TrainingRepositoryAuthConfig& GetTrainingRepositoryAuthConfig() const{ return m_trainingRepositoryAuthConfig; }
62 inline bool TrainingRepositoryAuthConfigHasBeenSet() const { return m_trainingRepositoryAuthConfigHasBeenSet; }
63 inline void SetTrainingRepositoryAuthConfig(const TrainingRepositoryAuthConfig& value) { m_trainingRepositoryAuthConfigHasBeenSet = true; m_trainingRepositoryAuthConfig = value; }
64 inline void SetTrainingRepositoryAuthConfig(TrainingRepositoryAuthConfig&& value) { m_trainingRepositoryAuthConfigHasBeenSet = true; m_trainingRepositoryAuthConfig = std::move(value); }
68 private:
69
70 TrainingRepositoryAccessMode m_trainingRepositoryAccessMode;
71 bool m_trainingRepositoryAccessModeHasBeenSet = false;
72
73 TrainingRepositoryAuthConfig m_trainingRepositoryAuthConfig;
74 bool m_trainingRepositoryAuthConfigHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace SageMaker
79} // namespace Aws
TrainingImageConfig & WithTrainingRepositoryAuthConfig(const TrainingRepositoryAuthConfig &value)
void SetTrainingRepositoryAccessMode(const TrainingRepositoryAccessMode &value)
TrainingImageConfig & WithTrainingRepositoryAccessMode(TrainingRepositoryAccessMode &&value)
const TrainingRepositoryAuthConfig & GetTrainingRepositoryAuthConfig() const
void SetTrainingRepositoryAuthConfig(const TrainingRepositoryAuthConfig &value)
AWS_SAGEMAKER_API TrainingImageConfig(Aws::Utils::Json::JsonView jsonValue)
void SetTrainingRepositoryAuthConfig(TrainingRepositoryAuthConfig &&value)
const TrainingRepositoryAccessMode & GetTrainingRepositoryAccessMode() const
TrainingImageConfig & WithTrainingRepositoryAccessMode(const TrainingRepositoryAccessMode &value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTrainingRepositoryAccessMode(TrainingRepositoryAccessMode &&value)
AWS_SAGEMAKER_API TrainingImageConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
TrainingImageConfig & WithTrainingRepositoryAuthConfig(TrainingRepositoryAuthConfig &&value)
Aws::Utils::Json::JsonValue JsonValue