AWS SDK for C++  1.9.106
AWS SDK for C++
Note.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace SecurityHub
22 {
23 namespace Model
24 {
25 
32  {
33  public:
34  Note();
38 
39 
43  inline const Aws::String& GetText() const{ return m_text; }
44 
48  inline bool TextHasBeenSet() const { return m_textHasBeenSet; }
49 
53  inline void SetText(const Aws::String& value) { m_textHasBeenSet = true; m_text = value; }
54 
58  inline void SetText(Aws::String&& value) { m_textHasBeenSet = true; m_text = std::move(value); }
59 
63  inline void SetText(const char* value) { m_textHasBeenSet = true; m_text.assign(value); }
64 
68  inline Note& WithText(const Aws::String& value) { SetText(value); return *this;}
69 
73  inline Note& WithText(Aws::String&& value) { SetText(std::move(value)); return *this;}
74 
78  inline Note& WithText(const char* value) { SetText(value); return *this;}
79 
80 
84  inline const Aws::String& GetUpdatedBy() const{ return m_updatedBy; }
85 
89  inline bool UpdatedByHasBeenSet() const { return m_updatedByHasBeenSet; }
90 
94  inline void SetUpdatedBy(const Aws::String& value) { m_updatedByHasBeenSet = true; m_updatedBy = value; }
95 
99  inline void SetUpdatedBy(Aws::String&& value) { m_updatedByHasBeenSet = true; m_updatedBy = std::move(value); }
100 
104  inline void SetUpdatedBy(const char* value) { m_updatedByHasBeenSet = true; m_updatedBy.assign(value); }
105 
109  inline Note& WithUpdatedBy(const Aws::String& value) { SetUpdatedBy(value); return *this;}
110 
114  inline Note& WithUpdatedBy(Aws::String&& value) { SetUpdatedBy(std::move(value)); return *this;}
115 
119  inline Note& WithUpdatedBy(const char* value) { SetUpdatedBy(value); return *this;}
120 
121 
129  inline const Aws::String& GetUpdatedAt() const{ return m_updatedAt; }
130 
138  inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
139 
147  inline void SetUpdatedAt(const Aws::String& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
148 
156  inline void SetUpdatedAt(Aws::String&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
157 
165  inline void SetUpdatedAt(const char* value) { m_updatedAtHasBeenSet = true; m_updatedAt.assign(value); }
166 
174  inline Note& WithUpdatedAt(const Aws::String& value) { SetUpdatedAt(value); return *this;}
175 
183  inline Note& WithUpdatedAt(Aws::String&& value) { SetUpdatedAt(std::move(value)); return *this;}
184 
192  inline Note& WithUpdatedAt(const char* value) { SetUpdatedAt(value); return *this;}
193 
194  private:
195 
196  Aws::String m_text;
197  bool m_textHasBeenSet;
198 
199  Aws::String m_updatedBy;
200  bool m_updatedByHasBeenSet;
201 
202  Aws::String m_updatedAt;
203  bool m_updatedAtHasBeenSet;
204  };
205 
206 } // namespace Model
207 } // namespace SecurityHub
208 } // namespace Aws
Aws::SecurityHub::Model::Note::GetText
const Aws::String & GetText() const
Definition: Note.h:43
Aws::SecurityHub::Model::Note::SetText
void SetText(Aws::String &&value)
Definition: Note.h:58
Aws::SecurityHub::Model::Note::TextHasBeenSet
bool TextHasBeenSet() const
Definition: Note.h:48
Aws::SecurityHub::Model::Note::WithUpdatedAt
Note & WithUpdatedAt(const Aws::String &value)
Definition: Note.h:174
Aws::SecurityHub::Model::Note::SetUpdatedBy
void SetUpdatedBy(Aws::String &&value)
Definition: Note.h:99
Aws::SecurityHub::Model::Note
Definition: Note.h:32
Aws::SecurityHub::Model::Note::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SecurityHub::Model::Note::SetUpdatedAt
void SetUpdatedAt(Aws::String &&value)
Definition: Note.h:156
Aws::SecurityHub::Model::Note::operator=
Note & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SecurityHub::Model::Note::SetUpdatedBy
void SetUpdatedBy(const Aws::String &value)
Definition: Note.h:94
Aws::SecurityHub::Model::Note::WithUpdatedBy
Note & WithUpdatedBy(Aws::String &&value)
Definition: Note.h:114
Aws::SecurityHub::Model::Note::SetUpdatedBy
void SetUpdatedBy(const char *value)
Definition: Note.h:104
Aws::SecurityHub::Model::Note::WithText
Note & WithText(const char *value)
Definition: Note.h:78
AWS_SECURITYHUB_API
#define AWS_SECURITYHUB_API
Definition: SecurityHub_EXPORTS.h:28
Aws::SecurityHub::Model::Note::SetUpdatedAt
void SetUpdatedAt(const char *value)
Definition: Note.h:165
Aws::SecurityHub::Model::Note::WithUpdatedBy
Note & WithUpdatedBy(const char *value)
Definition: Note.h:119
Aws::SecurityHub::Model::Note::WithUpdatedAt
Note & WithUpdatedAt(Aws::String &&value)
Definition: Note.h:183
Aws::SecurityHub::Model::Note::UpdatedByHasBeenSet
bool UpdatedByHasBeenSet() const
Definition: Note.h:89
Aws::SecurityHub::Model::Note::SetText
void SetText(const Aws::String &value)
Definition: Note.h:53
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SecurityHub::Model::Note::UpdatedAtHasBeenSet
bool UpdatedAtHasBeenSet() const
Definition: Note.h:138
Aws::SecurityHub::Model::Note::Note
Note()
Aws::SecurityHub::Model::Note::SetUpdatedAt
void SetUpdatedAt(const Aws::String &value)
Definition: Note.h:147
Aws::SecurityHub::Model::Note::WithText
Note & WithText(const Aws::String &value)
Definition: Note.h:68
Aws::SecurityHub::Model::Note::SetText
void SetText(const char *value)
Definition: Note.h:63
Aws::SecurityHub::Model::Note::Note
Note(Aws::Utils::Json::JsonView jsonValue)
Aws::SecurityHub::Model::Note::WithUpdatedAt
Note & WithUpdatedAt(const char *value)
Definition: Note.h:192
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SecurityHub::Model::Note::GetUpdatedAt
const Aws::String & GetUpdatedAt() const
Definition: Note.h:129
SecurityHub_EXPORTS.h
Aws::SecurityHub::Model::Note::WithText
Note & WithText(Aws::String &&value)
Definition: Note.h:73
Aws::SecurityHub::Model::Note::WithUpdatedBy
Note & WithUpdatedBy(const Aws::String &value)
Definition: Note.h:109
Aws::SecurityHub::Model::Note::GetUpdatedBy
const Aws::String & GetUpdatedBy() const
Definition: Note.h:84