AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
DebugRuleConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/SageMaker_EXPORTS.h>
10#include <aws/sagemaker/model/ProcessingInstanceType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SageMaker {
22namespace Model {
23
35 public:
36 AWS_SAGEMAKER_API DebugRuleConfiguration() = default;
39 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
42
46 inline const Aws::String& GetRuleConfigurationName() const { return m_ruleConfigurationName; }
47 inline bool RuleConfigurationNameHasBeenSet() const { return m_ruleConfigurationNameHasBeenSet; }
48 template <typename RuleConfigurationNameT = Aws::String>
49 void SetRuleConfigurationName(RuleConfigurationNameT&& value) {
50 m_ruleConfigurationNameHasBeenSet = true;
51 m_ruleConfigurationName = std::forward<RuleConfigurationNameT>(value);
52 }
53 template <typename RuleConfigurationNameT = Aws::String>
54 DebugRuleConfiguration& WithRuleConfigurationName(RuleConfigurationNameT&& value) {
55 SetRuleConfigurationName(std::forward<RuleConfigurationNameT>(value));
56 return *this;
57 }
59
61
65 inline const Aws::String& GetLocalPath() const { return m_localPath; }
66 inline bool LocalPathHasBeenSet() const { return m_localPathHasBeenSet; }
67 template <typename LocalPathT = Aws::String>
68 void SetLocalPath(LocalPathT&& value) {
69 m_localPathHasBeenSet = true;
70 m_localPath = std::forward<LocalPathT>(value);
71 }
72 template <typename LocalPathT = Aws::String>
74 SetLocalPath(std::forward<LocalPathT>(value));
75 return *this;
76 }
78
80
83 inline const Aws::String& GetS3OutputPath() const { return m_s3OutputPath; }
84 inline bool S3OutputPathHasBeenSet() const { return m_s3OutputPathHasBeenSet; }
85 template <typename S3OutputPathT = Aws::String>
86 void SetS3OutputPath(S3OutputPathT&& value) {
87 m_s3OutputPathHasBeenSet = true;
88 m_s3OutputPath = std::forward<S3OutputPathT>(value);
89 }
90 template <typename S3OutputPathT = Aws::String>
91 DebugRuleConfiguration& WithS3OutputPath(S3OutputPathT&& value) {
92 SetS3OutputPath(std::forward<S3OutputPathT>(value));
93 return *this;
94 }
96
98
101 inline const Aws::String& GetRuleEvaluatorImage() const { return m_ruleEvaluatorImage; }
102 inline bool RuleEvaluatorImageHasBeenSet() const { return m_ruleEvaluatorImageHasBeenSet; }
103 template <typename RuleEvaluatorImageT = Aws::String>
104 void SetRuleEvaluatorImage(RuleEvaluatorImageT&& value) {
105 m_ruleEvaluatorImageHasBeenSet = true;
106 m_ruleEvaluatorImage = std::forward<RuleEvaluatorImageT>(value);
107 }
108 template <typename RuleEvaluatorImageT = Aws::String>
109 DebugRuleConfiguration& WithRuleEvaluatorImage(RuleEvaluatorImageT&& value) {
110 SetRuleEvaluatorImage(std::forward<RuleEvaluatorImageT>(value));
111 return *this;
112 }
114
116
119 inline ProcessingInstanceType GetInstanceType() const { return m_instanceType; }
120 inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; }
122 m_instanceTypeHasBeenSet = true;
123 m_instanceType = value;
124 }
126 SetInstanceType(value);
127 return *this;
128 }
130
132
136 inline int GetVolumeSizeInGB() const { return m_volumeSizeInGB; }
137 inline bool VolumeSizeInGBHasBeenSet() const { return m_volumeSizeInGBHasBeenSet; }
138 inline void SetVolumeSizeInGB(int value) {
139 m_volumeSizeInGBHasBeenSet = true;
140 m_volumeSizeInGB = value;
141 }
143 SetVolumeSizeInGB(value);
144 return *this;
145 }
147
149
152 inline const Aws::Map<Aws::String, Aws::String>& GetRuleParameters() const { return m_ruleParameters; }
153 inline bool RuleParametersHasBeenSet() const { return m_ruleParametersHasBeenSet; }
154 template <typename RuleParametersT = Aws::Map<Aws::String, Aws::String>>
155 void SetRuleParameters(RuleParametersT&& value) {
156 m_ruleParametersHasBeenSet = true;
157 m_ruleParameters = std::forward<RuleParametersT>(value);
158 }
159 template <typename RuleParametersT = Aws::Map<Aws::String, Aws::String>>
160 DebugRuleConfiguration& WithRuleParameters(RuleParametersT&& value) {
161 SetRuleParameters(std::forward<RuleParametersT>(value));
162 return *this;
163 }
164 template <typename RuleParametersKeyT = Aws::String, typename RuleParametersValueT = Aws::String>
165 DebugRuleConfiguration& AddRuleParameters(RuleParametersKeyT&& key, RuleParametersValueT&& value) {
166 m_ruleParametersHasBeenSet = true;
167 m_ruleParameters.emplace(std::forward<RuleParametersKeyT>(key), std::forward<RuleParametersValueT>(value));
168 return *this;
169 }
171 private:
172 Aws::String m_ruleConfigurationName;
173
174 Aws::String m_localPath;
175
176 Aws::String m_s3OutputPath;
177
178 Aws::String m_ruleEvaluatorImage;
179
181
182 int m_volumeSizeInGB{0};
183
184 Aws::Map<Aws::String, Aws::String> m_ruleParameters;
185 bool m_ruleConfigurationNameHasBeenSet = false;
186 bool m_localPathHasBeenSet = false;
187 bool m_s3OutputPathHasBeenSet = false;
188 bool m_ruleEvaluatorImageHasBeenSet = false;
189 bool m_instanceTypeHasBeenSet = false;
190 bool m_volumeSizeInGBHasBeenSet = false;
191 bool m_ruleParametersHasBeenSet = false;
192};
193
194} // namespace Model
195} // namespace SageMaker
196} // namespace Aws
DebugRuleConfiguration & WithS3OutputPath(S3OutputPathT &&value)
AWS_SAGEMAKER_API DebugRuleConfiguration()=default
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Map< Aws::String, Aws::String > & GetRuleParameters() const
DebugRuleConfiguration & WithLocalPath(LocalPathT &&value)
AWS_SAGEMAKER_API DebugRuleConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
DebugRuleConfiguration & WithVolumeSizeInGB(int value)
AWS_SAGEMAKER_API DebugRuleConfiguration(Aws::Utils::Json::JsonView jsonValue)
DebugRuleConfiguration & WithRuleConfigurationName(RuleConfigurationNameT &&value)
void SetInstanceType(ProcessingInstanceType value)
DebugRuleConfiguration & AddRuleParameters(RuleParametersKeyT &&key, RuleParametersValueT &&value)
DebugRuleConfiguration & WithInstanceType(ProcessingInstanceType value)
DebugRuleConfiguration & WithRuleParameters(RuleParametersT &&value)
void SetRuleConfigurationName(RuleConfigurationNameT &&value)
void SetRuleEvaluatorImage(RuleEvaluatorImageT &&value)
DebugRuleConfiguration & WithRuleEvaluatorImage(RuleEvaluatorImageT &&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