AWS SDK for C++  1.9.159
AWS SDK for C++
DebugRuleConfiguration.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace SageMaker
24 {
25 namespace Model
26 {
27 
39  {
40  public:
45 
46 
51  inline const Aws::String& GetRuleConfigurationName() const{ return m_ruleConfigurationName; }
52 
57  inline bool RuleConfigurationNameHasBeenSet() const { return m_ruleConfigurationNameHasBeenSet; }
58 
63  inline void SetRuleConfigurationName(const Aws::String& value) { m_ruleConfigurationNameHasBeenSet = true; m_ruleConfigurationName = value; }
64 
69  inline void SetRuleConfigurationName(Aws::String&& value) { m_ruleConfigurationNameHasBeenSet = true; m_ruleConfigurationName = std::move(value); }
70 
75  inline void SetRuleConfigurationName(const char* value) { m_ruleConfigurationNameHasBeenSet = true; m_ruleConfigurationName.assign(value); }
76 
81  inline DebugRuleConfiguration& WithRuleConfigurationName(const Aws::String& value) { SetRuleConfigurationName(value); return *this;}
82 
87  inline DebugRuleConfiguration& WithRuleConfigurationName(Aws::String&& value) { SetRuleConfigurationName(std::move(value)); return *this;}
88 
93  inline DebugRuleConfiguration& WithRuleConfigurationName(const char* value) { SetRuleConfigurationName(value); return *this;}
94 
95 
100  inline const Aws::String& GetLocalPath() const{ return m_localPath; }
101 
106  inline bool LocalPathHasBeenSet() const { return m_localPathHasBeenSet; }
107 
112  inline void SetLocalPath(const Aws::String& value) { m_localPathHasBeenSet = true; m_localPath = value; }
113 
118  inline void SetLocalPath(Aws::String&& value) { m_localPathHasBeenSet = true; m_localPath = std::move(value); }
119 
124  inline void SetLocalPath(const char* value) { m_localPathHasBeenSet = true; m_localPath.assign(value); }
125 
130  inline DebugRuleConfiguration& WithLocalPath(const Aws::String& value) { SetLocalPath(value); return *this;}
131 
136  inline DebugRuleConfiguration& WithLocalPath(Aws::String&& value) { SetLocalPath(std::move(value)); return *this;}
137 
142  inline DebugRuleConfiguration& WithLocalPath(const char* value) { SetLocalPath(value); return *this;}
143 
144 
148  inline const Aws::String& GetS3OutputPath() const{ return m_s3OutputPath; }
149 
153  inline bool S3OutputPathHasBeenSet() const { return m_s3OutputPathHasBeenSet; }
154 
158  inline void SetS3OutputPath(const Aws::String& value) { m_s3OutputPathHasBeenSet = true; m_s3OutputPath = value; }
159 
163  inline void SetS3OutputPath(Aws::String&& value) { m_s3OutputPathHasBeenSet = true; m_s3OutputPath = std::move(value); }
164 
168  inline void SetS3OutputPath(const char* value) { m_s3OutputPathHasBeenSet = true; m_s3OutputPath.assign(value); }
169 
173  inline DebugRuleConfiguration& WithS3OutputPath(const Aws::String& value) { SetS3OutputPath(value); return *this;}
174 
178  inline DebugRuleConfiguration& WithS3OutputPath(Aws::String&& value) { SetS3OutputPath(std::move(value)); return *this;}
179 
183  inline DebugRuleConfiguration& WithS3OutputPath(const char* value) { SetS3OutputPath(value); return *this;}
184 
185 
189  inline const Aws::String& GetRuleEvaluatorImage() const{ return m_ruleEvaluatorImage; }
190 
194  inline bool RuleEvaluatorImageHasBeenSet() const { return m_ruleEvaluatorImageHasBeenSet; }
195 
199  inline void SetRuleEvaluatorImage(const Aws::String& value) { m_ruleEvaluatorImageHasBeenSet = true; m_ruleEvaluatorImage = value; }
200 
204  inline void SetRuleEvaluatorImage(Aws::String&& value) { m_ruleEvaluatorImageHasBeenSet = true; m_ruleEvaluatorImage = std::move(value); }
205 
209  inline void SetRuleEvaluatorImage(const char* value) { m_ruleEvaluatorImageHasBeenSet = true; m_ruleEvaluatorImage.assign(value); }
210 
214  inline DebugRuleConfiguration& WithRuleEvaluatorImage(const Aws::String& value) { SetRuleEvaluatorImage(value); return *this;}
215 
219  inline DebugRuleConfiguration& WithRuleEvaluatorImage(Aws::String&& value) { SetRuleEvaluatorImage(std::move(value)); return *this;}
220 
224  inline DebugRuleConfiguration& WithRuleEvaluatorImage(const char* value) { SetRuleEvaluatorImage(value); return *this;}
225 
226 
231  inline const ProcessingInstanceType& GetInstanceType() const{ return m_instanceType; }
232 
237  inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; }
238 
243  inline void SetInstanceType(const ProcessingInstanceType& value) { m_instanceTypeHasBeenSet = true; m_instanceType = value; }
244 
249  inline void SetInstanceType(ProcessingInstanceType&& value) { m_instanceTypeHasBeenSet = true; m_instanceType = std::move(value); }
250 
255  inline DebugRuleConfiguration& WithInstanceType(const ProcessingInstanceType& value) { SetInstanceType(value); return *this;}
256 
261  inline DebugRuleConfiguration& WithInstanceType(ProcessingInstanceType&& value) { SetInstanceType(std::move(value)); return *this;}
262 
263 
268  inline int GetVolumeSizeInGB() const{ return m_volumeSizeInGB; }
269 
274  inline bool VolumeSizeInGBHasBeenSet() const { return m_volumeSizeInGBHasBeenSet; }
275 
280  inline void SetVolumeSizeInGB(int value) { m_volumeSizeInGBHasBeenSet = true; m_volumeSizeInGB = value; }
281 
286  inline DebugRuleConfiguration& WithVolumeSizeInGB(int value) { SetVolumeSizeInGB(value); return *this;}
287 
288 
292  inline const Aws::Map<Aws::String, Aws::String>& GetRuleParameters() const{ return m_ruleParameters; }
293 
297  inline bool RuleParametersHasBeenSet() const { return m_ruleParametersHasBeenSet; }
298 
302  inline void SetRuleParameters(const Aws::Map<Aws::String, Aws::String>& value) { m_ruleParametersHasBeenSet = true; m_ruleParameters = value; }
303 
307  inline void SetRuleParameters(Aws::Map<Aws::String, Aws::String>&& value) { m_ruleParametersHasBeenSet = true; m_ruleParameters = std::move(value); }
308 
312  inline DebugRuleConfiguration& WithRuleParameters(const Aws::Map<Aws::String, Aws::String>& value) { SetRuleParameters(value); return *this;}
313 
317  inline DebugRuleConfiguration& WithRuleParameters(Aws::Map<Aws::String, Aws::String>&& value) { SetRuleParameters(std::move(value)); return *this;}
318 
322  inline DebugRuleConfiguration& AddRuleParameters(const Aws::String& key, const Aws::String& value) { m_ruleParametersHasBeenSet = true; m_ruleParameters.emplace(key, value); return *this; }
323 
327  inline DebugRuleConfiguration& AddRuleParameters(Aws::String&& key, const Aws::String& value) { m_ruleParametersHasBeenSet = true; m_ruleParameters.emplace(std::move(key), value); return *this; }
328 
332  inline DebugRuleConfiguration& AddRuleParameters(const Aws::String& key, Aws::String&& value) { m_ruleParametersHasBeenSet = true; m_ruleParameters.emplace(key, std::move(value)); return *this; }
333 
337  inline DebugRuleConfiguration& AddRuleParameters(Aws::String&& key, Aws::String&& value) { m_ruleParametersHasBeenSet = true; m_ruleParameters.emplace(std::move(key), std::move(value)); return *this; }
338 
342  inline DebugRuleConfiguration& AddRuleParameters(const char* key, Aws::String&& value) { m_ruleParametersHasBeenSet = true; m_ruleParameters.emplace(key, std::move(value)); return *this; }
343 
347  inline DebugRuleConfiguration& AddRuleParameters(Aws::String&& key, const char* value) { m_ruleParametersHasBeenSet = true; m_ruleParameters.emplace(std::move(key), value); return *this; }
348 
352  inline DebugRuleConfiguration& AddRuleParameters(const char* key, const char* value) { m_ruleParametersHasBeenSet = true; m_ruleParameters.emplace(key, value); return *this; }
353 
354  private:
355 
356  Aws::String m_ruleConfigurationName;
357  bool m_ruleConfigurationNameHasBeenSet;
358 
359  Aws::String m_localPath;
360  bool m_localPathHasBeenSet;
361 
362  Aws::String m_s3OutputPath;
363  bool m_s3OutputPathHasBeenSet;
364 
365  Aws::String m_ruleEvaluatorImage;
366  bool m_ruleEvaluatorImageHasBeenSet;
367 
368  ProcessingInstanceType m_instanceType;
369  bool m_instanceTypeHasBeenSet;
370 
371  int m_volumeSizeInGB;
372  bool m_volumeSizeInGBHasBeenSet;
373 
374  Aws::Map<Aws::String, Aws::String> m_ruleParameters;
375  bool m_ruleParametersHasBeenSet;
376  };
377 
378 } // namespace Model
379 } // namespace SageMaker
380 } // namespace Aws
Aws::SageMaker::Model::DebugRuleConfiguration::GetLocalPath
const Aws::String & GetLocalPath() const
Definition: DebugRuleConfiguration.h:100
Aws::SageMaker::Model::DebugRuleConfiguration::WithRuleConfigurationName
DebugRuleConfiguration & WithRuleConfigurationName(const Aws::String &value)
Definition: DebugRuleConfiguration.h:81
Aws::SageMaker::Model::DebugRuleConfiguration::SetRuleEvaluatorImage
void SetRuleEvaluatorImage(Aws::String &&value)
Definition: DebugRuleConfiguration.h:204
Aws::SageMaker::Model::DebugRuleConfiguration::SetInstanceType
void SetInstanceType(ProcessingInstanceType &&value)
Definition: DebugRuleConfiguration.h:249
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::DebugRuleConfiguration::WithLocalPath
DebugRuleConfiguration & WithLocalPath(Aws::String &&value)
Definition: DebugRuleConfiguration.h:136
Aws::SageMaker::Model::DebugRuleConfiguration::SetRuleEvaluatorImage
void SetRuleEvaluatorImage(const Aws::String &value)
Definition: DebugRuleConfiguration.h:199
Aws::SageMaker::Model::DebugRuleConfiguration::SetRuleParameters
void SetRuleParameters(const Aws::Map< Aws::String, Aws::String > &value)
Definition: DebugRuleConfiguration.h:302
SageMaker_EXPORTS.h
Aws::SageMaker::Model::DebugRuleConfiguration::SetLocalPath
void SetLocalPath(const Aws::String &value)
Definition: DebugRuleConfiguration.h:112
Aws::SageMaker::Model::DebugRuleConfiguration::SetRuleConfigurationName
void SetRuleConfigurationName(const Aws::String &value)
Definition: DebugRuleConfiguration.h:63
Aws::SageMaker::Model::DebugRuleConfiguration::AddRuleParameters
DebugRuleConfiguration & AddRuleParameters(Aws::String &&key, const char *value)
Definition: DebugRuleConfiguration.h:347
Aws::SageMaker::Model::DebugRuleConfiguration::WithInstanceType
DebugRuleConfiguration & WithInstanceType(const ProcessingInstanceType &value)
Definition: DebugRuleConfiguration.h:255
Aws::SageMaker::Model::DebugRuleConfiguration::SetRuleConfigurationName
void SetRuleConfigurationName(Aws::String &&value)
Definition: DebugRuleConfiguration.h:69
Aws::SageMaker::Model::DebugRuleConfiguration::WithLocalPath
DebugRuleConfiguration & WithLocalPath(const Aws::String &value)
Definition: DebugRuleConfiguration.h:130
Aws::SageMaker::Model::DebugRuleConfiguration::GetRuleConfigurationName
const Aws::String & GetRuleConfigurationName() const
Definition: DebugRuleConfiguration.h:51
Aws::SageMaker::Model::DebugRuleConfiguration::RuleEvaluatorImageHasBeenSet
bool RuleEvaluatorImageHasBeenSet() const
Definition: DebugRuleConfiguration.h:194
Aws::SageMaker::Model::DebugRuleConfiguration::GetS3OutputPath
const Aws::String & GetS3OutputPath() const
Definition: DebugRuleConfiguration.h:148
Aws::SageMaker::Model::DebugRuleConfiguration::AddRuleParameters
DebugRuleConfiguration & AddRuleParameters(const char *key, const char *value)
Definition: DebugRuleConfiguration.h:352
Aws::SageMaker::Model::DebugRuleConfiguration::SetRuleEvaluatorImage
void SetRuleEvaluatorImage(const char *value)
Definition: DebugRuleConfiguration.h:209
Aws::SageMaker::Model::DebugRuleConfiguration::WithRuleEvaluatorImage
DebugRuleConfiguration & WithRuleEvaluatorImage(const Aws::String &value)
Definition: DebugRuleConfiguration.h:214
Aws::SageMaker::Model::DebugRuleConfiguration::AddRuleParameters
DebugRuleConfiguration & AddRuleParameters(Aws::String &&key, const Aws::String &value)
Definition: DebugRuleConfiguration.h:327
Aws::SageMaker::Model::DebugRuleConfiguration::WithRuleParameters
DebugRuleConfiguration & WithRuleParameters(const Aws::Map< Aws::String, Aws::String > &value)
Definition: DebugRuleConfiguration.h:312
Aws::SageMaker::Model::DebugRuleConfiguration::SetLocalPath
void SetLocalPath(Aws::String &&value)
Definition: DebugRuleConfiguration.h:118
Aws::SageMaker::Model::DebugRuleConfiguration::S3OutputPathHasBeenSet
bool S3OutputPathHasBeenSet() const
Definition: DebugRuleConfiguration.h:153
Aws::SageMaker::Model::DebugRuleConfiguration::SetLocalPath
void SetLocalPath(const char *value)
Definition: DebugRuleConfiguration.h:124
Aws::SageMaker::Model::DebugRuleConfiguration::WithRuleEvaluatorImage
DebugRuleConfiguration & WithRuleEvaluatorImage(const char *value)
Definition: DebugRuleConfiguration.h:224
Aws::SageMaker::Model::DebugRuleConfiguration::WithS3OutputPath
DebugRuleConfiguration & WithS3OutputPath(Aws::String &&value)
Definition: DebugRuleConfiguration.h:178
Aws::SageMaker::Model::DebugRuleConfiguration::operator=
DebugRuleConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::DebugRuleConfiguration::WithLocalPath
DebugRuleConfiguration & WithLocalPath(const char *value)
Definition: DebugRuleConfiguration.h:142
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::DebugRuleConfiguration::SetS3OutputPath
void SetS3OutputPath(Aws::String &&value)
Definition: DebugRuleConfiguration.h:163
Aws::SageMaker::Model::DebugRuleConfiguration::GetRuleParameters
const Aws::Map< Aws::String, Aws::String > & GetRuleParameters() const
Definition: DebugRuleConfiguration.h:292
Aws::SageMaker::Model::DebugRuleConfiguration::InstanceTypeHasBeenSet
bool InstanceTypeHasBeenSet() const
Definition: DebugRuleConfiguration.h:237
Aws::SageMaker::Model::DebugRuleConfiguration::WithS3OutputPath
DebugRuleConfiguration & WithS3OutputPath(const char *value)
Definition: DebugRuleConfiguration.h:183
Aws::SageMaker::Model::DebugRuleConfiguration::RuleParametersHasBeenSet
bool RuleParametersHasBeenSet() const
Definition: DebugRuleConfiguration.h:297
Aws::SageMaker::Model::DebugRuleConfiguration::WithInstanceType
DebugRuleConfiguration & WithInstanceType(ProcessingInstanceType &&value)
Definition: DebugRuleConfiguration.h:261
Aws::SageMaker::Model::DebugRuleConfiguration::SetS3OutputPath
void SetS3OutputPath(const char *value)
Definition: DebugRuleConfiguration.h:168
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::DebugRuleConfiguration::VolumeSizeInGBHasBeenSet
bool VolumeSizeInGBHasBeenSet() const
Definition: DebugRuleConfiguration.h:274
Aws::SageMaker::Model::DebugRuleConfiguration::GetRuleEvaluatorImage
const Aws::String & GetRuleEvaluatorImage() const
Definition: DebugRuleConfiguration.h:189
Aws::SageMaker::Model::DebugRuleConfiguration::SetInstanceType
void SetInstanceType(const ProcessingInstanceType &value)
Definition: DebugRuleConfiguration.h:243
Aws::SageMaker::Model::DebugRuleConfiguration::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::DebugRuleConfiguration::WithVolumeSizeInGB
DebugRuleConfiguration & WithVolumeSizeInGB(int value)
Definition: DebugRuleConfiguration.h:286
Aws::SageMaker::Model::DebugRuleConfiguration::SetVolumeSizeInGB
void SetVolumeSizeInGB(int value)
Definition: DebugRuleConfiguration.h:280
Aws::SageMaker::Model::DebugRuleConfiguration::DebugRuleConfiguration
DebugRuleConfiguration()
Aws::SageMaker::Model::DebugRuleConfiguration::WithRuleEvaluatorImage
DebugRuleConfiguration & WithRuleEvaluatorImage(Aws::String &&value)
Definition: DebugRuleConfiguration.h:219
Aws::SageMaker::Model::DebugRuleConfiguration::SetS3OutputPath
void SetS3OutputPath(const Aws::String &value)
Definition: DebugRuleConfiguration.h:158
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::DebugRuleConfiguration::GetInstanceType
const ProcessingInstanceType & GetInstanceType() const
Definition: DebugRuleConfiguration.h:231
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::DebugRuleConfiguration::RuleConfigurationNameHasBeenSet
bool RuleConfigurationNameHasBeenSet() const
Definition: DebugRuleConfiguration.h:57
ProcessingInstanceType.h
Aws::SageMaker::Model::DebugRuleConfiguration::GetVolumeSizeInGB
int GetVolumeSizeInGB() const
Definition: DebugRuleConfiguration.h:268
Aws::SageMaker::Model::DebugRuleConfiguration::WithRuleConfigurationName
DebugRuleConfiguration & WithRuleConfigurationName(const char *value)
Definition: DebugRuleConfiguration.h:93
Aws::SageMaker::Model::DebugRuleConfiguration::WithS3OutputPath
DebugRuleConfiguration & WithS3OutputPath(const Aws::String &value)
Definition: DebugRuleConfiguration.h:173
Aws::SageMaker::Model::DebugRuleConfiguration::AddRuleParameters
DebugRuleConfiguration & AddRuleParameters(Aws::String &&key, Aws::String &&value)
Definition: DebugRuleConfiguration.h:337
Aws::SageMaker::Model::DebugRuleConfiguration::AddRuleParameters
DebugRuleConfiguration & AddRuleParameters(const Aws::String &key, const Aws::String &value)
Definition: DebugRuleConfiguration.h:322
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::DebugRuleConfiguration::AddRuleParameters
DebugRuleConfiguration & AddRuleParameters(const char *key, Aws::String &&value)
Definition: DebugRuleConfiguration.h:342
Aws::SageMaker::Model::DebugRuleConfiguration::LocalPathHasBeenSet
bool LocalPathHasBeenSet() const
Definition: DebugRuleConfiguration.h:106
Aws::SageMaker::Model::DebugRuleConfiguration::SetRuleConfigurationName
void SetRuleConfigurationName(const char *value)
Definition: DebugRuleConfiguration.h:75
Aws::SageMaker::Model::DebugRuleConfiguration
Definition: DebugRuleConfiguration.h:39
Aws::SageMaker::Model::DebugRuleConfiguration::AddRuleParameters
DebugRuleConfiguration & AddRuleParameters(const Aws::String &key, Aws::String &&value)
Definition: DebugRuleConfiguration.h:332
AWSMap.h
Aws::SageMaker::Model::DebugRuleConfiguration::WithRuleConfigurationName
DebugRuleConfiguration & WithRuleConfigurationName(Aws::String &&value)
Definition: DebugRuleConfiguration.h:87
Aws::SageMaker::Model::DebugRuleConfiguration::SetRuleParameters
void SetRuleParameters(Aws::Map< Aws::String, Aws::String > &&value)
Definition: DebugRuleConfiguration.h:307
Aws::SageMaker::Model::DebugRuleConfiguration::WithRuleParameters
DebugRuleConfiguration & WithRuleParameters(Aws::Map< Aws::String, Aws::String > &&value)
Definition: DebugRuleConfiguration.h:317
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::SageMaker::Model::ProcessingInstanceType
ProcessingInstanceType
Definition: ProcessingInstanceType.h:17
Aws::SageMaker::Model::DebugRuleConfiguration::DebugRuleConfiguration
DebugRuleConfiguration(Aws::Utils::Json::JsonView jsonValue)