AWS SDK for C++

AWS SDK for C++ Version 1.11.933

Loading...
Searching...
No Matches
CustomStruct.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iotfleetwise/IoTFleetWise_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace IoTFleetWise {
20namespace Model {
21
29 public:
30 AWS_IOTFLEETWISE_API CustomStruct() = default;
31 AWS_IOTFLEETWISE_API CustomStruct(Aws::Utils::Json::JsonView jsonValue);
32 AWS_IOTFLEETWISE_API CustomStruct& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
41 inline const Aws::String& GetFullyQualifiedName() const { return m_fullyQualifiedName; }
42 inline bool FullyQualifiedNameHasBeenSet() const { return m_fullyQualifiedNameHasBeenSet; }
43 template <typename FullyQualifiedNameT = Aws::String>
44 void SetFullyQualifiedName(FullyQualifiedNameT&& value) {
45 m_fullyQualifiedNameHasBeenSet = true;
46 m_fullyQualifiedName = std::forward<FullyQualifiedNameT>(value);
47 }
48 template <typename FullyQualifiedNameT = Aws::String>
49 CustomStruct& WithFullyQualifiedName(FullyQualifiedNameT&& value) {
50 SetFullyQualifiedName(std::forward<FullyQualifiedNameT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetDescription() const { return m_description; }
60 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
61 template <typename DescriptionT = Aws::String>
62 void SetDescription(DescriptionT&& value) {
63 m_descriptionHasBeenSet = true;
64 m_description = std::forward<DescriptionT>(value);
65 }
66 template <typename DescriptionT = Aws::String>
67 CustomStruct& WithDescription(DescriptionT&& value) {
68 SetDescription(std::forward<DescriptionT>(value));
69 return *this;
70 }
72
74
78 inline const Aws::String& GetDeprecationMessage() const { return m_deprecationMessage; }
79 inline bool DeprecationMessageHasBeenSet() const { return m_deprecationMessageHasBeenSet; }
80 template <typename DeprecationMessageT = Aws::String>
81 void SetDeprecationMessage(DeprecationMessageT&& value) {
82 m_deprecationMessageHasBeenSet = true;
83 m_deprecationMessage = std::forward<DeprecationMessageT>(value);
84 }
85 template <typename DeprecationMessageT = Aws::String>
86 CustomStruct& WithDeprecationMessage(DeprecationMessageT&& value) {
87 SetDeprecationMessage(std::forward<DeprecationMessageT>(value));
88 return *this;
89 }
91
93
96 inline const Aws::String& GetComment() const { return m_comment; }
97 inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; }
98 template <typename CommentT = Aws::String>
99 void SetComment(CommentT&& value) {
100 m_commentHasBeenSet = true;
101 m_comment = std::forward<CommentT>(value);
102 }
103 template <typename CommentT = Aws::String>
104 CustomStruct& WithComment(CommentT&& value) {
105 SetComment(std::forward<CommentT>(value));
106 return *this;
107 }
109 private:
110 Aws::String m_fullyQualifiedName;
111
112 Aws::String m_description;
113
114 Aws::String m_deprecationMessage;
115
116 Aws::String m_comment;
117 bool m_fullyQualifiedNameHasBeenSet = false;
118 bool m_descriptionHasBeenSet = false;
119 bool m_deprecationMessageHasBeenSet = false;
120 bool m_commentHasBeenSet = false;
121};
122
123} // namespace Model
124} // namespace IoTFleetWise
125} // namespace Aws
void SetFullyQualifiedName(FullyQualifiedNameT &&value)
AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const
CustomStruct & WithComment(CommentT &&value)
CustomStruct & WithDeprecationMessage(DeprecationMessageT &&value)
AWS_IOTFLEETWISE_API CustomStruct(Aws::Utils::Json::JsonView jsonValue)
CustomStruct & WithDescription(DescriptionT &&value)
const Aws::String & GetDeprecationMessage() const
const Aws::String & GetFullyQualifiedName() const
AWS_IOTFLEETWISE_API CustomStruct()=default
const Aws::String & GetComment() const
const Aws::String & GetDescription() const
void SetDeprecationMessage(DeprecationMessageT &&value)
void SetDescription(DescriptionT &&value)
CustomStruct & WithFullyQualifiedName(FullyQualifiedNameT &&value)
AWS_IOTFLEETWISE_API CustomStruct & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue