AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DebugRuleConfiguration.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
39 {
40 public:
41 AWS_SAGEMAKER_API DebugRuleConfiguration();
44 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
52 inline const Aws::String& GetRuleConfigurationName() const{ return m_ruleConfigurationName; }
53 inline bool RuleConfigurationNameHasBeenSet() const { return m_ruleConfigurationNameHasBeenSet; }
54 inline void SetRuleConfigurationName(const Aws::String& value) { m_ruleConfigurationNameHasBeenSet = true; m_ruleConfigurationName = value; }
55 inline void SetRuleConfigurationName(Aws::String&& value) { m_ruleConfigurationNameHasBeenSet = true; m_ruleConfigurationName = std::move(value); }
56 inline void SetRuleConfigurationName(const char* value) { m_ruleConfigurationNameHasBeenSet = true; m_ruleConfigurationName.assign(value); }
58 inline DebugRuleConfiguration& WithRuleConfigurationName(Aws::String&& value) { SetRuleConfigurationName(std::move(value)); return *this;}
59 inline DebugRuleConfiguration& WithRuleConfigurationName(const char* value) { SetRuleConfigurationName(value); return *this;}
61
63
67 inline const Aws::String& GetLocalPath() const{ return m_localPath; }
68 inline bool LocalPathHasBeenSet() const { return m_localPathHasBeenSet; }
69 inline void SetLocalPath(const Aws::String& value) { m_localPathHasBeenSet = true; m_localPath = value; }
70 inline void SetLocalPath(Aws::String&& value) { m_localPathHasBeenSet = true; m_localPath = std::move(value); }
71 inline void SetLocalPath(const char* value) { m_localPathHasBeenSet = true; m_localPath.assign(value); }
72 inline DebugRuleConfiguration& WithLocalPath(const Aws::String& value) { SetLocalPath(value); return *this;}
73 inline DebugRuleConfiguration& WithLocalPath(Aws::String&& value) { SetLocalPath(std::move(value)); return *this;}
74 inline DebugRuleConfiguration& WithLocalPath(const char* value) { SetLocalPath(value); return *this;}
76
78
81 inline const Aws::String& GetS3OutputPath() const{ return m_s3OutputPath; }
82 inline bool S3OutputPathHasBeenSet() const { return m_s3OutputPathHasBeenSet; }
83 inline void SetS3OutputPath(const Aws::String& value) { m_s3OutputPathHasBeenSet = true; m_s3OutputPath = value; }
84 inline void SetS3OutputPath(Aws::String&& value) { m_s3OutputPathHasBeenSet = true; m_s3OutputPath = std::move(value); }
85 inline void SetS3OutputPath(const char* value) { m_s3OutputPathHasBeenSet = true; m_s3OutputPath.assign(value); }
86 inline DebugRuleConfiguration& WithS3OutputPath(const Aws::String& value) { SetS3OutputPath(value); return *this;}
87 inline DebugRuleConfiguration& WithS3OutputPath(Aws::String&& value) { SetS3OutputPath(std::move(value)); return *this;}
88 inline DebugRuleConfiguration& WithS3OutputPath(const char* value) { SetS3OutputPath(value); return *this;}
90
92
95 inline const Aws::String& GetRuleEvaluatorImage() const{ return m_ruleEvaluatorImage; }
96 inline bool RuleEvaluatorImageHasBeenSet() const { return m_ruleEvaluatorImageHasBeenSet; }
97 inline void SetRuleEvaluatorImage(const Aws::String& value) { m_ruleEvaluatorImageHasBeenSet = true; m_ruleEvaluatorImage = value; }
98 inline void SetRuleEvaluatorImage(Aws::String&& value) { m_ruleEvaluatorImageHasBeenSet = true; m_ruleEvaluatorImage = std::move(value); }
99 inline void SetRuleEvaluatorImage(const char* value) { m_ruleEvaluatorImageHasBeenSet = true; m_ruleEvaluatorImage.assign(value); }
101 inline DebugRuleConfiguration& WithRuleEvaluatorImage(Aws::String&& value) { SetRuleEvaluatorImage(std::move(value)); return *this;}
102 inline DebugRuleConfiguration& WithRuleEvaluatorImage(const char* value) { SetRuleEvaluatorImage(value); return *this;}
104
106
109 inline const ProcessingInstanceType& GetInstanceType() const{ return m_instanceType; }
110 inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; }
111 inline void SetInstanceType(const ProcessingInstanceType& value) { m_instanceTypeHasBeenSet = true; m_instanceType = value; }
112 inline void SetInstanceType(ProcessingInstanceType&& value) { m_instanceTypeHasBeenSet = true; m_instanceType = std::move(value); }
114 inline DebugRuleConfiguration& WithInstanceType(ProcessingInstanceType&& value) { SetInstanceType(std::move(value)); return *this;}
116
118
122 inline int GetVolumeSizeInGB() const{ return m_volumeSizeInGB; }
123 inline bool VolumeSizeInGBHasBeenSet() const { return m_volumeSizeInGBHasBeenSet; }
124 inline void SetVolumeSizeInGB(int value) { m_volumeSizeInGBHasBeenSet = true; m_volumeSizeInGB = value; }
125 inline DebugRuleConfiguration& WithVolumeSizeInGB(int value) { SetVolumeSizeInGB(value); return *this;}
127
129
132 inline const Aws::Map<Aws::String, Aws::String>& GetRuleParameters() const{ return m_ruleParameters; }
133 inline bool RuleParametersHasBeenSet() const { return m_ruleParametersHasBeenSet; }
134 inline void SetRuleParameters(const Aws::Map<Aws::String, Aws::String>& value) { m_ruleParametersHasBeenSet = true; m_ruleParameters = value; }
135 inline void SetRuleParameters(Aws::Map<Aws::String, Aws::String>&& value) { m_ruleParametersHasBeenSet = true; m_ruleParameters = std::move(value); }
138 inline DebugRuleConfiguration& AddRuleParameters(const Aws::String& key, const Aws::String& value) { m_ruleParametersHasBeenSet = true; m_ruleParameters.emplace(key, value); return *this; }
139 inline DebugRuleConfiguration& AddRuleParameters(Aws::String&& key, const Aws::String& value) { m_ruleParametersHasBeenSet = true; m_ruleParameters.emplace(std::move(key), value); return *this; }
140 inline DebugRuleConfiguration& AddRuleParameters(const Aws::String& key, Aws::String&& value) { m_ruleParametersHasBeenSet = true; m_ruleParameters.emplace(key, std::move(value)); return *this; }
141 inline DebugRuleConfiguration& AddRuleParameters(Aws::String&& key, Aws::String&& value) { m_ruleParametersHasBeenSet = true; m_ruleParameters.emplace(std::move(key), std::move(value)); return *this; }
142 inline DebugRuleConfiguration& AddRuleParameters(const char* key, Aws::String&& value) { m_ruleParametersHasBeenSet = true; m_ruleParameters.emplace(key, std::move(value)); return *this; }
143 inline DebugRuleConfiguration& AddRuleParameters(Aws::String&& key, const char* value) { m_ruleParametersHasBeenSet = true; m_ruleParameters.emplace(std::move(key), value); return *this; }
144 inline DebugRuleConfiguration& AddRuleParameters(const char* key, const char* value) { m_ruleParametersHasBeenSet = true; m_ruleParameters.emplace(key, value); return *this; }
146 private:
147
148 Aws::String m_ruleConfigurationName;
149 bool m_ruleConfigurationNameHasBeenSet = false;
150
151 Aws::String m_localPath;
152 bool m_localPathHasBeenSet = false;
153
154 Aws::String m_s3OutputPath;
155 bool m_s3OutputPathHasBeenSet = false;
156
157 Aws::String m_ruleEvaluatorImage;
158 bool m_ruleEvaluatorImageHasBeenSet = false;
159
160 ProcessingInstanceType m_instanceType;
161 bool m_instanceTypeHasBeenSet = false;
162
163 int m_volumeSizeInGB;
164 bool m_volumeSizeInGBHasBeenSet = false;
165
166 Aws::Map<Aws::String, Aws::String> m_ruleParameters;
167 bool m_ruleParametersHasBeenSet = false;
168 };
169
170} // namespace Model
171} // namespace SageMaker
172} // namespace Aws
DebugRuleConfiguration & WithInstanceType(ProcessingInstanceType &&value)
DebugRuleConfiguration & AddRuleParameters(const Aws::String &key, Aws::String &&value)
DebugRuleConfiguration & WithLocalPath(const char *value)
void SetInstanceType(ProcessingInstanceType &&value)
DebugRuleConfiguration & WithRuleEvaluatorImage(Aws::String &&value)
DebugRuleConfiguration & WithRuleConfigurationName(const Aws::String &value)
DebugRuleConfiguration & AddRuleParameters(Aws::String &&key, Aws::String &&value)
DebugRuleConfiguration & WithS3OutputPath(const char *value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
DebugRuleConfiguration & AddRuleParameters(const char *key, const char *value)
DebugRuleConfiguration & WithRuleConfigurationName(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetRuleParameters() const
AWS_SAGEMAKER_API DebugRuleConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
DebugRuleConfiguration & AddRuleParameters(Aws::String &&key, const char *value)
DebugRuleConfiguration & WithRuleEvaluatorImage(const char *value)
DebugRuleConfiguration & AddRuleParameters(const Aws::String &key, const Aws::String &value)
DebugRuleConfiguration & WithRuleParameters(const Aws::Map< Aws::String, Aws::String > &value)
void SetInstanceType(const ProcessingInstanceType &value)
DebugRuleConfiguration & WithVolumeSizeInGB(int value)
AWS_SAGEMAKER_API DebugRuleConfiguration(Aws::Utils::Json::JsonView jsonValue)
DebugRuleConfiguration & WithInstanceType(const ProcessingInstanceType &value)
DebugRuleConfiguration & WithLocalPath(const Aws::String &value)
const ProcessingInstanceType & GetInstanceType() const
DebugRuleConfiguration & AddRuleParameters(const char *key, Aws::String &&value)
DebugRuleConfiguration & WithS3OutputPath(Aws::String &&value)
DebugRuleConfiguration & WithLocalPath(Aws::String &&value)
DebugRuleConfiguration & WithRuleConfigurationName(const char *value)
void SetRuleParameters(Aws::Map< Aws::String, Aws::String > &&value)
void SetRuleParameters(const Aws::Map< Aws::String, Aws::String > &value)
void SetRuleConfigurationName(const Aws::String &value)
DebugRuleConfiguration & WithRuleEvaluatorImage(const Aws::String &value)
DebugRuleConfiguration & AddRuleParameters(Aws::String &&key, const Aws::String &value)
DebugRuleConfiguration & WithRuleParameters(Aws::Map< Aws::String, Aws::String > &&value)
DebugRuleConfiguration & WithS3OutputPath(const Aws::String &value)
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