AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MonitoringJobDefinition.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/MonitoringBaselineConfig.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/sagemaker/model/MonitoringOutputConfig.h>
11#include <aws/sagemaker/model/MonitoringResources.h>
12#include <aws/sagemaker/model/MonitoringAppSpecification.h>
13#include <aws/sagemaker/model/MonitoringStoppingCondition.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
15#include <aws/sagemaker/model/NetworkConfig.h>
16#include <aws/core/utils/memory/stl/AWSString.h>
17#include <aws/sagemaker/model/MonitoringInput.h>
18#include <utility>
19
20namespace Aws
21{
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27 class JsonView;
28} // namespace Json
29} // namespace Utils
30namespace SageMaker
31{
32namespace Model
33{
34
41 {
42 public:
43 AWS_SAGEMAKER_API MonitoringJobDefinition();
46 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
47
48
50
54 inline const MonitoringBaselineConfig& GetBaselineConfig() const{ return m_baselineConfig; }
55 inline bool BaselineConfigHasBeenSet() const { return m_baselineConfigHasBeenSet; }
56 inline void SetBaselineConfig(const MonitoringBaselineConfig& value) { m_baselineConfigHasBeenSet = true; m_baselineConfig = value; }
57 inline void SetBaselineConfig(MonitoringBaselineConfig&& value) { m_baselineConfigHasBeenSet = true; m_baselineConfig = std::move(value); }
59 inline MonitoringJobDefinition& WithBaselineConfig(MonitoringBaselineConfig&& value) { SetBaselineConfig(std::move(value)); return *this;}
61
63
67 inline const Aws::Vector<MonitoringInput>& GetMonitoringInputs() const{ return m_monitoringInputs; }
68 inline bool MonitoringInputsHasBeenSet() const { return m_monitoringInputsHasBeenSet; }
69 inline void SetMonitoringInputs(const Aws::Vector<MonitoringInput>& value) { m_monitoringInputsHasBeenSet = true; m_monitoringInputs = value; }
70 inline void SetMonitoringInputs(Aws::Vector<MonitoringInput>&& value) { m_monitoringInputsHasBeenSet = true; m_monitoringInputs = std::move(value); }
73 inline MonitoringJobDefinition& AddMonitoringInputs(const MonitoringInput& value) { m_monitoringInputsHasBeenSet = true; m_monitoringInputs.push_back(value); return *this; }
74 inline MonitoringJobDefinition& AddMonitoringInputs(MonitoringInput&& value) { m_monitoringInputsHasBeenSet = true; m_monitoringInputs.push_back(std::move(value)); return *this; }
76
78
81 inline const MonitoringOutputConfig& GetMonitoringOutputConfig() const{ return m_monitoringOutputConfig; }
82 inline bool MonitoringOutputConfigHasBeenSet() const { return m_monitoringOutputConfigHasBeenSet; }
83 inline void SetMonitoringOutputConfig(const MonitoringOutputConfig& value) { m_monitoringOutputConfigHasBeenSet = true; m_monitoringOutputConfig = value; }
84 inline void SetMonitoringOutputConfig(MonitoringOutputConfig&& value) { m_monitoringOutputConfigHasBeenSet = true; m_monitoringOutputConfig = std::move(value); }
88
90
95 inline const MonitoringResources& GetMonitoringResources() const{ return m_monitoringResources; }
96 inline bool MonitoringResourcesHasBeenSet() const { return m_monitoringResourcesHasBeenSet; }
97 inline void SetMonitoringResources(const MonitoringResources& value) { m_monitoringResourcesHasBeenSet = true; m_monitoringResources = value; }
98 inline void SetMonitoringResources(MonitoringResources&& value) { m_monitoringResourcesHasBeenSet = true; m_monitoringResources = std::move(value); }
102
104
107 inline const MonitoringAppSpecification& GetMonitoringAppSpecification() const{ return m_monitoringAppSpecification; }
108 inline bool MonitoringAppSpecificationHasBeenSet() const { return m_monitoringAppSpecificationHasBeenSet; }
109 inline void SetMonitoringAppSpecification(const MonitoringAppSpecification& value) { m_monitoringAppSpecificationHasBeenSet = true; m_monitoringAppSpecification = value; }
110 inline void SetMonitoringAppSpecification(MonitoringAppSpecification&& value) { m_monitoringAppSpecificationHasBeenSet = true; m_monitoringAppSpecification = std::move(value); }
114
116
119 inline const MonitoringStoppingCondition& GetStoppingCondition() const{ return m_stoppingCondition; }
120 inline bool StoppingConditionHasBeenSet() const { return m_stoppingConditionHasBeenSet; }
121 inline void SetStoppingCondition(const MonitoringStoppingCondition& value) { m_stoppingConditionHasBeenSet = true; m_stoppingCondition = value; }
122 inline void SetStoppingCondition(MonitoringStoppingCondition&& value) { m_stoppingConditionHasBeenSet = true; m_stoppingCondition = std::move(value); }
126
128
131 inline const Aws::Map<Aws::String, Aws::String>& GetEnvironment() const{ return m_environment; }
132 inline bool EnvironmentHasBeenSet() const { return m_environmentHasBeenSet; }
133 inline void SetEnvironment(const Aws::Map<Aws::String, Aws::String>& value) { m_environmentHasBeenSet = true; m_environment = value; }
134 inline void SetEnvironment(Aws::Map<Aws::String, Aws::String>&& value) { m_environmentHasBeenSet = true; m_environment = std::move(value); }
137 inline MonitoringJobDefinition& AddEnvironment(const Aws::String& key, const Aws::String& value) { m_environmentHasBeenSet = true; m_environment.emplace(key, value); return *this; }
138 inline MonitoringJobDefinition& AddEnvironment(Aws::String&& key, const Aws::String& value) { m_environmentHasBeenSet = true; m_environment.emplace(std::move(key), value); return *this; }
139 inline MonitoringJobDefinition& AddEnvironment(const Aws::String& key, Aws::String&& value) { m_environmentHasBeenSet = true; m_environment.emplace(key, std::move(value)); return *this; }
140 inline MonitoringJobDefinition& AddEnvironment(Aws::String&& key, Aws::String&& value) { m_environmentHasBeenSet = true; m_environment.emplace(std::move(key), std::move(value)); return *this; }
141 inline MonitoringJobDefinition& AddEnvironment(const char* key, Aws::String&& value) { m_environmentHasBeenSet = true; m_environment.emplace(key, std::move(value)); return *this; }
142 inline MonitoringJobDefinition& AddEnvironment(Aws::String&& key, const char* value) { m_environmentHasBeenSet = true; m_environment.emplace(std::move(key), value); return *this; }
143 inline MonitoringJobDefinition& AddEnvironment(const char* key, const char* value) { m_environmentHasBeenSet = true; m_environment.emplace(key, value); return *this; }
145
147
150 inline const NetworkConfig& GetNetworkConfig() const{ return m_networkConfig; }
151 inline bool NetworkConfigHasBeenSet() const { return m_networkConfigHasBeenSet; }
152 inline void SetNetworkConfig(const NetworkConfig& value) { m_networkConfigHasBeenSet = true; m_networkConfig = value; }
153 inline void SetNetworkConfig(NetworkConfig&& value) { m_networkConfigHasBeenSet = true; m_networkConfig = std::move(value); }
154 inline MonitoringJobDefinition& WithNetworkConfig(const NetworkConfig& value) { SetNetworkConfig(value); return *this;}
155 inline MonitoringJobDefinition& WithNetworkConfig(NetworkConfig&& value) { SetNetworkConfig(std::move(value)); return *this;}
157
159
163 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
164 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
165 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
166 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
167 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
168 inline MonitoringJobDefinition& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
169 inline MonitoringJobDefinition& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
170 inline MonitoringJobDefinition& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
172 private:
173
174 MonitoringBaselineConfig m_baselineConfig;
175 bool m_baselineConfigHasBeenSet = false;
176
177 Aws::Vector<MonitoringInput> m_monitoringInputs;
178 bool m_monitoringInputsHasBeenSet = false;
179
180 MonitoringOutputConfig m_monitoringOutputConfig;
181 bool m_monitoringOutputConfigHasBeenSet = false;
182
183 MonitoringResources m_monitoringResources;
184 bool m_monitoringResourcesHasBeenSet = false;
185
186 MonitoringAppSpecification m_monitoringAppSpecification;
187 bool m_monitoringAppSpecificationHasBeenSet = false;
188
189 MonitoringStoppingCondition m_stoppingCondition;
190 bool m_stoppingConditionHasBeenSet = false;
191
193 bool m_environmentHasBeenSet = false;
194
195 NetworkConfig m_networkConfig;
196 bool m_networkConfigHasBeenSet = false;
197
198 Aws::String m_roleArn;
199 bool m_roleArnHasBeenSet = false;
200 };
201
202} // namespace Model
203} // namespace SageMaker
204} // namespace Aws
MonitoringJobDefinition & WithEnvironment(Aws::Map< Aws::String, Aws::String > &&value)
MonitoringJobDefinition & AddEnvironment(const char *key, const char *value)
void SetMonitoringAppSpecification(const MonitoringAppSpecification &value)
MonitoringJobDefinition & AddEnvironment(Aws::String &&key, const Aws::String &value)
MonitoringJobDefinition & AddEnvironment(const Aws::String &key, const Aws::String &value)
void SetMonitoringOutputConfig(const MonitoringOutputConfig &value)
AWS_SAGEMAKER_API MonitoringJobDefinition(Aws::Utils::Json::JsonView jsonValue)
void SetBaselineConfig(MonitoringBaselineConfig &&value)
void SetEnvironment(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Vector< MonitoringInput > & GetMonitoringInputs() const
MonitoringJobDefinition & WithRoleArn(const Aws::String &value)
MonitoringJobDefinition & WithMonitoringOutputConfig(const MonitoringOutputConfig &value)
const MonitoringStoppingCondition & GetStoppingCondition() const
void SetMonitoringOutputConfig(MonitoringOutputConfig &&value)
void SetStoppingCondition(const MonitoringStoppingCondition &value)
void SetMonitoringResources(MonitoringResources &&value)
const MonitoringResources & GetMonitoringResources() const
void SetStoppingCondition(MonitoringStoppingCondition &&value)
void SetMonitoringResources(const MonitoringResources &value)
void SetEnvironment(Aws::Map< Aws::String, Aws::String > &&value)
MonitoringJobDefinition & WithBaselineConfig(MonitoringBaselineConfig &&value)
MonitoringJobDefinition & WithStoppingCondition(MonitoringStoppingCondition &&value)
void SetMonitoringInputs(Aws::Vector< MonitoringInput > &&value)
void SetBaselineConfig(const MonitoringBaselineConfig &value)
const MonitoringAppSpecification & GetMonitoringAppSpecification() const
void SetMonitoringInputs(const Aws::Vector< MonitoringInput > &value)
MonitoringJobDefinition & WithStoppingCondition(const MonitoringStoppingCondition &value)
const Aws::Map< Aws::String, Aws::String > & GetEnvironment() const
MonitoringJobDefinition & AddEnvironment(const Aws::String &key, Aws::String &&value)
MonitoringJobDefinition & WithMonitoringOutputConfig(MonitoringOutputConfig &&value)
MonitoringJobDefinition & AddEnvironment(const char *key, Aws::String &&value)
MonitoringJobDefinition & WithMonitoringResources(MonitoringResources &&value)
const MonitoringBaselineConfig & GetBaselineConfig() const
MonitoringJobDefinition & WithMonitoringAppSpecification(MonitoringAppSpecification &&value)
MonitoringJobDefinition & WithNetworkConfig(NetworkConfig &&value)
void SetMonitoringAppSpecification(MonitoringAppSpecification &&value)
MonitoringJobDefinition & AddEnvironment(Aws::String &&key, Aws::String &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
MonitoringJobDefinition & WithRoleArn(const char *value)
MonitoringJobDefinition & WithRoleArn(Aws::String &&value)
MonitoringJobDefinition & AddMonitoringInputs(const MonitoringInput &value)
MonitoringJobDefinition & WithMonitoringInputs(const Aws::Vector< MonitoringInput > &value)
MonitoringJobDefinition & AddEnvironment(Aws::String &&key, const char *value)
MonitoringJobDefinition & WithMonitoringInputs(Aws::Vector< MonitoringInput > &&value)
MonitoringJobDefinition & AddMonitoringInputs(MonitoringInput &&value)
MonitoringJobDefinition & WithBaselineConfig(const MonitoringBaselineConfig &value)
MonitoringJobDefinition & WithNetworkConfig(const NetworkConfig &value)
MonitoringJobDefinition & WithEnvironment(const Aws::Map< Aws::String, Aws::String > &value)
const MonitoringOutputConfig & GetMonitoringOutputConfig() const
MonitoringJobDefinition & WithMonitoringResources(const MonitoringResources &value)
AWS_SAGEMAKER_API MonitoringJobDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
MonitoringJobDefinition & WithMonitoringAppSpecification(const MonitoringAppSpecification &value)
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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue