AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename UpdatedFieldT = Aws::String>
50 void SetUpdatedField(UpdatedFieldT&& value) { m_updatedFieldHasBeenSet = true; m_updatedField = std::forward<UpdatedFieldT>(value); }
51 template<typename UpdatedFieldT = Aws::String>
52 FindingHistoryUpdate& WithUpdatedField(UpdatedFieldT&& value) { SetUpdatedField(std::forward<UpdatedFieldT>(value)); return *this;}
54
56
59 inline const Aws::String& GetOldValue() const { return m_oldValue; }
60 inline bool OldValueHasBeenSet() const { return m_oldValueHasBeenSet; }
61 template<typename OldValueT = Aws::String>
62 void SetOldValue(OldValueT&& value) { m_oldValueHasBeenSet = true; m_oldValue = std::forward<OldValueT>(value); }
63 template<typename OldValueT = Aws::String>
64 FindingHistoryUpdate& WithOldValue(OldValueT&& value) { SetOldValue(std::forward<OldValueT>(value)); return *this;}
66
68
74 inline const Aws::String& GetNewValue() const { return m_newValue; }
75 inline bool NewValueHasBeenSet() const { return m_newValueHasBeenSet; }
76 template<typename NewValueT = Aws::String>
77 void SetNewValue(NewValueT&& value) { m_newValueHasBeenSet = true; m_newValue = std::forward<NewValueT>(value); }
78 template<typename NewValueT = Aws::String>
79 FindingHistoryUpdate& WithNewValue(NewValueT&& value) { SetNewValue(std::forward<NewValueT>(value)); return *this;}
81 private:
82
83 Aws::String m_updatedField;
84 bool m_updatedFieldHasBeenSet = false;
85
86 Aws::String m_oldValue;
87 bool m_oldValueHasBeenSet = false;
88
89 Aws::String m_newValue;
90 bool m_newValueHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace SecurityHub
95} // namespace Aws
FindingHistoryUpdate & WithOldValue(OldValueT &&value)
AWS_SECURITYHUB_API FindingHistoryUpdate(Aws::Utils::Json::JsonView jsonValue)
FindingHistoryUpdate & WithUpdatedField(UpdatedFieldT &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYHUB_API FindingHistoryUpdate()=default
FindingHistoryUpdate & WithNewValue(NewValueT &&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