AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
GeneralLabelsSettings.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/rekognition/Rekognition_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Rekognition {
21namespace Model {
22
34 public:
35 AWS_REKOGNITION_API GeneralLabelsSettings() = default;
36 AWS_REKOGNITION_API GeneralLabelsSettings(Aws::Utils::Json::JsonView jsonValue);
38 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
44 inline const Aws::Vector<Aws::String>& GetLabelInclusionFilters() const { return m_labelInclusionFilters; }
45 inline bool LabelInclusionFiltersHasBeenSet() const { return m_labelInclusionFiltersHasBeenSet; }
46 template <typename LabelInclusionFiltersT = Aws::Vector<Aws::String>>
47 void SetLabelInclusionFilters(LabelInclusionFiltersT&& value) {
48 m_labelInclusionFiltersHasBeenSet = true;
49 m_labelInclusionFilters = std::forward<LabelInclusionFiltersT>(value);
50 }
51 template <typename LabelInclusionFiltersT = Aws::Vector<Aws::String>>
52 GeneralLabelsSettings& WithLabelInclusionFilters(LabelInclusionFiltersT&& value) {
53 SetLabelInclusionFilters(std::forward<LabelInclusionFiltersT>(value));
54 return *this;
55 }
56 template <typename LabelInclusionFiltersT = Aws::String>
57 GeneralLabelsSettings& AddLabelInclusionFilters(LabelInclusionFiltersT&& value) {
58 m_labelInclusionFiltersHasBeenSet = true;
59 m_labelInclusionFilters.emplace_back(std::forward<LabelInclusionFiltersT>(value));
60 return *this;
61 }
63
65
68 inline const Aws::Vector<Aws::String>& GetLabelExclusionFilters() const { return m_labelExclusionFilters; }
69 inline bool LabelExclusionFiltersHasBeenSet() const { return m_labelExclusionFiltersHasBeenSet; }
70 template <typename LabelExclusionFiltersT = Aws::Vector<Aws::String>>
71 void SetLabelExclusionFilters(LabelExclusionFiltersT&& value) {
72 m_labelExclusionFiltersHasBeenSet = true;
73 m_labelExclusionFilters = std::forward<LabelExclusionFiltersT>(value);
74 }
75 template <typename LabelExclusionFiltersT = Aws::Vector<Aws::String>>
76 GeneralLabelsSettings& WithLabelExclusionFilters(LabelExclusionFiltersT&& value) {
77 SetLabelExclusionFilters(std::forward<LabelExclusionFiltersT>(value));
78 return *this;
79 }
80 template <typename LabelExclusionFiltersT = Aws::String>
81 GeneralLabelsSettings& AddLabelExclusionFilters(LabelExclusionFiltersT&& value) {
82 m_labelExclusionFiltersHasBeenSet = true;
83 m_labelExclusionFilters.emplace_back(std::forward<LabelExclusionFiltersT>(value));
84 return *this;
85 }
87
89
93 inline const Aws::Vector<Aws::String>& GetLabelCategoryInclusionFilters() const { return m_labelCategoryInclusionFilters; }
94 inline bool LabelCategoryInclusionFiltersHasBeenSet() const { return m_labelCategoryInclusionFiltersHasBeenSet; }
95 template <typename LabelCategoryInclusionFiltersT = Aws::Vector<Aws::String>>
96 void SetLabelCategoryInclusionFilters(LabelCategoryInclusionFiltersT&& value) {
97 m_labelCategoryInclusionFiltersHasBeenSet = true;
98 m_labelCategoryInclusionFilters = std::forward<LabelCategoryInclusionFiltersT>(value);
99 }
100 template <typename LabelCategoryInclusionFiltersT = Aws::Vector<Aws::String>>
101 GeneralLabelsSettings& WithLabelCategoryInclusionFilters(LabelCategoryInclusionFiltersT&& value) {
102 SetLabelCategoryInclusionFilters(std::forward<LabelCategoryInclusionFiltersT>(value));
103 return *this;
104 }
105 template <typename LabelCategoryInclusionFiltersT = Aws::String>
106 GeneralLabelsSettings& AddLabelCategoryInclusionFilters(LabelCategoryInclusionFiltersT&& value) {
107 m_labelCategoryInclusionFiltersHasBeenSet = true;
108 m_labelCategoryInclusionFilters.emplace_back(std::forward<LabelCategoryInclusionFiltersT>(value));
109 return *this;
110 }
112
114
118 inline const Aws::Vector<Aws::String>& GetLabelCategoryExclusionFilters() const { return m_labelCategoryExclusionFilters; }
119 inline bool LabelCategoryExclusionFiltersHasBeenSet() const { return m_labelCategoryExclusionFiltersHasBeenSet; }
120 template <typename LabelCategoryExclusionFiltersT = Aws::Vector<Aws::String>>
121 void SetLabelCategoryExclusionFilters(LabelCategoryExclusionFiltersT&& value) {
122 m_labelCategoryExclusionFiltersHasBeenSet = true;
123 m_labelCategoryExclusionFilters = std::forward<LabelCategoryExclusionFiltersT>(value);
124 }
125 template <typename LabelCategoryExclusionFiltersT = Aws::Vector<Aws::String>>
126 GeneralLabelsSettings& WithLabelCategoryExclusionFilters(LabelCategoryExclusionFiltersT&& value) {
127 SetLabelCategoryExclusionFilters(std::forward<LabelCategoryExclusionFiltersT>(value));
128 return *this;
129 }
130 template <typename LabelCategoryExclusionFiltersT = Aws::String>
131 GeneralLabelsSettings& AddLabelCategoryExclusionFilters(LabelCategoryExclusionFiltersT&& value) {
132 m_labelCategoryExclusionFiltersHasBeenSet = true;
133 m_labelCategoryExclusionFilters.emplace_back(std::forward<LabelCategoryExclusionFiltersT>(value));
134 return *this;
135 }
137 private:
138 Aws::Vector<Aws::String> m_labelInclusionFilters;
139
140 Aws::Vector<Aws::String> m_labelExclusionFilters;
141
142 Aws::Vector<Aws::String> m_labelCategoryInclusionFilters;
143
144 Aws::Vector<Aws::String> m_labelCategoryExclusionFilters;
145 bool m_labelInclusionFiltersHasBeenSet = false;
146 bool m_labelExclusionFiltersHasBeenSet = false;
147 bool m_labelCategoryInclusionFiltersHasBeenSet = false;
148 bool m_labelCategoryExclusionFiltersHasBeenSet = false;
149};
150
151} // namespace Model
152} // namespace Rekognition
153} // namespace Aws
void SetLabelExclusionFilters(LabelExclusionFiltersT &&value)
void SetLabelInclusionFilters(LabelInclusionFiltersT &&value)
GeneralLabelsSettings & AddLabelExclusionFilters(LabelExclusionFiltersT &&value)
GeneralLabelsSettings & AddLabelCategoryExclusionFilters(LabelCategoryExclusionFiltersT &&value)
AWS_REKOGNITION_API GeneralLabelsSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
GeneralLabelsSettings & AddLabelCategoryInclusionFilters(LabelCategoryInclusionFiltersT &&value)
const Aws::Vector< Aws::String > & GetLabelCategoryInclusionFilters() const
GeneralLabelsSettings & WithLabelCategoryInclusionFilters(LabelCategoryInclusionFiltersT &&value)
void SetLabelCategoryInclusionFilters(LabelCategoryInclusionFiltersT &&value)
GeneralLabelsSettings & WithLabelCategoryExclusionFilters(LabelCategoryExclusionFiltersT &&value)
AWS_REKOGNITION_API GeneralLabelsSettings()=default
GeneralLabelsSettings & WithLabelExclusionFilters(LabelExclusionFiltersT &&value)
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::String > & GetLabelInclusionFilters() const
const Aws::Vector< Aws::String > & GetLabelExclusionFilters() const
AWS_REKOGNITION_API GeneralLabelsSettings(Aws::Utils::Json::JsonView jsonValue)
GeneralLabelsSettings & WithLabelInclusionFilters(LabelInclusionFiltersT &&value)
void SetLabelCategoryExclusionFilters(LabelCategoryExclusionFiltersT &&value)
GeneralLabelsSettings & AddLabelInclusionFilters(LabelInclusionFiltersT &&value)
const Aws::Vector< Aws::String > & GetLabelCategoryExclusionFilters() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue