AWS SDK for C++  1.8.95
AWS SDK for C++
UpdateMonitoringScheduleRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace SageMaker
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "UpdateMonitoringSchedule"; }
32 
33  Aws::String SerializePayload() const override;
34 
35  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36 
37 
42  inline const Aws::String& GetMonitoringScheduleName() const{ return m_monitoringScheduleName; }
43 
48  inline bool MonitoringScheduleNameHasBeenSet() const { return m_monitoringScheduleNameHasBeenSet; }
49 
54  inline void SetMonitoringScheduleName(const Aws::String& value) { m_monitoringScheduleNameHasBeenSet = true; m_monitoringScheduleName = value; }
55 
60  inline void SetMonitoringScheduleName(Aws::String&& value) { m_monitoringScheduleNameHasBeenSet = true; m_monitoringScheduleName = std::move(value); }
61 
66  inline void SetMonitoringScheduleName(const char* value) { m_monitoringScheduleNameHasBeenSet = true; m_monitoringScheduleName.assign(value); }
67 
72  inline UpdateMonitoringScheduleRequest& WithMonitoringScheduleName(const Aws::String& value) { SetMonitoringScheduleName(value); return *this;}
73 
78  inline UpdateMonitoringScheduleRequest& WithMonitoringScheduleName(Aws::String&& value) { SetMonitoringScheduleName(std::move(value)); return *this;}
79 
84  inline UpdateMonitoringScheduleRequest& WithMonitoringScheduleName(const char* value) { SetMonitoringScheduleName(value); return *this;}
85 
86 
91  inline const MonitoringScheduleConfig& GetMonitoringScheduleConfig() const{ return m_monitoringScheduleConfig; }
92 
97  inline bool MonitoringScheduleConfigHasBeenSet() const { return m_monitoringScheduleConfigHasBeenSet; }
98 
103  inline void SetMonitoringScheduleConfig(const MonitoringScheduleConfig& value) { m_monitoringScheduleConfigHasBeenSet = true; m_monitoringScheduleConfig = value; }
104 
109  inline void SetMonitoringScheduleConfig(MonitoringScheduleConfig&& value) { m_monitoringScheduleConfigHasBeenSet = true; m_monitoringScheduleConfig = std::move(value); }
110 
115  inline UpdateMonitoringScheduleRequest& WithMonitoringScheduleConfig(const MonitoringScheduleConfig& value) { SetMonitoringScheduleConfig(value); return *this;}
116 
121  inline UpdateMonitoringScheduleRequest& WithMonitoringScheduleConfig(MonitoringScheduleConfig&& value) { SetMonitoringScheduleConfig(std::move(value)); return *this;}
122 
123  private:
124 
125  Aws::String m_monitoringScheduleName;
126  bool m_monitoringScheduleNameHasBeenSet;
127 
128  MonitoringScheduleConfig m_monitoringScheduleConfig;
129  bool m_monitoringScheduleConfigHasBeenSet;
130  };
131 
132 } // namespace Model
133 } // namespace SageMaker
134 } // namespace Aws
#define AWS_SAGEMAKER_API
const MonitoringScheduleConfig & GetMonitoringScheduleConfig() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
UpdateMonitoringScheduleRequest & WithMonitoringScheduleConfig(MonitoringScheduleConfig &&value)
UpdateMonitoringScheduleRequest & WithMonitoringScheduleConfig(const MonitoringScheduleConfig &value)
UpdateMonitoringScheduleRequest & WithMonitoringScheduleName(Aws::String &&value)
void SetMonitoringScheduleConfig(const MonitoringScheduleConfig &value)
UpdateMonitoringScheduleRequest & WithMonitoringScheduleName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
UpdateMonitoringScheduleRequest & WithMonitoringScheduleName(const char *value)