7#include <aws/context/Context_EXPORTS.h>
8#include <aws/context/model/ConnectionType.h>
9#include <aws/context/model/DataFilter.h>
10#include <aws/context/model/OntologyMapping.h>
11#include <aws/context/model/PathSegment.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/crt/cbor/Cbor.h>
38 AWS_CONTEXT_API
ConnectionMapping(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
40 AWS_CONTEXT_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
50 template <
typename ConnectionIdT = Aws::String>
52 m_connectionIdHasBeenSet =
true;
53 m_connectionId = std::forward<ConnectionIdT>(value);
55 template <
typename ConnectionIdT = Aws::String>
75 template <
typename OntologyMappingsT = Aws::Vector<OntologyMapping>>
77 m_ontologyMappingsHasBeenSet =
true;
78 m_ontologyMappings = std::forward<OntologyMappingsT>(value);
80 template <
typename OntologyMappingsT = Aws::Vector<OntologyMapping>>
85 template <
typename OntologyMappingsT = OntologyMapping>
87 m_ontologyMappingsHasBeenSet =
true;
88 m_ontologyMappings.emplace_back(std::forward<OntologyMappingsT>(value));
101 template <
typename DataFilterT = DataFilter>
103 m_dataFilterHasBeenSet =
true;
104 m_dataFilter = std::forward<DataFilterT>(value);
106 template <
typename DataFilterT = DataFilter>
120 template <
typename ExtractionDepthT = Aws::String>
122 m_extractionDepthHasBeenSet =
true;
123 m_extractionDepth = std::forward<ExtractionDepthT>(value);
125 template <
typename ExtractionDepthT = Aws::String>
154 template <
typename PathSegmentsT = Aws::Vector<PathSegment>>
156 m_pathSegmentsHasBeenSet =
true;
157 m_pathSegments = std::forward<PathSegmentsT>(value);
159 template <
typename PathSegmentsT = Aws::Vector<PathSegment>>
164 template <
typename PathSegmentsT = PathSegment>
166 m_pathSegmentsHasBeenSet =
true;
167 m_pathSegments.emplace_back(std::forward<PathSegmentsT>(value));
186 m_typeHasBeenSet =
true;
206 bool m_connectionIdHasBeenSet =
false;
207 bool m_ontologyMappingsHasBeenSet =
false;
208 bool m_dataFilterHasBeenSet =
false;
209 bool m_extractionDepthHasBeenSet =
false;
210 bool m_pathSegmentsHasBeenSet =
false;
211 bool m_typeHasBeenSet =
false;
AWS_CONTEXT_API ConnectionMapping()=default
void SetExtractionDepth(ExtractionDepthT &&value)
const Aws::String & GetExtractionDepth() const
AWS_CONTEXT_API ConnectionMapping(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
ConnectionMapping & WithPathSegments(PathSegmentsT &&value)
AWS_CONTEXT_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
bool ConnectionIdHasBeenSet() const
bool TypeHasBeenSet() const
void SetPathSegments(PathSegmentsT &&value)
AWS_CONTEXT_API ConnectionMapping & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
const Aws::Vector< OntologyMapping > & GetOntologyMappings() const
const DataFilter & GetDataFilter() const
ConnectionMapping & WithDataFilter(DataFilterT &&value)
bool ExtractionDepthHasBeenSet() const
const Aws::String & GetConnectionId() const
ConnectionType GetType() const
void SetConnectionId(ConnectionIdT &&value)
void SetDataFilter(DataFilterT &&value)
ConnectionMapping & WithConnectionId(ConnectionIdT &&value)
ConnectionMapping & AddOntologyMappings(OntologyMappingsT &&value)
ConnectionMapping & WithExtractionDepth(ExtractionDepthT &&value)
bool PathSegmentsHasBeenSet() const
void SetType(ConnectionType value)
ConnectionMapping & WithType(ConnectionType value)
bool OntologyMappingsHasBeenSet() const
bool DataFilterHasBeenSet() const
ConnectionMapping & WithOntologyMappings(OntologyMappingsT &&value)
const Aws::Vector< PathSegment > & GetPathSegments() const
void SetOntologyMappings(OntologyMappingsT &&value)
ConnectionMapping & AddPathSegments(PathSegmentsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector