AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RetrainingSchedulerSummary.h
1
6#pragma once
7#include <aws/lookoutequipment/LookoutEquipment_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lookoutequipment/model/RetrainingSchedulerStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace LookoutEquipment
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_LOOKOUTEQUIPMENT_API RetrainingSchedulerSummary();
39 AWS_LOOKOUTEQUIPMENT_API RetrainingSchedulerSummary(Aws::Utils::Json::JsonView jsonValue);
41 AWS_LOOKOUTEQUIPMENT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetModelName() const{ return m_modelName; }
49 inline bool ModelNameHasBeenSet() const { return m_modelNameHasBeenSet; }
50 inline void SetModelName(const Aws::String& value) { m_modelNameHasBeenSet = true; m_modelName = value; }
51 inline void SetModelName(Aws::String&& value) { m_modelNameHasBeenSet = true; m_modelName = std::move(value); }
52 inline void SetModelName(const char* value) { m_modelNameHasBeenSet = true; m_modelName.assign(value); }
53 inline RetrainingSchedulerSummary& WithModelName(const Aws::String& value) { SetModelName(value); return *this;}
54 inline RetrainingSchedulerSummary& WithModelName(Aws::String&& value) { SetModelName(std::move(value)); return *this;}
55 inline RetrainingSchedulerSummary& WithModelName(const char* value) { SetModelName(value); return *this;}
57
59
62 inline const Aws::String& GetModelArn() const{ return m_modelArn; }
63 inline bool ModelArnHasBeenSet() const { return m_modelArnHasBeenSet; }
64 inline void SetModelArn(const Aws::String& value) { m_modelArnHasBeenSet = true; m_modelArn = value; }
65 inline void SetModelArn(Aws::String&& value) { m_modelArnHasBeenSet = true; m_modelArn = std::move(value); }
66 inline void SetModelArn(const char* value) { m_modelArnHasBeenSet = true; m_modelArn.assign(value); }
67 inline RetrainingSchedulerSummary& WithModelArn(const Aws::String& value) { SetModelArn(value); return *this;}
68 inline RetrainingSchedulerSummary& WithModelArn(Aws::String&& value) { SetModelArn(std::move(value)); return *this;}
69 inline RetrainingSchedulerSummary& WithModelArn(const char* value) { SetModelArn(value); return *this;}
71
73
76 inline const RetrainingSchedulerStatus& GetStatus() const{ return m_status; }
77 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
78 inline void SetStatus(const RetrainingSchedulerStatus& value) { m_statusHasBeenSet = true; m_status = value; }
79 inline void SetStatus(RetrainingSchedulerStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
80 inline RetrainingSchedulerSummary& WithStatus(const RetrainingSchedulerStatus& value) { SetStatus(value); return *this;}
81 inline RetrainingSchedulerSummary& WithStatus(RetrainingSchedulerStatus&& value) { SetStatus(std::move(value)); return *this;}
83
85
89 inline const Aws::Utils::DateTime& GetRetrainingStartDate() const{ return m_retrainingStartDate; }
90 inline bool RetrainingStartDateHasBeenSet() const { return m_retrainingStartDateHasBeenSet; }
91 inline void SetRetrainingStartDate(const Aws::Utils::DateTime& value) { m_retrainingStartDateHasBeenSet = true; m_retrainingStartDate = value; }
92 inline void SetRetrainingStartDate(Aws::Utils::DateTime&& value) { m_retrainingStartDateHasBeenSet = true; m_retrainingStartDate = std::move(value); }
96
98
103 inline const Aws::String& GetRetrainingFrequency() const{ return m_retrainingFrequency; }
104 inline bool RetrainingFrequencyHasBeenSet() const { return m_retrainingFrequencyHasBeenSet; }
105 inline void SetRetrainingFrequency(const Aws::String& value) { m_retrainingFrequencyHasBeenSet = true; m_retrainingFrequency = value; }
106 inline void SetRetrainingFrequency(Aws::String&& value) { m_retrainingFrequencyHasBeenSet = true; m_retrainingFrequency = std::move(value); }
107 inline void SetRetrainingFrequency(const char* value) { m_retrainingFrequencyHasBeenSet = true; m_retrainingFrequency.assign(value); }
110 inline RetrainingSchedulerSummary& WithRetrainingFrequency(const char* value) { SetRetrainingFrequency(value); return *this;}
112
114
117 inline const Aws::String& GetLookbackWindow() const{ return m_lookbackWindow; }
118 inline bool LookbackWindowHasBeenSet() const { return m_lookbackWindowHasBeenSet; }
119 inline void SetLookbackWindow(const Aws::String& value) { m_lookbackWindowHasBeenSet = true; m_lookbackWindow = value; }
120 inline void SetLookbackWindow(Aws::String&& value) { m_lookbackWindowHasBeenSet = true; m_lookbackWindow = std::move(value); }
121 inline void SetLookbackWindow(const char* value) { m_lookbackWindowHasBeenSet = true; m_lookbackWindow.assign(value); }
122 inline RetrainingSchedulerSummary& WithLookbackWindow(const Aws::String& value) { SetLookbackWindow(value); return *this;}
123 inline RetrainingSchedulerSummary& WithLookbackWindow(Aws::String&& value) { SetLookbackWindow(std::move(value)); return *this;}
124 inline RetrainingSchedulerSummary& WithLookbackWindow(const char* value) { SetLookbackWindow(value); return *this;}
126 private:
127
128 Aws::String m_modelName;
129 bool m_modelNameHasBeenSet = false;
130
131 Aws::String m_modelArn;
132 bool m_modelArnHasBeenSet = false;
133
135 bool m_statusHasBeenSet = false;
136
137 Aws::Utils::DateTime m_retrainingStartDate;
138 bool m_retrainingStartDateHasBeenSet = false;
139
140 Aws::String m_retrainingFrequency;
141 bool m_retrainingFrequencyHasBeenSet = false;
142
143 Aws::String m_lookbackWindow;
144 bool m_lookbackWindowHasBeenSet = false;
145 };
146
147} // namespace Model
148} // namespace LookoutEquipment
149} // namespace Aws
RetrainingSchedulerSummary & WithStatus(const RetrainingSchedulerStatus &value)
RetrainingSchedulerSummary & WithLookbackWindow(const char *value)
RetrainingSchedulerSummary & WithModelArn(Aws::String &&value)
RetrainingSchedulerSummary & WithModelName(const char *value)
RetrainingSchedulerSummary & WithRetrainingFrequency(const char *value)
AWS_LOOKOUTEQUIPMENT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LOOKOUTEQUIPMENT_API RetrainingSchedulerSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
RetrainingSchedulerSummary & WithModelArn(const Aws::String &value)
RetrainingSchedulerSummary & WithLookbackWindow(Aws::String &&value)
AWS_LOOKOUTEQUIPMENT_API RetrainingSchedulerSummary(Aws::Utils::Json::JsonView jsonValue)
RetrainingSchedulerSummary & WithModelArn(const char *value)
RetrainingSchedulerSummary & WithRetrainingFrequency(Aws::String &&value)
RetrainingSchedulerSummary & WithRetrainingFrequency(const Aws::String &value)
RetrainingSchedulerSummary & WithRetrainingStartDate(Aws::Utils::DateTime &&value)
RetrainingSchedulerSummary & WithModelName(const Aws::String &value)
RetrainingSchedulerSummary & WithLookbackWindow(const Aws::String &value)
RetrainingSchedulerSummary & WithModelName(Aws::String &&value)
RetrainingSchedulerSummary & WithRetrainingStartDate(const Aws::Utils::DateTime &value)
RetrainingSchedulerSummary & WithStatus(RetrainingSchedulerStatus &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue