AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
AugmentedManifestsListItem.h
1
6#pragma once
7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/comprehend/model/Split.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/comprehend/model/AugmentedManifestsDocumentTypeFormat.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Comprehend
25{
26namespace Model
27{
28
37 {
38 public:
39 AWS_COMPREHEND_API AugmentedManifestsListItem() = default;
42 AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetS3Uri() const { return m_s3Uri; }
50 inline bool S3UriHasBeenSet() const { return m_s3UriHasBeenSet; }
51 template<typename S3UriT = Aws::String>
52 void SetS3Uri(S3UriT&& value) { m_s3UriHasBeenSet = true; m_s3Uri = std::forward<S3UriT>(value); }
53 template<typename S3UriT = Aws::String>
54 AugmentedManifestsListItem& WithS3Uri(S3UriT&& value) { SetS3Uri(std::forward<S3UriT>(value)); return *this;}
56
58
66 inline Split GetSplit() const { return m_split; }
67 inline bool SplitHasBeenSet() const { return m_splitHasBeenSet; }
68 inline void SetSplit(Split value) { m_splitHasBeenSet = true; m_split = value; }
69 inline AugmentedManifestsListItem& WithSplit(Split value) { SetSplit(value); return *this;}
71
73
83 inline const Aws::Vector<Aws::String>& GetAttributeNames() const { return m_attributeNames; }
84 inline bool AttributeNamesHasBeenSet() const { return m_attributeNamesHasBeenSet; }
85 template<typename AttributeNamesT = Aws::Vector<Aws::String>>
86 void SetAttributeNames(AttributeNamesT&& value) { m_attributeNamesHasBeenSet = true; m_attributeNames = std::forward<AttributeNamesT>(value); }
87 template<typename AttributeNamesT = Aws::Vector<Aws::String>>
88 AugmentedManifestsListItem& WithAttributeNames(AttributeNamesT&& value) { SetAttributeNames(std::forward<AttributeNamesT>(value)); return *this;}
89 template<typename AttributeNamesT = Aws::String>
90 AugmentedManifestsListItem& AddAttributeNames(AttributeNamesT&& value) { m_attributeNamesHasBeenSet = true; m_attributeNames.emplace_back(std::forward<AttributeNamesT>(value)); return *this; }
92
94
98 inline const Aws::String& GetAnnotationDataS3Uri() const { return m_annotationDataS3Uri; }
99 inline bool AnnotationDataS3UriHasBeenSet() const { return m_annotationDataS3UriHasBeenSet; }
100 template<typename AnnotationDataS3UriT = Aws::String>
101 void SetAnnotationDataS3Uri(AnnotationDataS3UriT&& value) { m_annotationDataS3UriHasBeenSet = true; m_annotationDataS3Uri = std::forward<AnnotationDataS3UriT>(value); }
102 template<typename AnnotationDataS3UriT = Aws::String>
103 AugmentedManifestsListItem& WithAnnotationDataS3Uri(AnnotationDataS3UriT&& value) { SetAnnotationDataS3Uri(std::forward<AnnotationDataS3UriT>(value)); return *this;}
105
107
111 inline const Aws::String& GetSourceDocumentsS3Uri() const { return m_sourceDocumentsS3Uri; }
112 inline bool SourceDocumentsS3UriHasBeenSet() const { return m_sourceDocumentsS3UriHasBeenSet; }
113 template<typename SourceDocumentsS3UriT = Aws::String>
114 void SetSourceDocumentsS3Uri(SourceDocumentsS3UriT&& value) { m_sourceDocumentsS3UriHasBeenSet = true; m_sourceDocumentsS3Uri = std::forward<SourceDocumentsS3UriT>(value); }
115 template<typename SourceDocumentsS3UriT = Aws::String>
116 AugmentedManifestsListItem& WithSourceDocumentsS3Uri(SourceDocumentsS3UriT&& value) { SetSourceDocumentsS3Uri(std::forward<SourceDocumentsS3UriT>(value)); return *this;}
118
120
130 inline AugmentedManifestsDocumentTypeFormat GetDocumentType() const { return m_documentType; }
131 inline bool DocumentTypeHasBeenSet() const { return m_documentTypeHasBeenSet; }
132 inline void SetDocumentType(AugmentedManifestsDocumentTypeFormat value) { m_documentTypeHasBeenSet = true; m_documentType = value; }
135 private:
136
137 Aws::String m_s3Uri;
138 bool m_s3UriHasBeenSet = false;
139
140 Split m_split{Split::NOT_SET};
141 bool m_splitHasBeenSet = false;
142
143 Aws::Vector<Aws::String> m_attributeNames;
144 bool m_attributeNamesHasBeenSet = false;
145
146 Aws::String m_annotationDataS3Uri;
147 bool m_annotationDataS3UriHasBeenSet = false;
148
149 Aws::String m_sourceDocumentsS3Uri;
150 bool m_sourceDocumentsS3UriHasBeenSet = false;
151
153 bool m_documentTypeHasBeenSet = false;
154 };
155
156} // namespace Model
157} // namespace Comprehend
158} // namespace Aws
const Aws::Vector< Aws::String > & GetAttributeNames() const
void SetDocumentType(AugmentedManifestsDocumentTypeFormat value)
AugmentedManifestsListItem & WithS3Uri(S3UriT &&value)
AugmentedManifestsListItem & AddAttributeNames(AttributeNamesT &&value)
AugmentedManifestsListItem & WithSourceDocumentsS3Uri(SourceDocumentsS3UriT &&value)
AWS_COMPREHEND_API AugmentedManifestsListItem()=default
AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const
AugmentedManifestsListItem & WithSplit(Split value)
AugmentedManifestsDocumentTypeFormat GetDocumentType() const
AWS_COMPREHEND_API AugmentedManifestsListItem(Aws::Utils::Json::JsonView jsonValue)
AugmentedManifestsListItem & WithAnnotationDataS3Uri(AnnotationDataS3UriT &&value)
AugmentedManifestsListItem & WithDocumentType(AugmentedManifestsDocumentTypeFormat value)
AWS_COMPREHEND_API AugmentedManifestsListItem & operator=(Aws::Utils::Json::JsonView jsonValue)
AugmentedManifestsListItem & WithAttributeNames(AttributeNamesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue