AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
UpdateMonitoringAlertRequest.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 <utility>
11
12namespace Aws
13{
14namespace SageMaker
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_SAGEMAKER_API UpdateMonitoringAlertRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "UpdateMonitoringAlert"; }
31
32 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
33
35
36
38
41 inline const Aws::String& GetMonitoringScheduleName() const { return m_monitoringScheduleName; }
42 inline bool MonitoringScheduleNameHasBeenSet() const { return m_monitoringScheduleNameHasBeenSet; }
43 template<typename MonitoringScheduleNameT = Aws::String>
44 void SetMonitoringScheduleName(MonitoringScheduleNameT&& value) { m_monitoringScheduleNameHasBeenSet = true; m_monitoringScheduleName = std::forward<MonitoringScheduleNameT>(value); }
45 template<typename MonitoringScheduleNameT = Aws::String>
46 UpdateMonitoringAlertRequest& WithMonitoringScheduleName(MonitoringScheduleNameT&& value) { SetMonitoringScheduleName(std::forward<MonitoringScheduleNameT>(value)); return *this;}
48
50
53 inline const Aws::String& GetMonitoringAlertName() const { return m_monitoringAlertName; }
54 inline bool MonitoringAlertNameHasBeenSet() const { return m_monitoringAlertNameHasBeenSet; }
55 template<typename MonitoringAlertNameT = Aws::String>
56 void SetMonitoringAlertName(MonitoringAlertNameT&& value) { m_monitoringAlertNameHasBeenSet = true; m_monitoringAlertName = std::forward<MonitoringAlertNameT>(value); }
57 template<typename MonitoringAlertNameT = Aws::String>
58 UpdateMonitoringAlertRequest& WithMonitoringAlertName(MonitoringAlertNameT&& value) { SetMonitoringAlertName(std::forward<MonitoringAlertNameT>(value)); return *this;}
60
62
66 inline int GetDatapointsToAlert() const { return m_datapointsToAlert; }
67 inline bool DatapointsToAlertHasBeenSet() const { return m_datapointsToAlertHasBeenSet; }
68 inline void SetDatapointsToAlert(int value) { m_datapointsToAlertHasBeenSet = true; m_datapointsToAlert = value; }
71
73
77 inline int GetEvaluationPeriod() const { return m_evaluationPeriod; }
78 inline bool EvaluationPeriodHasBeenSet() const { return m_evaluationPeriodHasBeenSet; }
79 inline void SetEvaluationPeriod(int value) { m_evaluationPeriodHasBeenSet = true; m_evaluationPeriod = value; }
80 inline UpdateMonitoringAlertRequest& WithEvaluationPeriod(int value) { SetEvaluationPeriod(value); return *this;}
82 private:
83
84 Aws::String m_monitoringScheduleName;
85 bool m_monitoringScheduleNameHasBeenSet = false;
86
87 Aws::String m_monitoringAlertName;
88 bool m_monitoringAlertNameHasBeenSet = false;
89
90 int m_datapointsToAlert{0};
91 bool m_datapointsToAlertHasBeenSet = false;
92
93 int m_evaluationPeriod{0};
94 bool m_evaluationPeriodHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace SageMaker
99} // namespace Aws
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
void SetMonitoringScheduleName(MonitoringScheduleNameT &&value)
UpdateMonitoringAlertRequest & WithEvaluationPeriod(int value)
UpdateMonitoringAlertRequest & WithMonitoringAlertName(MonitoringAlertNameT &&value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateMonitoringAlertRequest & WithMonitoringScheduleName(MonitoringScheduleNameT &&value)
UpdateMonitoringAlertRequest & WithDatapointsToAlert(int value)
AWS_SAGEMAKER_API UpdateMonitoringAlertRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String