AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
NoteUpdate.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
32 {
33 public:
34 AWS_SECURITYHUB_API NoteUpdate();
35 AWS_SECURITYHUB_API NoteUpdate(Aws::Utils::Json::JsonView jsonValue);
36 AWS_SECURITYHUB_API NoteUpdate& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetText() const{ return m_text; }
45 inline bool TextHasBeenSet() const { return m_textHasBeenSet; }
46 inline void SetText(const Aws::String& value) { m_textHasBeenSet = true; m_text = value; }
47 inline void SetText(Aws::String&& value) { m_textHasBeenSet = true; m_text = std::move(value); }
48 inline void SetText(const char* value) { m_textHasBeenSet = true; m_text.assign(value); }
49 inline NoteUpdate& WithText(const Aws::String& value) { SetText(value); return *this;}
50 inline NoteUpdate& WithText(Aws::String&& value) { SetText(std::move(value)); return *this;}
51 inline NoteUpdate& WithText(const char* value) { SetText(value); return *this;}
53
55
58 inline const Aws::String& GetUpdatedBy() const{ return m_updatedBy; }
59 inline bool UpdatedByHasBeenSet() const { return m_updatedByHasBeenSet; }
60 inline void SetUpdatedBy(const Aws::String& value) { m_updatedByHasBeenSet = true; m_updatedBy = value; }
61 inline void SetUpdatedBy(Aws::String&& value) { m_updatedByHasBeenSet = true; m_updatedBy = std::move(value); }
62 inline void SetUpdatedBy(const char* value) { m_updatedByHasBeenSet = true; m_updatedBy.assign(value); }
63 inline NoteUpdate& WithUpdatedBy(const Aws::String& value) { SetUpdatedBy(value); return *this;}
64 inline NoteUpdate& WithUpdatedBy(Aws::String&& value) { SetUpdatedBy(std::move(value)); return *this;}
65 inline NoteUpdate& WithUpdatedBy(const char* value) { SetUpdatedBy(value); return *this;}
67 private:
68
69 Aws::String m_text;
70 bool m_textHasBeenSet = false;
71
72 Aws::String m_updatedBy;
73 bool m_updatedByHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace SecurityHub
78} // namespace Aws
void SetText(Aws::String &&value)
Definition NoteUpdate.h:47
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
NoteUpdate & WithText(const Aws::String &value)
Definition NoteUpdate.h:49
void SetUpdatedBy(const char *value)
Definition NoteUpdate.h:62
NoteUpdate & WithText(Aws::String &&value)
Definition NoteUpdate.h:50
void SetText(const char *value)
Definition NoteUpdate.h:48
AWS_SECURITYHUB_API NoteUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API NoteUpdate(Aws::Utils::Json::JsonView jsonValue)
NoteUpdate & WithUpdatedBy(const Aws::String &value)
Definition NoteUpdate.h:63
const Aws::String & GetUpdatedBy() const
Definition NoteUpdate.h:58
void SetText(const Aws::String &value)
Definition NoteUpdate.h:46
const Aws::String & GetText() const
Definition NoteUpdate.h:44
void SetUpdatedBy(const Aws::String &value)
Definition NoteUpdate.h:60
NoteUpdate & WithUpdatedBy(Aws::String &&value)
Definition NoteUpdate.h:64
void SetUpdatedBy(Aws::String &&value)
Definition NoteUpdate.h:61
NoteUpdate & WithUpdatedBy(const char *value)
Definition NoteUpdate.h:65
NoteUpdate & WithText(const char *value)
Definition NoteUpdate.h:51
AWS_SECURITYHUB_API NoteUpdate()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue