AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
EntityRecognizerSummary.h
1
6#pragma once
7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/comprehend/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 Comprehend
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_COMPREHEND_API EntityRecognizerSummary() = default;
40 AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetRecognizerName() const { return m_recognizerName; }
48 inline bool RecognizerNameHasBeenSet() const { return m_recognizerNameHasBeenSet; }
49 template<typename RecognizerNameT = Aws::String>
50 void SetRecognizerName(RecognizerNameT&& value) { m_recognizerNameHasBeenSet = true; m_recognizerName = std::forward<RecognizerNameT>(value); }
51 template<typename RecognizerNameT = Aws::String>
52 EntityRecognizerSummary& WithRecognizerName(RecognizerNameT&& value) { SetRecognizerName(std::forward<RecognizerNameT>(value)); return *this;}
54
56
59 inline int GetNumberOfVersions() const { return m_numberOfVersions; }
60 inline bool NumberOfVersionsHasBeenSet() const { return m_numberOfVersionsHasBeenSet; }
61 inline void SetNumberOfVersions(int value) { m_numberOfVersionsHasBeenSet = true; m_numberOfVersions = value; }
62 inline EntityRecognizerSummary& WithNumberOfVersions(int value) { SetNumberOfVersions(value); return *this;}
64
66
70 inline const Aws::Utils::DateTime& GetLatestVersionCreatedAt() const { return m_latestVersionCreatedAt; }
71 inline bool LatestVersionCreatedAtHasBeenSet() const { return m_latestVersionCreatedAtHasBeenSet; }
72 template<typename LatestVersionCreatedAtT = Aws::Utils::DateTime>
73 void SetLatestVersionCreatedAt(LatestVersionCreatedAtT&& value) { m_latestVersionCreatedAtHasBeenSet = true; m_latestVersionCreatedAt = std::forward<LatestVersionCreatedAtT>(value); }
74 template<typename LatestVersionCreatedAtT = Aws::Utils::DateTime>
75 EntityRecognizerSummary& WithLatestVersionCreatedAt(LatestVersionCreatedAtT&& value) { SetLatestVersionCreatedAt(std::forward<LatestVersionCreatedAtT>(value)); return *this;}
77
79
82 inline const Aws::String& GetLatestVersionName() const { return m_latestVersionName; }
83 inline bool LatestVersionNameHasBeenSet() const { return m_latestVersionNameHasBeenSet; }
84 template<typename LatestVersionNameT = Aws::String>
85 void SetLatestVersionName(LatestVersionNameT&& value) { m_latestVersionNameHasBeenSet = true; m_latestVersionName = std::forward<LatestVersionNameT>(value); }
86 template<typename LatestVersionNameT = Aws::String>
87 EntityRecognizerSummary& WithLatestVersionName(LatestVersionNameT&& value) { SetLatestVersionName(std::forward<LatestVersionNameT>(value)); return *this;}
89
91
94 inline ModelStatus GetLatestVersionStatus() const { return m_latestVersionStatus; }
95 inline bool LatestVersionStatusHasBeenSet() const { return m_latestVersionStatusHasBeenSet; }
96 inline void SetLatestVersionStatus(ModelStatus value) { m_latestVersionStatusHasBeenSet = true; m_latestVersionStatus = value; }
99 private:
100
101 Aws::String m_recognizerName;
102 bool m_recognizerNameHasBeenSet = false;
103
104 int m_numberOfVersions{0};
105 bool m_numberOfVersionsHasBeenSet = false;
106
107 Aws::Utils::DateTime m_latestVersionCreatedAt{};
108 bool m_latestVersionCreatedAtHasBeenSet = false;
109
110 Aws::String m_latestVersionName;
111 bool m_latestVersionNameHasBeenSet = false;
112
113 ModelStatus m_latestVersionStatus{ModelStatus::NOT_SET};
114 bool m_latestVersionStatusHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace Comprehend
119} // namespace Aws
void SetLatestVersionCreatedAt(LatestVersionCreatedAtT &&value)
EntityRecognizerSummary & WithLatestVersionName(LatestVersionNameT &&value)
EntityRecognizerSummary & WithNumberOfVersions(int value)
AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_COMPREHEND_API EntityRecognizerSummary()=default
AWS_COMPREHEND_API EntityRecognizerSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetLatestVersionCreatedAt() const
EntityRecognizerSummary & WithRecognizerName(RecognizerNameT &&value)
EntityRecognizerSummary & WithLatestVersionCreatedAt(LatestVersionCreatedAtT &&value)
AWS_COMPREHEND_API EntityRecognizerSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
EntityRecognizerSummary & WithLatestVersionStatus(ModelStatus value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue