AWS SDK for C++
1.8.129
AWS SDK for C++
aws-cpp-sdk-comprehend
include
aws
comprehend
model
BatchDetectEntitiesRequest.h
Go to the documentation of this file.
1
6
#pragma once
7
#include <
aws/comprehend/Comprehend_EXPORTS.h
>
8
#include <
aws/comprehend/ComprehendRequest.h
>
9
#include <
aws/core/utils/memory/stl/AWSVector.h
>
10
#include <
aws/comprehend/model/LanguageCode.h
>
11
#include <
aws/core/utils/memory/stl/AWSString.h
>
12
#include <utility>
13
14
namespace
Aws
15
{
16
namespace
Comprehend
17
{
18
namespace
Model
19
{
20
23
class
AWS_COMPREHEND_API
BatchDetectEntitiesRequest
:
public
ComprehendRequest
24
{
25
public
:
26
BatchDetectEntitiesRequest
();
27
28
// Service request name is the Operation name which will send this request out,
29
// each operation should has unique request name, so that we can get operation's name from this request.
30
// Note: this is not true for response, multiple operations may have the same response name,
31
// so we can not get operation's name from response.
32
inline
virtual
const
char
*
GetServiceRequestName
()
const override
{
return
"BatchDetectEntities"
; }
33
34
Aws::String
SerializePayload
()
const override
;
35
36
Aws::Http::HeaderValueCollection
GetRequestSpecificHeaders
()
const override
;
37
38
44
inline
const
Aws::Vector<Aws::String>
&
GetTextList
()
const
{
return
m_textList; }
45
51
inline
bool
TextListHasBeenSet
()
const
{
return
m_textListHasBeenSet; }
52
58
inline
void
SetTextList
(
const
Aws::Vector<Aws::String>
& value) { m_textListHasBeenSet =
true
; m_textList = value; }
59
65
inline
void
SetTextList
(
Aws::Vector<Aws::String>
&& value) { m_textListHasBeenSet =
true
; m_textList = std::move(value); }
66
72
inline
BatchDetectEntitiesRequest
&
WithTextList
(
const
Aws::Vector<Aws::String>
& value) { SetTextList(value);
return
*
this
;}
73
79
inline
BatchDetectEntitiesRequest
&
WithTextList
(
Aws::Vector<Aws::String>
&& value) { SetTextList(std::move(value));
return
*
this
;}
80
86
inline
BatchDetectEntitiesRequest
&
AddTextList
(
const
Aws::String
& value) { m_textListHasBeenSet =
true
; m_textList.push_back(value);
return
*
this
; }
87
93
inline
BatchDetectEntitiesRequest
&
AddTextList
(
Aws::String
&& value) { m_textListHasBeenSet =
true
; m_textList.push_back(std::move(value));
return
*
this
; }
94
100
inline
BatchDetectEntitiesRequest
&
AddTextList
(
const
char
* value) { m_textListHasBeenSet =
true
; m_textList.push_back(value);
return
*
this
; }
101
102
108
inline
const
LanguageCode
&
GetLanguageCode
()
const
{
return
m_languageCode; }
109
115
inline
bool
LanguageCodeHasBeenSet
()
const
{
return
m_languageCodeHasBeenSet; }
116
122
inline
void
SetLanguageCode
(
const
LanguageCode
& value) { m_languageCodeHasBeenSet =
true
; m_languageCode = value; }
123
129
inline
void
SetLanguageCode
(
LanguageCode
&& value) { m_languageCodeHasBeenSet =
true
; m_languageCode = std::move(value); }
130
136
inline
BatchDetectEntitiesRequest
&
WithLanguageCode
(
const
LanguageCode
& value) { SetLanguageCode(value);
return
*
this
;}
137
143
inline
BatchDetectEntitiesRequest
&
WithLanguageCode
(
LanguageCode
&& value) { SetLanguageCode(std::move(value));
return
*
this
;}
144
145
private
:
146
147
Aws::Vector<Aws::String>
m_textList;
148
bool
m_textListHasBeenSet;
149
150
LanguageCode
m_languageCode;
151
bool
m_languageCodeHasBeenSet;
152
};
153
154
}
// namespace Model
155
}
// namespace Comprehend
156
}
// namespace Aws
Aws::Comprehend::ComprehendRequest
Definition:
ComprehendRequest.h:17
Aws::Comprehend::Model::BatchDetectEntitiesRequest::BatchDetectEntitiesRequest
BatchDetectEntitiesRequest()
AWS_COMPREHEND_API
#define AWS_COMPREHEND_API
Definition:
Comprehend_EXPORTS.h:28
Aws::Comprehend::Model::BatchDetectEntitiesRequest
Definition:
BatchDetectEntitiesRequest.h:24
Aws::Comprehend::Model::BatchDetectEntitiesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition:
HttpTypes.h:53
Aws::Comprehend::Model::BatchDetectEntitiesRequest::LanguageCodeHasBeenSet
bool LanguageCodeHasBeenSet() const
Definition:
BatchDetectEntitiesRequest.h:115
Aws::Comprehend::Model::BatchDetectEntitiesRequest::SetLanguageCode
void SetLanguageCode(const LanguageCode &value)
Definition:
BatchDetectEntitiesRequest.h:122
Aws::Comprehend::Model::BatchDetectEntitiesRequest::GetLanguageCode
const LanguageCode & GetLanguageCode() const
Definition:
BatchDetectEntitiesRequest.h:108
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition:
AWSVector.h:17
AWSVector.h
Aws::Comprehend::Model::BatchDetectEntitiesRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Comprehend::Model::BatchDetectEntitiesRequest::AddTextList
BatchDetectEntitiesRequest & AddTextList(Aws::String &&value)
Definition:
BatchDetectEntitiesRequest.h:93
Aws::Comprehend::Model::BatchDetectEntitiesRequest::WithTextList
BatchDetectEntitiesRequest & WithTextList(Aws::Vector< Aws::String > &&value)
Definition:
BatchDetectEntitiesRequest.h:79
Aws::Comprehend::Model::BatchDetectEntitiesRequest::SetLanguageCode
void SetLanguageCode(LanguageCode &&value)
Definition:
BatchDetectEntitiesRequest.h:129
Aws::Comprehend::Model::BatchDetectEntitiesRequest::WithLanguageCode
BatchDetectEntitiesRequest & WithLanguageCode(LanguageCode &&value)
Definition:
BatchDetectEntitiesRequest.h:143
Aws::Comprehend::Model::BatchDetectEntitiesRequest::TextListHasBeenSet
bool TextListHasBeenSet() const
Definition:
BatchDetectEntitiesRequest.h:51
Aws::Comprehend::Model::LanguageCode
LanguageCode
Definition:
LanguageCode.h:17
Aws::Comprehend::Model::BatchDetectEntitiesRequest::AddTextList
BatchDetectEntitiesRequest & AddTextList(const char *value)
Definition:
BatchDetectEntitiesRequest.h:100
AWSString.h
LanguageCode.h
ComprehendRequest.h
Aws::Comprehend::Model::BatchDetectEntitiesRequest::WithLanguageCode
BatchDetectEntitiesRequest & WithLanguageCode(const LanguageCode &value)
Definition:
BatchDetectEntitiesRequest.h:136
Aws::Comprehend::Model::BatchDetectEntitiesRequest::AddTextList
BatchDetectEntitiesRequest & AddTextList(const Aws::String &value)
Definition:
BatchDetectEntitiesRequest.h:86
Comprehend_EXPORTS.h
Aws
Definition:
AccessManagementClient.h:15
Aws::Comprehend::Model::BatchDetectEntitiesRequest::GetTextList
const Aws::Vector< Aws::String > & GetTextList() const
Definition:
BatchDetectEntitiesRequest.h:44
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition:
AWSString.h:97
Aws::Comprehend::Model::BatchDetectEntitiesRequest::SetTextList
void SetTextList(const Aws::Vector< Aws::String > &value)
Definition:
BatchDetectEntitiesRequest.h:58
Aws::Comprehend::Model::BatchDetectEntitiesRequest::SetTextList
void SetTextList(Aws::Vector< Aws::String > &&value)
Definition:
BatchDetectEntitiesRequest.h:65
Aws::Comprehend::Model::BatchDetectEntitiesRequest::WithTextList
BatchDetectEntitiesRequest & WithTextList(const Aws::Vector< Aws::String > &value)
Definition:
BatchDetectEntitiesRequest.h:72
Aws::Comprehend::Model::BatchDetectEntitiesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition:
BatchDetectEntitiesRequest.h:32
Generated by
1.8.19
Privacy |
Site terms |
Cookie preferences