AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
Annotation.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/qconnect/QConnect_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace QConnect {
20namespace Model {
21
29 public:
30 AWS_QCONNECT_API Annotation() = default;
31 AWS_QCONNECT_API Annotation(Aws::Utils::Json::JsonView jsonValue);
32 AWS_QCONNECT_API Annotation& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetTitle() const { return m_title; }
40 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
41 template <typename TitleT = Aws::String>
42 void SetTitle(TitleT&& value) {
43 m_titleHasBeenSet = true;
44 m_title = std::forward<TitleT>(value);
45 }
46 template <typename TitleT = Aws::String>
47 Annotation& WithTitle(TitleT&& value) {
48 SetTitle(std::forward<TitleT>(value));
49 return *this;
50 }
52
54
58 inline bool GetDestructiveHint() const { return m_destructiveHint; }
59 inline bool DestructiveHintHasBeenSet() const { return m_destructiveHintHasBeenSet; }
60 inline void SetDestructiveHint(bool value) {
61 m_destructiveHintHasBeenSet = true;
62 m_destructiveHint = value;
63 }
64 inline Annotation& WithDestructiveHint(bool value) {
65 SetDestructiveHint(value);
66 return *this;
67 }
69 private:
70 Aws::String m_title;
71
72 bool m_destructiveHint{false};
73 bool m_titleHasBeenSet = false;
74 bool m_destructiveHintHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace QConnect
79} // namespace Aws
AWS_QCONNECT_API Annotation()=default
Annotation & WithTitle(TitleT &&value)
Definition Annotation.h:47
AWS_QCONNECT_API Annotation & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QCONNECT_API Annotation(Aws::Utils::Json::JsonView jsonValue)
void SetTitle(TitleT &&value)
Definition Annotation.h:42
void SetDestructiveHint(bool value)
Definition Annotation.h:60
const Aws::String & GetTitle() const
Definition Annotation.h:39
Annotation & WithDestructiveHint(bool value)
Definition Annotation.h:64
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue