AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetFullyQualifiedName(const Aws::String& value) { m_fullyQualifiedNameHasBeenSet = true; m_fullyQualifiedName = value; }
50 inline void SetFullyQualifiedName(Aws::String&& value) { m_fullyQualifiedNameHasBeenSet = true; m_fullyQualifiedName = std::move(value); }
51 inline void SetFullyQualifiedName(const char* value) { m_fullyQualifiedNameHasBeenSet = true; m_fullyQualifiedName.assign(value); }
52 inline CustomStruct& WithFullyQualifiedName(const Aws::String& value) { SetFullyQualifiedName(value); return *this;}
53 inline CustomStruct& WithFullyQualifiedName(Aws::String&& value) { SetFullyQualifiedName(std::move(value)); return *this;}
54 inline CustomStruct& WithFullyQualifiedName(const char* value) { SetFullyQualifiedName(value); return *this;}
56
58
61 inline const Aws::String& GetDescription() const{ return m_description; }
62 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
63 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
64 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
65 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
66 inline CustomStruct& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
67 inline CustomStruct& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
68 inline CustomStruct& WithDescription(const char* value) { SetDescription(value); return *this;}
70
72
76 inline const Aws::String& GetDeprecationMessage() const{ return m_deprecationMessage; }
77 inline bool DeprecationMessageHasBeenSet() const { return m_deprecationMessageHasBeenSet; }
78 inline void SetDeprecationMessage(const Aws::String& value) { m_deprecationMessageHasBeenSet = true; m_deprecationMessage = value; }
79 inline void SetDeprecationMessage(Aws::String&& value) { m_deprecationMessageHasBeenSet = true; m_deprecationMessage = std::move(value); }
80 inline void SetDeprecationMessage(const char* value) { m_deprecationMessageHasBeenSet = true; m_deprecationMessage.assign(value); }
81 inline CustomStruct& WithDeprecationMessage(const Aws::String& value) { SetDeprecationMessage(value); return *this;}
82 inline CustomStruct& WithDeprecationMessage(Aws::String&& value) { SetDeprecationMessage(std::move(value)); return *this;}
83 inline CustomStruct& WithDeprecationMessage(const char* value) { SetDeprecationMessage(value); return *this;}
85
87
90 inline const Aws::String& GetComment() const{ return m_comment; }
91 inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; }
92 inline void SetComment(const Aws::String& value) { m_commentHasBeenSet = true; m_comment = value; }
93 inline void SetComment(Aws::String&& value) { m_commentHasBeenSet = true; m_comment = std::move(value); }
94 inline void SetComment(const char* value) { m_commentHasBeenSet = true; m_comment.assign(value); }
95 inline CustomStruct& WithComment(const Aws::String& value) { SetComment(value); return *this;}
96 inline CustomStruct& WithComment(Aws::String&& value) { SetComment(std::move(value)); return *this;}
97 inline CustomStruct& WithComment(const char* value) { SetComment(value); return *this;}
99 private:
100
101 Aws::String m_fullyQualifiedName;
102 bool m_fullyQualifiedNameHasBeenSet = false;
103
104 Aws::String m_description;
105 bool m_descriptionHasBeenSet = false;
106
107 Aws::String m_deprecationMessage;
108 bool m_deprecationMessageHasBeenSet = false;
109
110 Aws::String m_comment;
111 bool m_commentHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace IoTFleetWise
116} // namespace Aws
CustomStruct & WithDescription(const char *value)
CustomStruct & WithComment(const char *value)
CustomStruct & WithDeprecationMessage(const Aws::String &value)
CustomStruct & WithFullyQualifiedName(const Aws::String &value)
AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const
CustomStruct & WithDescription(Aws::String &&value)
void SetDescription(const char *value)
CustomStruct & WithFullyQualifiedName(Aws::String &&value)
AWS_IOTFLEETWISE_API CustomStruct(Aws::Utils::Json::JsonView jsonValue)
CustomStruct & WithDeprecationMessage(Aws::String &&value)
CustomStruct & WithDeprecationMessage(const char *value)
CustomStruct & WithFullyQualifiedName(const char *value)
const Aws::String & GetDeprecationMessage() const
CustomStruct & WithComment(const Aws::String &value)
const Aws::String & GetFullyQualifiedName() const
CustomStruct & WithComment(Aws::String &&value)
void SetComment(Aws::String &&value)
void SetDescription(Aws::String &&value)
const Aws::String & GetComment() const
void SetFullyQualifiedName(const char *value)
void SetDescription(const Aws::String &value)
CustomStruct & WithDescription(const Aws::String &value)
void SetDeprecationMessage(const Aws::String &value)
void SetComment(const Aws::String &value)
void SetComment(const char *value)
AWS_IOTFLEETWISE_API CustomStruct()
const Aws::String & GetDescription() const
void SetFullyQualifiedName(Aws::String &&value)
void SetFullyQualifiedName(const Aws::String &value)
void SetDeprecationMessage(Aws::String &&value)
void SetDeprecationMessage(const char *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