AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetModelName(const Aws::String& value) { m_modelNameHasBeenSet = true; m_modelName = value; }
46 inline void SetModelName(Aws::String&& value) { m_modelNameHasBeenSet = true; m_modelName = std::move(value); }
47 inline void SetModelName(const char* value) { m_modelNameHasBeenSet = true; m_modelName.assign(value); }
48 inline UpdateRetrainingSchedulerRequest& WithModelName(const Aws::String& value) { SetModelName(value); return *this;}
49 inline UpdateRetrainingSchedulerRequest& WithModelName(Aws::String&& value) { SetModelName(std::move(value)); return *this;}
50 inline UpdateRetrainingSchedulerRequest& WithModelName(const char* value) { SetModelName(value); return *this;}
52
54
58 inline const Aws::Utils::DateTime& GetRetrainingStartDate() const{ return m_retrainingStartDate; }
59 inline bool RetrainingStartDateHasBeenSet() const { return m_retrainingStartDateHasBeenSet; }
60 inline void SetRetrainingStartDate(const Aws::Utils::DateTime& value) { m_retrainingStartDateHasBeenSet = true; m_retrainingStartDate = value; }
61 inline void SetRetrainingStartDate(Aws::Utils::DateTime&& value) { m_retrainingStartDateHasBeenSet = true; m_retrainingStartDate = std::move(value); }
65
67
77 inline const Aws::String& GetRetrainingFrequency() const{ return m_retrainingFrequency; }
78 inline bool RetrainingFrequencyHasBeenSet() const { return m_retrainingFrequencyHasBeenSet; }
79 inline void SetRetrainingFrequency(const Aws::String& value) { m_retrainingFrequencyHasBeenSet = true; m_retrainingFrequency = value; }
80 inline void SetRetrainingFrequency(Aws::String&& value) { m_retrainingFrequencyHasBeenSet = true; m_retrainingFrequency = std::move(value); }
81 inline void SetRetrainingFrequency(const char* value) { m_retrainingFrequencyHasBeenSet = true; m_retrainingFrequency.assign(value); }
84 inline UpdateRetrainingSchedulerRequest& WithRetrainingFrequency(const char* value) { SetRetrainingFrequency(value); return *this;}
86
88
91 inline const Aws::String& GetLookbackWindow() const{ return m_lookbackWindow; }
92 inline bool LookbackWindowHasBeenSet() const { return m_lookbackWindowHasBeenSet; }
93 inline void SetLookbackWindow(const Aws::String& value) { m_lookbackWindowHasBeenSet = true; m_lookbackWindow = value; }
94 inline void SetLookbackWindow(Aws::String&& value) { m_lookbackWindowHasBeenSet = true; m_lookbackWindow = std::move(value); }
95 inline void SetLookbackWindow(const char* value) { m_lookbackWindowHasBeenSet = true; m_lookbackWindow.assign(value); }
97 inline UpdateRetrainingSchedulerRequest& WithLookbackWindow(Aws::String&& value) { SetLookbackWindow(std::move(value)); return *this;}
98 inline UpdateRetrainingSchedulerRequest& WithLookbackWindow(const char* value) { SetLookbackWindow(value); return *this;}
100
102
110 inline const ModelPromoteMode& GetPromoteMode() const{ return m_promoteMode; }
111 inline bool PromoteModeHasBeenSet() const { return m_promoteModeHasBeenSet; }
112 inline void SetPromoteMode(const ModelPromoteMode& value) { m_promoteModeHasBeenSet = true; m_promoteMode = value; }
113 inline void SetPromoteMode(ModelPromoteMode&& value) { m_promoteModeHasBeenSet = true; m_promoteMode = std::move(value); }
115 inline UpdateRetrainingSchedulerRequest& WithPromoteMode(ModelPromoteMode&& value) { SetPromoteMode(std::move(value)); return *this;}
117 private:
118
119 Aws::String m_modelName;
120 bool m_modelNameHasBeenSet = false;
121
122 Aws::Utils::DateTime m_retrainingStartDate;
123 bool m_retrainingStartDateHasBeenSet = false;
124
125 Aws::String m_retrainingFrequency;
126 bool m_retrainingFrequencyHasBeenSet = false;
127
128 Aws::String m_lookbackWindow;
129 bool m_lookbackWindowHasBeenSet = false;
130
131 ModelPromoteMode m_promoteMode;
132 bool m_promoteModeHasBeenSet = false;
133 };
134
135} // namespace Model
136} // namespace LookoutEquipment
137} // namespace Aws
UpdateRetrainingSchedulerRequest & WithModelName(Aws::String &&value)
UpdateRetrainingSchedulerRequest & WithRetrainingFrequency(const char *value)
UpdateRetrainingSchedulerRequest & WithModelName(const Aws::String &value)
UpdateRetrainingSchedulerRequest & WithLookbackWindow(Aws::String &&value)
UpdateRetrainingSchedulerRequest & WithRetrainingStartDate(const Aws::Utils::DateTime &value)
UpdateRetrainingSchedulerRequest & WithRetrainingFrequency(Aws::String &&value)
UpdateRetrainingSchedulerRequest & WithPromoteMode(ModelPromoteMode &&value)
UpdateRetrainingSchedulerRequest & WithPromoteMode(const ModelPromoteMode &value)
AWS_LOOKOUTEQUIPMENT_API Aws::String SerializePayload() const override
UpdateRetrainingSchedulerRequest & WithLookbackWindow(const char *value)
AWS_LOOKOUTEQUIPMENT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateRetrainingSchedulerRequest & WithRetrainingStartDate(Aws::Utils::DateTime &&value)
UpdateRetrainingSchedulerRequest & WithRetrainingFrequency(const Aws::String &value)
UpdateRetrainingSchedulerRequest & WithLookbackWindow(const Aws::String &value)
UpdateRetrainingSchedulerRequest & WithModelName(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String