AWS SDK for C++

AWS SDK for C++ Version 1.11.945

Loading...
Searching...
No Matches
EntityRecognizerDocuments.h
1
6#pragma once
7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/comprehend/model/InputFormat.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/crt/cbor/Cbor.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Cbor {
17class CborValue;
18} // namespace Cbor
19} // namespace Utils
20namespace Comprehend {
21namespace Model {
22
30 public:
31 AWS_COMPREHEND_API EntityRecognizerDocuments() = default;
32 AWS_COMPREHEND_API EntityRecognizerDocuments(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_COMPREHEND_API EntityRecognizerDocuments& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
34 AWS_COMPREHEND_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
35
37
42 inline const Aws::String& GetS3Uri() const { return m_s3Uri; }
43 inline bool S3UriHasBeenSet() const { return m_s3UriHasBeenSet; }
44 template <typename S3UriT = Aws::String>
45 void SetS3Uri(S3UriT&& value) {
46 m_s3UriHasBeenSet = true;
47 m_s3Uri = std::forward<S3UriT>(value);
48 }
49 template <typename S3UriT = Aws::String>
51 SetS3Uri(std::forward<S3UriT>(value));
52 return *this;
53 }
55
57
62 inline const Aws::String& GetTestS3Uri() const { return m_testS3Uri; }
63 inline bool TestS3UriHasBeenSet() const { return m_testS3UriHasBeenSet; }
64 template <typename TestS3UriT = Aws::String>
65 void SetTestS3Uri(TestS3UriT&& value) {
66 m_testS3UriHasBeenSet = true;
67 m_testS3Uri = std::forward<TestS3UriT>(value);
68 }
69 template <typename TestS3UriT = Aws::String>
71 SetTestS3Uri(std::forward<TestS3UriT>(value));
72 return *this;
73 }
75
77
85 inline InputFormat GetInputFormat() const { return m_inputFormat; }
86 inline bool InputFormatHasBeenSet() const { return m_inputFormatHasBeenSet; }
87 inline void SetInputFormat(InputFormat value) {
88 m_inputFormatHasBeenSet = true;
89 m_inputFormat = value;
90 }
92 SetInputFormat(value);
93 return *this;
94 }
96 private:
97 Aws::String m_s3Uri;
98
99 Aws::String m_testS3Uri;
100
101 InputFormat m_inputFormat{InputFormat::NOT_SET};
102 bool m_s3UriHasBeenSet = false;
103 bool m_testS3UriHasBeenSet = false;
104 bool m_inputFormatHasBeenSet = false;
105};
106
107} // namespace Model
108} // namespace Comprehend
109} // namespace Aws
EntityRecognizerDocuments & WithInputFormat(InputFormat value)
AWS_COMPREHEND_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_COMPREHEND_API EntityRecognizerDocuments & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
EntityRecognizerDocuments & WithTestS3Uri(TestS3UriT &&value)
EntityRecognizerDocuments & WithS3Uri(S3UriT &&value)
AWS_COMPREHEND_API EntityRecognizerDocuments(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_COMPREHEND_API EntityRecognizerDocuments()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String