AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
UpdateRetrainingSchedulerRequest.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lookoutequipment/LookoutEquipmentRequest.h>
10#include <aws/lookoutequipment/LookoutEquipment_EXPORTS.h>
11#include <aws/lookoutequipment/model/ModelPromoteMode.h>
12
13#include <utility>
14
15namespace Aws {
16namespace LookoutEquipment {
17namespace Model {
18
22 public:
23 AWS_LOOKOUTEQUIPMENT_API UpdateRetrainingSchedulerRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "UpdateRetrainingScheduler"; }
30
31 AWS_LOOKOUTEQUIPMENT_API Aws::String SerializePayload() const override;
32
33 AWS_LOOKOUTEQUIPMENT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
34
36
39 inline const Aws::String& GetModelName() const { return m_modelName; }
40 inline bool ModelNameHasBeenSet() const { return m_modelNameHasBeenSet; }
41 template <typename ModelNameT = Aws::String>
42 void SetModelName(ModelNameT&& value) {
43 m_modelNameHasBeenSet = true;
44 m_modelName = std::forward<ModelNameT>(value);
45 }
46 template <typename ModelNameT = Aws::String>
48 SetModelName(std::forward<ModelNameT>(value));
49 return *this;
50 }
52
54
58 inline const Aws::Utils::DateTime& GetRetrainingStartDate() const { return m_retrainingStartDate; }
59 inline bool RetrainingStartDateHasBeenSet() const { return m_retrainingStartDateHasBeenSet; }
60 template <typename RetrainingStartDateT = Aws::Utils::DateTime>
61 void SetRetrainingStartDate(RetrainingStartDateT&& value) {
62 m_retrainingStartDateHasBeenSet = true;
63 m_retrainingStartDate = std::forward<RetrainingStartDateT>(value);
64 }
65 template <typename RetrainingStartDateT = Aws::Utils::DateTime>
67 SetRetrainingStartDate(std::forward<RetrainingStartDateT>(value));
68 return *this;
69 }
71
73
83 inline const Aws::String& GetRetrainingFrequency() const { return m_retrainingFrequency; }
84 inline bool RetrainingFrequencyHasBeenSet() const { return m_retrainingFrequencyHasBeenSet; }
85 template <typename RetrainingFrequencyT = Aws::String>
86 void SetRetrainingFrequency(RetrainingFrequencyT&& value) {
87 m_retrainingFrequencyHasBeenSet = true;
88 m_retrainingFrequency = std::forward<RetrainingFrequencyT>(value);
89 }
90 template <typename RetrainingFrequencyT = Aws::String>
92 SetRetrainingFrequency(std::forward<RetrainingFrequencyT>(value));
93 return *this;
94 }
96
98
101 inline const Aws::String& GetLookbackWindow() const { return m_lookbackWindow; }
102 inline bool LookbackWindowHasBeenSet() const { return m_lookbackWindowHasBeenSet; }
103 template <typename LookbackWindowT = Aws::String>
104 void SetLookbackWindow(LookbackWindowT&& value) {
105 m_lookbackWindowHasBeenSet = true;
106 m_lookbackWindow = std::forward<LookbackWindowT>(value);
107 }
108 template <typename LookbackWindowT = Aws::String>
110 SetLookbackWindow(std::forward<LookbackWindowT>(value));
111 return *this;
112 }
114
116
124 inline ModelPromoteMode GetPromoteMode() const { return m_promoteMode; }
125 inline bool PromoteModeHasBeenSet() const { return m_promoteModeHasBeenSet; }
126 inline void SetPromoteMode(ModelPromoteMode value) {
127 m_promoteModeHasBeenSet = true;
128 m_promoteMode = value;
129 }
131 SetPromoteMode(value);
132 return *this;
133 }
135 private:
136 Aws::String m_modelName;
137 bool m_modelNameHasBeenSet = false;
138
139 Aws::Utils::DateTime m_retrainingStartDate{};
140 bool m_retrainingStartDateHasBeenSet = false;
141
142 Aws::String m_retrainingFrequency;
143 bool m_retrainingFrequencyHasBeenSet = false;
144
145 Aws::String m_lookbackWindow;
146 bool m_lookbackWindowHasBeenSet = false;
147
149 bool m_promoteModeHasBeenSet = false;
150};
151
152} // namespace Model
153} // namespace LookoutEquipment
154} // 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