AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
UpdateMonitoringScheduleRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sagemaker/SageMakerRequest.h>
9#include <aws/sagemaker/SageMaker_EXPORTS.h>
10#include <aws/sagemaker/model/MonitoringScheduleConfig.h>
11
12#include <utility>
13
14namespace Aws {
15namespace SageMaker {
16namespace Model {
17
21 public:
22 AWS_SAGEMAKER_API UpdateMonitoringScheduleRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateMonitoringSchedule"; }
29
30 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
31
33
35
39 inline const Aws::String& GetMonitoringScheduleName() const { return m_monitoringScheduleName; }
40 inline bool MonitoringScheduleNameHasBeenSet() const { return m_monitoringScheduleNameHasBeenSet; }
41 template <typename MonitoringScheduleNameT = Aws::String>
42 void SetMonitoringScheduleName(MonitoringScheduleNameT&& value) {
43 m_monitoringScheduleNameHasBeenSet = true;
44 m_monitoringScheduleName = std::forward<MonitoringScheduleNameT>(value);
45 }
46 template <typename MonitoringScheduleNameT = Aws::String>
48 SetMonitoringScheduleName(std::forward<MonitoringScheduleNameT>(value));
49 return *this;
50 }
52
54
58 inline const MonitoringScheduleConfig& GetMonitoringScheduleConfig() const { return m_monitoringScheduleConfig; }
59 inline bool MonitoringScheduleConfigHasBeenSet() const { return m_monitoringScheduleConfigHasBeenSet; }
60 template <typename MonitoringScheduleConfigT = MonitoringScheduleConfig>
61 void SetMonitoringScheduleConfig(MonitoringScheduleConfigT&& value) {
62 m_monitoringScheduleConfigHasBeenSet = true;
63 m_monitoringScheduleConfig = std::forward<MonitoringScheduleConfigT>(value);
64 }
65 template <typename MonitoringScheduleConfigT = MonitoringScheduleConfig>
67 SetMonitoringScheduleConfig(std::forward<MonitoringScheduleConfigT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_monitoringScheduleName;
73
74 MonitoringScheduleConfig m_monitoringScheduleConfig;
75 bool m_monitoringScheduleNameHasBeenSet = false;
76 bool m_monitoringScheduleConfigHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace SageMaker
81} // namespace Aws
UpdateMonitoringScheduleRequest & WithMonitoringScheduleConfig(MonitoringScheduleConfigT &&value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_SAGEMAKER_API UpdateMonitoringScheduleRequest()=default
UpdateMonitoringScheduleRequest & WithMonitoringScheduleName(MonitoringScheduleNameT &&value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String