AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename RuleConfigurationNameT = Aws::String>
55 void SetRuleConfigurationName(RuleConfigurationNameT&& value) { m_ruleConfigurationNameHasBeenSet = true; m_ruleConfigurationName = std::forward<RuleConfigurationNameT>(value); }
56 template<typename RuleConfigurationNameT = Aws::String>
57 DebugRuleConfiguration& WithRuleConfigurationName(RuleConfigurationNameT&& value) { SetRuleConfigurationName(std::forward<RuleConfigurationNameT>(value)); return *this;}
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) { m_localPathHasBeenSet = true; m_localPath = std::forward<LocalPathT>(value); }
69 template<typename LocalPathT = Aws::String>
70 DebugRuleConfiguration& WithLocalPath(LocalPathT&& value) { SetLocalPath(std::forward<LocalPathT>(value)); return *this;}
72
74
77 inline const Aws::String& GetS3OutputPath() const { return m_s3OutputPath; }
78 inline bool S3OutputPathHasBeenSet() const { return m_s3OutputPathHasBeenSet; }
79 template<typename S3OutputPathT = Aws::String>
80 void SetS3OutputPath(S3OutputPathT&& value) { m_s3OutputPathHasBeenSet = true; m_s3OutputPath = std::forward<S3OutputPathT>(value); }
81 template<typename S3OutputPathT = Aws::String>
82 DebugRuleConfiguration& WithS3OutputPath(S3OutputPathT&& value) { SetS3OutputPath(std::forward<S3OutputPathT>(value)); return *this;}
84
86
89 inline const Aws::String& GetRuleEvaluatorImage() const { return m_ruleEvaluatorImage; }
90 inline bool RuleEvaluatorImageHasBeenSet() const { return m_ruleEvaluatorImageHasBeenSet; }
91 template<typename RuleEvaluatorImageT = Aws::String>
92 void SetRuleEvaluatorImage(RuleEvaluatorImageT&& value) { m_ruleEvaluatorImageHasBeenSet = true; m_ruleEvaluatorImage = std::forward<RuleEvaluatorImageT>(value); }
93 template<typename RuleEvaluatorImageT = Aws::String>
94 DebugRuleConfiguration& WithRuleEvaluatorImage(RuleEvaluatorImageT&& value) { SetRuleEvaluatorImage(std::forward<RuleEvaluatorImageT>(value)); return *this;}
96
98
101 inline ProcessingInstanceType GetInstanceType() const { return m_instanceType; }
102 inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; }
103 inline void SetInstanceType(ProcessingInstanceType value) { m_instanceTypeHasBeenSet = true; m_instanceType = value; }
106
108
112 inline int GetVolumeSizeInGB() const { return m_volumeSizeInGB; }
113 inline bool VolumeSizeInGBHasBeenSet() const { return m_volumeSizeInGBHasBeenSet; }
114 inline void SetVolumeSizeInGB(int value) { m_volumeSizeInGBHasBeenSet = true; m_volumeSizeInGB = value; }
115 inline DebugRuleConfiguration& WithVolumeSizeInGB(int value) { SetVolumeSizeInGB(value); return *this;}
117
119
122 inline const Aws::Map<Aws::String, Aws::String>& GetRuleParameters() const { return m_ruleParameters; }
123 inline bool RuleParametersHasBeenSet() const { return m_ruleParametersHasBeenSet; }
124 template<typename RuleParametersT = Aws::Map<Aws::String, Aws::String>>
125 void SetRuleParameters(RuleParametersT&& value) { m_ruleParametersHasBeenSet = true; m_ruleParameters = std::forward<RuleParametersT>(value); }
126 template<typename RuleParametersT = Aws::Map<Aws::String, Aws::String>>
127 DebugRuleConfiguration& WithRuleParameters(RuleParametersT&& value) { SetRuleParameters(std::forward<RuleParametersT>(value)); return *this;}
128 template<typename RuleParametersKeyT = Aws::String, typename RuleParametersValueT = Aws::String>
129 DebugRuleConfiguration& AddRuleParameters(RuleParametersKeyT&& key, RuleParametersValueT&& value) {
130 m_ruleParametersHasBeenSet = true; m_ruleParameters.emplace(std::forward<RuleParametersKeyT>(key), std::forward<RuleParametersValueT>(value)); return *this;
131 }
133 private:
134
135 Aws::String m_ruleConfigurationName;
136 bool m_ruleConfigurationNameHasBeenSet = false;
137
138 Aws::String m_localPath;
139 bool m_localPathHasBeenSet = false;
140
141 Aws::String m_s3OutputPath;
142 bool m_s3OutputPathHasBeenSet = false;
143
144 Aws::String m_ruleEvaluatorImage;
145 bool m_ruleEvaluatorImageHasBeenSet = false;
146
148 bool m_instanceTypeHasBeenSet = false;
149
150 int m_volumeSizeInGB{0};
151 bool m_volumeSizeInGBHasBeenSet = false;
152
153 Aws::Map<Aws::String, Aws::String> m_ruleParameters;
154 bool m_ruleParametersHasBeenSet = false;
155 };
156
157} // namespace Model
158} // namespace SageMaker
159} // 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