AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const RedactionType& GetRedactionType() const{ return m_redactionType; }
57 inline bool RedactionTypeHasBeenSet() const { return m_redactionTypeHasBeenSet; }
58 inline void SetRedactionType(const RedactionType& value) { m_redactionTypeHasBeenSet = true; m_redactionType = value; }
59 inline void SetRedactionType(RedactionType&& value) { m_redactionTypeHasBeenSet = true; m_redactionType = std::move(value); }
60 inline ContentRedaction& WithRedactionType(const RedactionType& value) { SetRedactionType(value); return *this;}
61 inline ContentRedaction& WithRedactionType(RedactionType&& value) { SetRedactionType(std::move(value)); return *this;}
63
65
72 inline const RedactionOutput& GetRedactionOutput() const{ return m_redactionOutput; }
73 inline bool RedactionOutputHasBeenSet() const { return m_redactionOutputHasBeenSet; }
74 inline void SetRedactionOutput(const RedactionOutput& value) { m_redactionOutputHasBeenSet = true; m_redactionOutput = value; }
75 inline void SetRedactionOutput(RedactionOutput&& value) { m_redactionOutputHasBeenSet = true; m_redactionOutput = std::move(value); }
76 inline ContentRedaction& WithRedactionOutput(const RedactionOutput& value) { SetRedactionOutput(value); return *this;}
77 inline ContentRedaction& WithRedactionOutput(RedactionOutput&& value) { SetRedactionOutput(std::move(value)); return *this;}
79
81
87 inline const Aws::Vector<PiiEntityType>& GetPiiEntityTypes() const{ return m_piiEntityTypes; }
88 inline bool PiiEntityTypesHasBeenSet() const { return m_piiEntityTypesHasBeenSet; }
89 inline void SetPiiEntityTypes(const Aws::Vector<PiiEntityType>& value) { m_piiEntityTypesHasBeenSet = true; m_piiEntityTypes = value; }
90 inline void SetPiiEntityTypes(Aws::Vector<PiiEntityType>&& value) { m_piiEntityTypesHasBeenSet = true; m_piiEntityTypes = std::move(value); }
92 inline ContentRedaction& WithPiiEntityTypes(Aws::Vector<PiiEntityType>&& value) { SetPiiEntityTypes(std::move(value)); return *this;}
93 inline ContentRedaction& AddPiiEntityTypes(const PiiEntityType& value) { m_piiEntityTypesHasBeenSet = true; m_piiEntityTypes.push_back(value); return *this; }
94 inline ContentRedaction& AddPiiEntityTypes(PiiEntityType&& value) { m_piiEntityTypesHasBeenSet = true; m_piiEntityTypes.push_back(std::move(value)); return *this; }
96 private:
97
98 RedactionType m_redactionType;
99 bool m_redactionTypeHasBeenSet = false;
100
101 RedactionOutput m_redactionOutput;
102 bool m_redactionOutputHasBeenSet = false;
103
104 Aws::Vector<PiiEntityType> m_piiEntityTypes;
105 bool m_piiEntityTypesHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace TranscribeService
110} // namespace Aws
void SetPiiEntityTypes(Aws::Vector< PiiEntityType > &&value)
ContentRedaction & WithRedactionType(RedactionType &&value)
ContentRedaction & AddPiiEntityTypes(const PiiEntityType &value)
void SetPiiEntityTypes(const Aws::Vector< PiiEntityType > &value)
AWS_TRANSCRIBESERVICE_API ContentRedaction(Aws::Utils::Json::JsonView jsonValue)
void SetRedactionOutput(const RedactionOutput &value)
const Aws::Vector< PiiEntityType > & GetPiiEntityTypes() const
ContentRedaction & WithRedactionType(const RedactionType &value)
AWS_TRANSCRIBESERVICE_API ContentRedaction()
void SetRedactionType(const RedactionType &value)
ContentRedaction & WithPiiEntityTypes(const Aws::Vector< PiiEntityType > &value)
ContentRedaction & WithRedactionOutput(const RedactionOutput &value)
ContentRedaction & WithPiiEntityTypes(Aws::Vector< PiiEntityType > &&value)
const RedactionOutput & GetRedactionOutput() const
AWS_TRANSCRIBESERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_TRANSCRIBESERVICE_API ContentRedaction & operator=(Aws::Utils::Json::JsonView jsonValue)
ContentRedaction & WithRedactionOutput(RedactionOutput &&value)
void SetRedactionOutput(RedactionOutput &&value)
ContentRedaction & AddPiiEntityTypes(PiiEntityType &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue