AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
40
41
43
46 inline const Aws::String& GetSecurityProfileName() const{ return m_securityProfileName; }
47 inline bool SecurityProfileNameHasBeenSet() const { return m_securityProfileNameHasBeenSet; }
48 inline void SetSecurityProfileName(const Aws::String& value) { m_securityProfileNameHasBeenSet = true; m_securityProfileName = value; }
49 inline void SetSecurityProfileName(Aws::String&& value) { m_securityProfileNameHasBeenSet = true; m_securityProfileName = std::move(value); }
50 inline void SetSecurityProfileName(const char* value) { m_securityProfileNameHasBeenSet = true; m_securityProfileName.assign(value); }
53 inline BehaviorModelTrainingSummary& WithSecurityProfileName(const char* value) { SetSecurityProfileName(value); return *this;}
55
57
60 inline const Aws::String& GetBehaviorName() const{ return m_behaviorName; }
61 inline bool BehaviorNameHasBeenSet() const { return m_behaviorNameHasBeenSet; }
62 inline void SetBehaviorName(const Aws::String& value) { m_behaviorNameHasBeenSet = true; m_behaviorName = value; }
63 inline void SetBehaviorName(Aws::String&& value) { m_behaviorNameHasBeenSet = true; m_behaviorName = std::move(value); }
64 inline void SetBehaviorName(const char* value) { m_behaviorNameHasBeenSet = true; m_behaviorName.assign(value); }
65 inline BehaviorModelTrainingSummary& WithBehaviorName(const Aws::String& value) { SetBehaviorName(value); return *this;}
66 inline BehaviorModelTrainingSummary& WithBehaviorName(Aws::String&& value) { SetBehaviorName(std::move(value)); return *this;}
67 inline BehaviorModelTrainingSummary& WithBehaviorName(const char* value) { SetBehaviorName(value); return *this;}
69
71
74 inline const Aws::Utils::DateTime& GetTrainingDataCollectionStartDate() const{ return m_trainingDataCollectionStartDate; }
75 inline bool TrainingDataCollectionStartDateHasBeenSet() const { return m_trainingDataCollectionStartDateHasBeenSet; }
76 inline void SetTrainingDataCollectionStartDate(const Aws::Utils::DateTime& value) { m_trainingDataCollectionStartDateHasBeenSet = true; m_trainingDataCollectionStartDate = value; }
77 inline void SetTrainingDataCollectionStartDate(Aws::Utils::DateTime&& value) { m_trainingDataCollectionStartDateHasBeenSet = true; m_trainingDataCollectionStartDate = std::move(value); }
81
83
86 inline const ModelStatus& GetModelStatus() const{ return m_modelStatus; }
87 inline bool ModelStatusHasBeenSet() const { return m_modelStatusHasBeenSet; }
88 inline void SetModelStatus(const ModelStatus& value) { m_modelStatusHasBeenSet = true; m_modelStatus = value; }
89 inline void SetModelStatus(ModelStatus&& value) { m_modelStatusHasBeenSet = true; m_modelStatus = std::move(value); }
90 inline BehaviorModelTrainingSummary& WithModelStatus(const ModelStatus& value) { SetModelStatus(value); return *this;}
91 inline BehaviorModelTrainingSummary& WithModelStatus(ModelStatus&& value) { SetModelStatus(std::move(value)); return *this;}
93
95
98 inline double GetDatapointsCollectionPercentage() const{ return m_datapointsCollectionPercentage; }
99 inline bool DatapointsCollectionPercentageHasBeenSet() const { return m_datapointsCollectionPercentageHasBeenSet; }
100 inline void SetDatapointsCollectionPercentage(double value) { m_datapointsCollectionPercentageHasBeenSet = true; m_datapointsCollectionPercentage = value; }
103
105
108 inline const Aws::Utils::DateTime& GetLastModelRefreshDate() const{ return m_lastModelRefreshDate; }
109 inline bool LastModelRefreshDateHasBeenSet() const { return m_lastModelRefreshDateHasBeenSet; }
110 inline void SetLastModelRefreshDate(const Aws::Utils::DateTime& value) { m_lastModelRefreshDateHasBeenSet = true; m_lastModelRefreshDate = value; }
111 inline void SetLastModelRefreshDate(Aws::Utils::DateTime&& value) { m_lastModelRefreshDateHasBeenSet = true; m_lastModelRefreshDate = std::move(value); }
115 private:
116
117 Aws::String m_securityProfileName;
118 bool m_securityProfileNameHasBeenSet = false;
119
120 Aws::String m_behaviorName;
121 bool m_behaviorNameHasBeenSet = false;
122
123 Aws::Utils::DateTime m_trainingDataCollectionStartDate;
124 bool m_trainingDataCollectionStartDateHasBeenSet = false;
125
126 ModelStatus m_modelStatus;
127 bool m_modelStatusHasBeenSet = false;
128
129 double m_datapointsCollectionPercentage;
130 bool m_datapointsCollectionPercentageHasBeenSet = false;
131
132 Aws::Utils::DateTime m_lastModelRefreshDate;
133 bool m_lastModelRefreshDateHasBeenSet = false;
134 };
135
136} // namespace Model
137} // namespace IoT
138} // namespace Aws
BehaviorModelTrainingSummary & WithSecurityProfileName(const Aws::String &value)
void SetTrainingDataCollectionStartDate(const Aws::Utils::DateTime &value)
BehaviorModelTrainingSummary & WithLastModelRefreshDate(const Aws::Utils::DateTime &value)
BehaviorModelTrainingSummary & WithTrainingDataCollectionStartDate(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetLastModelRefreshDate() const
void SetTrainingDataCollectionStartDate(Aws::Utils::DateTime &&value)
AWS_IOT_API BehaviorModelTrainingSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
BehaviorModelTrainingSummary & WithModelStatus(const ModelStatus &value)
void SetLastModelRefreshDate(const Aws::Utils::DateTime &value)
BehaviorModelTrainingSummary & WithBehaviorName(const Aws::String &value)
BehaviorModelTrainingSummary & WithBehaviorName(Aws::String &&value)
const Aws::Utils::DateTime & GetTrainingDataCollectionStartDate() const
AWS_IOT_API BehaviorModelTrainingSummary(Aws::Utils::Json::JsonView jsonValue)
BehaviorModelTrainingSummary & WithDatapointsCollectionPercentage(double value)
BehaviorModelTrainingSummary & WithBehaviorName(const char *value)
BehaviorModelTrainingSummary & WithModelStatus(ModelStatus &&value)
BehaviorModelTrainingSummary & WithSecurityProfileName(const char *value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
BehaviorModelTrainingSummary & WithSecurityProfileName(Aws::String &&value)
BehaviorModelTrainingSummary & WithLastModelRefreshDate(Aws::Utils::DateTime &&value)
BehaviorModelTrainingSummary & WithTrainingDataCollectionStartDate(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue