AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateDataQualityJobDefinitionRequest.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/DataQualityBaselineConfig.h>
11#include <aws/sagemaker/model/DataQualityAppSpecification.h>
12#include <aws/sagemaker/model/DataQualityJobInput.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 "CreateDataQualityJobDefinition"; }
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 CreateDataQualityJobDefinitionRequest& WithJobDefinitionName(const char* value) { SetJobDefinitionName(value); return *this;}
59
61
64 inline const DataQualityBaselineConfig& GetDataQualityBaselineConfig() const{ return m_dataQualityBaselineConfig; }
65 inline bool DataQualityBaselineConfigHasBeenSet() const { return m_dataQualityBaselineConfigHasBeenSet; }
66 inline void SetDataQualityBaselineConfig(const DataQualityBaselineConfig& value) { m_dataQualityBaselineConfigHasBeenSet = true; m_dataQualityBaselineConfig = value; }
67 inline void SetDataQualityBaselineConfig(DataQualityBaselineConfig&& value) { m_dataQualityBaselineConfigHasBeenSet = true; m_dataQualityBaselineConfig = std::move(value); }
71
73
76 inline const DataQualityAppSpecification& GetDataQualityAppSpecification() const{ return m_dataQualityAppSpecification; }
77 inline bool DataQualityAppSpecificationHasBeenSet() const { return m_dataQualityAppSpecificationHasBeenSet; }
78 inline void SetDataQualityAppSpecification(const DataQualityAppSpecification& value) { m_dataQualityAppSpecificationHasBeenSet = true; m_dataQualityAppSpecification = value; }
79 inline void SetDataQualityAppSpecification(DataQualityAppSpecification&& value) { m_dataQualityAppSpecificationHasBeenSet = true; m_dataQualityAppSpecification = std::move(value); }
83
85
89 inline const DataQualityJobInput& GetDataQualityJobInput() const{ return m_dataQualityJobInput; }
90 inline bool DataQualityJobInputHasBeenSet() const { return m_dataQualityJobInputHasBeenSet; }
91 inline void SetDataQualityJobInput(const DataQualityJobInput& value) { m_dataQualityJobInputHasBeenSet = true; m_dataQualityJobInput = value; }
92 inline void SetDataQualityJobInput(DataQualityJobInput&& value) { m_dataQualityJobInputHasBeenSet = true; m_dataQualityJobInput = std::move(value); }
96
98
99 inline const MonitoringOutputConfig& GetDataQualityJobOutputConfig() const{ return m_dataQualityJobOutputConfig; }
100 inline bool DataQualityJobOutputConfigHasBeenSet() const { return m_dataQualityJobOutputConfigHasBeenSet; }
101 inline void SetDataQualityJobOutputConfig(const MonitoringOutputConfig& value) { m_dataQualityJobOutputConfigHasBeenSet = true; m_dataQualityJobOutputConfig = value; }
102 inline void SetDataQualityJobOutputConfig(MonitoringOutputConfig&& value) { m_dataQualityJobOutputConfigHasBeenSet = true; m_dataQualityJobOutputConfig = 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 CreateDataQualityJobDefinitionRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
140 inline CreateDataQualityJobDefinitionRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
141 inline CreateDataQualityJobDefinitionRequest& 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 CreateDataQualityJobDefinitionRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
166 inline CreateDataQualityJobDefinitionRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
167 inline CreateDataQualityJobDefinitionRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
168 inline CreateDataQualityJobDefinitionRequest& 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 DataQualityBaselineConfig m_dataQualityBaselineConfig;
176 bool m_dataQualityBaselineConfigHasBeenSet = false;
177
178 DataQualityAppSpecification m_dataQualityAppSpecification;
179 bool m_dataQualityAppSpecificationHasBeenSet = false;
180
181 DataQualityJobInput m_dataQualityJobInput;
182 bool m_dataQualityJobInputHasBeenSet = false;
183
184 MonitoringOutputConfig m_dataQualityJobOutputConfig;
185 bool m_dataQualityJobOutputConfigHasBeenSet = 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
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
CreateDataQualityJobDefinitionRequest & WithJobResources(const MonitoringResources &value)
CreateDataQualityJobDefinitionRequest & WithStoppingCondition(const MonitoringStoppingCondition &value)
CreateDataQualityJobDefinitionRequest & WithDataQualityJobOutputConfig(MonitoringOutputConfig &&value)
CreateDataQualityJobDefinitionRequest & WithJobResources(MonitoringResources &&value)
CreateDataQualityJobDefinitionRequest & WithJobDefinitionName(Aws::String &&value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateDataQualityJobDefinitionRequest & WithNetworkConfig(const MonitoringNetworkConfig &value)
CreateDataQualityJobDefinitionRequest & WithStoppingCondition(MonitoringStoppingCondition &&value)
CreateDataQualityJobDefinitionRequest & WithRoleArn(Aws::String &&value)
CreateDataQualityJobDefinitionRequest & WithRoleArn(const char *value)
CreateDataQualityJobDefinitionRequest & WithDataQualityJobInput(DataQualityJobInput &&value)
CreateDataQualityJobDefinitionRequest & AddTags(const Tag &value)
CreateDataQualityJobDefinitionRequest & WithDataQualityBaselineConfig(DataQualityBaselineConfig &&value)
CreateDataQualityJobDefinitionRequest & WithDataQualityJobInput(const DataQualityJobInput &value)
CreateDataQualityJobDefinitionRequest & WithJobDefinitionName(const Aws::String &value)
CreateDataQualityJobDefinitionRequest & WithDataQualityJobOutputConfig(const MonitoringOutputConfig &value)
CreateDataQualityJobDefinitionRequest & WithTags(const Aws::Vector< Tag > &value)
CreateDataQualityJobDefinitionRequest & WithNetworkConfig(MonitoringNetworkConfig &&value)
CreateDataQualityJobDefinitionRequest & WithJobDefinitionName(const char *value)
CreateDataQualityJobDefinitionRequest & WithDataQualityAppSpecification(const DataQualityAppSpecification &value)
CreateDataQualityJobDefinitionRequest & WithDataQualityAppSpecification(DataQualityAppSpecification &&value)
CreateDataQualityJobDefinitionRequest & WithTags(Aws::Vector< Tag > &&value)
CreateDataQualityJobDefinitionRequest & WithDataQualityBaselineConfig(const DataQualityBaselineConfig &value)
CreateDataQualityJobDefinitionRequest & WithRoleArn(const Aws::String &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