AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDocumentClassifierName(const Aws::String& value) { m_documentClassifierNameHasBeenSet = true; m_documentClassifierName = value; }
50 inline void SetDocumentClassifierName(Aws::String&& value) { m_documentClassifierNameHasBeenSet = true; m_documentClassifierName = std::move(value); }
51 inline void SetDocumentClassifierName(const char* value) { m_documentClassifierNameHasBeenSet = true; m_documentClassifierName.assign(value); }
54 inline DocumentClassifierSummary& WithDocumentClassifierName(const char* value) { SetDocumentClassifierName(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 DocumentClassifierSummary& 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 DocumentClassifierSummary& WithLatestVersionName(Aws::String&& value) { SetLatestVersionName(std::move(value)); return *this;}
91 inline DocumentClassifierSummary& 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 DocumentClassifierSummary& WithLatestVersionStatus(ModelStatus&& value) { SetLatestVersionStatus(std::move(value)); return *this;}
105 private:
106
107 Aws::String m_documentClassifierName;
108 bool m_documentClassifierNameHasBeenSet = 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
DocumentClassifierSummary & WithDocumentClassifierName(const Aws::String &value)
AWS_COMPREHEND_API DocumentClassifierSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetLatestVersionCreatedAt() const
DocumentClassifierSummary & WithLatestVersionStatus(const ModelStatus &value)
DocumentClassifierSummary & WithLatestVersionCreatedAt(const Aws::Utils::DateTime &value)
void SetLatestVersionCreatedAt(Aws::Utils::DateTime &&value)
DocumentClassifierSummary & WithLatestVersionCreatedAt(Aws::Utils::DateTime &&value)
void SetLatestVersionCreatedAt(const Aws::Utils::DateTime &value)
DocumentClassifierSummary & WithLatestVersionStatus(ModelStatus &&value)
AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const
DocumentClassifierSummary & WithLatestVersionName(const Aws::String &value)
AWS_COMPREHEND_API DocumentClassifierSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
DocumentClassifierSummary & WithDocumentClassifierName(Aws::String &&value)
DocumentClassifierSummary & WithLatestVersionName(const char *value)
DocumentClassifierSummary & WithLatestVersionName(Aws::String &&value)
DocumentClassifierSummary & WithNumberOfVersions(int value)
DocumentClassifierSummary & WithDocumentClassifierName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue