AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ProfilerRuleConfiguration.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/model/ProcessingInstanceType.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SageMaker
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_SAGEMAKER_API ProfilerRuleConfiguration();
39 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetRuleConfigurationName() const{ return m_ruleConfigurationName; }
48 inline bool RuleConfigurationNameHasBeenSet() const { return m_ruleConfigurationNameHasBeenSet; }
49 inline void SetRuleConfigurationName(const Aws::String& value) { m_ruleConfigurationNameHasBeenSet = true; m_ruleConfigurationName = value; }
50 inline void SetRuleConfigurationName(Aws::String&& value) { m_ruleConfigurationNameHasBeenSet = true; m_ruleConfigurationName = std::move(value); }
51 inline void SetRuleConfigurationName(const char* value) { m_ruleConfigurationNameHasBeenSet = true; m_ruleConfigurationName.assign(value); }
54 inline ProfilerRuleConfiguration& WithRuleConfigurationName(const char* value) { SetRuleConfigurationName(value); return *this;}
56
58
62 inline const Aws::String& GetLocalPath() const{ return m_localPath; }
63 inline bool LocalPathHasBeenSet() const { return m_localPathHasBeenSet; }
64 inline void SetLocalPath(const Aws::String& value) { m_localPathHasBeenSet = true; m_localPath = value; }
65 inline void SetLocalPath(Aws::String&& value) { m_localPathHasBeenSet = true; m_localPath = std::move(value); }
66 inline void SetLocalPath(const char* value) { m_localPathHasBeenSet = true; m_localPath.assign(value); }
67 inline ProfilerRuleConfiguration& WithLocalPath(const Aws::String& value) { SetLocalPath(value); return *this;}
68 inline ProfilerRuleConfiguration& WithLocalPath(Aws::String&& value) { SetLocalPath(std::move(value)); return *this;}
69 inline ProfilerRuleConfiguration& WithLocalPath(const char* value) { SetLocalPath(value); return *this;}
71
73
76 inline const Aws::String& GetS3OutputPath() const{ return m_s3OutputPath; }
77 inline bool S3OutputPathHasBeenSet() const { return m_s3OutputPathHasBeenSet; }
78 inline void SetS3OutputPath(const Aws::String& value) { m_s3OutputPathHasBeenSet = true; m_s3OutputPath = value; }
79 inline void SetS3OutputPath(Aws::String&& value) { m_s3OutputPathHasBeenSet = true; m_s3OutputPath = std::move(value); }
80 inline void SetS3OutputPath(const char* value) { m_s3OutputPathHasBeenSet = true; m_s3OutputPath.assign(value); }
81 inline ProfilerRuleConfiguration& WithS3OutputPath(const Aws::String& value) { SetS3OutputPath(value); return *this;}
82 inline ProfilerRuleConfiguration& WithS3OutputPath(Aws::String&& value) { SetS3OutputPath(std::move(value)); return *this;}
83 inline ProfilerRuleConfiguration& WithS3OutputPath(const char* value) { SetS3OutputPath(value); return *this;}
85
87
91 inline const Aws::String& GetRuleEvaluatorImage() const{ return m_ruleEvaluatorImage; }
92 inline bool RuleEvaluatorImageHasBeenSet() const { return m_ruleEvaluatorImageHasBeenSet; }
93 inline void SetRuleEvaluatorImage(const Aws::String& value) { m_ruleEvaluatorImageHasBeenSet = true; m_ruleEvaluatorImage = value; }
94 inline void SetRuleEvaluatorImage(Aws::String&& value) { m_ruleEvaluatorImageHasBeenSet = true; m_ruleEvaluatorImage = std::move(value); }
95 inline void SetRuleEvaluatorImage(const char* value) { m_ruleEvaluatorImageHasBeenSet = true; m_ruleEvaluatorImage.assign(value); }
97 inline ProfilerRuleConfiguration& WithRuleEvaluatorImage(Aws::String&& value) { SetRuleEvaluatorImage(std::move(value)); return *this;}
98 inline ProfilerRuleConfiguration& WithRuleEvaluatorImage(const char* value) { SetRuleEvaluatorImage(value); return *this;}
100
102
105 inline const ProcessingInstanceType& GetInstanceType() const{ return m_instanceType; }
106 inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; }
107 inline void SetInstanceType(const ProcessingInstanceType& value) { m_instanceTypeHasBeenSet = true; m_instanceType = value; }
108 inline void SetInstanceType(ProcessingInstanceType&& value) { m_instanceTypeHasBeenSet = true; m_instanceType = std::move(value); }
110 inline ProfilerRuleConfiguration& WithInstanceType(ProcessingInstanceType&& value) { SetInstanceType(std::move(value)); return *this;}
112
114
118 inline int GetVolumeSizeInGB() const{ return m_volumeSizeInGB; }
119 inline bool VolumeSizeInGBHasBeenSet() const { return m_volumeSizeInGBHasBeenSet; }
120 inline void SetVolumeSizeInGB(int value) { m_volumeSizeInGBHasBeenSet = true; m_volumeSizeInGB = value; }
121 inline ProfilerRuleConfiguration& WithVolumeSizeInGB(int value) { SetVolumeSizeInGB(value); return *this;}
123
125
128 inline const Aws::Map<Aws::String, Aws::String>& GetRuleParameters() const{ return m_ruleParameters; }
129 inline bool RuleParametersHasBeenSet() const { return m_ruleParametersHasBeenSet; }
130 inline void SetRuleParameters(const Aws::Map<Aws::String, Aws::String>& value) { m_ruleParametersHasBeenSet = true; m_ruleParameters = value; }
131 inline void SetRuleParameters(Aws::Map<Aws::String, Aws::String>&& value) { m_ruleParametersHasBeenSet = true; m_ruleParameters = std::move(value); }
134 inline ProfilerRuleConfiguration& AddRuleParameters(const Aws::String& key, const Aws::String& value) { m_ruleParametersHasBeenSet = true; m_ruleParameters.emplace(key, value); return *this; }
135 inline ProfilerRuleConfiguration& AddRuleParameters(Aws::String&& key, const Aws::String& value) { m_ruleParametersHasBeenSet = true; m_ruleParameters.emplace(std::move(key), value); return *this; }
136 inline ProfilerRuleConfiguration& AddRuleParameters(const Aws::String& key, Aws::String&& value) { m_ruleParametersHasBeenSet = true; m_ruleParameters.emplace(key, std::move(value)); return *this; }
137 inline ProfilerRuleConfiguration& AddRuleParameters(Aws::String&& key, Aws::String&& value) { m_ruleParametersHasBeenSet = true; m_ruleParameters.emplace(std::move(key), std::move(value)); return *this; }
138 inline ProfilerRuleConfiguration& AddRuleParameters(const char* key, Aws::String&& value) { m_ruleParametersHasBeenSet = true; m_ruleParameters.emplace(key, std::move(value)); return *this; }
139 inline ProfilerRuleConfiguration& AddRuleParameters(Aws::String&& key, const char* value) { m_ruleParametersHasBeenSet = true; m_ruleParameters.emplace(std::move(key), value); return *this; }
140 inline ProfilerRuleConfiguration& AddRuleParameters(const char* key, const char* value) { m_ruleParametersHasBeenSet = true; m_ruleParameters.emplace(key, value); return *this; }
142 private:
143
144 Aws::String m_ruleConfigurationName;
145 bool m_ruleConfigurationNameHasBeenSet = false;
146
147 Aws::String m_localPath;
148 bool m_localPathHasBeenSet = false;
149
150 Aws::String m_s3OutputPath;
151 bool m_s3OutputPathHasBeenSet = false;
152
153 Aws::String m_ruleEvaluatorImage;
154 bool m_ruleEvaluatorImageHasBeenSet = false;
155
156 ProcessingInstanceType m_instanceType;
157 bool m_instanceTypeHasBeenSet = false;
158
159 int m_volumeSizeInGB;
160 bool m_volumeSizeInGBHasBeenSet = false;
161
162 Aws::Map<Aws::String, Aws::String> m_ruleParameters;
163 bool m_ruleParametersHasBeenSet = false;
164 };
165
166} // namespace Model
167} // namespace SageMaker
168} // namespace Aws
ProfilerRuleConfiguration & WithVolumeSizeInGB(int value)
const ProcessingInstanceType & GetInstanceType() const
ProfilerRuleConfiguration & AddRuleParameters(Aws::String &&key, const Aws::String &value)
ProfilerRuleConfiguration & WithInstanceType(ProcessingInstanceType &&value)
ProfilerRuleConfiguration & WithRuleEvaluatorImage(const Aws::String &value)
AWS_SAGEMAKER_API ProfilerRuleConfiguration(Aws::Utils::Json::JsonView jsonValue)
ProfilerRuleConfiguration & WithS3OutputPath(const Aws::String &value)
ProfilerRuleConfiguration & AddRuleParameters(const char *key, Aws::String &&value)
ProfilerRuleConfiguration & WithRuleParameters(Aws::Map< Aws::String, Aws::String > &&value)
ProfilerRuleConfiguration & WithRuleParameters(const Aws::Map< Aws::String, Aws::String > &value)
ProfilerRuleConfiguration & WithRuleConfigurationName(const Aws::String &value)
ProfilerRuleConfiguration & AddRuleParameters(const Aws::String &key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetRuleParameters() const
ProfilerRuleConfiguration & WithRuleConfigurationName(Aws::String &&value)
ProfilerRuleConfiguration & WithLocalPath(const char *value)
AWS_SAGEMAKER_API ProfilerRuleConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
ProfilerRuleConfiguration & WithRuleConfigurationName(const char *value)
ProfilerRuleConfiguration & AddRuleParameters(Aws::String &&key, const char *value)
ProfilerRuleConfiguration & WithLocalPath(const Aws::String &value)
void SetRuleParameters(Aws::Map< Aws::String, Aws::String > &&value)
ProfilerRuleConfiguration & AddRuleParameters(const Aws::String &key, const Aws::String &value)
ProfilerRuleConfiguration & WithLocalPath(Aws::String &&value)
ProfilerRuleConfiguration & WithInstanceType(const ProcessingInstanceType &value)
ProfilerRuleConfiguration & WithRuleEvaluatorImage(Aws::String &&value)
void SetInstanceType(const ProcessingInstanceType &value)
ProfilerRuleConfiguration & WithS3OutputPath(const char *value)
ProfilerRuleConfiguration & WithS3OutputPath(Aws::String &&value)
ProfilerRuleConfiguration & AddRuleParameters(Aws::String &&key, Aws::String &&value)
void SetRuleParameters(const Aws::Map< Aws::String, Aws::String > &value)
ProfilerRuleConfiguration & WithRuleEvaluatorImage(const char *value)
ProfilerRuleConfiguration & AddRuleParameters(const char *key, const char *value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue