AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AuditEvent.h
1
6#pragma once
7#include <aws/cloudtrail-data/CloudTrailData_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 CloudTrailData
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_CLOUDTRAILDATA_API AuditEvent();
36 AWS_CLOUDTRAILDATA_API AuditEvent(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CLOUDTRAILDATA_API AuditEvent& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CLOUDTRAILDATA_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
47 inline const Aws::String& GetEventData() const{ return m_eventData; }
48 inline bool EventDataHasBeenSet() const { return m_eventDataHasBeenSet; }
49 inline void SetEventData(const Aws::String& value) { m_eventDataHasBeenSet = true; m_eventData = value; }
50 inline void SetEventData(Aws::String&& value) { m_eventDataHasBeenSet = true; m_eventData = std::move(value); }
51 inline void SetEventData(const char* value) { m_eventDataHasBeenSet = true; m_eventData.assign(value); }
52 inline AuditEvent& WithEventData(const Aws::String& value) { SetEventData(value); return *this;}
53 inline AuditEvent& WithEventData(Aws::String&& value) { SetEventData(std::move(value)); return *this;}
54 inline AuditEvent& WithEventData(const char* value) { SetEventData(value); return *this;}
56
58
64 inline const Aws::String& GetEventDataChecksum() const{ return m_eventDataChecksum; }
65 inline bool EventDataChecksumHasBeenSet() const { return m_eventDataChecksumHasBeenSet; }
66 inline void SetEventDataChecksum(const Aws::String& value) { m_eventDataChecksumHasBeenSet = true; m_eventDataChecksum = value; }
67 inline void SetEventDataChecksum(Aws::String&& value) { m_eventDataChecksumHasBeenSet = true; m_eventDataChecksum = std::move(value); }
68 inline void SetEventDataChecksum(const char* value) { m_eventDataChecksumHasBeenSet = true; m_eventDataChecksum.assign(value); }
69 inline AuditEvent& WithEventDataChecksum(const Aws::String& value) { SetEventDataChecksum(value); return *this;}
70 inline AuditEvent& WithEventDataChecksum(Aws::String&& value) { SetEventDataChecksum(std::move(value)); return *this;}
71 inline AuditEvent& WithEventDataChecksum(const char* value) { SetEventDataChecksum(value); return *this;}
73
75
78 inline const Aws::String& GetId() const{ return m_id; }
79 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
80 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
81 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
82 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
83 inline AuditEvent& WithId(const Aws::String& value) { SetId(value); return *this;}
84 inline AuditEvent& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
85 inline AuditEvent& WithId(const char* value) { SetId(value); return *this;}
87 private:
88
89 Aws::String m_eventData;
90 bool m_eventDataHasBeenSet = false;
91
92 Aws::String m_eventDataChecksum;
93 bool m_eventDataChecksumHasBeenSet = false;
94
95 Aws::String m_id;
96 bool m_idHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace CloudTrailData
101} // namespace Aws
const Aws::String & GetId() const
Definition AuditEvent.h:78
AWS_CLOUDTRAILDATA_API AuditEvent(Aws::Utils::Json::JsonView jsonValue)
void SetEventData(const char *value)
Definition AuditEvent.h:51
AuditEvent & WithEventData(Aws::String &&value)
Definition AuditEvent.h:53
void SetEventDataChecksum(const char *value)
Definition AuditEvent.h:68
void SetEventDataChecksum(const Aws::String &value)
Definition AuditEvent.h:66
void SetId(Aws::String &&value)
Definition AuditEvent.h:81
const Aws::String & GetEventData() const
Definition AuditEvent.h:47
AuditEvent & WithEventDataChecksum(const char *value)
Definition AuditEvent.h:71
void SetEventData(Aws::String &&value)
Definition AuditEvent.h:50
AWS_CLOUDTRAILDATA_API AuditEvent()
AuditEvent & WithEventDataChecksum(const Aws::String &value)
Definition AuditEvent.h:69
const Aws::String & GetEventDataChecksum() const
Definition AuditEvent.h:64
void SetId(const char *value)
Definition AuditEvent.h:82
AuditEvent & WithEventDataChecksum(Aws::String &&value)
Definition AuditEvent.h:70
void SetEventData(const Aws::String &value)
Definition AuditEvent.h:49
AWS_CLOUDTRAILDATA_API AuditEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDTRAILDATA_API Aws::Utils::Json::JsonValue Jsonize() const
AuditEvent & WithId(Aws::String &&value)
Definition AuditEvent.h:84
void SetId(const Aws::String &value)
Definition AuditEvent.h:80
AuditEvent & WithEventData(const Aws::String &value)
Definition AuditEvent.h:52
AuditEvent & WithEventData(const char *value)
Definition AuditEvent.h:54
AuditEvent & WithId(const char *value)
Definition AuditEvent.h:85
void SetEventDataChecksum(Aws::String &&value)
Definition AuditEvent.h:67
AuditEvent & WithId(const Aws::String &value)
Definition AuditEvent.h:83
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue