AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetEntityTypes(const Aws::Vector<Aws::String>& value) { m_entityTypesHasBeenSet = true; m_entityTypes = value; }
61 inline void SetEntityTypes(Aws::Vector<Aws::String>&& value) { m_entityTypesHasBeenSet = true; m_entityTypes = std::move(value); }
63 inline EntityDetectorConfiguration& WithEntityTypes(Aws::Vector<Aws::String>&& value) { SetEntityTypes(std::move(value)); return *this;}
64 inline EntityDetectorConfiguration& AddEntityTypes(const Aws::String& value) { m_entityTypesHasBeenSet = true; m_entityTypes.push_back(value); return *this; }
65 inline EntityDetectorConfiguration& AddEntityTypes(Aws::String&& value) { m_entityTypesHasBeenSet = true; m_entityTypes.push_back(std::move(value)); return *this; }
66 inline EntityDetectorConfiguration& AddEntityTypes(const char* value) { m_entityTypesHasBeenSet = true; m_entityTypes.push_back(value); return *this; }
68
70
75 inline const Aws::Vector<AllowedStatistics>& GetAllowedStatistics() const{ return m_allowedStatistics; }
76 inline bool AllowedStatisticsHasBeenSet() const { return m_allowedStatisticsHasBeenSet; }
77 inline void SetAllowedStatistics(const Aws::Vector<AllowedStatistics>& value) { m_allowedStatisticsHasBeenSet = true; m_allowedStatistics = value; }
78 inline void SetAllowedStatistics(Aws::Vector<AllowedStatistics>&& value) { m_allowedStatisticsHasBeenSet = true; m_allowedStatistics = std::move(value); }
81 inline EntityDetectorConfiguration& AddAllowedStatistics(const AllowedStatistics& value) { m_allowedStatisticsHasBeenSet = true; m_allowedStatistics.push_back(value); return *this; }
82 inline EntityDetectorConfiguration& AddAllowedStatistics(AllowedStatistics&& value) { m_allowedStatisticsHasBeenSet = true; m_allowedStatistics.push_back(std::move(value)); return *this; }
84 private:
85
86 Aws::Vector<Aws::String> m_entityTypes;
87 bool m_entityTypesHasBeenSet = false;
88
89 Aws::Vector<AllowedStatistics> m_allowedStatistics;
90 bool m_allowedStatisticsHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace GlueDataBrew
95} // namespace Aws
EntityDetectorConfiguration & AddAllowedStatistics(AllowedStatistics &&value)
AWS_GLUEDATABREW_API EntityDetectorConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
EntityDetectorConfiguration & WithAllowedStatistics(const Aws::Vector< AllowedStatistics > &value)
EntityDetectorConfiguration & AddEntityTypes(Aws::String &&value)
EntityDetectorConfiguration & AddAllowedStatistics(const AllowedStatistics &value)
EntityDetectorConfiguration & WithEntityTypes(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetEntityTypes() const
const Aws::Vector< AllowedStatistics > & GetAllowedStatistics() const
AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const
EntityDetectorConfiguration & WithAllowedStatistics(Aws::Vector< AllowedStatistics > &&value)
void SetEntityTypes(const Aws::Vector< Aws::String > &value)
void SetAllowedStatistics(const Aws::Vector< AllowedStatistics > &value)
AWS_GLUEDATABREW_API EntityDetectorConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetAllowedStatistics(Aws::Vector< AllowedStatistics > &&value)
EntityDetectorConfiguration & WithEntityTypes(const Aws::Vector< Aws::String > &value)
EntityDetectorConfiguration & AddEntityTypes(const char *value)
EntityDetectorConfiguration & AddEntityTypes(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue