AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
CreateMonitoringScheduleRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/sagemaker/SageMakerRequest.h>
10#include <aws/sagemaker/SageMaker_EXPORTS.h>
11#include <aws/sagemaker/model/MonitoringScheduleConfig.h>
12#include <aws/sagemaker/model/Tag.h>
13
14#include <utility>
15
16namespace Aws {
17namespace SageMaker {
18namespace Model {
19
23 public:
24 AWS_SAGEMAKER_API CreateMonitoringScheduleRequest() = default;
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 "CreateMonitoringSchedule"; }
31
32 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
33
35
37
41 inline const Aws::String& GetMonitoringScheduleName() const { return m_monitoringScheduleName; }
42 inline bool MonitoringScheduleNameHasBeenSet() const { return m_monitoringScheduleNameHasBeenSet; }
43 template <typename MonitoringScheduleNameT = Aws::String>
44 void SetMonitoringScheduleName(MonitoringScheduleNameT&& value) {
45 m_monitoringScheduleNameHasBeenSet = true;
46 m_monitoringScheduleName = std::forward<MonitoringScheduleNameT>(value);
47 }
48 template <typename MonitoringScheduleNameT = Aws::String>
50 SetMonitoringScheduleName(std::forward<MonitoringScheduleNameT>(value));
51 return *this;
52 }
54
56
60 inline const MonitoringScheduleConfig& GetMonitoringScheduleConfig() const { return m_monitoringScheduleConfig; }
61 inline bool MonitoringScheduleConfigHasBeenSet() const { return m_monitoringScheduleConfigHasBeenSet; }
62 template <typename MonitoringScheduleConfigT = MonitoringScheduleConfig>
63 void SetMonitoringScheduleConfig(MonitoringScheduleConfigT&& value) {
64 m_monitoringScheduleConfigHasBeenSet = true;
65 m_monitoringScheduleConfig = std::forward<MonitoringScheduleConfigT>(value);
66 }
67 template <typename MonitoringScheduleConfigT = MonitoringScheduleConfig>
69 SetMonitoringScheduleConfig(std::forward<MonitoringScheduleConfigT>(value));
70 return *this;
71 }
73
75
81 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
82 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
83 template <typename TagsT = Aws::Vector<Tag>>
84 void SetTags(TagsT&& value) {
85 m_tagsHasBeenSet = true;
86 m_tags = std::forward<TagsT>(value);
87 }
88 template <typename TagsT = Aws::Vector<Tag>>
90 SetTags(std::forward<TagsT>(value));
91 return *this;
92 }
93 template <typename TagsT = Tag>
95 m_tagsHasBeenSet = true;
96 m_tags.emplace_back(std::forward<TagsT>(value));
97 return *this;
98 }
100 private:
101 Aws::String m_monitoringScheduleName;
102
103 MonitoringScheduleConfig m_monitoringScheduleConfig;
104
105 Aws::Vector<Tag> m_tags;
106 bool m_monitoringScheduleNameHasBeenSet = false;
107 bool m_monitoringScheduleConfigHasBeenSet = false;
108 bool m_tagsHasBeenSet = false;
109};
110
111} // namespace Model
112} // namespace SageMaker
113} // namespace Aws
CreateMonitoringScheduleRequest & AddTags(TagsT &&value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateMonitoringScheduleRequest & WithTags(TagsT &&value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
CreateMonitoringScheduleRequest & WithMonitoringScheduleConfig(MonitoringScheduleConfigT &&value)
CreateMonitoringScheduleRequest & WithMonitoringScheduleName(MonitoringScheduleNameT &&value)
AWS_SAGEMAKER_API CreateMonitoringScheduleRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector