AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateModelExplainabilityJobDefinitionRequest.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/ModelExplainabilityBaselineConfig.h>
11#include <aws/sagemaker/model/ModelExplainabilityAppSpecification.h>
12#include <aws/sagemaker/model/ModelExplainabilityJobInput.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 "CreateModelExplainabilityJobDefinition"; }
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); }
60
62
65 inline const ModelExplainabilityBaselineConfig& GetModelExplainabilityBaselineConfig() const{ return m_modelExplainabilityBaselineConfig; }
66 inline bool ModelExplainabilityBaselineConfigHasBeenSet() const { return m_modelExplainabilityBaselineConfigHasBeenSet; }
67 inline void SetModelExplainabilityBaselineConfig(const ModelExplainabilityBaselineConfig& value) { m_modelExplainabilityBaselineConfigHasBeenSet = true; m_modelExplainabilityBaselineConfig = value; }
68 inline void SetModelExplainabilityBaselineConfig(ModelExplainabilityBaselineConfig&& value) { m_modelExplainabilityBaselineConfigHasBeenSet = true; m_modelExplainabilityBaselineConfig = std::move(value); }
72
74
78 inline const ModelExplainabilityAppSpecification& GetModelExplainabilityAppSpecification() const{ return m_modelExplainabilityAppSpecification; }
79 inline bool ModelExplainabilityAppSpecificationHasBeenSet() const { return m_modelExplainabilityAppSpecificationHasBeenSet; }
80 inline void SetModelExplainabilityAppSpecification(const ModelExplainabilityAppSpecification& value) { m_modelExplainabilityAppSpecificationHasBeenSet = true; m_modelExplainabilityAppSpecification = value; }
81 inline void SetModelExplainabilityAppSpecification(ModelExplainabilityAppSpecification&& value) { m_modelExplainabilityAppSpecificationHasBeenSet = true; m_modelExplainabilityAppSpecification = std::move(value); }
85
87
90 inline const ModelExplainabilityJobInput& GetModelExplainabilityJobInput() const{ return m_modelExplainabilityJobInput; }
91 inline bool ModelExplainabilityJobInputHasBeenSet() const { return m_modelExplainabilityJobInputHasBeenSet; }
92 inline void SetModelExplainabilityJobInput(const ModelExplainabilityJobInput& value) { m_modelExplainabilityJobInputHasBeenSet = true; m_modelExplainabilityJobInput = value; }
93 inline void SetModelExplainabilityJobInput(ModelExplainabilityJobInput&& value) { m_modelExplainabilityJobInputHasBeenSet = true; m_modelExplainabilityJobInput = std::move(value); }
97
99
100 inline const MonitoringOutputConfig& GetModelExplainabilityJobOutputConfig() const{ return m_modelExplainabilityJobOutputConfig; }
101 inline bool ModelExplainabilityJobOutputConfigHasBeenSet() const { return m_modelExplainabilityJobOutputConfigHasBeenSet; }
102 inline void SetModelExplainabilityJobOutputConfig(const MonitoringOutputConfig& value) { m_modelExplainabilityJobOutputConfigHasBeenSet = true; m_modelExplainabilityJobOutputConfig = value; }
103 inline void SetModelExplainabilityJobOutputConfig(MonitoringOutputConfig&& value) { m_modelExplainabilityJobOutputConfigHasBeenSet = true; m_modelExplainabilityJobOutputConfig = std::move(value); }
107
109
110 inline const MonitoringResources& GetJobResources() const{ return m_jobResources; }
111 inline bool JobResourcesHasBeenSet() const { return m_jobResourcesHasBeenSet; }
112 inline void SetJobResources(const MonitoringResources& value) { m_jobResourcesHasBeenSet = true; m_jobResources = value; }
113 inline void SetJobResources(MonitoringResources&& value) { m_jobResourcesHasBeenSet = true; m_jobResources = std::move(value); }
117
119
122 inline const MonitoringNetworkConfig& GetNetworkConfig() const{ return m_networkConfig; }
123 inline bool NetworkConfigHasBeenSet() const { return m_networkConfigHasBeenSet; }
124 inline void SetNetworkConfig(const MonitoringNetworkConfig& value) { m_networkConfigHasBeenSet = true; m_networkConfig = value; }
125 inline void SetNetworkConfig(MonitoringNetworkConfig&& value) { m_networkConfigHasBeenSet = true; m_networkConfig = std::move(value); }
129
131
135 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
136 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
137 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
138 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
139 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
141 inline CreateModelExplainabilityJobDefinitionRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
142 inline CreateModelExplainabilityJobDefinitionRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
144
146
147 inline const MonitoringStoppingCondition& GetStoppingCondition() const{ return m_stoppingCondition; }
148 inline bool StoppingConditionHasBeenSet() const { return m_stoppingConditionHasBeenSet; }
149 inline void SetStoppingCondition(const MonitoringStoppingCondition& value) { m_stoppingConditionHasBeenSet = true; m_stoppingCondition = value; }
150 inline void SetStoppingCondition(MonitoringStoppingCondition&& value) { m_stoppingConditionHasBeenSet = true; m_stoppingCondition = std::move(value); }
154
156
162 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
163 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
164 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
165 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
167 inline CreateModelExplainabilityJobDefinitionRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
168 inline CreateModelExplainabilityJobDefinitionRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
169 inline CreateModelExplainabilityJobDefinitionRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
171 private:
172
173 Aws::String m_jobDefinitionName;
174 bool m_jobDefinitionNameHasBeenSet = false;
175
176 ModelExplainabilityBaselineConfig m_modelExplainabilityBaselineConfig;
177 bool m_modelExplainabilityBaselineConfigHasBeenSet = false;
178
179 ModelExplainabilityAppSpecification m_modelExplainabilityAppSpecification;
180 bool m_modelExplainabilityAppSpecificationHasBeenSet = false;
181
182 ModelExplainabilityJobInput m_modelExplainabilityJobInput;
183 bool m_modelExplainabilityJobInputHasBeenSet = false;
184
185 MonitoringOutputConfig m_modelExplainabilityJobOutputConfig;
186 bool m_modelExplainabilityJobOutputConfigHasBeenSet = false;
187
188 MonitoringResources m_jobResources;
189 bool m_jobResourcesHasBeenSet = false;
190
191 MonitoringNetworkConfig m_networkConfig;
192 bool m_networkConfigHasBeenSet = false;
193
194 Aws::String m_roleArn;
195 bool m_roleArnHasBeenSet = false;
196
197 MonitoringStoppingCondition m_stoppingCondition;
198 bool m_stoppingConditionHasBeenSet = false;
199
200 Aws::Vector<Tag> m_tags;
201 bool m_tagsHasBeenSet = false;
202 };
203
204} // namespace Model
205} // namespace SageMaker
206} // namespace Aws
CreateModelExplainabilityJobDefinitionRequest & WithTags(const Aws::Vector< Tag > &value)
CreateModelExplainabilityJobDefinitionRequest & WithJobDefinitionName(Aws::String &&value)
CreateModelExplainabilityJobDefinitionRequest & WithModelExplainabilityJobOutputConfig(MonitoringOutputConfig &&value)
CreateModelExplainabilityJobDefinitionRequest & WithStoppingCondition(MonitoringStoppingCondition &&value)
CreateModelExplainabilityJobDefinitionRequest & WithModelExplainabilityJobInput(ModelExplainabilityJobInput &&value)
CreateModelExplainabilityJobDefinitionRequest & WithModelExplainabilityJobOutputConfig(const MonitoringOutputConfig &value)
CreateModelExplainabilityJobDefinitionRequest & WithNetworkConfig(MonitoringNetworkConfig &&value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateModelExplainabilityJobDefinitionRequest & WithJobDefinitionName(const Aws::String &value)
CreateModelExplainabilityJobDefinitionRequest & WithModelExplainabilityAppSpecification(const ModelExplainabilityAppSpecification &value)
CreateModelExplainabilityJobDefinitionRequest & WithJobResources(MonitoringResources &&value)
CreateModelExplainabilityJobDefinitionRequest & WithJobDefinitionName(const char *value)
CreateModelExplainabilityJobDefinitionRequest & WithTags(Aws::Vector< Tag > &&value)
CreateModelExplainabilityJobDefinitionRequest & WithModelExplainabilityJobInput(const ModelExplainabilityJobInput &value)
CreateModelExplainabilityJobDefinitionRequest & WithModelExplainabilityBaselineConfig(const ModelExplainabilityBaselineConfig &value)
CreateModelExplainabilityJobDefinitionRequest & WithJobResources(const MonitoringResources &value)
CreateModelExplainabilityJobDefinitionRequest & WithRoleArn(Aws::String &&value)
CreateModelExplainabilityJobDefinitionRequest & WithRoleArn(const Aws::String &value)
CreateModelExplainabilityJobDefinitionRequest & WithNetworkConfig(const MonitoringNetworkConfig &value)
CreateModelExplainabilityJobDefinitionRequest & WithModelExplainabilityBaselineConfig(ModelExplainabilityBaselineConfig &&value)
CreateModelExplainabilityJobDefinitionRequest & WithRoleArn(const char *value)
CreateModelExplainabilityJobDefinitionRequest & WithStoppingCondition(const MonitoringStoppingCondition &value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
CreateModelExplainabilityJobDefinitionRequest & WithModelExplainabilityAppSpecification(ModelExplainabilityAppSpecification &&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