AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FindingHistoryUpdate.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
35 {
36 public:
37 AWS_SECURITYHUB_API FindingHistoryUpdate();
38 AWS_SECURITYHUB_API FindingHistoryUpdate(Aws::Utils::Json::JsonView jsonValue);
40 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetUpdatedField() const{ return m_updatedField; }
48 inline bool UpdatedFieldHasBeenSet() const { return m_updatedFieldHasBeenSet; }
49 inline void SetUpdatedField(const Aws::String& value) { m_updatedFieldHasBeenSet = true; m_updatedField = value; }
50 inline void SetUpdatedField(Aws::String&& value) { m_updatedFieldHasBeenSet = true; m_updatedField = std::move(value); }
51 inline void SetUpdatedField(const char* value) { m_updatedFieldHasBeenSet = true; m_updatedField.assign(value); }
52 inline FindingHistoryUpdate& WithUpdatedField(const Aws::String& value) { SetUpdatedField(value); return *this;}
53 inline FindingHistoryUpdate& WithUpdatedField(Aws::String&& value) { SetUpdatedField(std::move(value)); return *this;}
54 inline FindingHistoryUpdate& WithUpdatedField(const char* value) { SetUpdatedField(value); return *this;}
56
58
61 inline const Aws::String& GetOldValue() const{ return m_oldValue; }
62 inline bool OldValueHasBeenSet() const { return m_oldValueHasBeenSet; }
63 inline void SetOldValue(const Aws::String& value) { m_oldValueHasBeenSet = true; m_oldValue = value; }
64 inline void SetOldValue(Aws::String&& value) { m_oldValueHasBeenSet = true; m_oldValue = std::move(value); }
65 inline void SetOldValue(const char* value) { m_oldValueHasBeenSet = true; m_oldValue.assign(value); }
66 inline FindingHistoryUpdate& WithOldValue(const Aws::String& value) { SetOldValue(value); return *this;}
67 inline FindingHistoryUpdate& WithOldValue(Aws::String&& value) { SetOldValue(std::move(value)); return *this;}
68 inline FindingHistoryUpdate& WithOldValue(const char* value) { SetOldValue(value); return *this;}
70
72
78 inline const Aws::String& GetNewValue() const{ return m_newValue; }
79 inline bool NewValueHasBeenSet() const { return m_newValueHasBeenSet; }
80 inline void SetNewValue(const Aws::String& value) { m_newValueHasBeenSet = true; m_newValue = value; }
81 inline void SetNewValue(Aws::String&& value) { m_newValueHasBeenSet = true; m_newValue = std::move(value); }
82 inline void SetNewValue(const char* value) { m_newValueHasBeenSet = true; m_newValue.assign(value); }
83 inline FindingHistoryUpdate& WithNewValue(const Aws::String& value) { SetNewValue(value); return *this;}
84 inline FindingHistoryUpdate& WithNewValue(Aws::String&& value) { SetNewValue(std::move(value)); return *this;}
85 inline FindingHistoryUpdate& WithNewValue(const char* value) { SetNewValue(value); return *this;}
87 private:
88
89 Aws::String m_updatedField;
90 bool m_updatedFieldHasBeenSet = false;
91
92 Aws::String m_oldValue;
93 bool m_oldValueHasBeenSet = false;
94
95 Aws::String m_newValue;
96 bool m_newValueHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace SecurityHub
101} // namespace Aws
FindingHistoryUpdate & WithNewValue(const char *value)
FindingHistoryUpdate & WithOldValue(const char *value)
FindingHistoryUpdate & WithUpdatedField(Aws::String &&value)
AWS_SECURITYHUB_API FindingHistoryUpdate(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
FindingHistoryUpdate & WithNewValue(Aws::String &&value)
FindingHistoryUpdate & WithOldValue(Aws::String &&value)
FindingHistoryUpdate & WithUpdatedField(const char *value)
FindingHistoryUpdate & WithOldValue(const Aws::String &value)
FindingHistoryUpdate & WithNewValue(const Aws::String &value)
FindingHistoryUpdate & WithUpdatedField(const Aws::String &value)
AWS_SECURITYHUB_API FindingHistoryUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue