AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetModelName(const Aws::String& value) { m_modelNameHasBeenSet = true; m_modelName = value; }
47 inline void SetModelName(Aws::String&& value) { m_modelNameHasBeenSet = true; m_modelName = std::move(value); }
48 inline void SetModelName(const char* value) { m_modelNameHasBeenSet = true; m_modelName.assign(value); }
49 inline CreateRetrainingSchedulerRequest& WithModelName(const Aws::String& value) { SetModelName(value); return *this;}
50 inline CreateRetrainingSchedulerRequest& WithModelName(Aws::String&& value) { SetModelName(std::move(value)); return *this;}
51 inline CreateRetrainingSchedulerRequest& WithModelName(const char* value) { SetModelName(value); return *this;}
53
55
59 inline const Aws::Utils::DateTime& GetRetrainingStartDate() const{ return m_retrainingStartDate; }
60 inline bool RetrainingStartDateHasBeenSet() const { return m_retrainingStartDateHasBeenSet; }
61 inline void SetRetrainingStartDate(const Aws::Utils::DateTime& value) { m_retrainingStartDateHasBeenSet = true; m_retrainingStartDate = value; }
62 inline void SetRetrainingStartDate(Aws::Utils::DateTime&& value) { m_retrainingStartDateHasBeenSet = true; m_retrainingStartDate = std::move(value); }
66
68
78 inline const Aws::String& GetRetrainingFrequency() const{ return m_retrainingFrequency; }
79 inline bool RetrainingFrequencyHasBeenSet() const { return m_retrainingFrequencyHasBeenSet; }
80 inline void SetRetrainingFrequency(const Aws::String& value) { m_retrainingFrequencyHasBeenSet = true; m_retrainingFrequency = value; }
81 inline void SetRetrainingFrequency(Aws::String&& value) { m_retrainingFrequencyHasBeenSet = true; m_retrainingFrequency = std::move(value); }
82 inline void SetRetrainingFrequency(const char* value) { m_retrainingFrequencyHasBeenSet = true; m_retrainingFrequency.assign(value); }
85 inline CreateRetrainingSchedulerRequest& WithRetrainingFrequency(const char* value) { SetRetrainingFrequency(value); return *this;}
87
89
92 inline const Aws::String& GetLookbackWindow() const{ return m_lookbackWindow; }
93 inline bool LookbackWindowHasBeenSet() const { return m_lookbackWindowHasBeenSet; }
94 inline void SetLookbackWindow(const Aws::String& value) { m_lookbackWindowHasBeenSet = true; m_lookbackWindow = value; }
95 inline void SetLookbackWindow(Aws::String&& value) { m_lookbackWindowHasBeenSet = true; m_lookbackWindow = std::move(value); }
96 inline void SetLookbackWindow(const char* value) { m_lookbackWindowHasBeenSet = true; m_lookbackWindow.assign(value); }
98 inline CreateRetrainingSchedulerRequest& WithLookbackWindow(Aws::String&& value) { SetLookbackWindow(std::move(value)); return *this;}
99 inline CreateRetrainingSchedulerRequest& WithLookbackWindow(const char* value) { SetLookbackWindow(value); return *this;}
101
103
111 inline const ModelPromoteMode& GetPromoteMode() const{ return m_promoteMode; }
112 inline bool PromoteModeHasBeenSet() const { return m_promoteModeHasBeenSet; }
113 inline void SetPromoteMode(const ModelPromoteMode& value) { m_promoteModeHasBeenSet = true; m_promoteMode = value; }
114 inline void SetPromoteMode(ModelPromoteMode&& value) { m_promoteModeHasBeenSet = true; m_promoteMode = std::move(value); }
116 inline CreateRetrainingSchedulerRequest& WithPromoteMode(ModelPromoteMode&& value) { SetPromoteMode(std::move(value)); return *this;}
118
120
124 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
125 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
126 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
127 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
128 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
129 inline CreateRetrainingSchedulerRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
130 inline CreateRetrainingSchedulerRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
131 inline CreateRetrainingSchedulerRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
133 private:
134
135 Aws::String m_modelName;
136 bool m_modelNameHasBeenSet = false;
137
138 Aws::Utils::DateTime m_retrainingStartDate;
139 bool m_retrainingStartDateHasBeenSet = false;
140
141 Aws::String m_retrainingFrequency;
142 bool m_retrainingFrequencyHasBeenSet = false;
143
144 Aws::String m_lookbackWindow;
145 bool m_lookbackWindowHasBeenSet = false;
146
147 ModelPromoteMode m_promoteMode;
148 bool m_promoteModeHasBeenSet = false;
149
150 Aws::String m_clientToken;
151 bool m_clientTokenHasBeenSet = false;
152 };
153
154} // namespace Model
155} // namespace LookoutEquipment
156} // namespace Aws
CreateRetrainingSchedulerRequest & WithModelName(const Aws::String &value)
CreateRetrainingSchedulerRequest & WithRetrainingFrequency(const char *value)
CreateRetrainingSchedulerRequest & WithLookbackWindow(Aws::String &&value)
AWS_LOOKOUTEQUIPMENT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateRetrainingSchedulerRequest & WithLookbackWindow(const char *value)
CreateRetrainingSchedulerRequest & WithModelName(Aws::String &&value)
AWS_LOOKOUTEQUIPMENT_API Aws::String SerializePayload() const override
CreateRetrainingSchedulerRequest & WithPromoteMode(const ModelPromoteMode &value)
CreateRetrainingSchedulerRequest & WithRetrainingStartDate(const Aws::Utils::DateTime &value)
CreateRetrainingSchedulerRequest & WithModelName(const char *value)
CreateRetrainingSchedulerRequest & WithPromoteMode(ModelPromoteMode &&value)
CreateRetrainingSchedulerRequest & WithClientToken(const char *value)
CreateRetrainingSchedulerRequest & WithRetrainingFrequency(Aws::String &&value)
CreateRetrainingSchedulerRequest & WithLookbackWindow(const Aws::String &value)
CreateRetrainingSchedulerRequest & WithClientToken(Aws::String &&value)
CreateRetrainingSchedulerRequest & WithClientToken(const Aws::String &value)
CreateRetrainingSchedulerRequest & WithRetrainingStartDate(Aws::Utils::DateTime &&value)
CreateRetrainingSchedulerRequest & WithRetrainingFrequency(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String