AWS SDK for C++

AWS SDK for C++ Version 1.11.933

Loading...
Searching...
No Matches
Branch.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
28class Branch {
29 public:
30 AWS_IOTFLEETWISE_API Branch() = default;
31 AWS_IOTFLEETWISE_API Branch(Aws::Utils::Json::JsonView jsonValue);
32 AWS_IOTFLEETWISE_API Branch& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::String& GetFullyQualifiedName() const { return m_fullyQualifiedName; }
41 inline bool FullyQualifiedNameHasBeenSet() const { return m_fullyQualifiedNameHasBeenSet; }
42 template <typename FullyQualifiedNameT = Aws::String>
43 void SetFullyQualifiedName(FullyQualifiedNameT&& value) {
44 m_fullyQualifiedNameHasBeenSet = true;
45 m_fullyQualifiedName = std::forward<FullyQualifiedNameT>(value);
46 }
47 template <typename FullyQualifiedNameT = Aws::String>
48 Branch& WithFullyQualifiedName(FullyQualifiedNameT&& value) {
49 SetFullyQualifiedName(std::forward<FullyQualifiedNameT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetDescription() const { return m_description; }
59 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
60 template <typename DescriptionT = Aws::String>
61 void SetDescription(DescriptionT&& value) {
62 m_descriptionHasBeenSet = true;
63 m_description = std::forward<DescriptionT>(value);
64 }
65 template <typename DescriptionT = Aws::String>
66 Branch& WithDescription(DescriptionT&& value) {
67 SetDescription(std::forward<DescriptionT>(value));
68 return *this;
69 }
71
73
77 inline const Aws::String& GetDeprecationMessage() const { return m_deprecationMessage; }
78 inline bool DeprecationMessageHasBeenSet() const { return m_deprecationMessageHasBeenSet; }
79 template <typename DeprecationMessageT = Aws::String>
80 void SetDeprecationMessage(DeprecationMessageT&& value) {
81 m_deprecationMessageHasBeenSet = true;
82 m_deprecationMessage = std::forward<DeprecationMessageT>(value);
83 }
84 template <typename DeprecationMessageT = Aws::String>
85 Branch& WithDeprecationMessage(DeprecationMessageT&& value) {
86 SetDeprecationMessage(std::forward<DeprecationMessageT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::String& GetComment() const { return m_comment; }
96 inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; }
97 template <typename CommentT = Aws::String>
98 void SetComment(CommentT&& value) {
99 m_commentHasBeenSet = true;
100 m_comment = std::forward<CommentT>(value);
101 }
102 template <typename CommentT = Aws::String>
103 Branch& WithComment(CommentT&& value) {
104 SetComment(std::forward<CommentT>(value));
105 return *this;
106 }
108 private:
109 Aws::String m_fullyQualifiedName;
110
111 Aws::String m_description;
112
113 Aws::String m_deprecationMessage;
114
115 Aws::String m_comment;
116 bool m_fullyQualifiedNameHasBeenSet = false;
117 bool m_descriptionHasBeenSet = false;
118 bool m_deprecationMessageHasBeenSet = false;
119 bool m_commentHasBeenSet = false;
120};
121
122} // namespace Model
123} // namespace IoTFleetWise
124} // namespace Aws
void SetDescription(DescriptionT &&value)
Definition Branch.h:61
Branch & WithFullyQualifiedName(FullyQualifiedNameT &&value)
Definition Branch.h:48
void SetFullyQualifiedName(FullyQualifiedNameT &&value)
Definition Branch.h:43
Branch & WithDeprecationMessage(DeprecationMessageT &&value)
Definition Branch.h:85
AWS_IOTFLEETWISE_API Branch(Aws::Utils::Json::JsonView jsonValue)
bool FullyQualifiedNameHasBeenSet() const
Definition Branch.h:41
void SetComment(CommentT &&value)
Definition Branch.h:98
bool DescriptionHasBeenSet() const
Definition Branch.h:59
const Aws::String & GetDeprecationMessage() const
Definition Branch.h:77
const Aws::String & GetComment() const
Definition Branch.h:95
bool DeprecationMessageHasBeenSet() const
Definition Branch.h:78
AWS_IOTFLEETWISE_API Branch & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTFLEETWISE_API Branch()=default
const Aws::String & GetDescription() const
Definition Branch.h:58
void SetDeprecationMessage(DeprecationMessageT &&value)
Definition Branch.h:80
Branch & WithDescription(DescriptionT &&value)
Definition Branch.h:66
const Aws::String & GetFullyQualifiedName() const
Definition Branch.h:40
Branch & WithComment(CommentT &&value)
Definition Branch.h:103
AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue