AWS SDK for C++  1.9.153
AWS SDK for C++
KernelGatewayImageConfig.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace SageMaker
24 {
25 namespace Model
26 {
27 
35  {
36  public:
41 
42 
46  inline const Aws::Vector<KernelSpec>& GetKernelSpecs() const{ return m_kernelSpecs; }
47 
51  inline bool KernelSpecsHasBeenSet() const { return m_kernelSpecsHasBeenSet; }
52 
56  inline void SetKernelSpecs(const Aws::Vector<KernelSpec>& value) { m_kernelSpecsHasBeenSet = true; m_kernelSpecs = value; }
57 
61  inline void SetKernelSpecs(Aws::Vector<KernelSpec>&& value) { m_kernelSpecsHasBeenSet = true; m_kernelSpecs = std::move(value); }
62 
66  inline KernelGatewayImageConfig& WithKernelSpecs(const Aws::Vector<KernelSpec>& value) { SetKernelSpecs(value); return *this;}
67 
71  inline KernelGatewayImageConfig& WithKernelSpecs(Aws::Vector<KernelSpec>&& value) { SetKernelSpecs(std::move(value)); return *this;}
72 
76  inline KernelGatewayImageConfig& AddKernelSpecs(const KernelSpec& value) { m_kernelSpecsHasBeenSet = true; m_kernelSpecs.push_back(value); return *this; }
77 
81  inline KernelGatewayImageConfig& AddKernelSpecs(KernelSpec&& value) { m_kernelSpecsHasBeenSet = true; m_kernelSpecs.push_back(std::move(value)); return *this; }
82 
83 
88  inline const FileSystemConfig& GetFileSystemConfig() const{ return m_fileSystemConfig; }
89 
94  inline bool FileSystemConfigHasBeenSet() const { return m_fileSystemConfigHasBeenSet; }
95 
100  inline void SetFileSystemConfig(const FileSystemConfig& value) { m_fileSystemConfigHasBeenSet = true; m_fileSystemConfig = value; }
101 
106  inline void SetFileSystemConfig(FileSystemConfig&& value) { m_fileSystemConfigHasBeenSet = true; m_fileSystemConfig = std::move(value); }
107 
112  inline KernelGatewayImageConfig& WithFileSystemConfig(const FileSystemConfig& value) { SetFileSystemConfig(value); return *this;}
113 
118  inline KernelGatewayImageConfig& WithFileSystemConfig(FileSystemConfig&& value) { SetFileSystemConfig(std::move(value)); return *this;}
119 
120  private:
121 
122  Aws::Vector<KernelSpec> m_kernelSpecs;
123  bool m_kernelSpecsHasBeenSet;
124 
125  FileSystemConfig m_fileSystemConfig;
126  bool m_fileSystemConfigHasBeenSet;
127  };
128 
129 } // namespace Model
130 } // namespace SageMaker
131 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::KernelGatewayImageConfig::operator=
KernelGatewayImageConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::KernelGatewayImageConfig::KernelGatewayImageConfig
KernelGatewayImageConfig()
SageMaker_EXPORTS.h
Aws::SageMaker::Model::KernelGatewayImageConfig::WithKernelSpecs
KernelGatewayImageConfig & WithKernelSpecs(Aws::Vector< KernelSpec > &&value)
Definition: KernelGatewayImageConfig.h:71
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SageMaker::Model::KernelGatewayImageConfig::WithFileSystemConfig
KernelGatewayImageConfig & WithFileSystemConfig(FileSystemConfig &&value)
Definition: KernelGatewayImageConfig.h:118
AWSVector.h
Aws::SageMaker::Model::KernelGatewayImageConfig::FileSystemConfigHasBeenSet
bool FileSystemConfigHasBeenSet() const
Definition: KernelGatewayImageConfig.h:94
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::KernelGatewayImageConfig::KernelSpecsHasBeenSet
bool KernelSpecsHasBeenSet() const
Definition: KernelGatewayImageConfig.h:51
Aws::SageMaker::Model::KernelGatewayImageConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::KernelGatewayImageConfig::SetKernelSpecs
void SetKernelSpecs(const Aws::Vector< KernelSpec > &value)
Definition: KernelGatewayImageConfig.h:56
Aws::SageMaker::Model::FileSystemConfig
Definition: FileSystemConfig.h:33
Aws::SageMaker::Model::KernelGatewayImageConfig::AddKernelSpecs
KernelGatewayImageConfig & AddKernelSpecs(const KernelSpec &value)
Definition: KernelGatewayImageConfig.h:76
Aws::SageMaker::Model::KernelGatewayImageConfig::SetKernelSpecs
void SetKernelSpecs(Aws::Vector< KernelSpec > &&value)
Definition: KernelGatewayImageConfig.h:61
Aws::SageMaker::Model::KernelGatewayImageConfig::SetFileSystemConfig
void SetFileSystemConfig(const FileSystemConfig &value)
Definition: KernelGatewayImageConfig.h:100
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::SageMaker::Model::KernelGatewayImageConfig::WithFileSystemConfig
KernelGatewayImageConfig & WithFileSystemConfig(const FileSystemConfig &value)
Definition: KernelGatewayImageConfig.h:112
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
FileSystemConfig.h
KernelSpec.h
Aws::SageMaker::Model::KernelGatewayImageConfig::GetKernelSpecs
const Aws::Vector< KernelSpec > & GetKernelSpecs() const
Definition: KernelGatewayImageConfig.h:46
Aws::SageMaker::Model::KernelGatewayImageConfig::GetFileSystemConfig
const FileSystemConfig & GetFileSystemConfig() const
Definition: KernelGatewayImageConfig.h:88
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::KernelGatewayImageConfig::WithKernelSpecs
KernelGatewayImageConfig & WithKernelSpecs(const Aws::Vector< KernelSpec > &value)
Definition: KernelGatewayImageConfig.h:66
Aws::SageMaker::Model::KernelSpec
Definition: KernelSpec.h:32
Aws::SageMaker::Model::KernelGatewayImageConfig::AddKernelSpecs
KernelGatewayImageConfig & AddKernelSpecs(KernelSpec &&value)
Definition: KernelGatewayImageConfig.h:81
Aws::SageMaker::Model::KernelGatewayImageConfig::KernelGatewayImageConfig
KernelGatewayImageConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::KernelGatewayImageConfig::SetFileSystemConfig
void SetFileSystemConfig(FileSystemConfig &&value)
Definition: KernelGatewayImageConfig.h:106
Aws::SageMaker::Model::KernelGatewayImageConfig
Definition: KernelGatewayImageConfig.h:35