AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AuditEventField.h
1
6#pragma once
7#include <aws/connectcases/ConnectCases_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/connectcases/model/AuditEventFieldValueUnion.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ConnectCases
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_CONNECTCASES_API AuditEventField();
36 AWS_CONNECTCASES_API AuditEventField(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CONNECTCASES_API AuditEventField& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CONNECTCASES_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetEventFieldId() const{ return m_eventFieldId; }
46 inline bool EventFieldIdHasBeenSet() const { return m_eventFieldIdHasBeenSet; }
47 inline void SetEventFieldId(const Aws::String& value) { m_eventFieldIdHasBeenSet = true; m_eventFieldId = value; }
48 inline void SetEventFieldId(Aws::String&& value) { m_eventFieldIdHasBeenSet = true; m_eventFieldId = std::move(value); }
49 inline void SetEventFieldId(const char* value) { m_eventFieldIdHasBeenSet = true; m_eventFieldId.assign(value); }
50 inline AuditEventField& WithEventFieldId(const Aws::String& value) { SetEventFieldId(value); return *this;}
51 inline AuditEventField& WithEventFieldId(Aws::String&& value) { SetEventFieldId(std::move(value)); return *this;}
52 inline AuditEventField& WithEventFieldId(const char* value) { SetEventFieldId(value); return *this;}
54
56
59 inline const AuditEventFieldValueUnion& GetNewValue() const{ return m_newValue; }
60 inline bool NewValueHasBeenSet() const { return m_newValueHasBeenSet; }
61 inline void SetNewValue(const AuditEventFieldValueUnion& value) { m_newValueHasBeenSet = true; m_newValue = value; }
62 inline void SetNewValue(AuditEventFieldValueUnion&& value) { m_newValueHasBeenSet = true; m_newValue = std::move(value); }
63 inline AuditEventField& WithNewValue(const AuditEventFieldValueUnion& value) { SetNewValue(value); return *this;}
64 inline AuditEventField& WithNewValue(AuditEventFieldValueUnion&& value) { SetNewValue(std::move(value)); return *this;}
66
68
71 inline const AuditEventFieldValueUnion& GetOldValue() const{ return m_oldValue; }
72 inline bool OldValueHasBeenSet() const { return m_oldValueHasBeenSet; }
73 inline void SetOldValue(const AuditEventFieldValueUnion& value) { m_oldValueHasBeenSet = true; m_oldValue = value; }
74 inline void SetOldValue(AuditEventFieldValueUnion&& value) { m_oldValueHasBeenSet = true; m_oldValue = std::move(value); }
75 inline AuditEventField& WithOldValue(const AuditEventFieldValueUnion& value) { SetOldValue(value); return *this;}
76 inline AuditEventField& WithOldValue(AuditEventFieldValueUnion&& value) { SetOldValue(std::move(value)); return *this;}
78 private:
79
80 Aws::String m_eventFieldId;
81 bool m_eventFieldIdHasBeenSet = false;
82
84 bool m_newValueHasBeenSet = false;
85
87 bool m_oldValueHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace ConnectCases
92} // namespace Aws
AuditEventField & WithOldValue(const AuditEventFieldValueUnion &value)
AWS_CONNECTCASES_API AuditEventField & operator=(Aws::Utils::Json::JsonView jsonValue)
AuditEventField & WithOldValue(AuditEventFieldValueUnion &&value)
const Aws::String & GetEventFieldId() const
const AuditEventFieldValueUnion & GetNewValue() const
AuditEventField & WithNewValue(const AuditEventFieldValueUnion &value)
const AuditEventFieldValueUnion & GetOldValue() const
void SetNewValue(AuditEventFieldValueUnion &&value)
AWS_CONNECTCASES_API Aws::Utils::Json::JsonValue Jsonize() const
void SetOldValue(const AuditEventFieldValueUnion &value)
AuditEventField & WithEventFieldId(const Aws::String &value)
AuditEventField & WithEventFieldId(const char *value)
AuditEventField & WithEventFieldId(Aws::String &&value)
void SetOldValue(AuditEventFieldValueUnion &&value)
void SetEventFieldId(Aws::String &&value)
AuditEventField & WithNewValue(AuditEventFieldValueUnion &&value)
void SetNewValue(const AuditEventFieldValueUnion &value)
AWS_CONNECTCASES_API AuditEventField(Aws::Utils::Json::JsonView jsonValue)
void SetEventFieldId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue