AWS SDK for C++  1.9.158
AWS SDK for C++
CustomImage.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace SageMaker
22 {
23 namespace Model
24 {
25 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetImageName() const{ return m_imageName; }
46 
50  inline bool ImageNameHasBeenSet() const { return m_imageNameHasBeenSet; }
51 
55  inline void SetImageName(const Aws::String& value) { m_imageNameHasBeenSet = true; m_imageName = value; }
56 
60  inline void SetImageName(Aws::String&& value) { m_imageNameHasBeenSet = true; m_imageName = std::move(value); }
61 
65  inline void SetImageName(const char* value) { m_imageNameHasBeenSet = true; m_imageName.assign(value); }
66 
70  inline CustomImage& WithImageName(const Aws::String& value) { SetImageName(value); return *this;}
71 
75  inline CustomImage& WithImageName(Aws::String&& value) { SetImageName(std::move(value)); return *this;}
76 
80  inline CustomImage& WithImageName(const char* value) { SetImageName(value); return *this;}
81 
82 
86  inline int GetImageVersionNumber() const{ return m_imageVersionNumber; }
87 
91  inline bool ImageVersionNumberHasBeenSet() const { return m_imageVersionNumberHasBeenSet; }
92 
96  inline void SetImageVersionNumber(int value) { m_imageVersionNumberHasBeenSet = true; m_imageVersionNumber = value; }
97 
101  inline CustomImage& WithImageVersionNumber(int value) { SetImageVersionNumber(value); return *this;}
102 
103 
107  inline const Aws::String& GetAppImageConfigName() const{ return m_appImageConfigName; }
108 
112  inline bool AppImageConfigNameHasBeenSet() const { return m_appImageConfigNameHasBeenSet; }
113 
117  inline void SetAppImageConfigName(const Aws::String& value) { m_appImageConfigNameHasBeenSet = true; m_appImageConfigName = value; }
118 
122  inline void SetAppImageConfigName(Aws::String&& value) { m_appImageConfigNameHasBeenSet = true; m_appImageConfigName = std::move(value); }
123 
127  inline void SetAppImageConfigName(const char* value) { m_appImageConfigNameHasBeenSet = true; m_appImageConfigName.assign(value); }
128 
132  inline CustomImage& WithAppImageConfigName(const Aws::String& value) { SetAppImageConfigName(value); return *this;}
133 
137  inline CustomImage& WithAppImageConfigName(Aws::String&& value) { SetAppImageConfigName(std::move(value)); return *this;}
138 
142  inline CustomImage& WithAppImageConfigName(const char* value) { SetAppImageConfigName(value); return *this;}
143 
144  private:
145 
146  Aws::String m_imageName;
147  bool m_imageNameHasBeenSet;
148 
149  int m_imageVersionNumber;
150  bool m_imageVersionNumberHasBeenSet;
151 
152  Aws::String m_appImageConfigName;
153  bool m_appImageConfigNameHasBeenSet;
154  };
155 
156 } // namespace Model
157 } // namespace SageMaker
158 } // namespace Aws
Aws::SageMaker::Model::CustomImage::ImageNameHasBeenSet
bool ImageNameHasBeenSet() const
Definition: CustomImage.h:50
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
SageMaker_EXPORTS.h
Aws::SageMaker::Model::CustomImage::WithImageVersionNumber
CustomImage & WithImageVersionNumber(int value)
Definition: CustomImage.h:101
Aws::SageMaker::Model::CustomImage::SetImageName
void SetImageName(const Aws::String &value)
Definition: CustomImage.h:55
Aws::SageMaker::Model::CustomImage::GetAppImageConfigName
const Aws::String & GetAppImageConfigName() const
Definition: CustomImage.h:107
Aws::SageMaker::Model::CustomImage::CustomImage
CustomImage(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::CustomImage::SetAppImageConfigName
void SetAppImageConfigName(const Aws::String &value)
Definition: CustomImage.h:117
Aws::SageMaker::Model::CustomImage::SetImageName
void SetImageName(Aws::String &&value)
Definition: CustomImage.h:60
Aws::SageMaker::Model::CustomImage::ImageVersionNumberHasBeenSet
bool ImageVersionNumberHasBeenSet() const
Definition: CustomImage.h:91
Aws::SageMaker::Model::CustomImage::WithImageName
CustomImage & WithImageName(const Aws::String &value)
Definition: CustomImage.h:70
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::CustomImage::GetImageName
const Aws::String & GetImageName() const
Definition: CustomImage.h:45
Aws::SageMaker::Model::CustomImage::SetImageVersionNumber
void SetImageVersionNumber(int value)
Definition: CustomImage.h:96
Aws::SageMaker::Model::CustomImage::operator=
CustomImage & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::CustomImage::CustomImage
CustomImage()
Aws::SageMaker::Model::CustomImage::WithImageName
CustomImage & WithImageName(Aws::String &&value)
Definition: CustomImage.h:75
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::SageMaker::Model::CustomImage
Definition: CustomImage.h:34
AWSString.h
Aws::SageMaker::Model::CustomImage::SetImageName
void SetImageName(const char *value)
Definition: CustomImage.h:65
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::CustomImage::GetImageVersionNumber
int GetImageVersionNumber() const
Definition: CustomImage.h:86
Aws::SageMaker::Model::CustomImage::AppImageConfigNameHasBeenSet
bool AppImageConfigNameHasBeenSet() const
Definition: CustomImage.h:112
Aws::SageMaker::Model::CustomImage::WithAppImageConfigName
CustomImage & WithAppImageConfigName(const Aws::String &value)
Definition: CustomImage.h:132
Aws::SageMaker::Model::CustomImage::WithAppImageConfigName
CustomImage & WithAppImageConfigName(Aws::String &&value)
Definition: CustomImage.h:137
Aws::SageMaker::Model::CustomImage::SetAppImageConfigName
void SetAppImageConfigName(Aws::String &&value)
Definition: CustomImage.h:122
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::CustomImage::WithImageName
CustomImage & WithImageName(const char *value)
Definition: CustomImage.h:80
Aws::SageMaker::Model::CustomImage::WithAppImageConfigName
CustomImage & WithAppImageConfigName(const char *value)
Definition: CustomImage.h:142
Aws::SageMaker::Model::CustomImage::SetAppImageConfigName
void SetAppImageConfigName(const char *value)
Definition: CustomImage.h:127
Aws::SageMaker::Model::CustomImage::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const