AWS SDK for C++  1.9.125
AWS SDK for C++
BehaviorModelTrainingSummary.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace IoT
24 {
25 namespace Model
26 {
27 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetSecurityProfileName() const{ return m_securityProfileName; }
46 
50  inline bool SecurityProfileNameHasBeenSet() const { return m_securityProfileNameHasBeenSet; }
51 
55  inline void SetSecurityProfileName(const Aws::String& value) { m_securityProfileNameHasBeenSet = true; m_securityProfileName = value; }
56 
60  inline void SetSecurityProfileName(Aws::String&& value) { m_securityProfileNameHasBeenSet = true; m_securityProfileName = std::move(value); }
61 
65  inline void SetSecurityProfileName(const char* value) { m_securityProfileNameHasBeenSet = true; m_securityProfileName.assign(value); }
66 
70  inline BehaviorModelTrainingSummary& WithSecurityProfileName(const Aws::String& value) { SetSecurityProfileName(value); return *this;}
71 
75  inline BehaviorModelTrainingSummary& WithSecurityProfileName(Aws::String&& value) { SetSecurityProfileName(std::move(value)); return *this;}
76 
80  inline BehaviorModelTrainingSummary& WithSecurityProfileName(const char* value) { SetSecurityProfileName(value); return *this;}
81 
82 
86  inline const Aws::String& GetBehaviorName() const{ return m_behaviorName; }
87 
91  inline bool BehaviorNameHasBeenSet() const { return m_behaviorNameHasBeenSet; }
92 
96  inline void SetBehaviorName(const Aws::String& value) { m_behaviorNameHasBeenSet = true; m_behaviorName = value; }
97 
101  inline void SetBehaviorName(Aws::String&& value) { m_behaviorNameHasBeenSet = true; m_behaviorName = std::move(value); }
102 
106  inline void SetBehaviorName(const char* value) { m_behaviorNameHasBeenSet = true; m_behaviorName.assign(value); }
107 
111  inline BehaviorModelTrainingSummary& WithBehaviorName(const Aws::String& value) { SetBehaviorName(value); return *this;}
112 
116  inline BehaviorModelTrainingSummary& WithBehaviorName(Aws::String&& value) { SetBehaviorName(std::move(value)); return *this;}
117 
121  inline BehaviorModelTrainingSummary& WithBehaviorName(const char* value) { SetBehaviorName(value); return *this;}
122 
123 
127  inline const Aws::Utils::DateTime& GetTrainingDataCollectionStartDate() const{ return m_trainingDataCollectionStartDate; }
128 
132  inline bool TrainingDataCollectionStartDateHasBeenSet() const { return m_trainingDataCollectionStartDateHasBeenSet; }
133 
137  inline void SetTrainingDataCollectionStartDate(const Aws::Utils::DateTime& value) { m_trainingDataCollectionStartDateHasBeenSet = true; m_trainingDataCollectionStartDate = value; }
138 
142  inline void SetTrainingDataCollectionStartDate(Aws::Utils::DateTime&& value) { m_trainingDataCollectionStartDateHasBeenSet = true; m_trainingDataCollectionStartDate = std::move(value); }
143 
147  inline BehaviorModelTrainingSummary& WithTrainingDataCollectionStartDate(const Aws::Utils::DateTime& value) { SetTrainingDataCollectionStartDate(value); return *this;}
148 
152  inline BehaviorModelTrainingSummary& WithTrainingDataCollectionStartDate(Aws::Utils::DateTime&& value) { SetTrainingDataCollectionStartDate(std::move(value)); return *this;}
153 
154 
158  inline const ModelStatus& GetModelStatus() const{ return m_modelStatus; }
159 
163  inline bool ModelStatusHasBeenSet() const { return m_modelStatusHasBeenSet; }
164 
168  inline void SetModelStatus(const ModelStatus& value) { m_modelStatusHasBeenSet = true; m_modelStatus = value; }
169 
173  inline void SetModelStatus(ModelStatus&& value) { m_modelStatusHasBeenSet = true; m_modelStatus = std::move(value); }
174 
178  inline BehaviorModelTrainingSummary& WithModelStatus(const ModelStatus& value) { SetModelStatus(value); return *this;}
179 
183  inline BehaviorModelTrainingSummary& WithModelStatus(ModelStatus&& value) { SetModelStatus(std::move(value)); return *this;}
184 
185 
189  inline double GetDatapointsCollectionPercentage() const{ return m_datapointsCollectionPercentage; }
190 
194  inline bool DatapointsCollectionPercentageHasBeenSet() const { return m_datapointsCollectionPercentageHasBeenSet; }
195 
199  inline void SetDatapointsCollectionPercentage(double value) { m_datapointsCollectionPercentageHasBeenSet = true; m_datapointsCollectionPercentage = value; }
200 
204  inline BehaviorModelTrainingSummary& WithDatapointsCollectionPercentage(double value) { SetDatapointsCollectionPercentage(value); return *this;}
205 
206 
210  inline const Aws::Utils::DateTime& GetLastModelRefreshDate() const{ return m_lastModelRefreshDate; }
211 
215  inline bool LastModelRefreshDateHasBeenSet() const { return m_lastModelRefreshDateHasBeenSet; }
216 
220  inline void SetLastModelRefreshDate(const Aws::Utils::DateTime& value) { m_lastModelRefreshDateHasBeenSet = true; m_lastModelRefreshDate = value; }
221 
225  inline void SetLastModelRefreshDate(Aws::Utils::DateTime&& value) { m_lastModelRefreshDateHasBeenSet = true; m_lastModelRefreshDate = std::move(value); }
226 
230  inline BehaviorModelTrainingSummary& WithLastModelRefreshDate(const Aws::Utils::DateTime& value) { SetLastModelRefreshDate(value); return *this;}
231 
235  inline BehaviorModelTrainingSummary& WithLastModelRefreshDate(Aws::Utils::DateTime&& value) { SetLastModelRefreshDate(std::move(value)); return *this;}
236 
237  private:
238 
239  Aws::String m_securityProfileName;
240  bool m_securityProfileNameHasBeenSet;
241 
242  Aws::String m_behaviorName;
243  bool m_behaviorNameHasBeenSet;
244 
245  Aws::Utils::DateTime m_trainingDataCollectionStartDate;
246  bool m_trainingDataCollectionStartDateHasBeenSet;
247 
248  ModelStatus m_modelStatus;
249  bool m_modelStatusHasBeenSet;
250 
251  double m_datapointsCollectionPercentage;
252  bool m_datapointsCollectionPercentageHasBeenSet;
253 
254  Aws::Utils::DateTime m_lastModelRefreshDate;
255  bool m_lastModelRefreshDateHasBeenSet;
256  };
257 
258 } // namespace Model
259 } // namespace IoT
260 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::IoT::Model::BehaviorModelTrainingSummary::WithDatapointsCollectionPercentage
BehaviorModelTrainingSummary & WithDatapointsCollectionPercentage(double value)
Definition: BehaviorModelTrainingSummary.h:204
Aws::IoT::Model::BehaviorModelTrainingSummary::SetLastModelRefreshDate
void SetLastModelRefreshDate(Aws::Utils::DateTime &&value)
Definition: BehaviorModelTrainingSummary.h:225
Aws::IoT::Model::BehaviorModelTrainingSummary::BehaviorNameHasBeenSet
bool BehaviorNameHasBeenSet() const
Definition: BehaviorModelTrainingSummary.h:91
Aws::IoT::Model::BehaviorModelTrainingSummary::GetDatapointsCollectionPercentage
double GetDatapointsCollectionPercentage() const
Definition: BehaviorModelTrainingSummary.h:189
DateTime.h
Aws::IoT::Model::BehaviorModelTrainingSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoT::Model::BehaviorModelTrainingSummary::WithTrainingDataCollectionStartDate
BehaviorModelTrainingSummary & WithTrainingDataCollectionStartDate(Aws::Utils::DateTime &&value)
Definition: BehaviorModelTrainingSummary.h:152
Aws::IoT::Model::BehaviorModelTrainingSummary::ModelStatusHasBeenSet
bool ModelStatusHasBeenSet() const
Definition: BehaviorModelTrainingSummary.h:163
Aws::IoT::Model::BehaviorModelTrainingSummary::WithBehaviorName
BehaviorModelTrainingSummary & WithBehaviorName(const char *value)
Definition: BehaviorModelTrainingSummary.h:121
Aws::IoT::Model::BehaviorModelTrainingSummary::SetBehaviorName
void SetBehaviorName(const char *value)
Definition: BehaviorModelTrainingSummary.h:106
Aws::IoT::Model::BehaviorModelTrainingSummary::WithSecurityProfileName
BehaviorModelTrainingSummary & WithSecurityProfileName(const Aws::String &value)
Definition: BehaviorModelTrainingSummary.h:70
Aws::IoT::Model::BehaviorModelTrainingSummary::SecurityProfileNameHasBeenSet
bool SecurityProfileNameHasBeenSet() const
Definition: BehaviorModelTrainingSummary.h:50
Aws::IoT::Model::BehaviorModelTrainingSummary::GetSecurityProfileName
const Aws::String & GetSecurityProfileName() const
Definition: BehaviorModelTrainingSummary.h:45
Aws::IoT::Model::BehaviorModelTrainingSummary::WithLastModelRefreshDate
BehaviorModelTrainingSummary & WithLastModelRefreshDate(const Aws::Utils::DateTime &value)
Definition: BehaviorModelTrainingSummary.h:230
Aws::IoT::Model::BehaviorModelTrainingSummary::GetLastModelRefreshDate
const Aws::Utils::DateTime & GetLastModelRefreshDate() const
Definition: BehaviorModelTrainingSummary.h:210
Aws::IoT::Model::BehaviorModelTrainingSummary::WithBehaviorName
BehaviorModelTrainingSummary & WithBehaviorName(Aws::String &&value)
Definition: BehaviorModelTrainingSummary.h:116
Aws::IoT::Model::BehaviorModelTrainingSummary::BehaviorModelTrainingSummary
BehaviorModelTrainingSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::BehaviorModelTrainingSummary::GetTrainingDataCollectionStartDate
const Aws::Utils::DateTime & GetTrainingDataCollectionStartDate() const
Definition: BehaviorModelTrainingSummary.h:127
ModelStatus.h
Aws::IoT::Model::BehaviorModelTrainingSummary::WithModelStatus
BehaviorModelTrainingSummary & WithModelStatus(const ModelStatus &value)
Definition: BehaviorModelTrainingSummary.h:178
Aws::IoT::Model::BehaviorModelTrainingSummary::SetTrainingDataCollectionStartDate
void SetTrainingDataCollectionStartDate(Aws::Utils::DateTime &&value)
Definition: BehaviorModelTrainingSummary.h:142
Aws::IoT::Model::BehaviorModelTrainingSummary::SetTrainingDataCollectionStartDate
void SetTrainingDataCollectionStartDate(const Aws::Utils::DateTime &value)
Definition: BehaviorModelTrainingSummary.h:137
Aws::IoT::Model::BehaviorModelTrainingSummary::WithSecurityProfileName
BehaviorModelTrainingSummary & WithSecurityProfileName(Aws::String &&value)
Definition: BehaviorModelTrainingSummary.h:75
Aws::IoT::Model::BehaviorModelTrainingSummary::SetModelStatus
void SetModelStatus(const ModelStatus &value)
Definition: BehaviorModelTrainingSummary.h:168
Aws::IoT::Model::BehaviorModelTrainingSummary::DatapointsCollectionPercentageHasBeenSet
bool DatapointsCollectionPercentageHasBeenSet() const
Definition: BehaviorModelTrainingSummary.h:194
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::IoT::Model::BehaviorModelTrainingSummary::BehaviorModelTrainingSummary
BehaviorModelTrainingSummary()
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoT::Model::BehaviorModelTrainingSummary::TrainingDataCollectionStartDateHasBeenSet
bool TrainingDataCollectionStartDateHasBeenSet() const
Definition: BehaviorModelTrainingSummary.h:132
Aws::IoT::Model::BehaviorModelTrainingSummary::WithLastModelRefreshDate
BehaviorModelTrainingSummary & WithLastModelRefreshDate(Aws::Utils::DateTime &&value)
Definition: BehaviorModelTrainingSummary.h:235
Aws::IoT::Model::BehaviorModelTrainingSummary::WithTrainingDataCollectionStartDate
BehaviorModelTrainingSummary & WithTrainingDataCollectionStartDate(const Aws::Utils::DateTime &value)
Definition: BehaviorModelTrainingSummary.h:147
Aws::IoT::Model::BehaviorModelTrainingSummary::SetDatapointsCollectionPercentage
void SetDatapointsCollectionPercentage(double value)
Definition: BehaviorModelTrainingSummary.h:199
Aws::IoT::Model::BehaviorModelTrainingSummary::operator=
BehaviorModelTrainingSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::BehaviorModelTrainingSummary::GetBehaviorName
const Aws::String & GetBehaviorName() const
Definition: BehaviorModelTrainingSummary.h:86
Aws::IoT::Model::BehaviorModelTrainingSummary::WithSecurityProfileName
BehaviorModelTrainingSummary & WithSecurityProfileName(const char *value)
Definition: BehaviorModelTrainingSummary.h:80
Aws::IoT::Model::BehaviorModelTrainingSummary::SetBehaviorName
void SetBehaviorName(Aws::String &&value)
Definition: BehaviorModelTrainingSummary.h:101
Aws::IoT::Model::ModelStatus
ModelStatus
Definition: ModelStatus.h:17
Aws::IoT::Model::BehaviorModelTrainingSummary::WithBehaviorName
BehaviorModelTrainingSummary & WithBehaviorName(const Aws::String &value)
Definition: BehaviorModelTrainingSummary.h:111
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::BehaviorModelTrainingSummary::SetSecurityProfileName
void SetSecurityProfileName(const Aws::String &value)
Definition: BehaviorModelTrainingSummary.h:55
Aws::IoT::Model::BehaviorModelTrainingSummary::SetSecurityProfileName
void SetSecurityProfileName(const char *value)
Definition: BehaviorModelTrainingSummary.h:65
Aws::IoT::Model::BehaviorModelTrainingSummary::LastModelRefreshDateHasBeenSet
bool LastModelRefreshDateHasBeenSet() const
Definition: BehaviorModelTrainingSummary.h:215
Aws::IoT::Model::BehaviorModelTrainingSummary::SetLastModelRefreshDate
void SetLastModelRefreshDate(const Aws::Utils::DateTime &value)
Definition: BehaviorModelTrainingSummary.h:220
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::BehaviorModelTrainingSummary::GetModelStatus
const ModelStatus & GetModelStatus() const
Definition: BehaviorModelTrainingSummary.h:158
Aws::IoT::Model::BehaviorModelTrainingSummary::SetModelStatus
void SetModelStatus(ModelStatus &&value)
Definition: BehaviorModelTrainingSummary.h:173
Aws::IoT::Model::BehaviorModelTrainingSummary::SetSecurityProfileName
void SetSecurityProfileName(Aws::String &&value)
Definition: BehaviorModelTrainingSummary.h:60
Aws::IoT::Model::BehaviorModelTrainingSummary::SetBehaviorName
void SetBehaviorName(const Aws::String &value)
Definition: BehaviorModelTrainingSummary.h:96
Aws::IoT::Model::BehaviorModelTrainingSummary::WithModelStatus
BehaviorModelTrainingSummary & WithModelStatus(ModelStatus &&value)
Definition: BehaviorModelTrainingSummary.h:183
IoT_EXPORTS.h
Aws::IoT::Model::BehaviorModelTrainingSummary
Definition: BehaviorModelTrainingSummary.h:34