AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Branch.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
32 class Branch
33 {
34 public:
35 AWS_IOTFLEETWISE_API Branch();
36 AWS_IOTFLEETWISE_API Branch(Aws::Utils::Json::JsonView jsonValue);
37 AWS_IOTFLEETWISE_API Branch& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetFullyQualifiedName() const{ return m_fullyQualifiedName; }
47 inline bool FullyQualifiedNameHasBeenSet() const { return m_fullyQualifiedNameHasBeenSet; }
48 inline void SetFullyQualifiedName(const Aws::String& value) { m_fullyQualifiedNameHasBeenSet = true; m_fullyQualifiedName = value; }
49 inline void SetFullyQualifiedName(Aws::String&& value) { m_fullyQualifiedNameHasBeenSet = true; m_fullyQualifiedName = std::move(value); }
50 inline void SetFullyQualifiedName(const char* value) { m_fullyQualifiedNameHasBeenSet = true; m_fullyQualifiedName.assign(value); }
51 inline Branch& WithFullyQualifiedName(const Aws::String& value) { SetFullyQualifiedName(value); return *this;}
52 inline Branch& WithFullyQualifiedName(Aws::String&& value) { SetFullyQualifiedName(std::move(value)); return *this;}
53 inline Branch& WithFullyQualifiedName(const char* value) { SetFullyQualifiedName(value); return *this;}
55
57
60 inline const Aws::String& GetDescription() const{ return m_description; }
61 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
62 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
63 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
64 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
65 inline Branch& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
66 inline Branch& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
67 inline Branch& WithDescription(const char* value) { SetDescription(value); return *this;}
69
71
75 inline const Aws::String& GetDeprecationMessage() const{ return m_deprecationMessage; }
76 inline bool DeprecationMessageHasBeenSet() const { return m_deprecationMessageHasBeenSet; }
77 inline void SetDeprecationMessage(const Aws::String& value) { m_deprecationMessageHasBeenSet = true; m_deprecationMessage = value; }
78 inline void SetDeprecationMessage(Aws::String&& value) { m_deprecationMessageHasBeenSet = true; m_deprecationMessage = std::move(value); }
79 inline void SetDeprecationMessage(const char* value) { m_deprecationMessageHasBeenSet = true; m_deprecationMessage.assign(value); }
80 inline Branch& WithDeprecationMessage(const Aws::String& value) { SetDeprecationMessage(value); return *this;}
81 inline Branch& WithDeprecationMessage(Aws::String&& value) { SetDeprecationMessage(std::move(value)); return *this;}
82 inline Branch& WithDeprecationMessage(const char* value) { SetDeprecationMessage(value); return *this;}
84
86
89 inline const Aws::String& GetComment() const{ return m_comment; }
90 inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; }
91 inline void SetComment(const Aws::String& value) { m_commentHasBeenSet = true; m_comment = value; }
92 inline void SetComment(Aws::String&& value) { m_commentHasBeenSet = true; m_comment = std::move(value); }
93 inline void SetComment(const char* value) { m_commentHasBeenSet = true; m_comment.assign(value); }
94 inline Branch& WithComment(const Aws::String& value) { SetComment(value); return *this;}
95 inline Branch& WithComment(Aws::String&& value) { SetComment(std::move(value)); return *this;}
96 inline Branch& WithComment(const char* value) { SetComment(value); return *this;}
98 private:
99
100 Aws::String m_fullyQualifiedName;
101 bool m_fullyQualifiedNameHasBeenSet = false;
102
103 Aws::String m_description;
104 bool m_descriptionHasBeenSet = false;
105
106 Aws::String m_deprecationMessage;
107 bool m_deprecationMessageHasBeenSet = false;
108
109 Aws::String m_comment;
110 bool m_commentHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace IoTFleetWise
115} // namespace Aws
Branch & WithDeprecationMessage(const Aws::String &value)
Definition Branch.h:80
void SetFullyQualifiedName(const Aws::String &value)
Definition Branch.h:48
Branch & WithFullyQualifiedName(const char *value)
Definition Branch.h:53
Branch & WithDeprecationMessage(Aws::String &&value)
Definition Branch.h:81
Branch & WithDeprecationMessage(const char *value)
Definition Branch.h:82
void SetComment(const char *value)
Definition Branch.h:93
Branch & WithComment(Aws::String &&value)
Definition Branch.h:95
AWS_IOTFLEETWISE_API Branch(Aws::Utils::Json::JsonView jsonValue)
bool FullyQualifiedNameHasBeenSet() const
Definition Branch.h:47
Branch & WithComment(const Aws::String &value)
Definition Branch.h:94
Branch & WithComment(const char *value)
Definition Branch.h:96
void SetDescription(const char *value)
Definition Branch.h:64
Branch & WithFullyQualifiedName(const Aws::String &value)
Definition Branch.h:51
AWS_IOTFLEETWISE_API Branch()
void SetFullyQualifiedName(Aws::String &&value)
Definition Branch.h:49
bool DescriptionHasBeenSet() const
Definition Branch.h:61
void SetDescription(const Aws::String &value)
Definition Branch.h:62
const Aws::String & GetDeprecationMessage() const
Definition Branch.h:75
void SetDeprecationMessage(const Aws::String &value)
Definition Branch.h:77
const Aws::String & GetComment() const
Definition Branch.h:89
bool DeprecationMessageHasBeenSet() const
Definition Branch.h:76
AWS_IOTFLEETWISE_API Branch & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetComment(Aws::String &&value)
Definition Branch.h:92
void SetDescription(Aws::String &&value)
Definition Branch.h:63
void SetDeprecationMessage(const char *value)
Definition Branch.h:79
const Aws::String & GetDescription() const
Definition Branch.h:60
Branch & WithDescription(const Aws::String &value)
Definition Branch.h:65
void SetFullyQualifiedName(const char *value)
Definition Branch.h:50
void SetDeprecationMessage(Aws::String &&value)
Definition Branch.h:78
Branch & WithDescription(Aws::String &&value)
Definition Branch.h:66
const Aws::String & GetFullyQualifiedName() const
Definition Branch.h:46
Branch & WithFullyQualifiedName(Aws::String &&value)
Definition Branch.h:52
AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const
Branch & WithDescription(const char *value)
Definition Branch.h:67
void SetComment(const Aws::String &value)
Definition Branch.h:91
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue