AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetRecognizerName(const Aws::String& value) { m_recognizerNameHasBeenSet = true; m_recognizerName = value; }
50 inline void SetRecognizerName(Aws::String&& value) { m_recognizerNameHasBeenSet = true; m_recognizerName = std::move(value); }
51 inline void SetRecognizerName(const char* value) { m_recognizerNameHasBeenSet = true; m_recognizerName.assign(value); }
52 inline EntityRecognizerSummary& WithRecognizerName(const Aws::String& value) { SetRecognizerName(value); return *this;}
53 inline EntityRecognizerSummary& WithRecognizerName(Aws::String&& value) { SetRecognizerName(std::move(value)); return *this;}
54 inline EntityRecognizerSummary& WithRecognizerName(const char* value) { SetRecognizerName(value); return *this;}
56
58
61 inline int GetNumberOfVersions() const{ return m_numberOfVersions; }
62 inline bool NumberOfVersionsHasBeenSet() const { return m_numberOfVersionsHasBeenSet; }
63 inline void SetNumberOfVersions(int value) { m_numberOfVersionsHasBeenSet = true; m_numberOfVersions = value; }
64 inline EntityRecognizerSummary& WithNumberOfVersions(int value) { SetNumberOfVersions(value); return *this;}
66
68
72 inline const Aws::Utils::DateTime& GetLatestVersionCreatedAt() const{ return m_latestVersionCreatedAt; }
73 inline bool LatestVersionCreatedAtHasBeenSet() const { return m_latestVersionCreatedAtHasBeenSet; }
74 inline void SetLatestVersionCreatedAt(const Aws::Utils::DateTime& value) { m_latestVersionCreatedAtHasBeenSet = true; m_latestVersionCreatedAt = value; }
75 inline void SetLatestVersionCreatedAt(Aws::Utils::DateTime&& value) { m_latestVersionCreatedAtHasBeenSet = true; m_latestVersionCreatedAt = std::move(value); }
79
81
84 inline const Aws::String& GetLatestVersionName() const{ return m_latestVersionName; }
85 inline bool LatestVersionNameHasBeenSet() const { return m_latestVersionNameHasBeenSet; }
86 inline void SetLatestVersionName(const Aws::String& value) { m_latestVersionNameHasBeenSet = true; m_latestVersionName = value; }
87 inline void SetLatestVersionName(Aws::String&& value) { m_latestVersionNameHasBeenSet = true; m_latestVersionName = std::move(value); }
88 inline void SetLatestVersionName(const char* value) { m_latestVersionNameHasBeenSet = true; m_latestVersionName.assign(value); }
90 inline EntityRecognizerSummary& WithLatestVersionName(Aws::String&& value) { SetLatestVersionName(std::move(value)); return *this;}
91 inline EntityRecognizerSummary& WithLatestVersionName(const char* value) { SetLatestVersionName(value); return *this;}
93
95
98 inline const ModelStatus& GetLatestVersionStatus() const{ return m_latestVersionStatus; }
99 inline bool LatestVersionStatusHasBeenSet() const { return m_latestVersionStatusHasBeenSet; }
100 inline void SetLatestVersionStatus(const ModelStatus& value) { m_latestVersionStatusHasBeenSet = true; m_latestVersionStatus = value; }
101 inline void SetLatestVersionStatus(ModelStatus&& value) { m_latestVersionStatusHasBeenSet = true; m_latestVersionStatus = std::move(value); }
103 inline EntityRecognizerSummary& WithLatestVersionStatus(ModelStatus&& value) { SetLatestVersionStatus(std::move(value)); return *this;}
105 private:
106
107 Aws::String m_recognizerName;
108 bool m_recognizerNameHasBeenSet = false;
109
110 int m_numberOfVersions;
111 bool m_numberOfVersionsHasBeenSet = false;
112
113 Aws::Utils::DateTime m_latestVersionCreatedAt;
114 bool m_latestVersionCreatedAtHasBeenSet = false;
115
116 Aws::String m_latestVersionName;
117 bool m_latestVersionNameHasBeenSet = false;
118
119 ModelStatus m_latestVersionStatus;
120 bool m_latestVersionStatusHasBeenSet = false;
121 };
122
123} // namespace Model
124} // namespace Comprehend
125} // namespace Aws
EntityRecognizerSummary & WithLatestVersionStatus(const ModelStatus &value)
EntityRecognizerSummary & WithNumberOfVersions(int value)
void SetLatestVersionCreatedAt(const Aws::Utils::DateTime &value)
EntityRecognizerSummary & WithRecognizerName(const Aws::String &value)
EntityRecognizerSummary & WithLatestVersionName(const char *value)
EntityRecognizerSummary & WithLatestVersionName(const Aws::String &value)
void SetLatestVersionCreatedAt(Aws::Utils::DateTime &&value)
EntityRecognizerSummary & WithLatestVersionName(Aws::String &&value)
AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const
EntityRecognizerSummary & WithLatestVersionCreatedAt(const Aws::Utils::DateTime &value)
EntityRecognizerSummary & WithRecognizerName(Aws::String &&value)
EntityRecognizerSummary & WithLatestVersionStatus(ModelStatus &&value)
AWS_COMPREHEND_API EntityRecognizerSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetLatestVersionCreatedAt() const
EntityRecognizerSummary & WithLatestVersionCreatedAt(Aws::Utils::DateTime &&value)
EntityRecognizerSummary & WithRecognizerName(const char *value)
AWS_COMPREHEND_API EntityRecognizerSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue