AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MonitoringAlertHistorySummary.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/sagemaker/model/MonitoringAlertStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SageMaker
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_SAGEMAKER_API MonitoringAlertHistorySummary();
40 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetMonitoringScheduleName() const{ return m_monitoringScheduleName; }
48 inline bool MonitoringScheduleNameHasBeenSet() const { return m_monitoringScheduleNameHasBeenSet; }
49 inline void SetMonitoringScheduleName(const Aws::String& value) { m_monitoringScheduleNameHasBeenSet = true; m_monitoringScheduleName = value; }
50 inline void SetMonitoringScheduleName(Aws::String&& value) { m_monitoringScheduleNameHasBeenSet = true; m_monitoringScheduleName = std::move(value); }
51 inline void SetMonitoringScheduleName(const char* value) { m_monitoringScheduleNameHasBeenSet = true; m_monitoringScheduleName.assign(value); }
56
58
61 inline const Aws::String& GetMonitoringAlertName() const{ return m_monitoringAlertName; }
62 inline bool MonitoringAlertNameHasBeenSet() const { return m_monitoringAlertNameHasBeenSet; }
63 inline void SetMonitoringAlertName(const Aws::String& value) { m_monitoringAlertNameHasBeenSet = true; m_monitoringAlertName = value; }
64 inline void SetMonitoringAlertName(Aws::String&& value) { m_monitoringAlertNameHasBeenSet = true; m_monitoringAlertName = std::move(value); }
65 inline void SetMonitoringAlertName(const char* value) { m_monitoringAlertNameHasBeenSet = true; m_monitoringAlertName.assign(value); }
68 inline MonitoringAlertHistorySummary& WithMonitoringAlertName(const char* value) { SetMonitoringAlertName(value); return *this;}
70
72
77 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
78 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
79 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
80 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
82 inline MonitoringAlertHistorySummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
84
86
89 inline const MonitoringAlertStatus& GetAlertStatus() const{ return m_alertStatus; }
90 inline bool AlertStatusHasBeenSet() const { return m_alertStatusHasBeenSet; }
91 inline void SetAlertStatus(const MonitoringAlertStatus& value) { m_alertStatusHasBeenSet = true; m_alertStatus = value; }
92 inline void SetAlertStatus(MonitoringAlertStatus&& value) { m_alertStatusHasBeenSet = true; m_alertStatus = std::move(value); }
94 inline MonitoringAlertHistorySummary& WithAlertStatus(MonitoringAlertStatus&& value) { SetAlertStatus(std::move(value)); return *this;}
96 private:
97
98 Aws::String m_monitoringScheduleName;
99 bool m_monitoringScheduleNameHasBeenSet = false;
100
101 Aws::String m_monitoringAlertName;
102 bool m_monitoringAlertNameHasBeenSet = false;
103
104 Aws::Utils::DateTime m_creationTime;
105 bool m_creationTimeHasBeenSet = false;
106
107 MonitoringAlertStatus m_alertStatus;
108 bool m_alertStatusHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace SageMaker
113} // namespace Aws
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
MonitoringAlertHistorySummary & WithCreationTime(const Aws::Utils::DateTime &value)
MonitoringAlertHistorySummary & WithMonitoringAlertName(Aws::String &&value)
MonitoringAlertHistorySummary & WithAlertStatus(const MonitoringAlertStatus &value)
MonitoringAlertHistorySummary & WithMonitoringAlertName(const char *value)
MonitoringAlertHistorySummary & WithMonitoringScheduleName(const Aws::String &value)
MonitoringAlertHistorySummary & WithMonitoringScheduleName(Aws::String &&value)
MonitoringAlertHistorySummary & WithMonitoringScheduleName(const char *value)
MonitoringAlertHistorySummary & WithCreationTime(Aws::Utils::DateTime &&value)
MonitoringAlertHistorySummary & WithMonitoringAlertName(const Aws::String &value)
MonitoringAlertHistorySummary & WithAlertStatus(MonitoringAlertStatus &&value)
AWS_SAGEMAKER_API MonitoringAlertHistorySummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API MonitoringAlertHistorySummary(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue