AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CustomStruct.h
1
6#pragma once
7#include <aws/iotfleetwise/IoTFleetWise_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace IoTFleetWise
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_IOTFLEETWISE_API CustomStruct() = default;
36 AWS_IOTFLEETWISE_API CustomStruct(Aws::Utils::Json::JsonView jsonValue);
37 AWS_IOTFLEETWISE_API CustomStruct& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
47 inline const Aws::String& GetFullyQualifiedName() const { return m_fullyQualifiedName; }
48 inline bool FullyQualifiedNameHasBeenSet() const { return m_fullyQualifiedNameHasBeenSet; }
49 template<typename FullyQualifiedNameT = Aws::String>
50 void SetFullyQualifiedName(FullyQualifiedNameT&& value) { m_fullyQualifiedNameHasBeenSet = true; m_fullyQualifiedName = std::forward<FullyQualifiedNameT>(value); }
51 template<typename FullyQualifiedNameT = Aws::String>
52 CustomStruct& WithFullyQualifiedName(FullyQualifiedNameT&& value) { SetFullyQualifiedName(std::forward<FullyQualifiedNameT>(value)); return *this;}
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) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
63 template<typename DescriptionT = Aws::String>
64 CustomStruct& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
66
68
72 inline const Aws::String& GetDeprecationMessage() const { return m_deprecationMessage; }
73 inline bool DeprecationMessageHasBeenSet() const { return m_deprecationMessageHasBeenSet; }
74 template<typename DeprecationMessageT = Aws::String>
75 void SetDeprecationMessage(DeprecationMessageT&& value) { m_deprecationMessageHasBeenSet = true; m_deprecationMessage = std::forward<DeprecationMessageT>(value); }
76 template<typename DeprecationMessageT = Aws::String>
77 CustomStruct& WithDeprecationMessage(DeprecationMessageT&& value) { SetDeprecationMessage(std::forward<DeprecationMessageT>(value)); return *this;}
79
81
84 inline const Aws::String& GetComment() const { return m_comment; }
85 inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; }
86 template<typename CommentT = Aws::String>
87 void SetComment(CommentT&& value) { m_commentHasBeenSet = true; m_comment = std::forward<CommentT>(value); }
88 template<typename CommentT = Aws::String>
89 CustomStruct& WithComment(CommentT&& value) { SetComment(std::forward<CommentT>(value)); return *this;}
91 private:
92
93 Aws::String m_fullyQualifiedName;
94 bool m_fullyQualifiedNameHasBeenSet = false;
95
96 Aws::String m_description;
97 bool m_descriptionHasBeenSet = false;
98
99 Aws::String m_deprecationMessage;
100 bool m_deprecationMessageHasBeenSet = false;
101
102 Aws::String m_comment;
103 bool m_commentHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace IoTFleetWise
108} // 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