AWS SDK for C++  1.9.159
AWS SDK for C++
ImageConfig.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace SageMaker
23 {
24 namespace Model
25 {
26 
35  {
36  public:
41 
42 
49  inline const RepositoryAccessMode& GetRepositoryAccessMode() const{ return m_repositoryAccessMode; }
50 
57  inline bool RepositoryAccessModeHasBeenSet() const { return m_repositoryAccessModeHasBeenSet; }
58 
65  inline void SetRepositoryAccessMode(const RepositoryAccessMode& value) { m_repositoryAccessModeHasBeenSet = true; m_repositoryAccessMode = value; }
66 
73  inline void SetRepositoryAccessMode(RepositoryAccessMode&& value) { m_repositoryAccessModeHasBeenSet = true; m_repositoryAccessMode = std::move(value); }
74 
81  inline ImageConfig& WithRepositoryAccessMode(const RepositoryAccessMode& value) { SetRepositoryAccessMode(value); return *this;}
82 
89  inline ImageConfig& WithRepositoryAccessMode(RepositoryAccessMode&& value) { SetRepositoryAccessMode(std::move(value)); return *this;}
90 
91 
99  inline const RepositoryAuthConfig& GetRepositoryAuthConfig() const{ return m_repositoryAuthConfig; }
100 
108  inline bool RepositoryAuthConfigHasBeenSet() const { return m_repositoryAuthConfigHasBeenSet; }
109 
117  inline void SetRepositoryAuthConfig(const RepositoryAuthConfig& value) { m_repositoryAuthConfigHasBeenSet = true; m_repositoryAuthConfig = value; }
118 
126  inline void SetRepositoryAuthConfig(RepositoryAuthConfig&& value) { m_repositoryAuthConfigHasBeenSet = true; m_repositoryAuthConfig = std::move(value); }
127 
135  inline ImageConfig& WithRepositoryAuthConfig(const RepositoryAuthConfig& value) { SetRepositoryAuthConfig(value); return *this;}
136 
144  inline ImageConfig& WithRepositoryAuthConfig(RepositoryAuthConfig&& value) { SetRepositoryAuthConfig(std::move(value)); return *this;}
145 
146  private:
147 
148  RepositoryAccessMode m_repositoryAccessMode;
149  bool m_repositoryAccessModeHasBeenSet;
150 
151  RepositoryAuthConfig m_repositoryAuthConfig;
152  bool m_repositoryAuthConfigHasBeenSet;
153  };
154 
155 } // namespace Model
156 } // namespace SageMaker
157 } // namespace Aws
Aws::SageMaker::Model::ImageConfig::RepositoryAccessModeHasBeenSet
bool RepositoryAccessModeHasBeenSet() const
Definition: ImageConfig.h:57
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
SageMaker_EXPORTS.h
Aws::SageMaker::Model::ImageConfig::SetRepositoryAuthConfig
void SetRepositoryAuthConfig(const RepositoryAuthConfig &value)
Definition: ImageConfig.h:117
Aws::SageMaker::Model::ImageConfig::WithRepositoryAuthConfig
ImageConfig & WithRepositoryAuthConfig(RepositoryAuthConfig &&value)
Definition: ImageConfig.h:144
Aws::SageMaker::Model::ImageConfig::RepositoryAuthConfigHasBeenSet
bool RepositoryAuthConfigHasBeenSet() const
Definition: ImageConfig.h:108
Aws::SageMaker::Model::ImageConfig::WithRepositoryAccessMode
ImageConfig & WithRepositoryAccessMode(RepositoryAccessMode &&value)
Definition: ImageConfig.h:89
Aws::SageMaker::Model::ImageConfig::ImageConfig
ImageConfig()
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::ImageConfig::SetRepositoryAccessMode
void SetRepositoryAccessMode(const RepositoryAccessMode &value)
Definition: ImageConfig.h:65
Aws::SageMaker::Model::ImageConfig::WithRepositoryAuthConfig
ImageConfig & WithRepositoryAuthConfig(const RepositoryAuthConfig &value)
Definition: ImageConfig.h:135
RepositoryAuthConfig.h
Aws::SageMaker::Model::ImageConfig::operator=
ImageConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::RepositoryAuthConfig
Definition: RepositoryAuthConfig.h:38
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::ImageConfig
Definition: ImageConfig.h:35
Aws::SageMaker::Model::RepositoryAccessMode
RepositoryAccessMode
Definition: RepositoryAccessMode.h:17
Aws::SageMaker::Model::ImageConfig::GetRepositoryAuthConfig
const RepositoryAuthConfig & GetRepositoryAuthConfig() const
Definition: ImageConfig.h:99
Aws::SageMaker::Model::ImageConfig::SetRepositoryAccessMode
void SetRepositoryAccessMode(RepositoryAccessMode &&value)
Definition: ImageConfig.h:73
RepositoryAccessMode.h
Aws::SageMaker::Model::ImageConfig::SetRepositoryAuthConfig
void SetRepositoryAuthConfig(RepositoryAuthConfig &&value)
Definition: ImageConfig.h:126
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::ImageConfig::GetRepositoryAccessMode
const RepositoryAccessMode & GetRepositoryAccessMode() const
Definition: ImageConfig.h:49
Aws::SageMaker::Model::ImageConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::ImageConfig::ImageConfig
ImageConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::ImageConfig::WithRepositoryAccessMode
ImageConfig & WithRepositoryAccessMode(const RepositoryAccessMode &value)
Definition: ImageConfig.h:81