AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
KernelGatewayImageConfig.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/sagemaker/model/FileSystemConfig.h>
10#include <aws/sagemaker/model/KernelSpec.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SageMaker
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_SAGEMAKER_API KernelGatewayImageConfig();
40 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::Vector<KernelSpec>& GetKernelSpecs() const{ return m_kernelSpecs; }
48 inline bool KernelSpecsHasBeenSet() const { return m_kernelSpecsHasBeenSet; }
49 inline void SetKernelSpecs(const Aws::Vector<KernelSpec>& value) { m_kernelSpecsHasBeenSet = true; m_kernelSpecs = value; }
50 inline void SetKernelSpecs(Aws::Vector<KernelSpec>&& value) { m_kernelSpecsHasBeenSet = true; m_kernelSpecs = std::move(value); }
52 inline KernelGatewayImageConfig& WithKernelSpecs(Aws::Vector<KernelSpec>&& value) { SetKernelSpecs(std::move(value)); return *this;}
53 inline KernelGatewayImageConfig& AddKernelSpecs(const KernelSpec& value) { m_kernelSpecsHasBeenSet = true; m_kernelSpecs.push_back(value); return *this; }
54 inline KernelGatewayImageConfig& AddKernelSpecs(KernelSpec&& value) { m_kernelSpecsHasBeenSet = true; m_kernelSpecs.push_back(std::move(value)); return *this; }
56
58
62 inline const FileSystemConfig& GetFileSystemConfig() const{ return m_fileSystemConfig; }
63 inline bool FileSystemConfigHasBeenSet() const { return m_fileSystemConfigHasBeenSet; }
64 inline void SetFileSystemConfig(const FileSystemConfig& value) { m_fileSystemConfigHasBeenSet = true; m_fileSystemConfig = value; }
65 inline void SetFileSystemConfig(FileSystemConfig&& value) { m_fileSystemConfigHasBeenSet = true; m_fileSystemConfig = std::move(value); }
67 inline KernelGatewayImageConfig& WithFileSystemConfig(FileSystemConfig&& value) { SetFileSystemConfig(std::move(value)); return *this;}
69 private:
70
71 Aws::Vector<KernelSpec> m_kernelSpecs;
72 bool m_kernelSpecsHasBeenSet = false;
73
74 FileSystemConfig m_fileSystemConfig;
75 bool m_fileSystemConfigHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace SageMaker
80} // namespace Aws
void SetKernelSpecs(Aws::Vector< KernelSpec > &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
KernelGatewayImageConfig & WithKernelSpecs(Aws::Vector< KernelSpec > &&value)
KernelGatewayImageConfig & AddKernelSpecs(KernelSpec &&value)
KernelGatewayImageConfig & WithKernelSpecs(const Aws::Vector< KernelSpec > &value)
KernelGatewayImageConfig & AddKernelSpecs(const KernelSpec &value)
const Aws::Vector< KernelSpec > & GetKernelSpecs() const
AWS_SAGEMAKER_API KernelGatewayImageConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API KernelGatewayImageConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetKernelSpecs(const Aws::Vector< KernelSpec > &value)
void SetFileSystemConfig(const FileSystemConfig &value)
KernelGatewayImageConfig & WithFileSystemConfig(const FileSystemConfig &value)
KernelGatewayImageConfig & WithFileSystemConfig(FileSystemConfig &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue