AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetMonitoringScheduleName(const Aws::String& value) { m_monitoringScheduleNameHasBeenSet = true; m_monitoringScheduleName = value; }
44 inline void SetMonitoringScheduleName(Aws::String&& value) { m_monitoringScheduleNameHasBeenSet = true; m_monitoringScheduleName = std::move(value); }
45 inline void SetMonitoringScheduleName(const char* value) { m_monitoringScheduleNameHasBeenSet = true; m_monitoringScheduleName.assign(value); }
48 inline UpdateMonitoringAlertRequest& WithMonitoringScheduleName(const char* value) { SetMonitoringScheduleName(value); return *this;}
50
52
55 inline const Aws::String& GetMonitoringAlertName() const{ return m_monitoringAlertName; }
56 inline bool MonitoringAlertNameHasBeenSet() const { return m_monitoringAlertNameHasBeenSet; }
57 inline void SetMonitoringAlertName(const Aws::String& value) { m_monitoringAlertNameHasBeenSet = true; m_monitoringAlertName = value; }
58 inline void SetMonitoringAlertName(Aws::String&& value) { m_monitoringAlertNameHasBeenSet = true; m_monitoringAlertName = std::move(value); }
59 inline void SetMonitoringAlertName(const char* value) { m_monitoringAlertNameHasBeenSet = true; m_monitoringAlertName.assign(value); }
62 inline UpdateMonitoringAlertRequest& WithMonitoringAlertName(const char* value) { SetMonitoringAlertName(value); return *this;}
64
66
70 inline int GetDatapointsToAlert() const{ return m_datapointsToAlert; }
71 inline bool DatapointsToAlertHasBeenSet() const { return m_datapointsToAlertHasBeenSet; }
72 inline void SetDatapointsToAlert(int value) { m_datapointsToAlertHasBeenSet = true; m_datapointsToAlert = value; }
75
77
81 inline int GetEvaluationPeriod() const{ return m_evaluationPeriod; }
82 inline bool EvaluationPeriodHasBeenSet() const { return m_evaluationPeriodHasBeenSet; }
83 inline void SetEvaluationPeriod(int value) { m_evaluationPeriodHasBeenSet = true; m_evaluationPeriod = value; }
84 inline UpdateMonitoringAlertRequest& WithEvaluationPeriod(int value) { SetEvaluationPeriod(value); return *this;}
86 private:
87
88 Aws::String m_monitoringScheduleName;
89 bool m_monitoringScheduleNameHasBeenSet = false;
90
91 Aws::String m_monitoringAlertName;
92 bool m_monitoringAlertNameHasBeenSet = false;
93
94 int m_datapointsToAlert;
95 bool m_datapointsToAlertHasBeenSet = false;
96
97 int m_evaluationPeriod;
98 bool m_evaluationPeriodHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace SageMaker
103} // namespace Aws
UpdateMonitoringAlertRequest & WithMonitoringScheduleName(const Aws::String &value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
UpdateMonitoringAlertRequest & WithMonitoringAlertName(Aws::String &&value)
UpdateMonitoringAlertRequest & WithMonitoringAlertName(const char *value)
UpdateMonitoringAlertRequest & WithMonitoringScheduleName(const char *value)
UpdateMonitoringAlertRequest & WithMonitoringScheduleName(Aws::String &&value)
UpdateMonitoringAlertRequest & WithEvaluationPeriod(int value)
UpdateMonitoringAlertRequest & WithMonitoringAlertName(const Aws::String &value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateMonitoringAlertRequest & WithDatapointsToAlert(int value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String