AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
CreateRetrainingSchedulerRequest.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#include <aws/core/utils/UUID.h>
14
15namespace Aws
16{
17namespace LookoutEquipment
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_LOOKOUTEQUIPMENT_API CreateRetrainingSchedulerRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "CreateRetrainingScheduler"; }
34
35 AWS_LOOKOUTEQUIPMENT_API Aws::String SerializePayload() const override;
36
37 AWS_LOOKOUTEQUIPMENT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
38
39
41
44 inline const Aws::String& GetModelName() const { return m_modelName; }
45 inline bool ModelNameHasBeenSet() const { return m_modelNameHasBeenSet; }
46 template<typename ModelNameT = Aws::String>
47 void SetModelName(ModelNameT&& value) { m_modelNameHasBeenSet = true; m_modelName = std::forward<ModelNameT>(value); }
48 template<typename ModelNameT = Aws::String>
49 CreateRetrainingSchedulerRequest& WithModelName(ModelNameT&& value) { SetModelName(std::forward<ModelNameT>(value)); return *this;}
51
53
57 inline const Aws::Utils::DateTime& GetRetrainingStartDate() const { return m_retrainingStartDate; }
58 inline bool RetrainingStartDateHasBeenSet() const { return m_retrainingStartDateHasBeenSet; }
59 template<typename RetrainingStartDateT = Aws::Utils::DateTime>
60 void SetRetrainingStartDate(RetrainingStartDateT&& value) { m_retrainingStartDateHasBeenSet = true; m_retrainingStartDate = std::forward<RetrainingStartDateT>(value); }
61 template<typename RetrainingStartDateT = Aws::Utils::DateTime>
62 CreateRetrainingSchedulerRequest& WithRetrainingStartDate(RetrainingStartDateT&& value) { SetRetrainingStartDate(std::forward<RetrainingStartDateT>(value)); return *this;}
64
66
76 inline const Aws::String& GetRetrainingFrequency() const { return m_retrainingFrequency; }
77 inline bool RetrainingFrequencyHasBeenSet() const { return m_retrainingFrequencyHasBeenSet; }
78 template<typename RetrainingFrequencyT = Aws::String>
79 void SetRetrainingFrequency(RetrainingFrequencyT&& value) { m_retrainingFrequencyHasBeenSet = true; m_retrainingFrequency = std::forward<RetrainingFrequencyT>(value); }
80 template<typename RetrainingFrequencyT = Aws::String>
81 CreateRetrainingSchedulerRequest& WithRetrainingFrequency(RetrainingFrequencyT&& value) { SetRetrainingFrequency(std::forward<RetrainingFrequencyT>(value)); return *this;}
83
85
88 inline const Aws::String& GetLookbackWindow() const { return m_lookbackWindow; }
89 inline bool LookbackWindowHasBeenSet() const { return m_lookbackWindowHasBeenSet; }
90 template<typename LookbackWindowT = Aws::String>
91 void SetLookbackWindow(LookbackWindowT&& value) { m_lookbackWindowHasBeenSet = true; m_lookbackWindow = std::forward<LookbackWindowT>(value); }
92 template<typename LookbackWindowT = Aws::String>
93 CreateRetrainingSchedulerRequest& WithLookbackWindow(LookbackWindowT&& value) { SetLookbackWindow(std::forward<LookbackWindowT>(value)); return *this;}
95
97
105 inline ModelPromoteMode GetPromoteMode() const { return m_promoteMode; }
106 inline bool PromoteModeHasBeenSet() const { return m_promoteModeHasBeenSet; }
107 inline void SetPromoteMode(ModelPromoteMode value) { m_promoteModeHasBeenSet = true; m_promoteMode = value; }
110
112
116 inline const Aws::String& GetClientToken() const { return m_clientToken; }
117 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
118 template<typename ClientTokenT = Aws::String>
119 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
120 template<typename ClientTokenT = Aws::String>
121 CreateRetrainingSchedulerRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
123 private:
124
125 Aws::String m_modelName;
126 bool m_modelNameHasBeenSet = false;
127
128 Aws::Utils::DateTime m_retrainingStartDate{};
129 bool m_retrainingStartDateHasBeenSet = false;
130
131 Aws::String m_retrainingFrequency;
132 bool m_retrainingFrequencyHasBeenSet = false;
133
134 Aws::String m_lookbackWindow;
135 bool m_lookbackWindowHasBeenSet = false;
136
138 bool m_promoteModeHasBeenSet = false;
139
141 bool m_clientTokenHasBeenSet = true;
142 };
143
144} // namespace Model
145} // namespace LookoutEquipment
146} // 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