AWS SDK for C++

AWS SDK for C++ Version 1.11.899

Loading...
Searching...
No Matches
NodeSemantics.h
1
6#pragma once
7#include <aws/cloudwatchomni/CloudWatchOmni_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 CloudWatchOmni {
20namespace Model {
21
29 public:
30 AWS_CLOUDWATCHOMNI_API NodeSemantics() = default;
31 AWS_CLOUDWATCHOMNI_API NodeSemantics(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
32 AWS_CLOUDWATCHOMNI_API NodeSemantics& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_CLOUDWATCHOMNI_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
34
36
39 inline const Aws::String& GetPurpose() const { return m_purpose; }
40 inline bool PurposeHasBeenSet() const { return m_purposeHasBeenSet; }
41 template <typename PurposeT = Aws::String>
42 void SetPurpose(PurposeT&& value) {
43 m_purposeHasBeenSet = true;
44 m_purpose = std::forward<PurposeT>(value);
45 }
46 template <typename PurposeT = Aws::String>
47 NodeSemantics& WithPurpose(PurposeT&& value) {
48 SetPurpose(std::forward<PurposeT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetLanguage() const { return m_language; }
58 inline bool LanguageHasBeenSet() const { return m_languageHasBeenSet; }
59 template <typename LanguageT = Aws::String>
60 void SetLanguage(LanguageT&& value) {
61 m_languageHasBeenSet = true;
62 m_language = std::forward<LanguageT>(value);
63 }
64 template <typename LanguageT = Aws::String>
65 NodeSemantics& WithLanguage(LanguageT&& value) {
66 SetLanguage(std::forward<LanguageT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetFramework() const { return m_framework; }
76 inline bool FrameworkHasBeenSet() const { return m_frameworkHasBeenSet; }
77 template <typename FrameworkT = Aws::String>
78 void SetFramework(FrameworkT&& value) {
79 m_frameworkHasBeenSet = true;
80 m_framework = std::forward<FrameworkT>(value);
81 }
82 template <typename FrameworkT = Aws::String>
83 NodeSemantics& WithFramework(FrameworkT&& value) {
84 SetFramework(std::forward<FrameworkT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetKind() const { return m_kind; }
94 inline bool KindHasBeenSet() const { return m_kindHasBeenSet; }
95 template <typename KindT = Aws::String>
96 void SetKind(KindT&& value) {
97 m_kindHasBeenSet = true;
98 m_kind = std::forward<KindT>(value);
99 }
100 template <typename KindT = Aws::String>
101 NodeSemantics& WithKind(KindT&& value) {
102 SetKind(std::forward<KindT>(value));
103 return *this;
104 }
106
108
111 inline const Aws::String& GetRepository() const { return m_repository; }
112 inline bool RepositoryHasBeenSet() const { return m_repositoryHasBeenSet; }
113 template <typename RepositoryT = Aws::String>
114 void SetRepository(RepositoryT&& value) {
115 m_repositoryHasBeenSet = true;
116 m_repository = std::forward<RepositoryT>(value);
117 }
118 template <typename RepositoryT = Aws::String>
119 NodeSemantics& WithRepository(RepositoryT&& value) {
120 SetRepository(std::forward<RepositoryT>(value));
121 return *this;
122 }
124 private:
125 Aws::String m_purpose;
126
127 Aws::String m_language;
128
129 Aws::String m_framework;
130
131 Aws::String m_kind;
132
133 Aws::String m_repository;
134 bool m_purposeHasBeenSet = false;
135 bool m_languageHasBeenSet = false;
136 bool m_frameworkHasBeenSet = false;
137 bool m_kindHasBeenSet = false;
138 bool m_repositoryHasBeenSet = false;
139};
140
141} // namespace Model
142} // namespace CloudWatchOmni
143} // namespace Aws
const Aws::String & GetKind() const
NodeSemantics & WithPurpose(PurposeT &&value)
const Aws::String & GetPurpose() const
void SetRepository(RepositoryT &&value)
AWS_CLOUDWATCHOMNI_API NodeSemantics()=default
NodeSemantics & WithRepository(RepositoryT &&value)
AWS_CLOUDWATCHOMNI_API NodeSemantics & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
const Aws::String & GetRepository() const
const Aws::String & GetLanguage() const
AWS_CLOUDWATCHOMNI_API NodeSemantics(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
NodeSemantics & WithKind(KindT &&value)
const Aws::String & GetFramework() const
AWS_CLOUDWATCHOMNI_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
NodeSemantics & WithLanguage(LanguageT &&value)
NodeSemantics & WithFramework(FrameworkT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String