AWS SDK for C++  1.9.158
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 
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
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
SageMaker_EXPORTS.h
Aws::SageMaker::Model::UpdateMonitoringScheduleRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SageMaker::Model::UpdateMonitoringScheduleRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::SageMaker::Model::UpdateMonitoringScheduleRequest
Definition: UpdateMonitoringScheduleRequest.h:23
Aws::SageMaker::Model::UpdateMonitoringScheduleRequest::SetMonitoringScheduleName
void SetMonitoringScheduleName(const char *value)
Definition: UpdateMonitoringScheduleRequest.h:66
MonitoringScheduleConfig.h
Aws::SageMaker::Model::UpdateMonitoringScheduleRequest::WithMonitoringScheduleName
UpdateMonitoringScheduleRequest & WithMonitoringScheduleName(Aws::String &&value)
Definition: UpdateMonitoringScheduleRequest.h:78
Aws::SageMaker::Model::UpdateMonitoringScheduleRequest::SetMonitoringScheduleConfig
void SetMonitoringScheduleConfig(MonitoringScheduleConfig &&value)
Definition: UpdateMonitoringScheduleRequest.h:109
Aws::SageMaker::SageMakerRequest
Definition: SageMakerRequest.h:17
Aws::SageMaker::Model::UpdateMonitoringScheduleRequest::MonitoringScheduleConfigHasBeenSet
bool MonitoringScheduleConfigHasBeenSet() const
Definition: UpdateMonitoringScheduleRequest.h:97
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::UpdateMonitoringScheduleRequest::WithMonitoringScheduleName
UpdateMonitoringScheduleRequest & WithMonitoringScheduleName(const Aws::String &value)
Definition: UpdateMonitoringScheduleRequest.h:72
Aws::SageMaker::Model::UpdateMonitoringScheduleRequest::MonitoringScheduleNameHasBeenSet
bool MonitoringScheduleNameHasBeenSet() const
Definition: UpdateMonitoringScheduleRequest.h:48
Aws::SageMaker::Model::UpdateMonitoringScheduleRequest::GetMonitoringScheduleConfig
const MonitoringScheduleConfig & GetMonitoringScheduleConfig() const
Definition: UpdateMonitoringScheduleRequest.h:91
Aws::SageMaker::Model::UpdateMonitoringScheduleRequest::WithMonitoringScheduleName
UpdateMonitoringScheduleRequest & WithMonitoringScheduleName(const char *value)
Definition: UpdateMonitoringScheduleRequest.h:84
Aws::SageMaker::Model::UpdateMonitoringScheduleRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateMonitoringScheduleRequest.h:31
AWSString.h
Aws::SageMaker::Model::UpdateMonitoringScheduleRequest::GetMonitoringScheduleName
const Aws::String & GetMonitoringScheduleName() const
Definition: UpdateMonitoringScheduleRequest.h:42
Aws::SageMaker::Model::UpdateMonitoringScheduleRequest::SetMonitoringScheduleName
void SetMonitoringScheduleName(const Aws::String &value)
Definition: UpdateMonitoringScheduleRequest.h:54
Aws::SageMaker::Model::UpdateMonitoringScheduleRequest::WithMonitoringScheduleConfig
UpdateMonitoringScheduleRequest & WithMonitoringScheduleConfig(const MonitoringScheduleConfig &value)
Definition: UpdateMonitoringScheduleRequest.h:115
Aws::SageMaker::Model::MonitoringScheduleConfig
Definition: MonitoringScheduleConfig.h:36
Aws::SageMaker::Model::UpdateMonitoringScheduleRequest::SetMonitoringScheduleName
void SetMonitoringScheduleName(Aws::String &&value)
Definition: UpdateMonitoringScheduleRequest.h:60
Aws
Definition: AccessManagementClient.h:15
SageMakerRequest.h
Aws::SageMaker::Model::UpdateMonitoringScheduleRequest::SetMonitoringScheduleConfig
void SetMonitoringScheduleConfig(const MonitoringScheduleConfig &value)
Definition: UpdateMonitoringScheduleRequest.h:103
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::UpdateMonitoringScheduleRequest::UpdateMonitoringScheduleRequest
UpdateMonitoringScheduleRequest()
Aws::SageMaker::Model::UpdateMonitoringScheduleRequest::WithMonitoringScheduleConfig
UpdateMonitoringScheduleRequest & WithMonitoringScheduleConfig(MonitoringScheduleConfig &&value)
Definition: UpdateMonitoringScheduleRequest.h:121