AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
UpdateRetrainingSchedulerRequest.h
1
6#pragma once
7#include <aws/lookoutequipment/LookoutEquipment_EXPORTS.h>
8#include <aws/lookoutequipment/LookoutEquipmentRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/lookoutequipment/model/ModelPromoteMode.h>
12#include <utility>
13
14namespace Aws
15{
16namespace LookoutEquipment
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_LOOKOUTEQUIPMENT_API UpdateRetrainingSchedulerRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateRetrainingScheduler"; }
33
34 AWS_LOOKOUTEQUIPMENT_API Aws::String SerializePayload() const override;
35
36 AWS_LOOKOUTEQUIPMENT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37
38
40
43 inline const Aws::String& GetModelName() const { return m_modelName; }
44 inline bool ModelNameHasBeenSet() const { return m_modelNameHasBeenSet; }
45 template<typename ModelNameT = Aws::String>
46 void SetModelName(ModelNameT&& value) { m_modelNameHasBeenSet = true; m_modelName = std::forward<ModelNameT>(value); }
47 template<typename ModelNameT = Aws::String>
48 UpdateRetrainingSchedulerRequest& WithModelName(ModelNameT&& value) { SetModelName(std::forward<ModelNameT>(value)); return *this;}
50
52
56 inline const Aws::Utils::DateTime& GetRetrainingStartDate() const { return m_retrainingStartDate; }
57 inline bool RetrainingStartDateHasBeenSet() const { return m_retrainingStartDateHasBeenSet; }
58 template<typename RetrainingStartDateT = Aws::Utils::DateTime>
59 void SetRetrainingStartDate(RetrainingStartDateT&& value) { m_retrainingStartDateHasBeenSet = true; m_retrainingStartDate = std::forward<RetrainingStartDateT>(value); }
60 template<typename RetrainingStartDateT = Aws::Utils::DateTime>
61 UpdateRetrainingSchedulerRequest& WithRetrainingStartDate(RetrainingStartDateT&& value) { SetRetrainingStartDate(std::forward<RetrainingStartDateT>(value)); return *this;}
63
65
75 inline const Aws::String& GetRetrainingFrequency() const { return m_retrainingFrequency; }
76 inline bool RetrainingFrequencyHasBeenSet() const { return m_retrainingFrequencyHasBeenSet; }
77 template<typename RetrainingFrequencyT = Aws::String>
78 void SetRetrainingFrequency(RetrainingFrequencyT&& value) { m_retrainingFrequencyHasBeenSet = true; m_retrainingFrequency = std::forward<RetrainingFrequencyT>(value); }
79 template<typename RetrainingFrequencyT = Aws::String>
80 UpdateRetrainingSchedulerRequest& WithRetrainingFrequency(RetrainingFrequencyT&& value) { SetRetrainingFrequency(std::forward<RetrainingFrequencyT>(value)); return *this;}
82
84
87 inline const Aws::String& GetLookbackWindow() const { return m_lookbackWindow; }
88 inline bool LookbackWindowHasBeenSet() const { return m_lookbackWindowHasBeenSet; }
89 template<typename LookbackWindowT = Aws::String>
90 void SetLookbackWindow(LookbackWindowT&& value) { m_lookbackWindowHasBeenSet = true; m_lookbackWindow = std::forward<LookbackWindowT>(value); }
91 template<typename LookbackWindowT = Aws::String>
92 UpdateRetrainingSchedulerRequest& WithLookbackWindow(LookbackWindowT&& value) { SetLookbackWindow(std::forward<LookbackWindowT>(value)); return *this;}
94
96
104 inline ModelPromoteMode GetPromoteMode() const { return m_promoteMode; }
105 inline bool PromoteModeHasBeenSet() const { return m_promoteModeHasBeenSet; }
106 inline void SetPromoteMode(ModelPromoteMode value) { m_promoteModeHasBeenSet = true; m_promoteMode = value; }
109 private:
110
111 Aws::String m_modelName;
112 bool m_modelNameHasBeenSet = false;
113
114 Aws::Utils::DateTime m_retrainingStartDate{};
115 bool m_retrainingStartDateHasBeenSet = false;
116
117 Aws::String m_retrainingFrequency;
118 bool m_retrainingFrequencyHasBeenSet = false;
119
120 Aws::String m_lookbackWindow;
121 bool m_lookbackWindowHasBeenSet = false;
122
124 bool m_promoteModeHasBeenSet = false;
125 };
126
127} // namespace Model
128} // namespace LookoutEquipment
129} // namespace Aws
UpdateRetrainingSchedulerRequest & WithRetrainingFrequency(RetrainingFrequencyT &&value)
UpdateRetrainingSchedulerRequest & WithPromoteMode(ModelPromoteMode value)
UpdateRetrainingSchedulerRequest & WithLookbackWindow(LookbackWindowT &&value)
UpdateRetrainingSchedulerRequest & WithRetrainingStartDate(RetrainingStartDateT &&value)
AWS_LOOKOUTEQUIPMENT_API UpdateRetrainingSchedulerRequest()=default
AWS_LOOKOUTEQUIPMENT_API Aws::String SerializePayload() const override
AWS_LOOKOUTEQUIPMENT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateRetrainingSchedulerRequest & WithModelName(ModelNameT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String