AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ContentRedaction.h
1
6#pragma once
7#include <aws/transcribe/TranscribeService_EXPORTS.h>
8#include <aws/transcribe/model/RedactionType.h>
9#include <aws/transcribe/model/RedactionOutput.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/transcribe/model/PiiEntityType.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace TranscribeService
25{
26namespace Model
27{
28
40 {
41 public:
42 AWS_TRANSCRIBESERVICE_API ContentRedaction() = default;
43 AWS_TRANSCRIBESERVICE_API ContentRedaction(Aws::Utils::Json::JsonView jsonValue);
44 AWS_TRANSCRIBESERVICE_API ContentRedaction& operator=(Aws::Utils::Json::JsonView jsonValue);
45 AWS_TRANSCRIBESERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
56 inline RedactionType GetRedactionType() const { return m_redactionType; }
57 inline bool RedactionTypeHasBeenSet() const { return m_redactionTypeHasBeenSet; }
58 inline void SetRedactionType(RedactionType value) { m_redactionTypeHasBeenSet = true; m_redactionType = value; }
59 inline ContentRedaction& WithRedactionType(RedactionType value) { SetRedactionType(value); return *this;}
61
63
70 inline RedactionOutput GetRedactionOutput() const { return m_redactionOutput; }
71 inline bool RedactionOutputHasBeenSet() const { return m_redactionOutputHasBeenSet; }
72 inline void SetRedactionOutput(RedactionOutput value) { m_redactionOutputHasBeenSet = true; m_redactionOutput = value; }
75
77
83 inline const Aws::Vector<PiiEntityType>& GetPiiEntityTypes() const { return m_piiEntityTypes; }
84 inline bool PiiEntityTypesHasBeenSet() const { return m_piiEntityTypesHasBeenSet; }
85 template<typename PiiEntityTypesT = Aws::Vector<PiiEntityType>>
86 void SetPiiEntityTypes(PiiEntityTypesT&& value) { m_piiEntityTypesHasBeenSet = true; m_piiEntityTypes = std::forward<PiiEntityTypesT>(value); }
87 template<typename PiiEntityTypesT = Aws::Vector<PiiEntityType>>
88 ContentRedaction& WithPiiEntityTypes(PiiEntityTypesT&& value) { SetPiiEntityTypes(std::forward<PiiEntityTypesT>(value)); return *this;}
89 inline ContentRedaction& AddPiiEntityTypes(PiiEntityType value) { m_piiEntityTypesHasBeenSet = true; m_piiEntityTypes.push_back(value); return *this; }
91 private:
92
94 bool m_redactionTypeHasBeenSet = false;
95
97 bool m_redactionOutputHasBeenSet = false;
98
99 Aws::Vector<PiiEntityType> m_piiEntityTypes;
100 bool m_piiEntityTypesHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace TranscribeService
105} // namespace Aws
AWS_TRANSCRIBESERVICE_API ContentRedaction(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< PiiEntityType > & GetPiiEntityTypes() const
ContentRedaction & WithRedactionType(RedactionType value)
ContentRedaction & WithRedactionOutput(RedactionOutput value)
AWS_TRANSCRIBESERVICE_API ContentRedaction()=default
AWS_TRANSCRIBESERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_TRANSCRIBESERVICE_API ContentRedaction & operator=(Aws::Utils::Json::JsonView jsonValue)
ContentRedaction & AddPiiEntityTypes(PiiEntityType value)
void SetPiiEntityTypes(PiiEntityTypesT &&value)
ContentRedaction & WithPiiEntityTypes(PiiEntityTypesT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue