AWS SDK for C++  1.9.159
AWS SDK for C++
ProfilerRuleConfiguration.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 
34  {
35  public:
40 
41 
46  inline const Aws::String& GetRuleConfigurationName() const{ return m_ruleConfigurationName; }
47 
52  inline bool RuleConfigurationNameHasBeenSet() const { return m_ruleConfigurationNameHasBeenSet; }
53 
58  inline void SetRuleConfigurationName(const Aws::String& value) { m_ruleConfigurationNameHasBeenSet = true; m_ruleConfigurationName = value; }
59 
64  inline void SetRuleConfigurationName(Aws::String&& value) { m_ruleConfigurationNameHasBeenSet = true; m_ruleConfigurationName = std::move(value); }
65 
70  inline void SetRuleConfigurationName(const char* value) { m_ruleConfigurationNameHasBeenSet = true; m_ruleConfigurationName.assign(value); }
71 
76  inline ProfilerRuleConfiguration& WithRuleConfigurationName(const Aws::String& value) { SetRuleConfigurationName(value); return *this;}
77 
82  inline ProfilerRuleConfiguration& WithRuleConfigurationName(Aws::String&& value) { SetRuleConfigurationName(std::move(value)); return *this;}
83 
88  inline ProfilerRuleConfiguration& WithRuleConfigurationName(const char* value) { SetRuleConfigurationName(value); return *this;}
89 
90 
95  inline const Aws::String& GetLocalPath() const{ return m_localPath; }
96 
101  inline bool LocalPathHasBeenSet() const { return m_localPathHasBeenSet; }
102 
107  inline void SetLocalPath(const Aws::String& value) { m_localPathHasBeenSet = true; m_localPath = value; }
108 
113  inline void SetLocalPath(Aws::String&& value) { m_localPathHasBeenSet = true; m_localPath = std::move(value); }
114 
119  inline void SetLocalPath(const char* value) { m_localPathHasBeenSet = true; m_localPath.assign(value); }
120 
125  inline ProfilerRuleConfiguration& WithLocalPath(const Aws::String& value) { SetLocalPath(value); return *this;}
126 
131  inline ProfilerRuleConfiguration& WithLocalPath(Aws::String&& value) { SetLocalPath(std::move(value)); return *this;}
132 
137  inline ProfilerRuleConfiguration& WithLocalPath(const char* value) { SetLocalPath(value); return *this;}
138 
139 
143  inline const Aws::String& GetS3OutputPath() const{ return m_s3OutputPath; }
144 
148  inline bool S3OutputPathHasBeenSet() const { return m_s3OutputPathHasBeenSet; }
149 
153  inline void SetS3OutputPath(const Aws::String& value) { m_s3OutputPathHasBeenSet = true; m_s3OutputPath = value; }
154 
158  inline void SetS3OutputPath(Aws::String&& value) { m_s3OutputPathHasBeenSet = true; m_s3OutputPath = std::move(value); }
159 
163  inline void SetS3OutputPath(const char* value) { m_s3OutputPathHasBeenSet = true; m_s3OutputPath.assign(value); }
164 
168  inline ProfilerRuleConfiguration& WithS3OutputPath(const Aws::String& value) { SetS3OutputPath(value); return *this;}
169 
173  inline ProfilerRuleConfiguration& WithS3OutputPath(Aws::String&& value) { SetS3OutputPath(std::move(value)); return *this;}
174 
178  inline ProfilerRuleConfiguration& WithS3OutputPath(const char* value) { SetS3OutputPath(value); return *this;}
179 
180 
184  inline const Aws::String& GetRuleEvaluatorImage() const{ return m_ruleEvaluatorImage; }
185 
189  inline bool RuleEvaluatorImageHasBeenSet() const { return m_ruleEvaluatorImageHasBeenSet; }
190 
194  inline void SetRuleEvaluatorImage(const Aws::String& value) { m_ruleEvaluatorImageHasBeenSet = true; m_ruleEvaluatorImage = value; }
195 
199  inline void SetRuleEvaluatorImage(Aws::String&& value) { m_ruleEvaluatorImageHasBeenSet = true; m_ruleEvaluatorImage = std::move(value); }
200 
204  inline void SetRuleEvaluatorImage(const char* value) { m_ruleEvaluatorImageHasBeenSet = true; m_ruleEvaluatorImage.assign(value); }
205 
209  inline ProfilerRuleConfiguration& WithRuleEvaluatorImage(const Aws::String& value) { SetRuleEvaluatorImage(value); return *this;}
210 
214  inline ProfilerRuleConfiguration& WithRuleEvaluatorImage(Aws::String&& value) { SetRuleEvaluatorImage(std::move(value)); return *this;}
215 
219  inline ProfilerRuleConfiguration& WithRuleEvaluatorImage(const char* value) { SetRuleEvaluatorImage(value); return *this;}
220 
221 
226  inline const ProcessingInstanceType& GetInstanceType() const{ return m_instanceType; }
227 
232  inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; }
233 
238  inline void SetInstanceType(const ProcessingInstanceType& value) { m_instanceTypeHasBeenSet = true; m_instanceType = value; }
239 
244  inline void SetInstanceType(ProcessingInstanceType&& value) { m_instanceTypeHasBeenSet = true; m_instanceType = std::move(value); }
245 
250  inline ProfilerRuleConfiguration& WithInstanceType(const ProcessingInstanceType& value) { SetInstanceType(value); return *this;}
251 
256  inline ProfilerRuleConfiguration& WithInstanceType(ProcessingInstanceType&& value) { SetInstanceType(std::move(value)); return *this;}
257 
258 
263  inline int GetVolumeSizeInGB() const{ return m_volumeSizeInGB; }
264 
269  inline bool VolumeSizeInGBHasBeenSet() const { return m_volumeSizeInGBHasBeenSet; }
270 
275  inline void SetVolumeSizeInGB(int value) { m_volumeSizeInGBHasBeenSet = true; m_volumeSizeInGB = value; }
276 
281  inline ProfilerRuleConfiguration& WithVolumeSizeInGB(int value) { SetVolumeSizeInGB(value); return *this;}
282 
283 
287  inline const Aws::Map<Aws::String, Aws::String>& GetRuleParameters() const{ return m_ruleParameters; }
288 
292  inline bool RuleParametersHasBeenSet() const { return m_ruleParametersHasBeenSet; }
293 
297  inline void SetRuleParameters(const Aws::Map<Aws::String, Aws::String>& value) { m_ruleParametersHasBeenSet = true; m_ruleParameters = value; }
298 
302  inline void SetRuleParameters(Aws::Map<Aws::String, Aws::String>&& value) { m_ruleParametersHasBeenSet = true; m_ruleParameters = std::move(value); }
303 
307  inline ProfilerRuleConfiguration& WithRuleParameters(const Aws::Map<Aws::String, Aws::String>& value) { SetRuleParameters(value); return *this;}
308 
312  inline ProfilerRuleConfiguration& WithRuleParameters(Aws::Map<Aws::String, Aws::String>&& value) { SetRuleParameters(std::move(value)); return *this;}
313 
317  inline ProfilerRuleConfiguration& AddRuleParameters(const Aws::String& key, const Aws::String& value) { m_ruleParametersHasBeenSet = true; m_ruleParameters.emplace(key, value); return *this; }
318 
322  inline ProfilerRuleConfiguration& AddRuleParameters(Aws::String&& key, const Aws::String& value) { m_ruleParametersHasBeenSet = true; m_ruleParameters.emplace(std::move(key), value); return *this; }
323 
327  inline ProfilerRuleConfiguration& AddRuleParameters(const Aws::String& key, Aws::String&& value) { m_ruleParametersHasBeenSet = true; m_ruleParameters.emplace(key, std::move(value)); return *this; }
328 
332  inline ProfilerRuleConfiguration& AddRuleParameters(Aws::String&& key, Aws::String&& value) { m_ruleParametersHasBeenSet = true; m_ruleParameters.emplace(std::move(key), std::move(value)); return *this; }
333 
337  inline ProfilerRuleConfiguration& AddRuleParameters(const char* key, Aws::String&& value) { m_ruleParametersHasBeenSet = true; m_ruleParameters.emplace(key, std::move(value)); return *this; }
338 
342  inline ProfilerRuleConfiguration& AddRuleParameters(Aws::String&& key, const char* value) { m_ruleParametersHasBeenSet = true; m_ruleParameters.emplace(std::move(key), value); return *this; }
343 
347  inline ProfilerRuleConfiguration& AddRuleParameters(const char* key, const char* value) { m_ruleParametersHasBeenSet = true; m_ruleParameters.emplace(key, value); return *this; }
348 
349  private:
350 
351  Aws::String m_ruleConfigurationName;
352  bool m_ruleConfigurationNameHasBeenSet;
353 
354  Aws::String m_localPath;
355  bool m_localPathHasBeenSet;
356 
357  Aws::String m_s3OutputPath;
358  bool m_s3OutputPathHasBeenSet;
359 
360  Aws::String m_ruleEvaluatorImage;
361  bool m_ruleEvaluatorImageHasBeenSet;
362 
363  ProcessingInstanceType m_instanceType;
364  bool m_instanceTypeHasBeenSet;
365 
366  int m_volumeSizeInGB;
367  bool m_volumeSizeInGBHasBeenSet;
368 
369  Aws::Map<Aws::String, Aws::String> m_ruleParameters;
370  bool m_ruleParametersHasBeenSet;
371  };
372 
373 } // namespace Model
374 } // namespace SageMaker
375 } // namespace Aws
Aws::SageMaker::Model::ProfilerRuleConfiguration::GetVolumeSizeInGB
int GetVolumeSizeInGB() const
Definition: ProfilerRuleConfiguration.h:263
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
SageMaker_EXPORTS.h
Aws::SageMaker::Model::ProfilerRuleConfiguration::RuleParametersHasBeenSet
bool RuleParametersHasBeenSet() const
Definition: ProfilerRuleConfiguration.h:292
Aws::SageMaker::Model::ProfilerRuleConfiguration::WithRuleParameters
ProfilerRuleConfiguration & WithRuleParameters(const Aws::Map< Aws::String, Aws::String > &value)
Definition: ProfilerRuleConfiguration.h:307
Aws::SageMaker::Model::ProfilerRuleConfiguration::WithLocalPath
ProfilerRuleConfiguration & WithLocalPath(const char *value)
Definition: ProfilerRuleConfiguration.h:137
Aws::SageMaker::Model::ProfilerRuleConfiguration::ProfilerRuleConfiguration
ProfilerRuleConfiguration()
Aws::SageMaker::Model::ProfilerRuleConfiguration::SetRuleEvaluatorImage
void SetRuleEvaluatorImage(Aws::String &&value)
Definition: ProfilerRuleConfiguration.h:199
Aws::SageMaker::Model::ProfilerRuleConfiguration::SetRuleConfigurationName
void SetRuleConfigurationName(const Aws::String &value)
Definition: ProfilerRuleConfiguration.h:58
Aws::SageMaker::Model::ProfilerRuleConfiguration::SetRuleConfigurationName
void SetRuleConfigurationName(Aws::String &&value)
Definition: ProfilerRuleConfiguration.h:64
Aws::SageMaker::Model::ProfilerRuleConfiguration::WithLocalPath
ProfilerRuleConfiguration & WithLocalPath(Aws::String &&value)
Definition: ProfilerRuleConfiguration.h:131
Aws::SageMaker::Model::ProfilerRuleConfiguration::SetRuleParameters
void SetRuleParameters(Aws::Map< Aws::String, Aws::String > &&value)
Definition: ProfilerRuleConfiguration.h:302
Aws::SageMaker::Model::ProfilerRuleConfiguration::operator=
ProfilerRuleConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::ProfilerRuleConfiguration::AddRuleParameters
ProfilerRuleConfiguration & AddRuleParameters(const char *key, Aws::String &&value)
Definition: ProfilerRuleConfiguration.h:337
Aws::SageMaker::Model::ProfilerRuleConfiguration::SetLocalPath
void SetLocalPath(const Aws::String &value)
Definition: ProfilerRuleConfiguration.h:107
Aws::SageMaker::Model::ProfilerRuleConfiguration::GetRuleConfigurationName
const Aws::String & GetRuleConfigurationName() const
Definition: ProfilerRuleConfiguration.h:46
Aws::SageMaker::Model::ProfilerRuleConfiguration::WithRuleEvaluatorImage
ProfilerRuleConfiguration & WithRuleEvaluatorImage(const Aws::String &value)
Definition: ProfilerRuleConfiguration.h:209
Aws::SageMaker::Model::ProfilerRuleConfiguration::InstanceTypeHasBeenSet
bool InstanceTypeHasBeenSet() const
Definition: ProfilerRuleConfiguration.h:232
Aws::SageMaker::Model::ProfilerRuleConfiguration::WithRuleConfigurationName
ProfilerRuleConfiguration & WithRuleConfigurationName(const char *value)
Definition: ProfilerRuleConfiguration.h:88
Aws::SageMaker::Model::ProfilerRuleConfiguration::VolumeSizeInGBHasBeenSet
bool VolumeSizeInGBHasBeenSet() const
Definition: ProfilerRuleConfiguration.h:269
Aws::SageMaker::Model::ProfilerRuleConfiguration::RuleConfigurationNameHasBeenSet
bool RuleConfigurationNameHasBeenSet() const
Definition: ProfilerRuleConfiguration.h:52
Aws::SageMaker::Model::ProfilerRuleConfiguration::SetS3OutputPath
void SetS3OutputPath(const char *value)
Definition: ProfilerRuleConfiguration.h:163
Aws::SageMaker::Model::ProfilerRuleConfiguration::AddRuleParameters
ProfilerRuleConfiguration & AddRuleParameters(const char *key, const char *value)
Definition: ProfilerRuleConfiguration.h:347
Aws::SageMaker::Model::ProfilerRuleConfiguration
Definition: ProfilerRuleConfiguration.h:34
Aws::SageMaker::Model::ProfilerRuleConfiguration::SetS3OutputPath
void SetS3OutputPath(const Aws::String &value)
Definition: ProfilerRuleConfiguration.h:153
Aws::SageMaker::Model::ProfilerRuleConfiguration::SetLocalPath
void SetLocalPath(const char *value)
Definition: ProfilerRuleConfiguration.h:119
Aws::SageMaker::Model::ProfilerRuleConfiguration::S3OutputPathHasBeenSet
bool S3OutputPathHasBeenSet() const
Definition: ProfilerRuleConfiguration.h:148
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::ProfilerRuleConfiguration::ProfilerRuleConfiguration
ProfilerRuleConfiguration(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::ProfilerRuleConfiguration::WithInstanceType
ProfilerRuleConfiguration & WithInstanceType(ProcessingInstanceType &&value)
Definition: ProfilerRuleConfiguration.h:256
Aws::SageMaker::Model::ProfilerRuleConfiguration::SetLocalPath
void SetLocalPath(Aws::String &&value)
Definition: ProfilerRuleConfiguration.h:113
Aws::SageMaker::Model::ProfilerRuleConfiguration::WithVolumeSizeInGB
ProfilerRuleConfiguration & WithVolumeSizeInGB(int value)
Definition: ProfilerRuleConfiguration.h:281
Aws::SageMaker::Model::ProfilerRuleConfiguration::RuleEvaluatorImageHasBeenSet
bool RuleEvaluatorImageHasBeenSet() const
Definition: ProfilerRuleConfiguration.h:189
Aws::SageMaker::Model::ProfilerRuleConfiguration::SetS3OutputPath
void SetS3OutputPath(Aws::String &&value)
Definition: ProfilerRuleConfiguration.h:158
Aws::SageMaker::Model::ProfilerRuleConfiguration::GetS3OutputPath
const Aws::String & GetS3OutputPath() const
Definition: ProfilerRuleConfiguration.h:143
Aws::SageMaker::Model::ProfilerRuleConfiguration::GetLocalPath
const Aws::String & GetLocalPath() const
Definition: ProfilerRuleConfiguration.h:95
Aws::SageMaker::Model::ProfilerRuleConfiguration::WithRuleEvaluatorImage
ProfilerRuleConfiguration & WithRuleEvaluatorImage(Aws::String &&value)
Definition: ProfilerRuleConfiguration.h:214
Aws::SageMaker::Model::ProfilerRuleConfiguration::WithLocalPath
ProfilerRuleConfiguration & WithLocalPath(const Aws::String &value)
Definition: ProfilerRuleConfiguration.h:125
Aws::SageMaker::Model::ProfilerRuleConfiguration::SetRuleParameters
void SetRuleParameters(const Aws::Map< Aws::String, Aws::String > &value)
Definition: ProfilerRuleConfiguration.h:297
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::SageMaker::Model::ProfilerRuleConfiguration::WithInstanceType
ProfilerRuleConfiguration & WithInstanceType(const ProcessingInstanceType &value)
Definition: ProfilerRuleConfiguration.h:250
Aws::SageMaker::Model::ProfilerRuleConfiguration::SetInstanceType
void SetInstanceType(const ProcessingInstanceType &value)
Definition: ProfilerRuleConfiguration.h:238
Aws::SageMaker::Model::ProfilerRuleConfiguration::SetRuleEvaluatorImage
void SetRuleEvaluatorImage(const Aws::String &value)
Definition: ProfilerRuleConfiguration.h:194
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::ProfilerRuleConfiguration::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::ProfilerRuleConfiguration::WithRuleParameters
ProfilerRuleConfiguration & WithRuleParameters(Aws::Map< Aws::String, Aws::String > &&value)
Definition: ProfilerRuleConfiguration.h:312
Aws::SageMaker::Model::ProfilerRuleConfiguration::AddRuleParameters
ProfilerRuleConfiguration & AddRuleParameters(const Aws::String &key, Aws::String &&value)
Definition: ProfilerRuleConfiguration.h:327
Aws::SageMaker::Model::ProfilerRuleConfiguration::AddRuleParameters
ProfilerRuleConfiguration & AddRuleParameters(Aws::String &&key, const char *value)
Definition: ProfilerRuleConfiguration.h:342
Aws::SageMaker::Model::ProfilerRuleConfiguration::WithS3OutputPath
ProfilerRuleConfiguration & WithS3OutputPath(Aws::String &&value)
Definition: ProfilerRuleConfiguration.h:173
Aws::SageMaker::Model::ProfilerRuleConfiguration::SetVolumeSizeInGB
void SetVolumeSizeInGB(int value)
Definition: ProfilerRuleConfiguration.h:275
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::ProfilerRuleConfiguration::LocalPathHasBeenSet
bool LocalPathHasBeenSet() const
Definition: ProfilerRuleConfiguration.h:101
ProcessingInstanceType.h
Aws::SageMaker::Model::ProfilerRuleConfiguration::WithS3OutputPath
ProfilerRuleConfiguration & WithS3OutputPath(const Aws::String &value)
Definition: ProfilerRuleConfiguration.h:168
Aws::SageMaker::Model::ProfilerRuleConfiguration::WithRuleConfigurationName
ProfilerRuleConfiguration & WithRuleConfigurationName(Aws::String &&value)
Definition: ProfilerRuleConfiguration.h:82
Aws::SageMaker::Model::ProfilerRuleConfiguration::GetRuleParameters
const Aws::Map< Aws::String, Aws::String > & GetRuleParameters() const
Definition: ProfilerRuleConfiguration.h:287
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::ProfilerRuleConfiguration::SetRuleConfigurationName
void SetRuleConfigurationName(const char *value)
Definition: ProfilerRuleConfiguration.h:70
Aws::SageMaker::Model::ProfilerRuleConfiguration::GetRuleEvaluatorImage
const Aws::String & GetRuleEvaluatorImage() const
Definition: ProfilerRuleConfiguration.h:184
Aws::SageMaker::Model::ProfilerRuleConfiguration::WithRuleConfigurationName
ProfilerRuleConfiguration & WithRuleConfigurationName(const Aws::String &value)
Definition: ProfilerRuleConfiguration.h:76
Aws::SageMaker::Model::ProfilerRuleConfiguration::AddRuleParameters
ProfilerRuleConfiguration & AddRuleParameters(const Aws::String &key, const Aws::String &value)
Definition: ProfilerRuleConfiguration.h:317
Aws::SageMaker::Model::ProfilerRuleConfiguration::SetInstanceType
void SetInstanceType(ProcessingInstanceType &&value)
Definition: ProfilerRuleConfiguration.h:244
Aws::SageMaker::Model::ProfilerRuleConfiguration::AddRuleParameters
ProfilerRuleConfiguration & AddRuleParameters(Aws::String &&key, Aws::String &&value)
Definition: ProfilerRuleConfiguration.h:332
AWSMap.h
Aws::SageMaker::Model::ProfilerRuleConfiguration::AddRuleParameters
ProfilerRuleConfiguration & AddRuleParameters(Aws::String &&key, const Aws::String &value)
Definition: ProfilerRuleConfiguration.h:322
Aws::SageMaker::Model::ProfilerRuleConfiguration::SetRuleEvaluatorImage
void SetRuleEvaluatorImage(const char *value)
Definition: ProfilerRuleConfiguration.h:204
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::SageMaker::Model::ProfilerRuleConfiguration::WithRuleEvaluatorImage
ProfilerRuleConfiguration & WithRuleEvaluatorImage(const char *value)
Definition: ProfilerRuleConfiguration.h:219
Aws::SageMaker::Model::ProfilerRuleConfiguration::GetInstanceType
const ProcessingInstanceType & GetInstanceType() const
Definition: ProfilerRuleConfiguration.h:226
Aws::SageMaker::Model::ProfilerRuleConfiguration::WithS3OutputPath
ProfilerRuleConfiguration & WithS3OutputPath(const char *value)
Definition: ProfilerRuleConfiguration.h:178
Aws::SageMaker::Model::ProcessingInstanceType
ProcessingInstanceType
Definition: ProcessingInstanceType.h:17