AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
SensitivityInspectionTemplateIncludes.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/macie2/Macie2_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Macie2 {
21namespace Model {
22
36 public:
37 AWS_MACIE2_API SensitivityInspectionTemplateIncludes() = default;
40 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
41
43
46 inline const Aws::Vector<Aws::String>& GetAllowListIds() const { return m_allowListIds; }
47 inline bool AllowListIdsHasBeenSet() const { return m_allowListIdsHasBeenSet; }
48 template <typename AllowListIdsT = Aws::Vector<Aws::String>>
49 void SetAllowListIds(AllowListIdsT&& value) {
50 m_allowListIdsHasBeenSet = true;
51 m_allowListIds = std::forward<AllowListIdsT>(value);
52 }
53 template <typename AllowListIdsT = Aws::Vector<Aws::String>>
55 SetAllowListIds(std::forward<AllowListIdsT>(value));
56 return *this;
57 }
58 template <typename AllowListIdsT = Aws::String>
60 m_allowListIdsHasBeenSet = true;
61 m_allowListIds.emplace_back(std::forward<AllowListIdsT>(value));
62 return *this;
63 }
65
67
71 inline const Aws::Vector<Aws::String>& GetCustomDataIdentifierIds() const { return m_customDataIdentifierIds; }
72 inline bool CustomDataIdentifierIdsHasBeenSet() const { return m_customDataIdentifierIdsHasBeenSet; }
73 template <typename CustomDataIdentifierIdsT = Aws::Vector<Aws::String>>
74 void SetCustomDataIdentifierIds(CustomDataIdentifierIdsT&& value) {
75 m_customDataIdentifierIdsHasBeenSet = true;
76 m_customDataIdentifierIds = std::forward<CustomDataIdentifierIdsT>(value);
77 }
78 template <typename CustomDataIdentifierIdsT = Aws::Vector<Aws::String>>
80 SetCustomDataIdentifierIds(std::forward<CustomDataIdentifierIdsT>(value));
81 return *this;
82 }
83 template <typename CustomDataIdentifierIdsT = Aws::String>
85 m_customDataIdentifierIdsHasBeenSet = true;
86 m_customDataIdentifierIds.emplace_back(std::forward<CustomDataIdentifierIdsT>(value));
87 return *this;
88 }
90
92
100 inline const Aws::Vector<Aws::String>& GetManagedDataIdentifierIds() const { return m_managedDataIdentifierIds; }
101 inline bool ManagedDataIdentifierIdsHasBeenSet() const { return m_managedDataIdentifierIdsHasBeenSet; }
102 template <typename ManagedDataIdentifierIdsT = Aws::Vector<Aws::String>>
103 void SetManagedDataIdentifierIds(ManagedDataIdentifierIdsT&& value) {
104 m_managedDataIdentifierIdsHasBeenSet = true;
105 m_managedDataIdentifierIds = std::forward<ManagedDataIdentifierIdsT>(value);
106 }
107 template <typename ManagedDataIdentifierIdsT = Aws::Vector<Aws::String>>
109 SetManagedDataIdentifierIds(std::forward<ManagedDataIdentifierIdsT>(value));
110 return *this;
111 }
112 template <typename ManagedDataIdentifierIdsT = Aws::String>
114 m_managedDataIdentifierIdsHasBeenSet = true;
115 m_managedDataIdentifierIds.emplace_back(std::forward<ManagedDataIdentifierIdsT>(value));
116 return *this;
117 }
119 private:
120 Aws::Vector<Aws::String> m_allowListIds;
121
122 Aws::Vector<Aws::String> m_customDataIdentifierIds;
123
124 Aws::Vector<Aws::String> m_managedDataIdentifierIds;
125 bool m_allowListIdsHasBeenSet = false;
126 bool m_customDataIdentifierIdsHasBeenSet = false;
127 bool m_managedDataIdentifierIdsHasBeenSet = false;
128};
129
130} // namespace Model
131} // namespace Macie2
132} // namespace Aws
SensitivityInspectionTemplateIncludes & AddManagedDataIdentifierIds(ManagedDataIdentifierIdsT &&value)
SensitivityInspectionTemplateIncludes & WithCustomDataIdentifierIds(CustomDataIdentifierIdsT &&value)
SensitivityInspectionTemplateIncludes & AddAllowListIds(AllowListIdsT &&value)
SensitivityInspectionTemplateIncludes & AddCustomDataIdentifierIds(CustomDataIdentifierIdsT &&value)
AWS_MACIE2_API SensitivityInspectionTemplateIncludes & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MACIE2_API SensitivityInspectionTemplateIncludes(Aws::Utils::Json::JsonView jsonValue)
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
SensitivityInspectionTemplateIncludes & WithManagedDataIdentifierIds(ManagedDataIdentifierIdsT &&value)
SensitivityInspectionTemplateIncludes & WithAllowListIds(AllowListIdsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue