AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename RuleConfigurationNameT = Aws::String>
50 void SetRuleConfigurationName(RuleConfigurationNameT&& value) { m_ruleConfigurationNameHasBeenSet = true; m_ruleConfigurationName = std::forward<RuleConfigurationNameT>(value); }
51 template<typename RuleConfigurationNameT = Aws::String>
52 ProfilerRuleConfiguration& WithRuleConfigurationName(RuleConfigurationNameT&& value) { SetRuleConfigurationName(std::forward<RuleConfigurationNameT>(value)); return *this;}
54
56
60 inline const Aws::String& GetLocalPath() const { return m_localPath; }
61 inline bool LocalPathHasBeenSet() const { return m_localPathHasBeenSet; }
62 template<typename LocalPathT = Aws::String>
63 void SetLocalPath(LocalPathT&& value) { m_localPathHasBeenSet = true; m_localPath = std::forward<LocalPathT>(value); }
64 template<typename LocalPathT = Aws::String>
65 ProfilerRuleConfiguration& WithLocalPath(LocalPathT&& value) { SetLocalPath(std::forward<LocalPathT>(value)); return *this;}
67
69
72 inline const Aws::String& GetS3OutputPath() const { return m_s3OutputPath; }
73 inline bool S3OutputPathHasBeenSet() const { return m_s3OutputPathHasBeenSet; }
74 template<typename S3OutputPathT = Aws::String>
75 void SetS3OutputPath(S3OutputPathT&& value) { m_s3OutputPathHasBeenSet = true; m_s3OutputPath = std::forward<S3OutputPathT>(value); }
76 template<typename S3OutputPathT = Aws::String>
77 ProfilerRuleConfiguration& WithS3OutputPath(S3OutputPathT&& value) { SetS3OutputPath(std::forward<S3OutputPathT>(value)); return *this;}
79
81
85 inline const Aws::String& GetRuleEvaluatorImage() const { return m_ruleEvaluatorImage; }
86 inline bool RuleEvaluatorImageHasBeenSet() const { return m_ruleEvaluatorImageHasBeenSet; }
87 template<typename RuleEvaluatorImageT = Aws::String>
88 void SetRuleEvaluatorImage(RuleEvaluatorImageT&& value) { m_ruleEvaluatorImageHasBeenSet = true; m_ruleEvaluatorImage = std::forward<RuleEvaluatorImageT>(value); }
89 template<typename RuleEvaluatorImageT = Aws::String>
90 ProfilerRuleConfiguration& WithRuleEvaluatorImage(RuleEvaluatorImageT&& value) { SetRuleEvaluatorImage(std::forward<RuleEvaluatorImageT>(value)); return *this;}
92
94
97 inline ProcessingInstanceType GetInstanceType() const { return m_instanceType; }
98 inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; }
99 inline void SetInstanceType(ProcessingInstanceType value) { m_instanceTypeHasBeenSet = true; m_instanceType = value; }
102
104
108 inline int GetVolumeSizeInGB() const { return m_volumeSizeInGB; }
109 inline bool VolumeSizeInGBHasBeenSet() const { return m_volumeSizeInGBHasBeenSet; }
110 inline void SetVolumeSizeInGB(int value) { m_volumeSizeInGBHasBeenSet = true; m_volumeSizeInGB = value; }
111 inline ProfilerRuleConfiguration& WithVolumeSizeInGB(int value) { SetVolumeSizeInGB(value); return *this;}
113
115
118 inline const Aws::Map<Aws::String, Aws::String>& GetRuleParameters() const { return m_ruleParameters; }
119 inline bool RuleParametersHasBeenSet() const { return m_ruleParametersHasBeenSet; }
120 template<typename RuleParametersT = Aws::Map<Aws::String, Aws::String>>
121 void SetRuleParameters(RuleParametersT&& value) { m_ruleParametersHasBeenSet = true; m_ruleParameters = std::forward<RuleParametersT>(value); }
122 template<typename RuleParametersT = Aws::Map<Aws::String, Aws::String>>
123 ProfilerRuleConfiguration& WithRuleParameters(RuleParametersT&& value) { SetRuleParameters(std::forward<RuleParametersT>(value)); return *this;}
124 template<typename RuleParametersKeyT = Aws::String, typename RuleParametersValueT = Aws::String>
125 ProfilerRuleConfiguration& AddRuleParameters(RuleParametersKeyT&& key, RuleParametersValueT&& value) {
126 m_ruleParametersHasBeenSet = true; m_ruleParameters.emplace(std::forward<RuleParametersKeyT>(key), std::forward<RuleParametersValueT>(value)); return *this;
127 }
129 private:
130
131 Aws::String m_ruleConfigurationName;
132 bool m_ruleConfigurationNameHasBeenSet = false;
133
134 Aws::String m_localPath;
135 bool m_localPathHasBeenSet = false;
136
137 Aws::String m_s3OutputPath;
138 bool m_s3OutputPathHasBeenSet = false;
139
140 Aws::String m_ruleEvaluatorImage;
141 bool m_ruleEvaluatorImageHasBeenSet = false;
142
144 bool m_instanceTypeHasBeenSet = false;
145
146 int m_volumeSizeInGB{0};
147 bool m_volumeSizeInGBHasBeenSet = false;
148
149 Aws::Map<Aws::String, Aws::String> m_ruleParameters;
150 bool m_ruleParametersHasBeenSet = false;
151 };
152
153} // namespace Model
154} // namespace SageMaker
155} // namespace Aws
ProfilerRuleConfiguration & WithRuleConfigurationName(RuleConfigurationNameT &&value)
ProfilerRuleConfiguration & WithVolumeSizeInGB(int value)
void SetRuleConfigurationName(RuleConfigurationNameT &&value)
AWS_SAGEMAKER_API ProfilerRuleConfiguration(Aws::Utils::Json::JsonView jsonValue)
ProfilerRuleConfiguration & WithLocalPath(LocalPathT &&value)
ProfilerRuleConfiguration & WithRuleEvaluatorImage(RuleEvaluatorImageT &&value)
const Aws::Map< Aws::String, Aws::String > & GetRuleParameters() const
AWS_SAGEMAKER_API ProfilerRuleConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
ProfilerRuleConfiguration & WithS3OutputPath(S3OutputPathT &&value)
ProfilerRuleConfiguration & WithInstanceType(ProcessingInstanceType value)
ProfilerRuleConfiguration & AddRuleParameters(RuleParametersKeyT &&key, RuleParametersValueT &&value)
AWS_SAGEMAKER_API ProfilerRuleConfiguration()=default
ProfilerRuleConfiguration & WithRuleParameters(RuleParametersT &&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