AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
EntityRecognizerSummary.h
1
6#pragma once
7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/comprehend/model/ModelStatus.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Comprehend {
22namespace Model {
23
31 public:
32 AWS_COMPREHEND_API EntityRecognizerSummary() = default;
35 AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetRecognizerName() const { return m_recognizerName; }
42 inline bool RecognizerNameHasBeenSet() const { return m_recognizerNameHasBeenSet; }
43 template <typename RecognizerNameT = Aws::String>
44 void SetRecognizerName(RecognizerNameT&& value) {
45 m_recognizerNameHasBeenSet = true;
46 m_recognizerName = std::forward<RecognizerNameT>(value);
47 }
48 template <typename RecognizerNameT = Aws::String>
49 EntityRecognizerSummary& WithRecognizerName(RecognizerNameT&& value) {
50 SetRecognizerName(std::forward<RecognizerNameT>(value));
51 return *this;
52 }
54
56
59 inline int GetNumberOfVersions() const { return m_numberOfVersions; }
60 inline bool NumberOfVersionsHasBeenSet() const { return m_numberOfVersionsHasBeenSet; }
61 inline void SetNumberOfVersions(int value) {
62 m_numberOfVersionsHasBeenSet = true;
63 m_numberOfVersions = value;
64 }
67 return *this;
68 }
70
72
76 inline const Aws::Utils::DateTime& GetLatestVersionCreatedAt() const { return m_latestVersionCreatedAt; }
77 inline bool LatestVersionCreatedAtHasBeenSet() const { return m_latestVersionCreatedAtHasBeenSet; }
78 template <typename LatestVersionCreatedAtT = Aws::Utils::DateTime>
79 void SetLatestVersionCreatedAt(LatestVersionCreatedAtT&& value) {
80 m_latestVersionCreatedAtHasBeenSet = true;
81 m_latestVersionCreatedAt = std::forward<LatestVersionCreatedAtT>(value);
82 }
83 template <typename LatestVersionCreatedAtT = Aws::Utils::DateTime>
84 EntityRecognizerSummary& WithLatestVersionCreatedAt(LatestVersionCreatedAtT&& value) {
85 SetLatestVersionCreatedAt(std::forward<LatestVersionCreatedAtT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::String& GetLatestVersionName() const { return m_latestVersionName; }
95 inline bool LatestVersionNameHasBeenSet() const { return m_latestVersionNameHasBeenSet; }
96 template <typename LatestVersionNameT = Aws::String>
97 void SetLatestVersionName(LatestVersionNameT&& value) {
98 m_latestVersionNameHasBeenSet = true;
99 m_latestVersionName = std::forward<LatestVersionNameT>(value);
100 }
101 template <typename LatestVersionNameT = Aws::String>
102 EntityRecognizerSummary& WithLatestVersionName(LatestVersionNameT&& value) {
103 SetLatestVersionName(std::forward<LatestVersionNameT>(value));
104 return *this;
105 }
107
109
112 inline ModelStatus GetLatestVersionStatus() const { return m_latestVersionStatus; }
113 inline bool LatestVersionStatusHasBeenSet() const { return m_latestVersionStatusHasBeenSet; }
115 m_latestVersionStatusHasBeenSet = true;
116 m_latestVersionStatus = value;
117 }
120 return *this;
121 }
123 private:
124 Aws::String m_recognizerName;
125
126 int m_numberOfVersions{0};
127
128 Aws::Utils::DateTime m_latestVersionCreatedAt{};
129
130 Aws::String m_latestVersionName;
131
132 ModelStatus m_latestVersionStatus{ModelStatus::NOT_SET};
133 bool m_recognizerNameHasBeenSet = false;
134 bool m_numberOfVersionsHasBeenSet = false;
135 bool m_latestVersionCreatedAtHasBeenSet = false;
136 bool m_latestVersionNameHasBeenSet = false;
137 bool m_latestVersionStatusHasBeenSet = false;
138};
139
140} // namespace Model
141} // namespace Comprehend
142} // 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