AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateModelBiasJobDefinitionRequest.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/SageMakerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sagemaker/model/ModelBiasBaselineConfig.h>
11#include <aws/sagemaker/model/ModelBiasAppSpecification.h>
12#include <aws/sagemaker/model/ModelBiasJobInput.h>
13#include <aws/sagemaker/model/MonitoringOutputConfig.h>
14#include <aws/sagemaker/model/MonitoringResources.h>
15#include <aws/sagemaker/model/MonitoringNetworkConfig.h>
16#include <aws/sagemaker/model/MonitoringStoppingCondition.h>
17#include <aws/core/utils/memory/stl/AWSVector.h>
18#include <aws/sagemaker/model/Tag.h>
19#include <utility>
20
21namespace Aws
22{
23namespace SageMaker
24{
25namespace Model
26{
27
31 {
32 public:
34
35 // Service request name is the Operation name which will send this request out,
36 // each operation should has unique request name, so that we can get operation's name from this request.
37 // Note: this is not true for response, multiple operations may have the same response name,
38 // so we can not get operation's name from response.
39 inline virtual const char* GetServiceRequestName() const override { return "CreateModelBiasJobDefinition"; }
40
41 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
42
44
45
47
51 inline const Aws::String& GetJobDefinitionName() const{ return m_jobDefinitionName; }
52 inline bool JobDefinitionNameHasBeenSet() const { return m_jobDefinitionNameHasBeenSet; }
53 inline void SetJobDefinitionName(const Aws::String& value) { m_jobDefinitionNameHasBeenSet = true; m_jobDefinitionName = value; }
54 inline void SetJobDefinitionName(Aws::String&& value) { m_jobDefinitionNameHasBeenSet = true; m_jobDefinitionName = std::move(value); }
55 inline void SetJobDefinitionName(const char* value) { m_jobDefinitionNameHasBeenSet = true; m_jobDefinitionName.assign(value); }
58 inline CreateModelBiasJobDefinitionRequest& WithJobDefinitionName(const char* value) { SetJobDefinitionName(value); return *this;}
60
62
65 inline const ModelBiasBaselineConfig& GetModelBiasBaselineConfig() const{ return m_modelBiasBaselineConfig; }
66 inline bool ModelBiasBaselineConfigHasBeenSet() const { return m_modelBiasBaselineConfigHasBeenSet; }
67 inline void SetModelBiasBaselineConfig(const ModelBiasBaselineConfig& value) { m_modelBiasBaselineConfigHasBeenSet = true; m_modelBiasBaselineConfig = value; }
68 inline void SetModelBiasBaselineConfig(ModelBiasBaselineConfig&& value) { m_modelBiasBaselineConfigHasBeenSet = true; m_modelBiasBaselineConfig = std::move(value); }
72
74
77 inline const ModelBiasAppSpecification& GetModelBiasAppSpecification() const{ return m_modelBiasAppSpecification; }
78 inline bool ModelBiasAppSpecificationHasBeenSet() const { return m_modelBiasAppSpecificationHasBeenSet; }
79 inline void SetModelBiasAppSpecification(const ModelBiasAppSpecification& value) { m_modelBiasAppSpecificationHasBeenSet = true; m_modelBiasAppSpecification = value; }
80 inline void SetModelBiasAppSpecification(ModelBiasAppSpecification&& value) { m_modelBiasAppSpecificationHasBeenSet = true; m_modelBiasAppSpecification = std::move(value); }
84
86
89 inline const ModelBiasJobInput& GetModelBiasJobInput() const{ return m_modelBiasJobInput; }
90 inline bool ModelBiasJobInputHasBeenSet() const { return m_modelBiasJobInputHasBeenSet; }
91 inline void SetModelBiasJobInput(const ModelBiasJobInput& value) { m_modelBiasJobInputHasBeenSet = true; m_modelBiasJobInput = value; }
92 inline void SetModelBiasJobInput(ModelBiasJobInput&& value) { m_modelBiasJobInputHasBeenSet = true; m_modelBiasJobInput = std::move(value); }
96
98
99 inline const MonitoringOutputConfig& GetModelBiasJobOutputConfig() const{ return m_modelBiasJobOutputConfig; }
100 inline bool ModelBiasJobOutputConfigHasBeenSet() const { return m_modelBiasJobOutputConfigHasBeenSet; }
101 inline void SetModelBiasJobOutputConfig(const MonitoringOutputConfig& value) { m_modelBiasJobOutputConfigHasBeenSet = true; m_modelBiasJobOutputConfig = value; }
102 inline void SetModelBiasJobOutputConfig(MonitoringOutputConfig&& value) { m_modelBiasJobOutputConfigHasBeenSet = true; m_modelBiasJobOutputConfig = std::move(value); }
106
108
109 inline const MonitoringResources& GetJobResources() const{ return m_jobResources; }
110 inline bool JobResourcesHasBeenSet() const { return m_jobResourcesHasBeenSet; }
111 inline void SetJobResources(const MonitoringResources& value) { m_jobResourcesHasBeenSet = true; m_jobResources = value; }
112 inline void SetJobResources(MonitoringResources&& value) { m_jobResourcesHasBeenSet = true; m_jobResources = std::move(value); }
116
118
121 inline const MonitoringNetworkConfig& GetNetworkConfig() const{ return m_networkConfig; }
122 inline bool NetworkConfigHasBeenSet() const { return m_networkConfigHasBeenSet; }
123 inline void SetNetworkConfig(const MonitoringNetworkConfig& value) { m_networkConfigHasBeenSet = true; m_networkConfig = value; }
124 inline void SetNetworkConfig(MonitoringNetworkConfig&& value) { m_networkConfigHasBeenSet = true; m_networkConfig = std::move(value); }
128
130
134 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
135 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
136 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
137 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
138 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
139 inline CreateModelBiasJobDefinitionRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
140 inline CreateModelBiasJobDefinitionRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
141 inline CreateModelBiasJobDefinitionRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
143
145
146 inline const MonitoringStoppingCondition& GetStoppingCondition() const{ return m_stoppingCondition; }
147 inline bool StoppingConditionHasBeenSet() const { return m_stoppingConditionHasBeenSet; }
148 inline void SetStoppingCondition(const MonitoringStoppingCondition& value) { m_stoppingConditionHasBeenSet = true; m_stoppingCondition = value; }
149 inline void SetStoppingCondition(MonitoringStoppingCondition&& value) { m_stoppingConditionHasBeenSet = true; m_stoppingCondition = std::move(value); }
153
155
161 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
162 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
163 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
164 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
165 inline CreateModelBiasJobDefinitionRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
166 inline CreateModelBiasJobDefinitionRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
167 inline CreateModelBiasJobDefinitionRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
168 inline CreateModelBiasJobDefinitionRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
170 private:
171
172 Aws::String m_jobDefinitionName;
173 bool m_jobDefinitionNameHasBeenSet = false;
174
175 ModelBiasBaselineConfig m_modelBiasBaselineConfig;
176 bool m_modelBiasBaselineConfigHasBeenSet = false;
177
178 ModelBiasAppSpecification m_modelBiasAppSpecification;
179 bool m_modelBiasAppSpecificationHasBeenSet = false;
180
181 ModelBiasJobInput m_modelBiasJobInput;
182 bool m_modelBiasJobInputHasBeenSet = false;
183
184 MonitoringOutputConfig m_modelBiasJobOutputConfig;
185 bool m_modelBiasJobOutputConfigHasBeenSet = false;
186
187 MonitoringResources m_jobResources;
188 bool m_jobResourcesHasBeenSet = false;
189
190 MonitoringNetworkConfig m_networkConfig;
191 bool m_networkConfigHasBeenSet = false;
192
193 Aws::String m_roleArn;
194 bool m_roleArnHasBeenSet = false;
195
196 MonitoringStoppingCondition m_stoppingCondition;
197 bool m_stoppingConditionHasBeenSet = false;
198
199 Aws::Vector<Tag> m_tags;
200 bool m_tagsHasBeenSet = false;
201 };
202
203} // namespace Model
204} // namespace SageMaker
205} // namespace Aws
CreateModelBiasJobDefinitionRequest & WithJobResources(MonitoringResources &&value)
CreateModelBiasJobDefinitionRequest & WithModelBiasBaselineConfig(const ModelBiasBaselineConfig &value)
CreateModelBiasJobDefinitionRequest & WithNetworkConfig(MonitoringNetworkConfig &&value)
CreateModelBiasJobDefinitionRequest & WithModelBiasBaselineConfig(ModelBiasBaselineConfig &&value)
CreateModelBiasJobDefinitionRequest & WithRoleArn(const char *value)
CreateModelBiasJobDefinitionRequest & WithNetworkConfig(const MonitoringNetworkConfig &value)
CreateModelBiasJobDefinitionRequest & WithModelBiasJobOutputConfig(MonitoringOutputConfig &&value)
CreateModelBiasJobDefinitionRequest & WithJobDefinitionName(const char *value)
CreateModelBiasJobDefinitionRequest & WithJobResources(const MonitoringResources &value)
CreateModelBiasJobDefinitionRequest & WithTags(const Aws::Vector< Tag > &value)
CreateModelBiasJobDefinitionRequest & AddTags(const Tag &value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
CreateModelBiasJobDefinitionRequest & WithJobDefinitionName(const Aws::String &value)
CreateModelBiasJobDefinitionRequest & WithJobDefinitionName(Aws::String &&value)
CreateModelBiasJobDefinitionRequest & WithStoppingCondition(MonitoringStoppingCondition &&value)
CreateModelBiasJobDefinitionRequest & WithStoppingCondition(const MonitoringStoppingCondition &value)
CreateModelBiasJobDefinitionRequest & WithModelBiasJobInput(const ModelBiasJobInput &value)
CreateModelBiasJobDefinitionRequest & WithModelBiasAppSpecification(ModelBiasAppSpecification &&value)
CreateModelBiasJobDefinitionRequest & WithRoleArn(const Aws::String &value)
CreateModelBiasJobDefinitionRequest & WithModelBiasJobOutputConfig(const MonitoringOutputConfig &value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateModelBiasJobDefinitionRequest & WithModelBiasAppSpecification(const ModelBiasAppSpecification &value)
CreateModelBiasJobDefinitionRequest & WithRoleArn(Aws::String &&value)
CreateModelBiasJobDefinitionRequest & WithModelBiasJobInput(ModelBiasJobInput &&value)
CreateModelBiasJobDefinitionRequest & WithTags(Aws::Vector< Tag > &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector