AWS SDK for C++

AWS SDK for C++ Version 1.11.943

Loading...
Searching...
No Matches
ImportOntologyTaskConfiguration.h
1
6#pragma once
7#include <aws/context/Context_EXPORTS.h>
8#include <aws/context/model/OntologyReference.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/crt/cbor/Cbor.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Cbor {
17class CborValue;
18} // namespace Cbor
19} // namespace Utils
20namespace Context {
21namespace Model {
22
30 public:
31 AWS_CONTEXT_API ImportOntologyTaskConfiguration() = default;
32 AWS_CONTEXT_API ImportOntologyTaskConfiguration(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_CONTEXT_API ImportOntologyTaskConfiguration& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
34 AWS_CONTEXT_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
35
37
40 inline const Aws::Vector<OntologyReference>& GetOntologies() const { return m_ontologies; }
41 inline bool OntologiesHasBeenSet() const { return m_ontologiesHasBeenSet; }
42 template <typename OntologiesT = Aws::Vector<OntologyReference>>
43 void SetOntologies(OntologiesT&& value) {
44 m_ontologiesHasBeenSet = true;
45 m_ontologies = std::forward<OntologiesT>(value);
46 }
47 template <typename OntologiesT = Aws::Vector<OntologyReference>>
49 SetOntologies(std::forward<OntologiesT>(value));
50 return *this;
51 }
52 template <typename OntologiesT = OntologyReference>
54 m_ontologiesHasBeenSet = true;
55 m_ontologies.emplace_back(std::forward<OntologiesT>(value));
56 return *this;
57 }
59 private:
61 bool m_ontologiesHasBeenSet = false;
62};
63
64} // namespace Model
65} // namespace Context
66} // namespace Aws
AWS_CONTEXT_API ImportOntologyTaskConfiguration()=default
const Aws::Vector< OntologyReference > & GetOntologies() const
ImportOntologyTaskConfiguration & WithOntologies(OntologiesT &&value)
AWS_CONTEXT_API ImportOntologyTaskConfiguration & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_CONTEXT_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_CONTEXT_API ImportOntologyTaskConfiguration(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
ImportOntologyTaskConfiguration & AddOntologies(OntologiesT &&value)
std::vector< T, Aws::Allocator< T > > Vector