AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetLabelInclusionFilters(const Aws::Vector<Aws::String>& value) { m_labelInclusionFiltersHasBeenSet = true; m_labelInclusionFilters = value; }
53 inline void SetLabelInclusionFilters(Aws::Vector<Aws::String>&& value) { m_labelInclusionFiltersHasBeenSet = true; m_labelInclusionFilters = std::move(value); }
56 inline GeneralLabelsSettings& AddLabelInclusionFilters(const Aws::String& value) { m_labelInclusionFiltersHasBeenSet = true; m_labelInclusionFilters.push_back(value); return *this; }
57 inline GeneralLabelsSettings& AddLabelInclusionFilters(Aws::String&& value) { m_labelInclusionFiltersHasBeenSet = true; m_labelInclusionFilters.push_back(std::move(value)); return *this; }
58 inline GeneralLabelsSettings& AddLabelInclusionFilters(const char* value) { m_labelInclusionFiltersHasBeenSet = true; m_labelInclusionFilters.push_back(value); return *this; }
60
62
65 inline const Aws::Vector<Aws::String>& GetLabelExclusionFilters() const{ return m_labelExclusionFilters; }
66 inline bool LabelExclusionFiltersHasBeenSet() const { return m_labelExclusionFiltersHasBeenSet; }
67 inline void SetLabelExclusionFilters(const Aws::Vector<Aws::String>& value) { m_labelExclusionFiltersHasBeenSet = true; m_labelExclusionFilters = value; }
68 inline void SetLabelExclusionFilters(Aws::Vector<Aws::String>&& value) { m_labelExclusionFiltersHasBeenSet = true; m_labelExclusionFilters = std::move(value); }
71 inline GeneralLabelsSettings& AddLabelExclusionFilters(const Aws::String& value) { m_labelExclusionFiltersHasBeenSet = true; m_labelExclusionFilters.push_back(value); return *this; }
72 inline GeneralLabelsSettings& AddLabelExclusionFilters(Aws::String&& value) { m_labelExclusionFiltersHasBeenSet = true; m_labelExclusionFilters.push_back(std::move(value)); return *this; }
73 inline GeneralLabelsSettings& AddLabelExclusionFilters(const char* value) { m_labelExclusionFiltersHasBeenSet = true; m_labelExclusionFilters.push_back(value); return *this; }
75
77
81 inline const Aws::Vector<Aws::String>& GetLabelCategoryInclusionFilters() const{ return m_labelCategoryInclusionFilters; }
82 inline bool LabelCategoryInclusionFiltersHasBeenSet() const { return m_labelCategoryInclusionFiltersHasBeenSet; }
83 inline void SetLabelCategoryInclusionFilters(const Aws::Vector<Aws::String>& value) { m_labelCategoryInclusionFiltersHasBeenSet = true; m_labelCategoryInclusionFilters = value; }
84 inline void SetLabelCategoryInclusionFilters(Aws::Vector<Aws::String>&& value) { m_labelCategoryInclusionFiltersHasBeenSet = true; m_labelCategoryInclusionFilters = std::move(value); }
87 inline GeneralLabelsSettings& AddLabelCategoryInclusionFilters(const Aws::String& value) { m_labelCategoryInclusionFiltersHasBeenSet = true; m_labelCategoryInclusionFilters.push_back(value); return *this; }
88 inline GeneralLabelsSettings& AddLabelCategoryInclusionFilters(Aws::String&& value) { m_labelCategoryInclusionFiltersHasBeenSet = true; m_labelCategoryInclusionFilters.push_back(std::move(value)); return *this; }
89 inline GeneralLabelsSettings& AddLabelCategoryInclusionFilters(const char* value) { m_labelCategoryInclusionFiltersHasBeenSet = true; m_labelCategoryInclusionFilters.push_back(value); return *this; }
91
93
97 inline const Aws::Vector<Aws::String>& GetLabelCategoryExclusionFilters() const{ return m_labelCategoryExclusionFilters; }
98 inline bool LabelCategoryExclusionFiltersHasBeenSet() const { return m_labelCategoryExclusionFiltersHasBeenSet; }
99 inline void SetLabelCategoryExclusionFilters(const Aws::Vector<Aws::String>& value) { m_labelCategoryExclusionFiltersHasBeenSet = true; m_labelCategoryExclusionFilters = value; }
100 inline void SetLabelCategoryExclusionFilters(Aws::Vector<Aws::String>&& value) { m_labelCategoryExclusionFiltersHasBeenSet = true; m_labelCategoryExclusionFilters = std::move(value); }
103 inline GeneralLabelsSettings& AddLabelCategoryExclusionFilters(const Aws::String& value) { m_labelCategoryExclusionFiltersHasBeenSet = true; m_labelCategoryExclusionFilters.push_back(value); return *this; }
104 inline GeneralLabelsSettings& AddLabelCategoryExclusionFilters(Aws::String&& value) { m_labelCategoryExclusionFiltersHasBeenSet = true; m_labelCategoryExclusionFilters.push_back(std::move(value)); return *this; }
105 inline GeneralLabelsSettings& AddLabelCategoryExclusionFilters(const char* value) { m_labelCategoryExclusionFiltersHasBeenSet = true; m_labelCategoryExclusionFilters.push_back(value); return *this; }
107 private:
108
109 Aws::Vector<Aws::String> m_labelInclusionFilters;
110 bool m_labelInclusionFiltersHasBeenSet = false;
111
112 Aws::Vector<Aws::String> m_labelExclusionFilters;
113 bool m_labelExclusionFiltersHasBeenSet = false;
114
115 Aws::Vector<Aws::String> m_labelCategoryInclusionFilters;
116 bool m_labelCategoryInclusionFiltersHasBeenSet = false;
117
118 Aws::Vector<Aws::String> m_labelCategoryExclusionFilters;
119 bool m_labelCategoryExclusionFiltersHasBeenSet = false;
120 };
121
122} // namespace Model
123} // namespace Rekognition
124} // namespace Aws
GeneralLabelsSettings & WithLabelCategoryExclusionFilters(const Aws::Vector< Aws::String > &value)
GeneralLabelsSettings & AddLabelCategoryExclusionFilters(const char *value)
void SetLabelCategoryInclusionFilters(Aws::Vector< Aws::String > &&value)
GeneralLabelsSettings & WithLabelCategoryExclusionFilters(Aws::Vector< Aws::String > &&value)
GeneralLabelsSettings & WithLabelExclusionFilters(Aws::Vector< Aws::String > &&value)
GeneralLabelsSettings & AddLabelCategoryInclusionFilters(const Aws::String &value)
GeneralLabelsSettings & WithLabelExclusionFilters(const Aws::Vector< Aws::String > &value)
void SetLabelCategoryInclusionFilters(const Aws::Vector< Aws::String > &value)
GeneralLabelsSettings & WithLabelCategoryInclusionFilters(Aws::Vector< Aws::String > &&value)
void SetLabelExclusionFilters(const Aws::Vector< Aws::String > &value)
GeneralLabelsSettings & WithLabelCategoryInclusionFilters(const Aws::Vector< Aws::String > &value)
AWS_REKOGNITION_API GeneralLabelsSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
GeneralLabelsSettings & WithLabelInclusionFilters(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetLabelCategoryInclusionFilters() const
GeneralLabelsSettings & AddLabelExclusionFilters(const Aws::String &value)
GeneralLabelsSettings & AddLabelCategoryExclusionFilters(Aws::String &&value)
void SetLabelCategoryExclusionFilters(Aws::Vector< Aws::String > &&value)
GeneralLabelsSettings & AddLabelExclusionFilters(Aws::String &&value)
void SetLabelCategoryExclusionFilters(const Aws::Vector< Aws::String > &value)
GeneralLabelsSettings & AddLabelInclusionFilters(Aws::String &&value)
GeneralLabelsSettings & AddLabelInclusionFilters(const char *value)
GeneralLabelsSettings & AddLabelCategoryInclusionFilters(Aws::String &&value)
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
GeneralLabelsSettings & AddLabelExclusionFilters(const char *value)
const Aws::Vector< Aws::String > & GetLabelInclusionFilters() const
GeneralLabelsSettings & AddLabelCategoryExclusionFilters(const Aws::String &value)
void SetLabelInclusionFilters(const Aws::Vector< Aws::String > &value)
GeneralLabelsSettings & WithLabelInclusionFilters(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetLabelExclusionFilters() const
GeneralLabelsSettings & AddLabelInclusionFilters(const Aws::String &value)
void SetLabelExclusionFilters(Aws::Vector< Aws::String > &&value)
void SetLabelInclusionFilters(Aws::Vector< Aws::String > &&value)
AWS_REKOGNITION_API GeneralLabelsSettings(Aws::Utils::Json::JsonView jsonValue)
GeneralLabelsSettings & AddLabelCategoryInclusionFilters(const char *value)
const Aws::Vector< Aws::String > & GetLabelCategoryExclusionFilters() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue