AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetS3Uri(const Aws::String& value) { m_s3UriHasBeenSet = true; m_s3Uri = value; }
52 inline void SetS3Uri(Aws::String&& value) { m_s3UriHasBeenSet = true; m_s3Uri = std::move(value); }
53 inline void SetS3Uri(const char* value) { m_s3UriHasBeenSet = true; m_s3Uri.assign(value); }
54 inline AugmentedManifestsListItem& WithS3Uri(const Aws::String& value) { SetS3Uri(value); return *this;}
55 inline AugmentedManifestsListItem& WithS3Uri(Aws::String&& value) { SetS3Uri(std::move(value)); return *this;}
56 inline AugmentedManifestsListItem& WithS3Uri(const char* value) { SetS3Uri(value); return *this;}
58
60
68 inline const Split& GetSplit() const{ return m_split; }
69 inline bool SplitHasBeenSet() const { return m_splitHasBeenSet; }
70 inline void SetSplit(const Split& value) { m_splitHasBeenSet = true; m_split = value; }
71 inline void SetSplit(Split&& value) { m_splitHasBeenSet = true; m_split = std::move(value); }
72 inline AugmentedManifestsListItem& WithSplit(const Split& value) { SetSplit(value); return *this;}
73 inline AugmentedManifestsListItem& WithSplit(Split&& value) { SetSplit(std::move(value)); return *this;}
75
77
87 inline const Aws::Vector<Aws::String>& GetAttributeNames() const{ return m_attributeNames; }
88 inline bool AttributeNamesHasBeenSet() const { return m_attributeNamesHasBeenSet; }
89 inline void SetAttributeNames(const Aws::Vector<Aws::String>& value) { m_attributeNamesHasBeenSet = true; m_attributeNames = value; }
90 inline void SetAttributeNames(Aws::Vector<Aws::String>&& value) { m_attributeNamesHasBeenSet = true; m_attributeNames = std::move(value); }
93 inline AugmentedManifestsListItem& AddAttributeNames(const Aws::String& value) { m_attributeNamesHasBeenSet = true; m_attributeNames.push_back(value); return *this; }
94 inline AugmentedManifestsListItem& AddAttributeNames(Aws::String&& value) { m_attributeNamesHasBeenSet = true; m_attributeNames.push_back(std::move(value)); return *this; }
95 inline AugmentedManifestsListItem& AddAttributeNames(const char* value) { m_attributeNamesHasBeenSet = true; m_attributeNames.push_back(value); return *this; }
97
99
103 inline const Aws::String& GetAnnotationDataS3Uri() const{ return m_annotationDataS3Uri; }
104 inline bool AnnotationDataS3UriHasBeenSet() const { return m_annotationDataS3UriHasBeenSet; }
105 inline void SetAnnotationDataS3Uri(const Aws::String& value) { m_annotationDataS3UriHasBeenSet = true; m_annotationDataS3Uri = value; }
106 inline void SetAnnotationDataS3Uri(Aws::String&& value) { m_annotationDataS3UriHasBeenSet = true; m_annotationDataS3Uri = std::move(value); }
107 inline void SetAnnotationDataS3Uri(const char* value) { m_annotationDataS3UriHasBeenSet = true; m_annotationDataS3Uri.assign(value); }
110 inline AugmentedManifestsListItem& WithAnnotationDataS3Uri(const char* value) { SetAnnotationDataS3Uri(value); return *this;}
112
114
118 inline const Aws::String& GetSourceDocumentsS3Uri() const{ return m_sourceDocumentsS3Uri; }
119 inline bool SourceDocumentsS3UriHasBeenSet() const { return m_sourceDocumentsS3UriHasBeenSet; }
120 inline void SetSourceDocumentsS3Uri(const Aws::String& value) { m_sourceDocumentsS3UriHasBeenSet = true; m_sourceDocumentsS3Uri = value; }
121 inline void SetSourceDocumentsS3Uri(Aws::String&& value) { m_sourceDocumentsS3UriHasBeenSet = true; m_sourceDocumentsS3Uri = std::move(value); }
122 inline void SetSourceDocumentsS3Uri(const char* value) { m_sourceDocumentsS3UriHasBeenSet = true; m_sourceDocumentsS3Uri.assign(value); }
125 inline AugmentedManifestsListItem& WithSourceDocumentsS3Uri(const char* value) { SetSourceDocumentsS3Uri(value); return *this;}
127
129
139 inline const AugmentedManifestsDocumentTypeFormat& GetDocumentType() const{ return m_documentType; }
140 inline bool DocumentTypeHasBeenSet() const { return m_documentTypeHasBeenSet; }
141 inline void SetDocumentType(const AugmentedManifestsDocumentTypeFormat& value) { m_documentTypeHasBeenSet = true; m_documentType = value; }
142 inline void SetDocumentType(AugmentedManifestsDocumentTypeFormat&& value) { m_documentTypeHasBeenSet = true; m_documentType = std::move(value); }
146 private:
147
148 Aws::String m_s3Uri;
149 bool m_s3UriHasBeenSet = false;
150
151 Split m_split;
152 bool m_splitHasBeenSet = false;
153
154 Aws::Vector<Aws::String> m_attributeNames;
155 bool m_attributeNamesHasBeenSet = false;
156
157 Aws::String m_annotationDataS3Uri;
158 bool m_annotationDataS3UriHasBeenSet = false;
159
160 Aws::String m_sourceDocumentsS3Uri;
161 bool m_sourceDocumentsS3UriHasBeenSet = false;
162
164 bool m_documentTypeHasBeenSet = false;
165 };
166
167} // namespace Model
168} // namespace Comprehend
169} // namespace Aws
const Aws::Vector< Aws::String > & GetAttributeNames() const
AugmentedManifestsListItem & WithDocumentType(const AugmentedManifestsDocumentTypeFormat &value)
AugmentedManifestsListItem & WithS3Uri(const char *value)
void SetAttributeNames(Aws::Vector< Aws::String > &&value)
AugmentedManifestsListItem & WithSplit(const Split &value)
AugmentedManifestsListItem & WithAnnotationDataS3Uri(const char *value)
AugmentedManifestsListItem & WithSourceDocumentsS3Uri(Aws::String &&value)
void SetDocumentType(const AugmentedManifestsDocumentTypeFormat &value)
AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const
AugmentedManifestsListItem & WithSourceDocumentsS3Uri(const Aws::String &value)
AugmentedManifestsListItem & WithDocumentType(AugmentedManifestsDocumentTypeFormat &&value)
AugmentedManifestsListItem & WithAnnotationDataS3Uri(const Aws::String &value)
AugmentedManifestsListItem & WithAttributeNames(const Aws::Vector< Aws::String > &value)
AugmentedManifestsListItem & WithAnnotationDataS3Uri(Aws::String &&value)
AugmentedManifestsListItem & AddAttributeNames(const char *value)
void SetDocumentType(AugmentedManifestsDocumentTypeFormat &&value)
AugmentedManifestsListItem & WithS3Uri(const Aws::String &value)
AugmentedManifestsListItem & WithSplit(Split &&value)
AugmentedManifestsListItem & WithS3Uri(Aws::String &&value)
AWS_COMPREHEND_API AugmentedManifestsListItem(Aws::Utils::Json::JsonView jsonValue)
AugmentedManifestsListItem & AddAttributeNames(Aws::String &&value)
AugmentedManifestsListItem & WithAttributeNames(Aws::Vector< Aws::String > &&value)
const AugmentedManifestsDocumentTypeFormat & GetDocumentType() const
AugmentedManifestsListItem & WithSourceDocumentsS3Uri(const char *value)
AWS_COMPREHEND_API AugmentedManifestsListItem & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAttributeNames(const Aws::Vector< Aws::String > &value)
AugmentedManifestsListItem & AddAttributeNames(const Aws::String &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