AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ImageConfig.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/RepositoryAccessMode.h>
9#include <aws/sagemaker/model/RepositoryAuthConfig.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
35 {
36 public:
37 AWS_SAGEMAKER_API ImageConfig();
38 AWS_SAGEMAKER_API ImageConfig(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SAGEMAKER_API ImageConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
50 inline const RepositoryAccessMode& GetRepositoryAccessMode() const{ return m_repositoryAccessMode; }
51 inline bool RepositoryAccessModeHasBeenSet() const { return m_repositoryAccessModeHasBeenSet; }
52 inline void SetRepositoryAccessMode(const RepositoryAccessMode& value) { m_repositoryAccessModeHasBeenSet = true; m_repositoryAccessMode = value; }
53 inline void SetRepositoryAccessMode(RepositoryAccessMode&& value) { m_repositoryAccessModeHasBeenSet = true; m_repositoryAccessMode = std::move(value); }
55 inline ImageConfig& WithRepositoryAccessMode(RepositoryAccessMode&& value) { SetRepositoryAccessMode(std::move(value)); return *this;}
57
59
66 inline const RepositoryAuthConfig& GetRepositoryAuthConfig() const{ return m_repositoryAuthConfig; }
67 inline bool RepositoryAuthConfigHasBeenSet() const { return m_repositoryAuthConfigHasBeenSet; }
68 inline void SetRepositoryAuthConfig(const RepositoryAuthConfig& value) { m_repositoryAuthConfigHasBeenSet = true; m_repositoryAuthConfig = value; }
69 inline void SetRepositoryAuthConfig(RepositoryAuthConfig&& value) { m_repositoryAuthConfigHasBeenSet = true; m_repositoryAuthConfig = std::move(value); }
71 inline ImageConfig& WithRepositoryAuthConfig(RepositoryAuthConfig&& value) { SetRepositoryAuthConfig(std::move(value)); return *this;}
73 private:
74
75 RepositoryAccessMode m_repositoryAccessMode;
76 bool m_repositoryAccessModeHasBeenSet = false;
77
78 RepositoryAuthConfig m_repositoryAuthConfig;
79 bool m_repositoryAuthConfigHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace SageMaker
84} // namespace Aws
void SetRepositoryAuthConfig(RepositoryAuthConfig &&value)
Definition ImageConfig.h:69
const RepositoryAccessMode & GetRepositoryAccessMode() const
Definition ImageConfig.h:50
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
const RepositoryAuthConfig & GetRepositoryAuthConfig() const
Definition ImageConfig.h:66
ImageConfig & WithRepositoryAuthConfig(RepositoryAuthConfig &&value)
Definition ImageConfig.h:71
ImageConfig & WithRepositoryAccessMode(const RepositoryAccessMode &value)
Definition ImageConfig.h:54
void SetRepositoryAuthConfig(const RepositoryAuthConfig &value)
Definition ImageConfig.h:68
void SetRepositoryAccessMode(const RepositoryAccessMode &value)
Definition ImageConfig.h:52
void SetRepositoryAccessMode(RepositoryAccessMode &&value)
Definition ImageConfig.h:53
AWS_SAGEMAKER_API ImageConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
ImageConfig & WithRepositoryAuthConfig(const RepositoryAuthConfig &value)
Definition ImageConfig.h:70
AWS_SAGEMAKER_API ImageConfig(Aws::Utils::Json::JsonView jsonValue)
ImageConfig & WithRepositoryAccessMode(RepositoryAccessMode &&value)
Definition ImageConfig.h:55
Aws::Utils::Json::JsonValue JsonValue