AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
EntityDetectorConfiguration.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/databrew/GlueDataBrew_EXPORTS.h>
10#include <aws/databrew/model/AllowedStatistics.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace GlueDataBrew {
22namespace Model {
23
31 public:
32 AWS_GLUEDATABREW_API EntityDetectorConfiguration() = default;
35 AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
52 inline const Aws::Vector<Aws::String>& GetEntityTypes() const { return m_entityTypes; }
53 inline bool EntityTypesHasBeenSet() const { return m_entityTypesHasBeenSet; }
54 template <typename EntityTypesT = Aws::Vector<Aws::String>>
55 void SetEntityTypes(EntityTypesT&& value) {
56 m_entityTypesHasBeenSet = true;
57 m_entityTypes = std::forward<EntityTypesT>(value);
58 }
59 template <typename EntityTypesT = Aws::Vector<Aws::String>>
61 SetEntityTypes(std::forward<EntityTypesT>(value));
62 return *this;
63 }
64 template <typename EntityTypesT = Aws::String>
66 m_entityTypesHasBeenSet = true;
67 m_entityTypes.emplace_back(std::forward<EntityTypesT>(value));
68 return *this;
69 }
71
73
78 inline const Aws::Vector<AllowedStatistics>& GetAllowedStatistics() const { return m_allowedStatistics; }
79 inline bool AllowedStatisticsHasBeenSet() const { return m_allowedStatisticsHasBeenSet; }
80 template <typename AllowedStatisticsT = Aws::Vector<AllowedStatistics>>
81 void SetAllowedStatistics(AllowedStatisticsT&& value) {
82 m_allowedStatisticsHasBeenSet = true;
83 m_allowedStatistics = std::forward<AllowedStatisticsT>(value);
84 }
85 template <typename AllowedStatisticsT = Aws::Vector<AllowedStatistics>>
87 SetAllowedStatistics(std::forward<AllowedStatisticsT>(value));
88 return *this;
89 }
90 template <typename AllowedStatisticsT = AllowedStatistics>
92 m_allowedStatisticsHasBeenSet = true;
93 m_allowedStatistics.emplace_back(std::forward<AllowedStatisticsT>(value));
94 return *this;
95 }
97 private:
98 Aws::Vector<Aws::String> m_entityTypes;
99
100 Aws::Vector<AllowedStatistics> m_allowedStatistics;
101 bool m_entityTypesHasBeenSet = false;
102 bool m_allowedStatisticsHasBeenSet = false;
103};
104
105} // namespace Model
106} // namespace GlueDataBrew
107} // namespace Aws
AWS_GLUEDATABREW_API EntityDetectorConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
EntityDetectorConfiguration & AddEntityTypes(EntityTypesT &&value)
EntityDetectorConfiguration & WithEntityTypes(EntityTypesT &&value)
EntityDetectorConfiguration & WithAllowedStatistics(AllowedStatisticsT &&value)
const Aws::Vector< Aws::String > & GetEntityTypes() const
const Aws::Vector< AllowedStatistics > & GetAllowedStatistics() const
AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const
EntityDetectorConfiguration & AddAllowedStatistics(AllowedStatisticsT &&value)
AWS_GLUEDATABREW_API EntityDetectorConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUEDATABREW_API EntityDetectorConfiguration()=default
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue