AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RSessionAppSettings.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/ResourceSpec.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/sagemaker/model/CustomImage.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 RSessionAppSettings();
38 AWS_SAGEMAKER_API RSessionAppSettings(Aws::Utils::Json::JsonView jsonValue);
40 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
45 inline const ResourceSpec& GetDefaultResourceSpec() const{ return m_defaultResourceSpec; }
46 inline bool DefaultResourceSpecHasBeenSet() const { return m_defaultResourceSpecHasBeenSet; }
47 inline void SetDefaultResourceSpec(const ResourceSpec& value) { m_defaultResourceSpecHasBeenSet = true; m_defaultResourceSpec = value; }
48 inline void SetDefaultResourceSpec(ResourceSpec&& value) { m_defaultResourceSpecHasBeenSet = true; m_defaultResourceSpec = std::move(value); }
50 inline RSessionAppSettings& WithDefaultResourceSpec(ResourceSpec&& value) { SetDefaultResourceSpec(std::move(value)); return *this;}
52
54
58 inline const Aws::Vector<CustomImage>& GetCustomImages() const{ return m_customImages; }
59 inline bool CustomImagesHasBeenSet() const { return m_customImagesHasBeenSet; }
60 inline void SetCustomImages(const Aws::Vector<CustomImage>& value) { m_customImagesHasBeenSet = true; m_customImages = value; }
61 inline void SetCustomImages(Aws::Vector<CustomImage>&& value) { m_customImagesHasBeenSet = true; m_customImages = std::move(value); }
63 inline RSessionAppSettings& WithCustomImages(Aws::Vector<CustomImage>&& value) { SetCustomImages(std::move(value)); return *this;}
64 inline RSessionAppSettings& AddCustomImages(const CustomImage& value) { m_customImagesHasBeenSet = true; m_customImages.push_back(value); return *this; }
65 inline RSessionAppSettings& AddCustomImages(CustomImage&& value) { m_customImagesHasBeenSet = true; m_customImages.push_back(std::move(value)); return *this; }
67 private:
68
69 ResourceSpec m_defaultResourceSpec;
70 bool m_defaultResourceSpecHasBeenSet = false;
71
72 Aws::Vector<CustomImage> m_customImages;
73 bool m_customImagesHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace SageMaker
78} // namespace Aws
RSessionAppSettings & AddCustomImages(const CustomImage &value)
RSessionAppSettings & WithCustomImages(const Aws::Vector< CustomImage > &value)
AWS_SAGEMAKER_API RSessionAppSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
const ResourceSpec & GetDefaultResourceSpec() const
RSessionAppSettings & WithDefaultResourceSpec(ResourceSpec &&value)
RSessionAppSettings & WithCustomImages(Aws::Vector< CustomImage > &&value)
const Aws::Vector< CustomImage > & GetCustomImages() const
RSessionAppSettings & AddCustomImages(CustomImage &&value)
RSessionAppSettings & WithDefaultResourceSpec(const ResourceSpec &value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCustomImages(Aws::Vector< CustomImage > &&value)
void SetCustomImages(const Aws::Vector< CustomImage > &value)
void SetDefaultResourceSpec(const ResourceSpec &value)
AWS_SAGEMAKER_API RSessionAppSettings(Aws::Utils::Json::JsonView jsonValue)
void SetDefaultResourceSpec(ResourceSpec &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue