AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
BehaviorModelTrainingSummary.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/iot/model/ModelStatus.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 IoT
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_IOT_API BehaviorModelTrainingSummary() = default;
40
41
43
46 inline const Aws::String& GetSecurityProfileName() const { return m_securityProfileName; }
47 inline bool SecurityProfileNameHasBeenSet() const { return m_securityProfileNameHasBeenSet; }
48 template<typename SecurityProfileNameT = Aws::String>
49 void SetSecurityProfileName(SecurityProfileNameT&& value) { m_securityProfileNameHasBeenSet = true; m_securityProfileName = std::forward<SecurityProfileNameT>(value); }
50 template<typename SecurityProfileNameT = Aws::String>
51 BehaviorModelTrainingSummary& WithSecurityProfileName(SecurityProfileNameT&& value) { SetSecurityProfileName(std::forward<SecurityProfileNameT>(value)); return *this;}
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) { m_behaviorNameHasBeenSet = true; m_behaviorName = std::forward<BehaviorNameT>(value); }
62 template<typename BehaviorNameT = Aws::String>
63 BehaviorModelTrainingSummary& WithBehaviorName(BehaviorNameT&& value) { SetBehaviorName(std::forward<BehaviorNameT>(value)); return *this;}
65
67
70 inline const Aws::Utils::DateTime& GetTrainingDataCollectionStartDate() const { return m_trainingDataCollectionStartDate; }
71 inline bool TrainingDataCollectionStartDateHasBeenSet() const { return m_trainingDataCollectionStartDateHasBeenSet; }
72 template<typename TrainingDataCollectionStartDateT = Aws::Utils::DateTime>
73 void SetTrainingDataCollectionStartDate(TrainingDataCollectionStartDateT&& value) { m_trainingDataCollectionStartDateHasBeenSet = true; m_trainingDataCollectionStartDate = std::forward<TrainingDataCollectionStartDateT>(value); }
74 template<typename TrainingDataCollectionStartDateT = Aws::Utils::DateTime>
75 BehaviorModelTrainingSummary& WithTrainingDataCollectionStartDate(TrainingDataCollectionStartDateT&& value) { SetTrainingDataCollectionStartDate(std::forward<TrainingDataCollectionStartDateT>(value)); return *this;}
77
79
82 inline ModelStatus GetModelStatus() const { return m_modelStatus; }
83 inline bool ModelStatusHasBeenSet() const { return m_modelStatusHasBeenSet; }
84 inline void SetModelStatus(ModelStatus value) { m_modelStatusHasBeenSet = true; m_modelStatus = value; }
87
89
92 inline double GetDatapointsCollectionPercentage() const { return m_datapointsCollectionPercentage; }
93 inline bool DatapointsCollectionPercentageHasBeenSet() const { return m_datapointsCollectionPercentageHasBeenSet; }
94 inline void SetDatapointsCollectionPercentage(double value) { m_datapointsCollectionPercentageHasBeenSet = true; m_datapointsCollectionPercentage = value; }
97
99
102 inline const Aws::Utils::DateTime& GetLastModelRefreshDate() const { return m_lastModelRefreshDate; }
103 inline bool LastModelRefreshDateHasBeenSet() const { return m_lastModelRefreshDateHasBeenSet; }
104 template<typename LastModelRefreshDateT = Aws::Utils::DateTime>
105 void SetLastModelRefreshDate(LastModelRefreshDateT&& value) { m_lastModelRefreshDateHasBeenSet = true; m_lastModelRefreshDate = std::forward<LastModelRefreshDateT>(value); }
106 template<typename LastModelRefreshDateT = Aws::Utils::DateTime>
107 BehaviorModelTrainingSummary& WithLastModelRefreshDate(LastModelRefreshDateT&& value) { SetLastModelRefreshDate(std::forward<LastModelRefreshDateT>(value)); return *this;}
109 private:
110
111 Aws::String m_securityProfileName;
112 bool m_securityProfileNameHasBeenSet = false;
113
114 Aws::String m_behaviorName;
115 bool m_behaviorNameHasBeenSet = false;
116
117 Aws::Utils::DateTime m_trainingDataCollectionStartDate{};
118 bool m_trainingDataCollectionStartDateHasBeenSet = false;
119
120 ModelStatus m_modelStatus{ModelStatus::NOT_SET};
121 bool m_modelStatusHasBeenSet = false;
122
123 double m_datapointsCollectionPercentage{0.0};
124 bool m_datapointsCollectionPercentageHasBeenSet = false;
125
126 Aws::Utils::DateTime m_lastModelRefreshDate{};
127 bool m_lastModelRefreshDateHasBeenSet = false;
128 };
129
130} // namespace Model
131} // namespace IoT
132} // 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