AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ContainsPiiEntitiesRequest.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 ContainsPiiEntitiesRequest();
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 "ContainsPiiEntities"; }
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 ContainsPiiEntitiesRequest& WithText(const Aws::String& value) { SetText(value); return *this;}
48 inline ContainsPiiEntitiesRequest& WithText(Aws::String&& value) { SetText(std::move(value)); return *this;}
49 inline ContainsPiiEntitiesRequest& WithText(const char* value) { SetText(value); return *this;}
51
53
56 inline const LanguageCode& GetLanguageCode() const{ return m_languageCode; }
57 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
58 inline void SetLanguageCode(const LanguageCode& value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
59 inline void SetLanguageCode(LanguageCode&& value) { m_languageCodeHasBeenSet = true; m_languageCode = std::move(value); }
60 inline ContainsPiiEntitiesRequest& WithLanguageCode(const LanguageCode& value) { SetLanguageCode(value); return *this;}
61 inline ContainsPiiEntitiesRequest& WithLanguageCode(LanguageCode&& value) { SetLanguageCode(std::move(value)); return *this;}
63 private:
64
65 Aws::String m_text;
66 bool m_textHasBeenSet = false;
67
68 LanguageCode m_languageCode;
69 bool m_languageCodeHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace Comprehend
74} // namespace Aws
AWS_COMPREHEND_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ContainsPiiEntitiesRequest & WithLanguageCode(LanguageCode &&value)
virtual const char * GetServiceRequestName() const override
AWS_COMPREHEND_API Aws::String SerializePayload() const override
ContainsPiiEntitiesRequest & WithText(const Aws::String &value)
ContainsPiiEntitiesRequest & WithText(Aws::String &&value)
ContainsPiiEntitiesRequest & WithText(const char *value)
ContainsPiiEntitiesRequest & WithLanguageCode(const LanguageCode &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String