AWS SDK for C++

AWS SDK for C++ Version 1.11.933

Loading...
Searching...
No Matches
CustomProperty.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iotfleetwise/IoTFleetWise_EXPORTS.h>
9#include <aws/iotfleetwise/model/NodeDataEncoding.h>
10#include <aws/iotfleetwise/model/NodeDataType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace IoTFleetWise {
22namespace Model {
23
32 public:
33 AWS_IOTFLEETWISE_API CustomProperty() = default;
34 AWS_IOTFLEETWISE_API CustomProperty(Aws::Utils::Json::JsonView jsonValue);
35 AWS_IOTFLEETWISE_API CustomProperty& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
44 inline const Aws::String& GetFullyQualifiedName() const { return m_fullyQualifiedName; }
45 inline bool FullyQualifiedNameHasBeenSet() const { return m_fullyQualifiedNameHasBeenSet; }
46 template <typename FullyQualifiedNameT = Aws::String>
47 void SetFullyQualifiedName(FullyQualifiedNameT&& value) {
48 m_fullyQualifiedNameHasBeenSet = true;
49 m_fullyQualifiedName = std::forward<FullyQualifiedNameT>(value);
50 }
51 template <typename FullyQualifiedNameT = Aws::String>
52 CustomProperty& WithFullyQualifiedName(FullyQualifiedNameT&& value) {
53 SetFullyQualifiedName(std::forward<FullyQualifiedNameT>(value));
54 return *this;
55 }
57
59
62 inline NodeDataType GetDataType() const { return m_dataType; }
63 inline bool DataTypeHasBeenSet() const { return m_dataTypeHasBeenSet; }
64 inline void SetDataType(NodeDataType value) {
65 m_dataTypeHasBeenSet = true;
66 m_dataType = value;
67 }
69 SetDataType(value);
70 return *this;
71 }
73
75
78 inline NodeDataEncoding GetDataEncoding() const { return m_dataEncoding; }
79 inline bool DataEncodingHasBeenSet() const { return m_dataEncodingHasBeenSet; }
80 inline void SetDataEncoding(NodeDataEncoding value) {
81 m_dataEncodingHasBeenSet = true;
82 m_dataEncoding = value;
83 }
85 SetDataEncoding(value);
86 return *this;
87 }
89
91
94 inline const Aws::String& GetDescription() const { return m_description; }
95 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
96 template <typename DescriptionT = Aws::String>
97 void SetDescription(DescriptionT&& value) {
98 m_descriptionHasBeenSet = true;
99 m_description = std::forward<DescriptionT>(value);
100 }
101 template <typename DescriptionT = Aws::String>
102 CustomProperty& WithDescription(DescriptionT&& value) {
103 SetDescription(std::forward<DescriptionT>(value));
104 return *this;
105 }
107
109
113 inline const Aws::String& GetDeprecationMessage() const { return m_deprecationMessage; }
114 inline bool DeprecationMessageHasBeenSet() const { return m_deprecationMessageHasBeenSet; }
115 template <typename DeprecationMessageT = Aws::String>
116 void SetDeprecationMessage(DeprecationMessageT&& value) {
117 m_deprecationMessageHasBeenSet = true;
118 m_deprecationMessage = std::forward<DeprecationMessageT>(value);
119 }
120 template <typename DeprecationMessageT = Aws::String>
121 CustomProperty& WithDeprecationMessage(DeprecationMessageT&& value) {
122 SetDeprecationMessage(std::forward<DeprecationMessageT>(value));
123 return *this;
124 }
126
128
131 inline const Aws::String& GetComment() const { return m_comment; }
132 inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; }
133 template <typename CommentT = Aws::String>
134 void SetComment(CommentT&& value) {
135 m_commentHasBeenSet = true;
136 m_comment = std::forward<CommentT>(value);
137 }
138 template <typename CommentT = Aws::String>
139 CustomProperty& WithComment(CommentT&& value) {
140 SetComment(std::forward<CommentT>(value));
141 return *this;
142 }
144
146
151 inline const Aws::String& GetStructFullyQualifiedName() const { return m_structFullyQualifiedName; }
152 inline bool StructFullyQualifiedNameHasBeenSet() const { return m_structFullyQualifiedNameHasBeenSet; }
153 template <typename StructFullyQualifiedNameT = Aws::String>
154 void SetStructFullyQualifiedName(StructFullyQualifiedNameT&& value) {
155 m_structFullyQualifiedNameHasBeenSet = true;
156 m_structFullyQualifiedName = std::forward<StructFullyQualifiedNameT>(value);
157 }
158 template <typename StructFullyQualifiedNameT = Aws::String>
159 CustomProperty& WithStructFullyQualifiedName(StructFullyQualifiedNameT&& value) {
160 SetStructFullyQualifiedName(std::forward<StructFullyQualifiedNameT>(value));
161 return *this;
162 }
164 private:
165 Aws::String m_fullyQualifiedName;
166
168
170
171 Aws::String m_description;
172
173 Aws::String m_deprecationMessage;
174
175 Aws::String m_comment;
176
177 Aws::String m_structFullyQualifiedName;
178 bool m_fullyQualifiedNameHasBeenSet = false;
179 bool m_dataTypeHasBeenSet = false;
180 bool m_dataEncodingHasBeenSet = false;
181 bool m_descriptionHasBeenSet = false;
182 bool m_deprecationMessageHasBeenSet = false;
183 bool m_commentHasBeenSet = false;
184 bool m_structFullyQualifiedNameHasBeenSet = false;
185};
186
187} // namespace Model
188} // namespace IoTFleetWise
189} // namespace Aws
CustomProperty & WithFullyQualifiedName(FullyQualifiedNameT &&value)
CustomProperty & WithDeprecationMessage(DeprecationMessageT &&value)
CustomProperty & WithDataType(NodeDataType value)
CustomProperty & WithDataEncoding(NodeDataEncoding value)
AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTFLEETWISE_API CustomProperty(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetFullyQualifiedName() const
const Aws::String & GetStructFullyQualifiedName() const
void SetFullyQualifiedName(FullyQualifiedNameT &&value)
AWS_IOTFLEETWISE_API CustomProperty()=default
NodeDataEncoding GetDataEncoding() const
void SetDataEncoding(NodeDataEncoding value)
void SetStructFullyQualifiedName(StructFullyQualifiedNameT &&value)
const Aws::String & GetDescription() const
CustomProperty & WithComment(CommentT &&value)
CustomProperty & WithDescription(DescriptionT &&value)
void SetDescription(DescriptionT &&value)
void SetDeprecationMessage(DeprecationMessageT &&value)
AWS_IOTFLEETWISE_API CustomProperty & operator=(Aws::Utils::Json::JsonView jsonValue)
CustomProperty & WithStructFullyQualifiedName(StructFullyQualifiedNameT &&value)
const Aws::String & GetDeprecationMessage() const
const Aws::String & GetComment() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue