AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CustomProperty.h
1
6#pragma once
7#include <aws/iotfleetwise/IoTFleetWise_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotfleetwise/model/NodeDataType.h>
10#include <aws/iotfleetwise/model/NodeDataEncoding.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace IoTFleetWise
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_IOTFLEETWISE_API CustomProperty() = default;
39 AWS_IOTFLEETWISE_API CustomProperty(Aws::Utils::Json::JsonView jsonValue);
40 AWS_IOTFLEETWISE_API CustomProperty& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
50 inline const Aws::String& GetFullyQualifiedName() const { return m_fullyQualifiedName; }
51 inline bool FullyQualifiedNameHasBeenSet() const { return m_fullyQualifiedNameHasBeenSet; }
52 template<typename FullyQualifiedNameT = Aws::String>
53 void SetFullyQualifiedName(FullyQualifiedNameT&& value) { m_fullyQualifiedNameHasBeenSet = true; m_fullyQualifiedName = std::forward<FullyQualifiedNameT>(value); }
54 template<typename FullyQualifiedNameT = Aws::String>
55 CustomProperty& WithFullyQualifiedName(FullyQualifiedNameT&& value) { SetFullyQualifiedName(std::forward<FullyQualifiedNameT>(value)); return *this;}
57
59
62 inline NodeDataType GetDataType() const { return m_dataType; }
63 inline bool DataTypeHasBeenSet() const { return m_dataTypeHasBeenSet; }
64 inline void SetDataType(NodeDataType value) { m_dataTypeHasBeenSet = true; m_dataType = value; }
65 inline CustomProperty& WithDataType(NodeDataType value) { SetDataType(value); return *this;}
67
69
72 inline NodeDataEncoding GetDataEncoding() const { return m_dataEncoding; }
73 inline bool DataEncodingHasBeenSet() const { return m_dataEncodingHasBeenSet; }
74 inline void SetDataEncoding(NodeDataEncoding value) { m_dataEncodingHasBeenSet = true; m_dataEncoding = value; }
75 inline CustomProperty& WithDataEncoding(NodeDataEncoding value) { SetDataEncoding(value); return *this;}
77
79
82 inline const Aws::String& GetDescription() const { return m_description; }
83 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
84 template<typename DescriptionT = Aws::String>
85 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
86 template<typename DescriptionT = Aws::String>
87 CustomProperty& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
89
91
95 inline const Aws::String& GetDeprecationMessage() const { return m_deprecationMessage; }
96 inline bool DeprecationMessageHasBeenSet() const { return m_deprecationMessageHasBeenSet; }
97 template<typename DeprecationMessageT = Aws::String>
98 void SetDeprecationMessage(DeprecationMessageT&& value) { m_deprecationMessageHasBeenSet = true; m_deprecationMessage = std::forward<DeprecationMessageT>(value); }
99 template<typename DeprecationMessageT = Aws::String>
100 CustomProperty& WithDeprecationMessage(DeprecationMessageT&& value) { SetDeprecationMessage(std::forward<DeprecationMessageT>(value)); return *this;}
102
104
107 inline const Aws::String& GetComment() const { return m_comment; }
108 inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; }
109 template<typename CommentT = Aws::String>
110 void SetComment(CommentT&& value) { m_commentHasBeenSet = true; m_comment = std::forward<CommentT>(value); }
111 template<typename CommentT = Aws::String>
112 CustomProperty& WithComment(CommentT&& value) { SetComment(std::forward<CommentT>(value)); return *this;}
114
116
121 inline const Aws::String& GetStructFullyQualifiedName() const { return m_structFullyQualifiedName; }
122 inline bool StructFullyQualifiedNameHasBeenSet() const { return m_structFullyQualifiedNameHasBeenSet; }
123 template<typename StructFullyQualifiedNameT = Aws::String>
124 void SetStructFullyQualifiedName(StructFullyQualifiedNameT&& value) { m_structFullyQualifiedNameHasBeenSet = true; m_structFullyQualifiedName = std::forward<StructFullyQualifiedNameT>(value); }
125 template<typename StructFullyQualifiedNameT = Aws::String>
126 CustomProperty& WithStructFullyQualifiedName(StructFullyQualifiedNameT&& value) { SetStructFullyQualifiedName(std::forward<StructFullyQualifiedNameT>(value)); return *this;}
128 private:
129
130 Aws::String m_fullyQualifiedName;
131 bool m_fullyQualifiedNameHasBeenSet = false;
132
134 bool m_dataTypeHasBeenSet = false;
135
137 bool m_dataEncodingHasBeenSet = false;
138
139 Aws::String m_description;
140 bool m_descriptionHasBeenSet = false;
141
142 Aws::String m_deprecationMessage;
143 bool m_deprecationMessageHasBeenSet = false;
144
145 Aws::String m_comment;
146 bool m_commentHasBeenSet = false;
147
148 Aws::String m_structFullyQualifiedName;
149 bool m_structFullyQualifiedNameHasBeenSet = false;
150 };
151
152} // namespace Model
153} // namespace IoTFleetWise
154} // 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