AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
EntityDetectorConfiguration.h
1
6#pragma once
7#include <aws/databrew/GlueDataBrew_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/databrew/model/AllowedStatistics.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace GlueDataBrew
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_GLUEDATABREW_API EntityDetectorConfiguration() = default;
40 AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
58 inline const Aws::Vector<Aws::String>& GetEntityTypes() const { return m_entityTypes; }
59 inline bool EntityTypesHasBeenSet() const { return m_entityTypesHasBeenSet; }
60 template<typename EntityTypesT = Aws::Vector<Aws::String>>
61 void SetEntityTypes(EntityTypesT&& value) { m_entityTypesHasBeenSet = true; m_entityTypes = std::forward<EntityTypesT>(value); }
62 template<typename EntityTypesT = Aws::Vector<Aws::String>>
63 EntityDetectorConfiguration& WithEntityTypes(EntityTypesT&& value) { SetEntityTypes(std::forward<EntityTypesT>(value)); return *this;}
64 template<typename EntityTypesT = Aws::String>
65 EntityDetectorConfiguration& AddEntityTypes(EntityTypesT&& value) { m_entityTypesHasBeenSet = true; m_entityTypes.emplace_back(std::forward<EntityTypesT>(value)); return *this; }
67
69
74 inline const Aws::Vector<AllowedStatistics>& GetAllowedStatistics() const { return m_allowedStatistics; }
75 inline bool AllowedStatisticsHasBeenSet() const { return m_allowedStatisticsHasBeenSet; }
76 template<typename AllowedStatisticsT = Aws::Vector<AllowedStatistics>>
77 void SetAllowedStatistics(AllowedStatisticsT&& value) { m_allowedStatisticsHasBeenSet = true; m_allowedStatistics = std::forward<AllowedStatisticsT>(value); }
78 template<typename AllowedStatisticsT = Aws::Vector<AllowedStatistics>>
79 EntityDetectorConfiguration& WithAllowedStatistics(AllowedStatisticsT&& value) { SetAllowedStatistics(std::forward<AllowedStatisticsT>(value)); return *this;}
80 template<typename AllowedStatisticsT = AllowedStatistics>
81 EntityDetectorConfiguration& AddAllowedStatistics(AllowedStatisticsT&& value) { m_allowedStatisticsHasBeenSet = true; m_allowedStatistics.emplace_back(std::forward<AllowedStatisticsT>(value)); return *this; }
83 private:
84
85 Aws::Vector<Aws::String> m_entityTypes;
86 bool m_entityTypesHasBeenSet = false;
87
88 Aws::Vector<AllowedStatistics> m_allowedStatistics;
89 bool m_allowedStatisticsHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace GlueDataBrew
94} // 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