AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DetectPiiEntitiesRequest.h
1
6#pragma once
7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/comprehend/ComprehendRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/comprehend/model/LanguageCode.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Comprehend
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_COMPREHEND_API DetectPiiEntitiesRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "DetectPiiEntities"; }
32
33 AWS_COMPREHEND_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetText() const{ return m_text; }
43 inline bool TextHasBeenSet() const { return m_textHasBeenSet; }
44 inline void SetText(const Aws::String& value) { m_textHasBeenSet = true; m_text = value; }
45 inline void SetText(Aws::String&& value) { m_textHasBeenSet = true; m_text = std::move(value); }
46 inline void SetText(const char* value) { m_textHasBeenSet = true; m_text.assign(value); }
47 inline DetectPiiEntitiesRequest& WithText(const Aws::String& value) { SetText(value); return *this;}
48 inline DetectPiiEntitiesRequest& WithText(Aws::String&& value) { SetText(std::move(value)); return *this;}
49 inline DetectPiiEntitiesRequest& WithText(const char* value) { SetText(value); return *this;}
51
53
57 inline const LanguageCode& GetLanguageCode() const{ return m_languageCode; }
58 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
59 inline void SetLanguageCode(const LanguageCode& value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
60 inline void SetLanguageCode(LanguageCode&& value) { m_languageCodeHasBeenSet = true; m_languageCode = std::move(value); }
61 inline DetectPiiEntitiesRequest& WithLanguageCode(const LanguageCode& value) { SetLanguageCode(value); return *this;}
62 inline DetectPiiEntitiesRequest& WithLanguageCode(LanguageCode&& value) { SetLanguageCode(std::move(value)); return *this;}
64 private:
65
66 Aws::String m_text;
67 bool m_textHasBeenSet = false;
68
69 LanguageCode m_languageCode;
70 bool m_languageCodeHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace Comprehend
75} // namespace Aws
AWS_COMPREHEND_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
DetectPiiEntitiesRequest & WithLanguageCode(const LanguageCode &value)
DetectPiiEntitiesRequest & WithText(const Aws::String &value)
AWS_COMPREHEND_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DetectPiiEntitiesRequest & WithText(const char *value)
DetectPiiEntitiesRequest & WithText(Aws::String &&value)
DetectPiiEntitiesRequest & WithLanguageCode(LanguageCode &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String