AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
ContainsPiiEntitiesRequest.h
1
6#pragma once
7#include <aws/comprehend/ComprehendRequest.h>
8#include <aws/comprehend/Comprehend_EXPORTS.h>
9#include <aws/comprehend/model/LanguageCode.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Comprehend {
16namespace Model {
17
21 public:
22 AWS_COMPREHEND_API ContainsPiiEntitiesRequest() = 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 "ContainsPiiEntities"; }
29
30 AWS_COMPREHEND_API Aws::String SerializePayload() const override;
31
33
35
38 inline const Aws::String& GetText() const { return m_text; }
39 inline bool TextHasBeenSet() const { return m_textHasBeenSet; }
40 template <typename TextT = Aws::String>
41 void SetText(TextT&& value) {
42 m_textHasBeenSet = true;
43 m_text = std::forward<TextT>(value);
44 }
45 template <typename TextT = Aws::String>
47 SetText(std::forward<TextT>(value));
48 return *this;
49 }
51
53
56 inline LanguageCode GetLanguageCode() const { return m_languageCode; }
57 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
58 inline void SetLanguageCode(LanguageCode value) {
59 m_languageCodeHasBeenSet = true;
60 m_languageCode = value;
61 }
63 SetLanguageCode(value);
64 return *this;
65 }
67 private:
68 Aws::String m_text;
69
70 LanguageCode m_languageCode{LanguageCode::NOT_SET};
71 bool m_textHasBeenSet = false;
72 bool m_languageCodeHasBeenSet = false;
73};
74
75} // namespace Model
76} // namespace Comprehend
77} // namespace Aws
AWS_COMPREHEND_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
ContainsPiiEntitiesRequest & WithText(TextT &&value)
ContainsPiiEntitiesRequest & WithLanguageCode(LanguageCode value)
AWS_COMPREHEND_API ContainsPiiEntitiesRequest()=default
AWS_COMPREHEND_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String