AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CustomImage.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SageMaker
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_SAGEMAKER_API CustomImage();
37 AWS_SAGEMAKER_API CustomImage(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SAGEMAKER_API CustomImage& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetImageName() const{ return m_imageName; }
47 inline bool ImageNameHasBeenSet() const { return m_imageNameHasBeenSet; }
48 inline void SetImageName(const Aws::String& value) { m_imageNameHasBeenSet = true; m_imageName = value; }
49 inline void SetImageName(Aws::String&& value) { m_imageNameHasBeenSet = true; m_imageName = std::move(value); }
50 inline void SetImageName(const char* value) { m_imageNameHasBeenSet = true; m_imageName.assign(value); }
51 inline CustomImage& WithImageName(const Aws::String& value) { SetImageName(value); return *this;}
52 inline CustomImage& WithImageName(Aws::String&& value) { SetImageName(std::move(value)); return *this;}
53 inline CustomImage& WithImageName(const char* value) { SetImageName(value); return *this;}
55
57
60 inline int GetImageVersionNumber() const{ return m_imageVersionNumber; }
61 inline bool ImageVersionNumberHasBeenSet() const { return m_imageVersionNumberHasBeenSet; }
62 inline void SetImageVersionNumber(int value) { m_imageVersionNumberHasBeenSet = true; m_imageVersionNumber = value; }
63 inline CustomImage& WithImageVersionNumber(int value) { SetImageVersionNumber(value); return *this;}
65
67
70 inline const Aws::String& GetAppImageConfigName() const{ return m_appImageConfigName; }
71 inline bool AppImageConfigNameHasBeenSet() const { return m_appImageConfigNameHasBeenSet; }
72 inline void SetAppImageConfigName(const Aws::String& value) { m_appImageConfigNameHasBeenSet = true; m_appImageConfigName = value; }
73 inline void SetAppImageConfigName(Aws::String&& value) { m_appImageConfigNameHasBeenSet = true; m_appImageConfigName = std::move(value); }
74 inline void SetAppImageConfigName(const char* value) { m_appImageConfigNameHasBeenSet = true; m_appImageConfigName.assign(value); }
75 inline CustomImage& WithAppImageConfigName(const Aws::String& value) { SetAppImageConfigName(value); return *this;}
76 inline CustomImage& WithAppImageConfigName(Aws::String&& value) { SetAppImageConfigName(std::move(value)); return *this;}
77 inline CustomImage& WithAppImageConfigName(const char* value) { SetAppImageConfigName(value); return *this;}
79 private:
80
81 Aws::String m_imageName;
82 bool m_imageNameHasBeenSet = false;
83
84 int m_imageVersionNumber;
85 bool m_imageVersionNumberHasBeenSet = false;
86
87 Aws::String m_appImageConfigName;
88 bool m_appImageConfigNameHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace SageMaker
93} // namespace Aws
void SetAppImageConfigName(const char *value)
Definition CustomImage.h:74
CustomImage & WithImageName(Aws::String &&value)
Definition CustomImage.h:52
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
CustomImage & WithImageName(const Aws::String &value)
Definition CustomImage.h:51
CustomImage & WithAppImageConfigName(Aws::String &&value)
Definition CustomImage.h:76
CustomImage & WithAppImageConfigName(const Aws::String &value)
Definition CustomImage.h:75
void SetAppImageConfigName(const Aws::String &value)
Definition CustomImage.h:72
CustomImage & WithAppImageConfigName(const char *value)
Definition CustomImage.h:77
AWS_SAGEMAKER_API CustomImage & operator=(Aws::Utils::Json::JsonView jsonValue)
CustomImage & WithImageVersionNumber(int value)
Definition CustomImage.h:63
const Aws::String & GetImageName() const
Definition CustomImage.h:46
const Aws::String & GetAppImageConfigName() const
Definition CustomImage.h:70
void SetImageName(Aws::String &&value)
Definition CustomImage.h:49
void SetImageName(const Aws::String &value)
Definition CustomImage.h:48
AWS_SAGEMAKER_API CustomImage(Aws::Utils::Json::JsonView jsonValue)
void SetImageName(const char *value)
Definition CustomImage.h:50
void SetAppImageConfigName(Aws::String &&value)
Definition CustomImage.h:73
CustomImage & WithImageName(const char *value)
Definition CustomImage.h:53
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue