AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ChangeLog.h
1
6#pragma once
7#include <aws/auditmanager/AuditManager_EXPORTS.h>
8#include <aws/auditmanager/model/ObjectTypeEnum.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/auditmanager/model/ActionEnum.h>
11#include <aws/core/utils/DateTime.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace AuditManager
25{
26namespace Model
27{
28
37 {
38 public:
39 AWS_AUDITMANAGER_API ChangeLog() = default;
40 AWS_AUDITMANAGER_API ChangeLog(Aws::Utils::Json::JsonView jsonValue);
41 AWS_AUDITMANAGER_API ChangeLog& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
50 inline ObjectTypeEnum GetObjectType() const { return m_objectType; }
51 inline bool ObjectTypeHasBeenSet() const { return m_objectTypeHasBeenSet; }
52 inline void SetObjectType(ObjectTypeEnum value) { m_objectTypeHasBeenSet = true; m_objectType = value; }
53 inline ChangeLog& WithObjectType(ObjectTypeEnum value) { SetObjectType(value); return *this;}
55
57
61 inline const Aws::String& GetObjectName() const { return m_objectName; }
62 inline bool ObjectNameHasBeenSet() const { return m_objectNameHasBeenSet; }
63 template<typename ObjectNameT = Aws::String>
64 void SetObjectName(ObjectNameT&& value) { m_objectNameHasBeenSet = true; m_objectName = std::forward<ObjectNameT>(value); }
65 template<typename ObjectNameT = Aws::String>
66 ChangeLog& WithObjectName(ObjectNameT&& value) { SetObjectName(std::forward<ObjectNameT>(value)); return *this;}
68
70
73 inline ActionEnum GetAction() const { return m_action; }
74 inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; }
75 inline void SetAction(ActionEnum value) { m_actionHasBeenSet = true; m_action = value; }
76 inline ChangeLog& WithAction(ActionEnum value) { SetAction(value); return *this;}
78
80
84 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
85 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
86 template<typename CreatedAtT = Aws::Utils::DateTime>
87 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
88 template<typename CreatedAtT = Aws::Utils::DateTime>
89 ChangeLog& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
91
93
96 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
97 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
98 template<typename CreatedByT = Aws::String>
99 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet = true; m_createdBy = std::forward<CreatedByT>(value); }
100 template<typename CreatedByT = Aws::String>
101 ChangeLog& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
103 private:
104
106 bool m_objectTypeHasBeenSet = false;
107
108 Aws::String m_objectName;
109 bool m_objectNameHasBeenSet = false;
110
112 bool m_actionHasBeenSet = false;
113
114 Aws::Utils::DateTime m_createdAt{};
115 bool m_createdAtHasBeenSet = false;
116
117 Aws::String m_createdBy;
118 bool m_createdByHasBeenSet = false;
119 };
120
121} // namespace Model
122} // namespace AuditManager
123} // namespace Aws
ChangeLog & WithCreatedBy(CreatedByT &&value)
Definition ChangeLog.h:101
void SetObjectType(ObjectTypeEnum value)
Definition ChangeLog.h:52
ChangeLog & WithCreatedAt(CreatedAtT &&value)
Definition ChangeLog.h:89
void SetObjectName(ObjectNameT &&value)
Definition ChangeLog.h:64
AWS_AUDITMANAGER_API ChangeLog(Aws::Utils::Json::JsonView jsonValue)
void SetAction(ActionEnum value)
Definition ChangeLog.h:75
const Aws::String & GetObjectName() const
Definition ChangeLog.h:61
const Aws::String & GetCreatedBy() const
Definition ChangeLog.h:96
ObjectTypeEnum GetObjectType() const
Definition ChangeLog.h:50
AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_AUDITMANAGER_API ChangeLog()=default
ChangeLog & WithObjectName(ObjectNameT &&value)
Definition ChangeLog.h:66
const Aws::Utils::DateTime & GetCreatedAt() const
Definition ChangeLog.h:84
void SetCreatedAt(CreatedAtT &&value)
Definition ChangeLog.h:87
AWS_AUDITMANAGER_API ChangeLog & operator=(Aws::Utils::Json::JsonView jsonValue)
ChangeLog & WithAction(ActionEnum value)
Definition ChangeLog.h:76
ChangeLog & WithObjectType(ObjectTypeEnum value)
Definition ChangeLog.h:53
void SetCreatedBy(CreatedByT &&value)
Definition ChangeLog.h:99
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue