AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
GeneralLabelsSettings.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Rekognition
23{
24namespace Model
25{
26
38 {
39 public:
40 AWS_REKOGNITION_API GeneralLabelsSettings() = default;
41 AWS_REKOGNITION_API GeneralLabelsSettings(Aws::Utils::Json::JsonView jsonValue);
43 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::Vector<Aws::String>& GetLabelInclusionFilters() const { return m_labelInclusionFilters; }
51 inline bool LabelInclusionFiltersHasBeenSet() const { return m_labelInclusionFiltersHasBeenSet; }
52 template<typename LabelInclusionFiltersT = Aws::Vector<Aws::String>>
53 void SetLabelInclusionFilters(LabelInclusionFiltersT&& value) { m_labelInclusionFiltersHasBeenSet = true; m_labelInclusionFilters = std::forward<LabelInclusionFiltersT>(value); }
54 template<typename LabelInclusionFiltersT = Aws::Vector<Aws::String>>
55 GeneralLabelsSettings& WithLabelInclusionFilters(LabelInclusionFiltersT&& value) { SetLabelInclusionFilters(std::forward<LabelInclusionFiltersT>(value)); return *this;}
56 template<typename LabelInclusionFiltersT = Aws::String>
57 GeneralLabelsSettings& AddLabelInclusionFilters(LabelInclusionFiltersT&& value) { m_labelInclusionFiltersHasBeenSet = true; m_labelInclusionFilters.emplace_back(std::forward<LabelInclusionFiltersT>(value)); return *this; }
59
61
64 inline const Aws::Vector<Aws::String>& GetLabelExclusionFilters() const { return m_labelExclusionFilters; }
65 inline bool LabelExclusionFiltersHasBeenSet() const { return m_labelExclusionFiltersHasBeenSet; }
66 template<typename LabelExclusionFiltersT = Aws::Vector<Aws::String>>
67 void SetLabelExclusionFilters(LabelExclusionFiltersT&& value) { m_labelExclusionFiltersHasBeenSet = true; m_labelExclusionFilters = std::forward<LabelExclusionFiltersT>(value); }
68 template<typename LabelExclusionFiltersT = Aws::Vector<Aws::String>>
69 GeneralLabelsSettings& WithLabelExclusionFilters(LabelExclusionFiltersT&& value) { SetLabelExclusionFilters(std::forward<LabelExclusionFiltersT>(value)); return *this;}
70 template<typename LabelExclusionFiltersT = Aws::String>
71 GeneralLabelsSettings& AddLabelExclusionFilters(LabelExclusionFiltersT&& value) { m_labelExclusionFiltersHasBeenSet = true; m_labelExclusionFilters.emplace_back(std::forward<LabelExclusionFiltersT>(value)); return *this; }
73
75
79 inline const Aws::Vector<Aws::String>& GetLabelCategoryInclusionFilters() const { return m_labelCategoryInclusionFilters; }
80 inline bool LabelCategoryInclusionFiltersHasBeenSet() const { return m_labelCategoryInclusionFiltersHasBeenSet; }
81 template<typename LabelCategoryInclusionFiltersT = Aws::Vector<Aws::String>>
82 void SetLabelCategoryInclusionFilters(LabelCategoryInclusionFiltersT&& value) { m_labelCategoryInclusionFiltersHasBeenSet = true; m_labelCategoryInclusionFilters = std::forward<LabelCategoryInclusionFiltersT>(value); }
83 template<typename LabelCategoryInclusionFiltersT = Aws::Vector<Aws::String>>
84 GeneralLabelsSettings& WithLabelCategoryInclusionFilters(LabelCategoryInclusionFiltersT&& value) { SetLabelCategoryInclusionFilters(std::forward<LabelCategoryInclusionFiltersT>(value)); return *this;}
85 template<typename LabelCategoryInclusionFiltersT = Aws::String>
86 GeneralLabelsSettings& AddLabelCategoryInclusionFilters(LabelCategoryInclusionFiltersT&& value) { m_labelCategoryInclusionFiltersHasBeenSet = true; m_labelCategoryInclusionFilters.emplace_back(std::forward<LabelCategoryInclusionFiltersT>(value)); return *this; }
88
90
94 inline const Aws::Vector<Aws::String>& GetLabelCategoryExclusionFilters() const { return m_labelCategoryExclusionFilters; }
95 inline bool LabelCategoryExclusionFiltersHasBeenSet() const { return m_labelCategoryExclusionFiltersHasBeenSet; }
96 template<typename LabelCategoryExclusionFiltersT = Aws::Vector<Aws::String>>
97 void SetLabelCategoryExclusionFilters(LabelCategoryExclusionFiltersT&& value) { m_labelCategoryExclusionFiltersHasBeenSet = true; m_labelCategoryExclusionFilters = std::forward<LabelCategoryExclusionFiltersT>(value); }
98 template<typename LabelCategoryExclusionFiltersT = Aws::Vector<Aws::String>>
99 GeneralLabelsSettings& WithLabelCategoryExclusionFilters(LabelCategoryExclusionFiltersT&& value) { SetLabelCategoryExclusionFilters(std::forward<LabelCategoryExclusionFiltersT>(value)); return *this;}
100 template<typename LabelCategoryExclusionFiltersT = Aws::String>
101 GeneralLabelsSettings& AddLabelCategoryExclusionFilters(LabelCategoryExclusionFiltersT&& value) { m_labelCategoryExclusionFiltersHasBeenSet = true; m_labelCategoryExclusionFilters.emplace_back(std::forward<LabelCategoryExclusionFiltersT>(value)); return *this; }
103 private:
104
105 Aws::Vector<Aws::String> m_labelInclusionFilters;
106 bool m_labelInclusionFiltersHasBeenSet = false;
107
108 Aws::Vector<Aws::String> m_labelExclusionFilters;
109 bool m_labelExclusionFiltersHasBeenSet = false;
110
111 Aws::Vector<Aws::String> m_labelCategoryInclusionFilters;
112 bool m_labelCategoryInclusionFiltersHasBeenSet = false;
113
114 Aws::Vector<Aws::String> m_labelCategoryExclusionFilters;
115 bool m_labelCategoryExclusionFiltersHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace Rekognition
120} // 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