AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
AuditEventResultEntry.h
1
6#pragma once
7#include <aws/cloudtrail-data/CloudTrailData_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace CloudTrailData {
20namespace Model {
21
29 public:
30 AWS_CLOUDTRAILDATA_API AuditEventResultEntry() = default;
31 AWS_CLOUDTRAILDATA_API AuditEventResultEntry(Aws::Utils::Json::JsonView jsonValue);
33 AWS_CLOUDTRAILDATA_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetEventID() const { return m_eventID; }
40 inline bool EventIDHasBeenSet() const { return m_eventIDHasBeenSet; }
41 template <typename EventIDT = Aws::String>
42 void SetEventID(EventIDT&& value) {
43 m_eventIDHasBeenSet = true;
44 m_eventID = std::forward<EventIDT>(value);
45 }
46 template <typename EventIDT = Aws::String>
48 SetEventID(std::forward<EventIDT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetId() const { return m_id; }
58 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
59 template <typename IdT = Aws::String>
60 void SetId(IdT&& value) {
61 m_idHasBeenSet = true;
62 m_id = std::forward<IdT>(value);
63 }
64 template <typename IdT = Aws::String>
66 SetId(std::forward<IdT>(value));
67 return *this;
68 }
70 private:
71 Aws::String m_eventID;
72
73 Aws::String m_id;
74 bool m_eventIDHasBeenSet = false;
75 bool m_idHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace CloudTrailData
80} // namespace Aws
void SetId(IdT &&value)
AWS_CLOUDTRAILDATA_API AuditEventResultEntry(Aws::Utils::Json::JsonView jsonValue)
bool EventIDHasBeenSet() const
const Aws::String & GetId() const
AuditEventResultEntry & WithId(IdT &&value)
AWS_CLOUDTRAILDATA_API AuditEventResultEntry()=default
AWS_CLOUDTRAILDATA_API AuditEventResultEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
AuditEventResultEntry & WithEventID(EventIDT &&value)
AWS_CLOUDTRAILDATA_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetEventID() const
bool IdHasBeenSet() const
void SetEventID(EventIDT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue