AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateModelQualityJobDefinitionRequest.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/ModelQualityBaselineConfig.h>
11#include <aws/sagemaker/model/ModelQualityAppSpecification.h>
12#include <aws/sagemaker/model/ModelQualityJobInput.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 "CreateModelQualityJobDefinition"; }
40
41 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
42
44
45
47
50 inline const Aws::String& GetJobDefinitionName() const{ return m_jobDefinitionName; }
51 inline bool JobDefinitionNameHasBeenSet() const { return m_jobDefinitionNameHasBeenSet; }
52 inline void SetJobDefinitionName(const Aws::String& value) { m_jobDefinitionNameHasBeenSet = true; m_jobDefinitionName = value; }
53 inline void SetJobDefinitionName(Aws::String&& value) { m_jobDefinitionNameHasBeenSet = true; m_jobDefinitionName = std::move(value); }
54 inline void SetJobDefinitionName(const char* value) { m_jobDefinitionNameHasBeenSet = true; m_jobDefinitionName.assign(value); }
57 inline CreateModelQualityJobDefinitionRequest& WithJobDefinitionName(const char* value) { SetJobDefinitionName(value); return *this;}
59
61
64 inline const ModelQualityBaselineConfig& GetModelQualityBaselineConfig() const{ return m_modelQualityBaselineConfig; }
65 inline bool ModelQualityBaselineConfigHasBeenSet() const { return m_modelQualityBaselineConfigHasBeenSet; }
66 inline void SetModelQualityBaselineConfig(const ModelQualityBaselineConfig& value) { m_modelQualityBaselineConfigHasBeenSet = true; m_modelQualityBaselineConfig = value; }
67 inline void SetModelQualityBaselineConfig(ModelQualityBaselineConfig&& value) { m_modelQualityBaselineConfigHasBeenSet = true; m_modelQualityBaselineConfig = std::move(value); }
71
73
76 inline const ModelQualityAppSpecification& GetModelQualityAppSpecification() const{ return m_modelQualityAppSpecification; }
77 inline bool ModelQualityAppSpecificationHasBeenSet() const { return m_modelQualityAppSpecificationHasBeenSet; }
78 inline void SetModelQualityAppSpecification(const ModelQualityAppSpecification& value) { m_modelQualityAppSpecificationHasBeenSet = true; m_modelQualityAppSpecification = value; }
79 inline void SetModelQualityAppSpecification(ModelQualityAppSpecification&& value) { m_modelQualityAppSpecificationHasBeenSet = true; m_modelQualityAppSpecification = std::move(value); }
83
85
89 inline const ModelQualityJobInput& GetModelQualityJobInput() const{ return m_modelQualityJobInput; }
90 inline bool ModelQualityJobInputHasBeenSet() const { return m_modelQualityJobInputHasBeenSet; }
91 inline void SetModelQualityJobInput(const ModelQualityJobInput& value) { m_modelQualityJobInputHasBeenSet = true; m_modelQualityJobInput = value; }
92 inline void SetModelQualityJobInput(ModelQualityJobInput&& value) { m_modelQualityJobInputHasBeenSet = true; m_modelQualityJobInput = std::move(value); }
96
98
99 inline const MonitoringOutputConfig& GetModelQualityJobOutputConfig() const{ return m_modelQualityJobOutputConfig; }
100 inline bool ModelQualityJobOutputConfigHasBeenSet() const { return m_modelQualityJobOutputConfigHasBeenSet; }
101 inline void SetModelQualityJobOutputConfig(const MonitoringOutputConfig& value) { m_modelQualityJobOutputConfigHasBeenSet = true; m_modelQualityJobOutputConfig = value; }
102 inline void SetModelQualityJobOutputConfig(MonitoringOutputConfig&& value) { m_modelQualityJobOutputConfigHasBeenSet = true; m_modelQualityJobOutputConfig = 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 CreateModelQualityJobDefinitionRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
140 inline CreateModelQualityJobDefinitionRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
141 inline CreateModelQualityJobDefinitionRequest& 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 CreateModelQualityJobDefinitionRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
166 inline CreateModelQualityJobDefinitionRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
167 inline CreateModelQualityJobDefinitionRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
168 inline CreateModelQualityJobDefinitionRequest& 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 ModelQualityBaselineConfig m_modelQualityBaselineConfig;
176 bool m_modelQualityBaselineConfigHasBeenSet = false;
177
178 ModelQualityAppSpecification m_modelQualityAppSpecification;
179 bool m_modelQualityAppSpecificationHasBeenSet = false;
180
181 ModelQualityJobInput m_modelQualityJobInput;
182 bool m_modelQualityJobInputHasBeenSet = false;
183
184 MonitoringOutputConfig m_modelQualityJobOutputConfig;
185 bool m_modelQualityJobOutputConfigHasBeenSet = 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
CreateModelQualityJobDefinitionRequest & WithModelQualityAppSpecification(const ModelQualityAppSpecification &value)
CreateModelQualityJobDefinitionRequest & WithModelQualityJobOutputConfig(const MonitoringOutputConfig &value)
CreateModelQualityJobDefinitionRequest & WithStoppingCondition(const MonitoringStoppingCondition &value)
CreateModelQualityJobDefinitionRequest & WithRoleArn(const Aws::String &value)
CreateModelQualityJobDefinitionRequest & WithModelQualityJobOutputConfig(MonitoringOutputConfig &&value)
CreateModelQualityJobDefinitionRequest & WithJobResources(MonitoringResources &&value)
CreateModelQualityJobDefinitionRequest & WithJobDefinitionName(const char *value)
CreateModelQualityJobDefinitionRequest & AddTags(const Tag &value)
CreateModelQualityJobDefinitionRequest & WithNetworkConfig(MonitoringNetworkConfig &&value)
CreateModelQualityJobDefinitionRequest & WithRoleArn(Aws::String &&value)
CreateModelQualityJobDefinitionRequest & WithJobDefinitionName(Aws::String &&value)
CreateModelQualityJobDefinitionRequest & WithTags(const Aws::Vector< Tag > &value)
CreateModelQualityJobDefinitionRequest & WithModelQualityBaselineConfig(ModelQualityBaselineConfig &&value)
CreateModelQualityJobDefinitionRequest & WithRoleArn(const char *value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateModelQualityJobDefinitionRequest & WithModelQualityAppSpecification(ModelQualityAppSpecification &&value)
CreateModelQualityJobDefinitionRequest & WithJobResources(const MonitoringResources &value)
CreateModelQualityJobDefinitionRequest & WithNetworkConfig(const MonitoringNetworkConfig &value)
CreateModelQualityJobDefinitionRequest & WithJobDefinitionName(const Aws::String &value)
CreateModelQualityJobDefinitionRequest & WithModelQualityJobInput(const ModelQualityJobInput &value)
CreateModelQualityJobDefinitionRequest & WithStoppingCondition(MonitoringStoppingCondition &&value)
CreateModelQualityJobDefinitionRequest & WithTags(Aws::Vector< Tag > &&value)
CreateModelQualityJobDefinitionRequest & WithModelQualityBaselineConfig(const ModelQualityBaselineConfig &value)
CreateModelQualityJobDefinitionRequest & WithModelQualityJobInput(ModelQualityJobInput &&value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
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