AWS SDK for C++

AWS SDK for C++ Version 1.11.680

Loading...
Searching...
No Matches
CreateRetrainingSchedulerRequest.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/UUID.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/lookoutequipment/LookoutEquipmentRequest.h>
11#include <aws/lookoutequipment/LookoutEquipment_EXPORTS.h>
12#include <aws/lookoutequipment/model/ModelPromoteMode.h>
13
14#include <utility>
15
16namespace Aws {
17namespace LookoutEquipment {
18namespace Model {
19
23 public:
24 AWS_LOOKOUTEQUIPMENT_API CreateRetrainingSchedulerRequest() = 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 "CreateRetrainingScheduler"; }
31
32 AWS_LOOKOUTEQUIPMENT_API Aws::String SerializePayload() const override;
33
34 AWS_LOOKOUTEQUIPMENT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
35
37
40 inline const Aws::String& GetModelName() const { return m_modelName; }
41 inline bool ModelNameHasBeenSet() const { return m_modelNameHasBeenSet; }
42 template <typename ModelNameT = Aws::String>
43 void SetModelName(ModelNameT&& value) {
44 m_modelNameHasBeenSet = true;
45 m_modelName = std::forward<ModelNameT>(value);
46 }
47 template <typename ModelNameT = Aws::String>
49 SetModelName(std::forward<ModelNameT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::Utils::DateTime& GetRetrainingStartDate() const { return m_retrainingStartDate; }
60 inline bool RetrainingStartDateHasBeenSet() const { return m_retrainingStartDateHasBeenSet; }
61 template <typename RetrainingStartDateT = Aws::Utils::DateTime>
62 void SetRetrainingStartDate(RetrainingStartDateT&& value) {
63 m_retrainingStartDateHasBeenSet = true;
64 m_retrainingStartDate = std::forward<RetrainingStartDateT>(value);
65 }
66 template <typename RetrainingStartDateT = Aws::Utils::DateTime>
68 SetRetrainingStartDate(std::forward<RetrainingStartDateT>(value));
69 return *this;
70 }
72
74
84 inline const Aws::String& GetRetrainingFrequency() const { return m_retrainingFrequency; }
85 inline bool RetrainingFrequencyHasBeenSet() const { return m_retrainingFrequencyHasBeenSet; }
86 template <typename RetrainingFrequencyT = Aws::String>
87 void SetRetrainingFrequency(RetrainingFrequencyT&& value) {
88 m_retrainingFrequencyHasBeenSet = true;
89 m_retrainingFrequency = std::forward<RetrainingFrequencyT>(value);
90 }
91 template <typename RetrainingFrequencyT = Aws::String>
93 SetRetrainingFrequency(std::forward<RetrainingFrequencyT>(value));
94 return *this;
95 }
97
99
102 inline const Aws::String& GetLookbackWindow() const { return m_lookbackWindow; }
103 inline bool LookbackWindowHasBeenSet() const { return m_lookbackWindowHasBeenSet; }
104 template <typename LookbackWindowT = Aws::String>
105 void SetLookbackWindow(LookbackWindowT&& value) {
106 m_lookbackWindowHasBeenSet = true;
107 m_lookbackWindow = std::forward<LookbackWindowT>(value);
108 }
109 template <typename LookbackWindowT = Aws::String>
111 SetLookbackWindow(std::forward<LookbackWindowT>(value));
112 return *this;
113 }
115
117
125 inline ModelPromoteMode GetPromoteMode() const { return m_promoteMode; }
126 inline bool PromoteModeHasBeenSet() const { return m_promoteModeHasBeenSet; }
127 inline void SetPromoteMode(ModelPromoteMode value) {
128 m_promoteModeHasBeenSet = true;
129 m_promoteMode = value;
130 }
132 SetPromoteMode(value);
133 return *this;
134 }
136
138
142 inline const Aws::String& GetClientToken() const { return m_clientToken; }
143 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
144 template <typename ClientTokenT = Aws::String>
145 void SetClientToken(ClientTokenT&& value) {
146 m_clientTokenHasBeenSet = true;
147 m_clientToken = std::forward<ClientTokenT>(value);
148 }
149 template <typename ClientTokenT = Aws::String>
151 SetClientToken(std::forward<ClientTokenT>(value));
152 return *this;
153 }
155 private:
156 Aws::String m_modelName;
157 bool m_modelNameHasBeenSet = false;
158
159 Aws::Utils::DateTime m_retrainingStartDate{};
160 bool m_retrainingStartDateHasBeenSet = false;
161
162 Aws::String m_retrainingFrequency;
163 bool m_retrainingFrequencyHasBeenSet = false;
164
165 Aws::String m_lookbackWindow;
166 bool m_lookbackWindowHasBeenSet = false;
167
169 bool m_promoteModeHasBeenSet = false;
170
172 bool m_clientTokenHasBeenSet = true;
173};
174
175} // namespace Model
176} // namespace LookoutEquipment
177} // namespace Aws
AWS_LOOKOUTEQUIPMENT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_LOOKOUTEQUIPMENT_API CreateRetrainingSchedulerRequest()=default
CreateRetrainingSchedulerRequest & WithClientToken(ClientTokenT &&value)
CreateRetrainingSchedulerRequest & WithRetrainingStartDate(RetrainingStartDateT &&value)
AWS_LOOKOUTEQUIPMENT_API Aws::String SerializePayload() const override
CreateRetrainingSchedulerRequest & WithModelName(ModelNameT &&value)
CreateRetrainingSchedulerRequest & WithLookbackWindow(LookbackWindowT &&value)
CreateRetrainingSchedulerRequest & WithPromoteMode(ModelPromoteMode value)
CreateRetrainingSchedulerRequest & WithRetrainingFrequency(RetrainingFrequencyT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String