AWS SDK for C++

AWS SDK for C++ Version 1.11.943

Loading...
Searching...
No Matches
OntologyReferenceSummary.h
1
6#pragma once
7#include <aws/context/Context_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/crt/cbor/Cbor.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Cbor {
16class CborValue;
17} // namespace Cbor
18} // namespace Utils
19namespace Context {
20namespace Model {
21
29 public:
30 AWS_CONTEXT_API OntologyReferenceSummary() = default;
31 AWS_CONTEXT_API OntologyReferenceSummary(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
32 AWS_CONTEXT_API OntologyReferenceSummary& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_CONTEXT_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
34
36
39 inline const Aws::String& GetOntologyArn() const { return m_ontologyArn; }
40 inline bool OntologyArnHasBeenSet() const { return m_ontologyArnHasBeenSet; }
41 template <typename OntologyArnT = Aws::String>
42 void SetOntologyArn(OntologyArnT&& value) {
43 m_ontologyArnHasBeenSet = true;
44 m_ontologyArn = std::forward<OntologyArnT>(value);
45 }
46 template <typename OntologyArnT = Aws::String>
48 SetOntologyArn(std::forward<OntologyArnT>(value));
49 return *this;
50 }
52
54
58 inline const Aws::String& GetOntologyVersion() const { return m_ontologyVersion; }
59 inline bool OntologyVersionHasBeenSet() const { return m_ontologyVersionHasBeenSet; }
60 template <typename OntologyVersionT = Aws::String>
61 void SetOntologyVersion(OntologyVersionT&& value) {
62 m_ontologyVersionHasBeenSet = true;
63 m_ontologyVersion = std::forward<OntologyVersionT>(value);
64 }
65 template <typename OntologyVersionT = Aws::String>
66 OntologyReferenceSummary& WithOntologyVersion(OntologyVersionT&& value) {
67 SetOntologyVersion(std::forward<OntologyVersionT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_ontologyArn;
73
74 Aws::String m_ontologyVersion;
75 bool m_ontologyArnHasBeenSet = false;
76 bool m_ontologyVersionHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace Context
81} // namespace Aws
AWS_CONTEXT_API OntologyReferenceSummary(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_CONTEXT_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
OntologyReferenceSummary & WithOntologyVersion(OntologyVersionT &&value)
AWS_CONTEXT_API OntologyReferenceSummary & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_CONTEXT_API OntologyReferenceSummary()=default
OntologyReferenceSummary & WithOntologyArn(OntologyArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String