AWS SDK for C++

AWS SDK for C++ Version 1.11.943

Loading...
Searching...
No Matches
OntologyInductionInputConfigSummary.h
1
6#pragma once
7#include <aws/context/Context_EXPORTS.h>
8#include <aws/context/model/OntologyInductionDocumentSummary.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 OntologyInductionInputConfigSummary() = default;
32 AWS_CONTEXT_API OntologyInductionInputConfigSummary(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_CONTEXT_API OntologyInductionInputConfigSummary& 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<OntologyInductionDocumentSummary>& GetDocuments() const { return m_documents; }
41 inline bool DocumentsHasBeenSet() const { return m_documentsHasBeenSet; }
42 template <typename DocumentsT = Aws::Vector<OntologyInductionDocumentSummary>>
43 void SetDocuments(DocumentsT&& value) {
44 m_documentsHasBeenSet = true;
45 m_documents = std::forward<DocumentsT>(value);
46 }
47 template <typename DocumentsT = Aws::Vector<OntologyInductionDocumentSummary>>
49 SetDocuments(std::forward<DocumentsT>(value));
50 return *this;
51 }
52 template <typename DocumentsT = OntologyInductionDocumentSummary>
54 m_documentsHasBeenSet = true;
55 m_documents.emplace_back(std::forward<DocumentsT>(value));
56 return *this;
57 }
59 private:
61 bool m_documentsHasBeenSet = false;
62};
63
64} // namespace Model
65} // namespace Context
66} // namespace Aws
OntologyInductionInputConfigSummary & AddDocuments(DocumentsT &&value)
AWS_CONTEXT_API OntologyInductionInputConfigSummary(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
OntologyInductionInputConfigSummary & WithDocuments(DocumentsT &&value)
AWS_CONTEXT_API OntologyInductionInputConfigSummary & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
const Aws::Vector< OntologyInductionDocumentSummary > & GetDocuments() const
AWS_CONTEXT_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
std::vector< T, Aws::Allocator< T > > Vector