AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
BatchDetectDominantLanguageRequest.h
1
6#pragma once
7#include <aws/comprehend/ComprehendRequest.h>
8#include <aws/comprehend/Comprehend_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Comprehend {
16namespace Model {
17
21 public:
22 AWS_COMPREHEND_API BatchDetectDominantLanguageRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "BatchDetectDominantLanguage"; }
29
30 AWS_COMPREHEND_API Aws::String SerializePayload() const override;
31
33
35
40 inline const Aws::Vector<Aws::String>& GetTextList() const { return m_textList; }
41 inline bool TextListHasBeenSet() const { return m_textListHasBeenSet; }
42 template <typename TextListT = Aws::Vector<Aws::String>>
43 void SetTextList(TextListT&& value) {
44 m_textListHasBeenSet = true;
45 m_textList = std::forward<TextListT>(value);
46 }
47 template <typename TextListT = Aws::Vector<Aws::String>>
49 SetTextList(std::forward<TextListT>(value));
50 return *this;
51 }
52 template <typename TextListT = Aws::String>
54 m_textListHasBeenSet = true;
55 m_textList.emplace_back(std::forward<TextListT>(value));
56 return *this;
57 }
59 private:
60 Aws::Vector<Aws::String> m_textList;
61 bool m_textListHasBeenSet = false;
62};
63
64} // namespace Model
65} // namespace Comprehend
66} // namespace Aws
BatchDetectDominantLanguageRequest & WithTextList(TextListT &&value)
AWS_COMPREHEND_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
BatchDetectDominantLanguageRequest & AddTextList(TextListT &&value)
AWS_COMPREHEND_API Aws::String SerializePayload() const override
AWS_COMPREHEND_API BatchDetectDominantLanguageRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector