AWS SDK for C++

AWS SDK for C++ Version 1.11.766

Loading...
Searching...
No Matches
EntityPattern.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/datazone/DataZone_EXPORTS.h>
9#include <aws/datazone/model/FilterClause.h>
10#include <aws/datazone/model/GraphEntityType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace DataZone {
22namespace Model {
23
31 public:
32 AWS_DATAZONE_API EntityPattern() = default;
33 AWS_DATAZONE_API EntityPattern(Aws::Utils::Json::JsonView jsonValue);
35 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline GraphEntityType GetEntityType() const { return m_entityType; }
42 inline bool EntityTypeHasBeenSet() const { return m_entityTypeHasBeenSet; }
43 inline void SetEntityType(GraphEntityType value) {
44 m_entityTypeHasBeenSet = true;
45 m_entityType = value;
46 }
48 SetEntityType(value);
49 return *this;
50 }
52
54
58 inline const Aws::String& GetIdentifier() const { return m_identifier; }
59 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
60 template <typename IdentifierT = Aws::String>
61 void SetIdentifier(IdentifierT&& value) {
62 m_identifierHasBeenSet = true;
63 m_identifier = std::forward<IdentifierT>(value);
64 }
65 template <typename IdentifierT = Aws::String>
66 EntityPattern& WithIdentifier(IdentifierT&& value) {
67 SetIdentifier(std::forward<IdentifierT>(value));
68 return *this;
69 }
71
73
74 inline const FilterClause& GetFilters() const { return m_filters; }
75 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
76 template <typename FiltersT = FilterClause>
77 void SetFilters(FiltersT&& value) {
78 m_filtersHasBeenSet = true;
79 m_filters = std::forward<FiltersT>(value);
80 }
81 template <typename FiltersT = FilterClause>
82 EntityPattern& WithFilters(FiltersT&& value) {
83 SetFilters(std::forward<FiltersT>(value));
84 return *this;
85 }
87 private:
89
90 Aws::String m_identifier;
91
92 FilterClause m_filters;
93 bool m_entityTypeHasBeenSet = false;
94 bool m_identifierHasBeenSet = false;
95 bool m_filtersHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace DataZone
100} // namespace Aws
const FilterClause & GetFilters() const
AWS_DATAZONE_API EntityPattern()=default
GraphEntityType GetEntityType() const
AWS_DATAZONE_API EntityPattern(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetIdentifier(IdentifierT &&value)
const Aws::String & GetIdentifier() const
void SetFilters(FiltersT &&value)
EntityPattern & WithEntityType(GraphEntityType value)
EntityPattern & WithIdentifier(IdentifierT &&value)
AWS_DATAZONE_API EntityPattern & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetEntityType(GraphEntityType value)
EntityPattern & WithFilters(FiltersT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue