AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
Note.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_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 SecurityHub
22{
23namespace Model
24{
25
31 class Note
32 {
33 public:
34 AWS_SECURITYHUB_API Note() = default;
35 AWS_SECURITYHUB_API Note(Aws::Utils::Json::JsonView jsonValue);
36 AWS_SECURITYHUB_API Note& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
45 inline const Aws::String& GetText() const { return m_text; }
46 inline bool TextHasBeenSet() const { return m_textHasBeenSet; }
47 template<typename TextT = Aws::String>
48 void SetText(TextT&& value) { m_textHasBeenSet = true; m_text = std::forward<TextT>(value); }
49 template<typename TextT = Aws::String>
50 Note& WithText(TextT&& value) { SetText(std::forward<TextT>(value)); return *this;}
52
54
57 inline const Aws::String& GetUpdatedBy() const { return m_updatedBy; }
58 inline bool UpdatedByHasBeenSet() const { return m_updatedByHasBeenSet; }
59 template<typename UpdatedByT = Aws::String>
60 void SetUpdatedBy(UpdatedByT&& value) { m_updatedByHasBeenSet = true; m_updatedBy = std::forward<UpdatedByT>(value); }
61 template<typename UpdatedByT = Aws::String>
62 Note& WithUpdatedBy(UpdatedByT&& value) { SetUpdatedBy(std::forward<UpdatedByT>(value)); return *this;}
64
66
72 inline const Aws::String& GetUpdatedAt() const { return m_updatedAt; }
73 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
74 template<typename UpdatedAtT = Aws::String>
75 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
76 template<typename UpdatedAtT = Aws::String>
77 Note& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
79 private:
80
81 Aws::String m_text;
82 bool m_textHasBeenSet = false;
83
84 Aws::String m_updatedBy;
85 bool m_updatedByHasBeenSet = false;
86
87 Aws::String m_updatedAt;
88 bool m_updatedAtHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace SecurityHub
93} // namespace Aws
bool UpdatedAtHasBeenSet() const
Definition Note.h:73
const Aws::String & GetUpdatedBy() const
Definition Note.h:57
AWS_SECURITYHUB_API Note(Aws::Utils::Json::JsonView jsonValue)
void SetUpdatedBy(UpdatedByT &&value)
Definition Note.h:60
AWS_SECURITYHUB_API Note & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetText(TextT &&value)
Definition Note.h:48
const Aws::String & GetText() const
Definition Note.h:45
AWS_SECURITYHUB_API Note()=default
bool UpdatedByHasBeenSet() const
Definition Note.h:58
Note & WithText(TextT &&value)
Definition Note.h:50
Note & WithUpdatedAt(UpdatedAtT &&value)
Definition Note.h:77
void SetUpdatedAt(UpdatedAtT &&value)
Definition Note.h:75
const Aws::String & GetUpdatedAt() const
Definition Note.h:72
bool TextHasBeenSet() const
Definition Note.h:46
Note & WithUpdatedBy(UpdatedByT &&value)
Definition Note.h:62
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue