AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DocumentClassifierSummary.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 DocumentClassifierSummary() = default;
40 AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetDocumentClassifierName() const { return m_documentClassifierName; }
48 inline bool DocumentClassifierNameHasBeenSet() const { return m_documentClassifierNameHasBeenSet; }
49 template<typename DocumentClassifierNameT = Aws::String>
50 void SetDocumentClassifierName(DocumentClassifierNameT&& value) { m_documentClassifierNameHasBeenSet = true; m_documentClassifierName = std::forward<DocumentClassifierNameT>(value); }
51 template<typename DocumentClassifierNameT = Aws::String>
52 DocumentClassifierSummary& WithDocumentClassifierName(DocumentClassifierNameT&& value) { SetDocumentClassifierName(std::forward<DocumentClassifierNameT>(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 DocumentClassifierSummary& 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 DocumentClassifierSummary& 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 DocumentClassifierSummary& 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_documentClassifierName;
102 bool m_documentClassifierNameHasBeenSet = 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
DocumentClassifierSummary & WithDocumentClassifierName(DocumentClassifierNameT &&value)
DocumentClassifierSummary & WithLatestVersionStatus(ModelStatus value)
AWS_COMPREHEND_API DocumentClassifierSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetLatestVersionCreatedAt() const
void SetDocumentClassifierName(DocumentClassifierNameT &&value)
AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_COMPREHEND_API DocumentClassifierSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_COMPREHEND_API DocumentClassifierSummary()=default
DocumentClassifierSummary & WithNumberOfVersions(int value)
void SetLatestVersionCreatedAt(LatestVersionCreatedAtT &&value)
DocumentClassifierSummary & WithLatestVersionName(LatestVersionNameT &&value)
DocumentClassifierSummary & WithLatestVersionCreatedAt(LatestVersionCreatedAtT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue