AWS SDK for C++  1.9.153
AWS SDK for C++
ResourceSpec.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace SageMaker
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetSageMakerImageArn() const{ return m_sageMakerImageArn; }
46 
50  inline bool SageMakerImageArnHasBeenSet() const { return m_sageMakerImageArnHasBeenSet; }
51 
55  inline void SetSageMakerImageArn(const Aws::String& value) { m_sageMakerImageArnHasBeenSet = true; m_sageMakerImageArn = value; }
56 
60  inline void SetSageMakerImageArn(Aws::String&& value) { m_sageMakerImageArnHasBeenSet = true; m_sageMakerImageArn = std::move(value); }
61 
65  inline void SetSageMakerImageArn(const char* value) { m_sageMakerImageArnHasBeenSet = true; m_sageMakerImageArn.assign(value); }
66 
70  inline ResourceSpec& WithSageMakerImageArn(const Aws::String& value) { SetSageMakerImageArn(value); return *this;}
71 
75  inline ResourceSpec& WithSageMakerImageArn(Aws::String&& value) { SetSageMakerImageArn(std::move(value)); return *this;}
76 
80  inline ResourceSpec& WithSageMakerImageArn(const char* value) { SetSageMakerImageArn(value); return *this;}
81 
82 
86  inline const Aws::String& GetSageMakerImageVersionArn() const{ return m_sageMakerImageVersionArn; }
87 
91  inline bool SageMakerImageVersionArnHasBeenSet() const { return m_sageMakerImageVersionArnHasBeenSet; }
92 
96  inline void SetSageMakerImageVersionArn(const Aws::String& value) { m_sageMakerImageVersionArnHasBeenSet = true; m_sageMakerImageVersionArn = value; }
97 
101  inline void SetSageMakerImageVersionArn(Aws::String&& value) { m_sageMakerImageVersionArnHasBeenSet = true; m_sageMakerImageVersionArn = std::move(value); }
102 
106  inline void SetSageMakerImageVersionArn(const char* value) { m_sageMakerImageVersionArnHasBeenSet = true; m_sageMakerImageVersionArn.assign(value); }
107 
111  inline ResourceSpec& WithSageMakerImageVersionArn(const Aws::String& value) { SetSageMakerImageVersionArn(value); return *this;}
112 
116  inline ResourceSpec& WithSageMakerImageVersionArn(Aws::String&& value) { SetSageMakerImageVersionArn(std::move(value)); return *this;}
117 
121  inline ResourceSpec& WithSageMakerImageVersionArn(const char* value) { SetSageMakerImageVersionArn(value); return *this;}
122 
123 
127  inline const AppInstanceType& GetInstanceType() const{ return m_instanceType; }
128 
132  inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; }
133 
137  inline void SetInstanceType(const AppInstanceType& value) { m_instanceTypeHasBeenSet = true; m_instanceType = value; }
138 
142  inline void SetInstanceType(AppInstanceType&& value) { m_instanceTypeHasBeenSet = true; m_instanceType = std::move(value); }
143 
147  inline ResourceSpec& WithInstanceType(const AppInstanceType& value) { SetInstanceType(value); return *this;}
148 
152  inline ResourceSpec& WithInstanceType(AppInstanceType&& value) { SetInstanceType(std::move(value)); return *this;}
153 
154 
159  inline const Aws::String& GetLifecycleConfigArn() const{ return m_lifecycleConfigArn; }
160 
165  inline bool LifecycleConfigArnHasBeenSet() const { return m_lifecycleConfigArnHasBeenSet; }
166 
171  inline void SetLifecycleConfigArn(const Aws::String& value) { m_lifecycleConfigArnHasBeenSet = true; m_lifecycleConfigArn = value; }
172 
177  inline void SetLifecycleConfigArn(Aws::String&& value) { m_lifecycleConfigArnHasBeenSet = true; m_lifecycleConfigArn = std::move(value); }
178 
183  inline void SetLifecycleConfigArn(const char* value) { m_lifecycleConfigArnHasBeenSet = true; m_lifecycleConfigArn.assign(value); }
184 
189  inline ResourceSpec& WithLifecycleConfigArn(const Aws::String& value) { SetLifecycleConfigArn(value); return *this;}
190 
195  inline ResourceSpec& WithLifecycleConfigArn(Aws::String&& value) { SetLifecycleConfigArn(std::move(value)); return *this;}
196 
201  inline ResourceSpec& WithLifecycleConfigArn(const char* value) { SetLifecycleConfigArn(value); return *this;}
202 
203  private:
204 
205  Aws::String m_sageMakerImageArn;
206  bool m_sageMakerImageArnHasBeenSet;
207 
208  Aws::String m_sageMakerImageVersionArn;
209  bool m_sageMakerImageVersionArnHasBeenSet;
210 
211  AppInstanceType m_instanceType;
212  bool m_instanceTypeHasBeenSet;
213 
214  Aws::String m_lifecycleConfigArn;
215  bool m_lifecycleConfigArnHasBeenSet;
216  };
217 
218 } // namespace Model
219 } // namespace SageMaker
220 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
SageMaker_EXPORTS.h
Aws::SageMaker::Model::ResourceSpec::WithLifecycleConfigArn
ResourceSpec & WithLifecycleConfigArn(const Aws::String &value)
Definition: ResourceSpec.h:189
Aws::SageMaker::Model::ResourceSpec::SetSageMakerImageVersionArn
void SetSageMakerImageVersionArn(const char *value)
Definition: ResourceSpec.h:106
Aws::SageMaker::Model::ResourceSpec::WithSageMakerImageVersionArn
ResourceSpec & WithSageMakerImageVersionArn(const Aws::String &value)
Definition: ResourceSpec.h:111
Aws::SageMaker::Model::ResourceSpec::WithSageMakerImageArn
ResourceSpec & WithSageMakerImageArn(const Aws::String &value)
Definition: ResourceSpec.h:70
Aws::SageMaker::Model::ResourceSpec::SetSageMakerImageArn
void SetSageMakerImageArn(const char *value)
Definition: ResourceSpec.h:65
Aws::SageMaker::Model::ResourceSpec::SetSageMakerImageArn
void SetSageMakerImageArn(const Aws::String &value)
Definition: ResourceSpec.h:55
Aws::SageMaker::Model::ResourceSpec::SageMakerImageArnHasBeenSet
bool SageMakerImageArnHasBeenSet() const
Definition: ResourceSpec.h:50
Aws::SageMaker::Model::ResourceSpec::SetSageMakerImageVersionArn
void SetSageMakerImageVersionArn(Aws::String &&value)
Definition: ResourceSpec.h:101
Aws::SageMaker::Model::ResourceSpec
Definition: ResourceSpec.h:34
Aws::SageMaker::Model::ResourceSpec::WithLifecycleConfigArn
ResourceSpec & WithLifecycleConfigArn(const char *value)
Definition: ResourceSpec.h:201
Aws::SageMaker::Model::ResourceSpec::WithLifecycleConfigArn
ResourceSpec & WithLifecycleConfigArn(Aws::String &&value)
Definition: ResourceSpec.h:195
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::ResourceSpec::WithSageMakerImageVersionArn
ResourceSpec & WithSageMakerImageVersionArn(Aws::String &&value)
Definition: ResourceSpec.h:116
Aws::SageMaker::Model::ResourceSpec::SetSageMakerImageArn
void SetSageMakerImageArn(Aws::String &&value)
Definition: ResourceSpec.h:60
Aws::SageMaker::Model::ResourceSpec::SetInstanceType
void SetInstanceType(AppInstanceType &&value)
Definition: ResourceSpec.h:142
Aws::SageMaker::Model::ResourceSpec::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::ResourceSpec::SetLifecycleConfigArn
void SetLifecycleConfigArn(const Aws::String &value)
Definition: ResourceSpec.h:171
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::ResourceSpec::GetSageMakerImageArn
const Aws::String & GetSageMakerImageArn() const
Definition: ResourceSpec.h:45
Aws::SageMaker::Model::ResourceSpec::InstanceTypeHasBeenSet
bool InstanceTypeHasBeenSet() const
Definition: ResourceSpec.h:132
Aws::SageMaker::Model::AppInstanceType
AppInstanceType
Definition: AppInstanceType.h:17
Aws::SageMaker::Model::ResourceSpec::SageMakerImageVersionArnHasBeenSet
bool SageMakerImageVersionArnHasBeenSet() const
Definition: ResourceSpec.h:91
Aws::SageMaker::Model::ResourceSpec::SetSageMakerImageVersionArn
void SetSageMakerImageVersionArn(const Aws::String &value)
Definition: ResourceSpec.h:96
Aws::SageMaker::Model::ResourceSpec::WithInstanceType
ResourceSpec & WithInstanceType(AppInstanceType &&value)
Definition: ResourceSpec.h:152
Aws::SageMaker::Model::ResourceSpec::SetLifecycleConfigArn
void SetLifecycleConfigArn(const char *value)
Definition: ResourceSpec.h:183
Aws::SageMaker::Model::ResourceSpec::GetInstanceType
const AppInstanceType & GetInstanceType() const
Definition: ResourceSpec.h:127
Aws::SageMaker::Model::ResourceSpec::WithSageMakerImageArn
ResourceSpec & WithSageMakerImageArn(const char *value)
Definition: ResourceSpec.h:80
Aws::SageMaker::Model::ResourceSpec::WithInstanceType
ResourceSpec & WithInstanceType(const AppInstanceType &value)
Definition: ResourceSpec.h:147
AppInstanceType.h
Aws::SageMaker::Model::ResourceSpec::WithSageMakerImageVersionArn
ResourceSpec & WithSageMakerImageVersionArn(const char *value)
Definition: ResourceSpec.h:121
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::ResourceSpec::SetLifecycleConfigArn
void SetLifecycleConfigArn(Aws::String &&value)
Definition: ResourceSpec.h:177
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::ResourceSpec::GetSageMakerImageVersionArn
const Aws::String & GetSageMakerImageVersionArn() const
Definition: ResourceSpec.h:86
Aws::SageMaker::Model::ResourceSpec::SetInstanceType
void SetInstanceType(const AppInstanceType &value)
Definition: ResourceSpec.h:137
Aws::SageMaker::Model::ResourceSpec::WithSageMakerImageArn
ResourceSpec & WithSageMakerImageArn(Aws::String &&value)
Definition: ResourceSpec.h:75
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::ResourceSpec::ResourceSpec
ResourceSpec()
Aws::SageMaker::Model::ResourceSpec::ResourceSpec
ResourceSpec(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::ResourceSpec::LifecycleConfigArnHasBeenSet
bool LifecycleConfigArnHasBeenSet() const
Definition: ResourceSpec.h:165
Aws::SageMaker::Model::ResourceSpec::operator=
ResourceSpec & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::ResourceSpec::GetLifecycleConfigArn
const Aws::String & GetLifecycleConfigArn() const
Definition: ResourceSpec.h:159