AWS SDK for C++

AWS SDK for C++ Version 1.11.764

Loading...
Searching...
No Matches
BehaviorModelTrainingSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot/IoT_EXPORTS.h>
10#include <aws/iot/model/ModelStatus.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace IoT {
22namespace Model {
23
30 public:
31 AWS_IOT_API BehaviorModelTrainingSummary() = default;
35
37
40 inline const Aws::String& GetSecurityProfileName() const { return m_securityProfileName; }
41 inline bool SecurityProfileNameHasBeenSet() const { return m_securityProfileNameHasBeenSet; }
42 template <typename SecurityProfileNameT = Aws::String>
43 void SetSecurityProfileName(SecurityProfileNameT&& value) {
44 m_securityProfileNameHasBeenSet = true;
45 m_securityProfileName = std::forward<SecurityProfileNameT>(value);
46 }
47 template <typename SecurityProfileNameT = Aws::String>
49 SetSecurityProfileName(std::forward<SecurityProfileNameT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetBehaviorName() const { return m_behaviorName; }
59 inline bool BehaviorNameHasBeenSet() const { return m_behaviorNameHasBeenSet; }
60 template <typename BehaviorNameT = Aws::String>
61 void SetBehaviorName(BehaviorNameT&& value) {
62 m_behaviorNameHasBeenSet = true;
63 m_behaviorName = std::forward<BehaviorNameT>(value);
64 }
65 template <typename BehaviorNameT = Aws::String>
67 SetBehaviorName(std::forward<BehaviorNameT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::Utils::DateTime& GetTrainingDataCollectionStartDate() const { return m_trainingDataCollectionStartDate; }
77 inline bool TrainingDataCollectionStartDateHasBeenSet() const { return m_trainingDataCollectionStartDateHasBeenSet; }
78 template <typename TrainingDataCollectionStartDateT = Aws::Utils::DateTime>
79 void SetTrainingDataCollectionStartDate(TrainingDataCollectionStartDateT&& value) {
80 m_trainingDataCollectionStartDateHasBeenSet = true;
81 m_trainingDataCollectionStartDate = std::forward<TrainingDataCollectionStartDateT>(value);
82 }
83 template <typename TrainingDataCollectionStartDateT = Aws::Utils::DateTime>
84 BehaviorModelTrainingSummary& WithTrainingDataCollectionStartDate(TrainingDataCollectionStartDateT&& value) {
85 SetTrainingDataCollectionStartDate(std::forward<TrainingDataCollectionStartDateT>(value));
86 return *this;
87 }
89
91
94 inline ModelStatus GetModelStatus() const { return m_modelStatus; }
95 inline bool ModelStatusHasBeenSet() const { return m_modelStatusHasBeenSet; }
96 inline void SetModelStatus(ModelStatus value) {
97 m_modelStatusHasBeenSet = true;
98 m_modelStatus = value;
99 }
101 SetModelStatus(value);
102 return *this;
103 }
105
107
110 inline double GetDatapointsCollectionPercentage() const { return m_datapointsCollectionPercentage; }
111 inline bool DatapointsCollectionPercentageHasBeenSet() const { return m_datapointsCollectionPercentageHasBeenSet; }
112 inline void SetDatapointsCollectionPercentage(double value) {
113 m_datapointsCollectionPercentageHasBeenSet = true;
114 m_datapointsCollectionPercentage = value;
115 }
118 return *this;
119 }
121
123
126 inline const Aws::Utils::DateTime& GetLastModelRefreshDate() const { return m_lastModelRefreshDate; }
127 inline bool LastModelRefreshDateHasBeenSet() const { return m_lastModelRefreshDateHasBeenSet; }
128 template <typename LastModelRefreshDateT = Aws::Utils::DateTime>
129 void SetLastModelRefreshDate(LastModelRefreshDateT&& value) {
130 m_lastModelRefreshDateHasBeenSet = true;
131 m_lastModelRefreshDate = std::forward<LastModelRefreshDateT>(value);
132 }
133 template <typename LastModelRefreshDateT = Aws::Utils::DateTime>
135 SetLastModelRefreshDate(std::forward<LastModelRefreshDateT>(value));
136 return *this;
137 }
139 private:
140 Aws::String m_securityProfileName;
141
142 Aws::String m_behaviorName;
143
144 Aws::Utils::DateTime m_trainingDataCollectionStartDate{};
145
146 ModelStatus m_modelStatus{ModelStatus::NOT_SET};
147
148 double m_datapointsCollectionPercentage{0.0};
149
150 Aws::Utils::DateTime m_lastModelRefreshDate{};
151 bool m_securityProfileNameHasBeenSet = false;
152 bool m_behaviorNameHasBeenSet = false;
153 bool m_trainingDataCollectionStartDateHasBeenSet = false;
154 bool m_modelStatusHasBeenSet = false;
155 bool m_datapointsCollectionPercentageHasBeenSet = false;
156 bool m_lastModelRefreshDateHasBeenSet = false;
157};
158
159} // namespace Model
160} // namespace IoT
161} // namespace Aws
void SetSecurityProfileName(SecurityProfileNameT &&value)
const Aws::Utils::DateTime & GetLastModelRefreshDate() const
AWS_IOT_API BehaviorModelTrainingSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
BehaviorModelTrainingSummary & WithModelStatus(ModelStatus value)
AWS_IOT_API BehaviorModelTrainingSummary()=default
BehaviorModelTrainingSummary & WithSecurityProfileName(SecurityProfileNameT &&value)
void SetTrainingDataCollectionStartDate(TrainingDataCollectionStartDateT &&value)
BehaviorModelTrainingSummary & WithLastModelRefreshDate(LastModelRefreshDateT &&value)
BehaviorModelTrainingSummary & WithBehaviorName(BehaviorNameT &&value)
const Aws::Utils::DateTime & GetTrainingDataCollectionStartDate() const
AWS_IOT_API BehaviorModelTrainingSummary(Aws::Utils::Json::JsonView jsonValue)
BehaviorModelTrainingSummary & WithDatapointsCollectionPercentage(double value)
void SetLastModelRefreshDate(LastModelRefreshDateT &&value)
BehaviorModelTrainingSummary & WithTrainingDataCollectionStartDate(TrainingDataCollectionStartDateT &&value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue