AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetText(const Aws::String& value) { m_textHasBeenSet = true; m_text = value; }
48 inline void SetText(Aws::String&& value) { m_textHasBeenSet = true; m_text = std::move(value); }
49 inline void SetText(const char* value) { m_textHasBeenSet = true; m_text.assign(value); }
50 inline Note& WithText(const Aws::String& value) { SetText(value); return *this;}
51 inline Note& WithText(Aws::String&& value) { SetText(std::move(value)); return *this;}
52 inline Note& WithText(const char* value) { SetText(value); return *this;}
54
56
59 inline const Aws::String& GetUpdatedBy() const{ return m_updatedBy; }
60 inline bool UpdatedByHasBeenSet() const { return m_updatedByHasBeenSet; }
61 inline void SetUpdatedBy(const Aws::String& value) { m_updatedByHasBeenSet = true; m_updatedBy = value; }
62 inline void SetUpdatedBy(Aws::String&& value) { m_updatedByHasBeenSet = true; m_updatedBy = std::move(value); }
63 inline void SetUpdatedBy(const char* value) { m_updatedByHasBeenSet = true; m_updatedBy.assign(value); }
64 inline Note& WithUpdatedBy(const Aws::String& value) { SetUpdatedBy(value); return *this;}
65 inline Note& WithUpdatedBy(Aws::String&& value) { SetUpdatedBy(std::move(value)); return *this;}
66 inline Note& WithUpdatedBy(const char* value) { SetUpdatedBy(value); return *this;}
68
70
87 inline const Aws::String& GetUpdatedAt() const{ return m_updatedAt; }
88 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
89 inline void SetUpdatedAt(const Aws::String& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
90 inline void SetUpdatedAt(Aws::String&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
91 inline void SetUpdatedAt(const char* value) { m_updatedAtHasBeenSet = true; m_updatedAt.assign(value); }
92 inline Note& WithUpdatedAt(const Aws::String& value) { SetUpdatedAt(value); return *this;}
93 inline Note& WithUpdatedAt(Aws::String&& value) { SetUpdatedAt(std::move(value)); return *this;}
94 inline Note& WithUpdatedAt(const char* value) { SetUpdatedAt(value); return *this;}
96 private:
97
98 Aws::String m_text;
99 bool m_textHasBeenSet = false;
100
101 Aws::String m_updatedBy;
102 bool m_updatedByHasBeenSet = false;
103
104 Aws::String m_updatedAt;
105 bool m_updatedAtHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace SecurityHub
110} // namespace Aws
bool UpdatedAtHasBeenSet() const
Definition Note.h:88
Note & WithUpdatedAt(const Aws::String &value)
Definition Note.h:92
const Aws::String & GetUpdatedBy() const
Definition Note.h:59
AWS_SECURITYHUB_API Note(Aws::Utils::Json::JsonView jsonValue)
void SetUpdatedBy(const Aws::String &value)
Definition Note.h:61
AWS_SECURITYHUB_API Note & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetText(const char *value)
Definition Note.h:49
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetUpdatedAt(const char *value)
Definition Note.h:91
Note & WithUpdatedAt(const char *value)
Definition Note.h:94
const Aws::String & GetText() const
Definition Note.h:45
bool UpdatedByHasBeenSet() const
Definition Note.h:60
void SetText(const Aws::String &value)
Definition Note.h:47
Note & WithUpdatedBy(const Aws::String &value)
Definition Note.h:64
Note & WithText(const Aws::String &value)
Definition Note.h:50
void SetText(Aws::String &&value)
Definition Note.h:48
Note & WithText(const char *value)
Definition Note.h:52
void SetUpdatedAt(Aws::String &&value)
Definition Note.h:90
Note & WithUpdatedBy(const char *value)
Definition Note.h:66
Note & WithUpdatedBy(Aws::String &&value)
Definition Note.h:65
const Aws::String & GetUpdatedAt() const
Definition Note.h:87
Note & WithUpdatedAt(Aws::String &&value)
Definition Note.h:93
void SetUpdatedBy(Aws::String &&value)
Definition Note.h:62
void SetUpdatedAt(const Aws::String &value)
Definition Note.h:89
Note & WithText(Aws::String &&value)
Definition Note.h:51
bool TextHasBeenSet() const
Definition Note.h:46
void SetUpdatedBy(const char *value)
Definition Note.h:63
AWS_SECURITYHUB_API Note()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue