AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const ObjectTypeEnum& GetObjectType() const{ return m_objectType; }
51 inline bool ObjectTypeHasBeenSet() const { return m_objectTypeHasBeenSet; }
52 inline void SetObjectType(const ObjectTypeEnum& value) { m_objectTypeHasBeenSet = true; m_objectType = value; }
53 inline void SetObjectType(ObjectTypeEnum&& value) { m_objectTypeHasBeenSet = true; m_objectType = std::move(value); }
54 inline ChangeLog& WithObjectType(const ObjectTypeEnum& value) { SetObjectType(value); return *this;}
55 inline ChangeLog& WithObjectType(ObjectTypeEnum&& value) { SetObjectType(std::move(value)); return *this;}
57
59
63 inline const Aws::String& GetObjectName() const{ return m_objectName; }
64 inline bool ObjectNameHasBeenSet() const { return m_objectNameHasBeenSet; }
65 inline void SetObjectName(const Aws::String& value) { m_objectNameHasBeenSet = true; m_objectName = value; }
66 inline void SetObjectName(Aws::String&& value) { m_objectNameHasBeenSet = true; m_objectName = std::move(value); }
67 inline void SetObjectName(const char* value) { m_objectNameHasBeenSet = true; m_objectName.assign(value); }
68 inline ChangeLog& WithObjectName(const Aws::String& value) { SetObjectName(value); return *this;}
69 inline ChangeLog& WithObjectName(Aws::String&& value) { SetObjectName(std::move(value)); return *this;}
70 inline ChangeLog& WithObjectName(const char* value) { SetObjectName(value); return *this;}
72
74
77 inline const ActionEnum& GetAction() const{ return m_action; }
78 inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; }
79 inline void SetAction(const ActionEnum& value) { m_actionHasBeenSet = true; m_action = value; }
80 inline void SetAction(ActionEnum&& value) { m_actionHasBeenSet = true; m_action = std::move(value); }
81 inline ChangeLog& WithAction(const ActionEnum& value) { SetAction(value); return *this;}
82 inline ChangeLog& WithAction(ActionEnum&& value) { SetAction(std::move(value)); return *this;}
84
86
90 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
91 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
92 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
93 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
94 inline ChangeLog& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
95 inline ChangeLog& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
97
99
102 inline const Aws::String& GetCreatedBy() const{ return m_createdBy; }
103 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
104 inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; }
105 inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); }
106 inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); }
107 inline ChangeLog& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;}
108 inline ChangeLog& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;}
109 inline ChangeLog& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;}
111 private:
112
113 ObjectTypeEnum m_objectType;
114 bool m_objectTypeHasBeenSet = false;
115
116 Aws::String m_objectName;
117 bool m_objectNameHasBeenSet = false;
118
119 ActionEnum m_action;
120 bool m_actionHasBeenSet = false;
121
122 Aws::Utils::DateTime m_createdAt;
123 bool m_createdAtHasBeenSet = false;
124
125 Aws::String m_createdBy;
126 bool m_createdByHasBeenSet = false;
127 };
128
129} // namespace Model
130} // namespace AuditManager
131} // namespace Aws
void SetObjectName(Aws::String &&value)
Definition ChangeLog.h:66
void SetCreatedBy(const Aws::String &value)
Definition ChangeLog.h:104
ChangeLog & WithObjectName(const char *value)
Definition ChangeLog.h:70
void SetCreatedBy(const char *value)
Definition ChangeLog.h:106
ChangeLog & WithObjectType(const ObjectTypeEnum &value)
Definition ChangeLog.h:54
ChangeLog & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition ChangeLog.h:94
ChangeLog & WithCreatedAt(Aws::Utils::DateTime &&value)
Definition ChangeLog.h:95
AWS_AUDITMANAGER_API ChangeLog(Aws::Utils::Json::JsonView jsonValue)
void SetObjectType(const ObjectTypeEnum &value)
Definition ChangeLog.h:52
void SetCreatedBy(Aws::String &&value)
Definition ChangeLog.h:105
ChangeLog & WithCreatedBy(const Aws::String &value)
Definition ChangeLog.h:107
void SetObjectName(const Aws::String &value)
Definition ChangeLog.h:65
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition ChangeLog.h:92
ChangeLog & WithAction(const ActionEnum &value)
Definition ChangeLog.h:81
ChangeLog & WithCreatedBy(const char *value)
Definition ChangeLog.h:109
const Aws::String & GetObjectName() const
Definition ChangeLog.h:63
const Aws::String & GetCreatedBy() const
Definition ChangeLog.h:102
const ObjectTypeEnum & GetObjectType() const
Definition ChangeLog.h:50
ChangeLog & WithObjectType(ObjectTypeEnum &&value)
Definition ChangeLog.h:55
void SetAction(ActionEnum &&value)
Definition ChangeLog.h:80
void SetAction(const ActionEnum &value)
Definition ChangeLog.h:79
const ActionEnum & GetAction() const
Definition ChangeLog.h:77
AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
ChangeLog & WithObjectName(const Aws::String &value)
Definition ChangeLog.h:68
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition ChangeLog.h:93
ChangeLog & WithCreatedBy(Aws::String &&value)
Definition ChangeLog.h:108
const Aws::Utils::DateTime & GetCreatedAt() const
Definition ChangeLog.h:90
ChangeLog & WithObjectName(Aws::String &&value)
Definition ChangeLog.h:69
void SetObjectName(const char *value)
Definition ChangeLog.h:67
AWS_AUDITMANAGER_API ChangeLog & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetObjectType(ObjectTypeEnum &&value)
Definition ChangeLog.h:53
AWS_AUDITMANAGER_API ChangeLog()
ChangeLog & WithAction(ActionEnum &&value)
Definition ChangeLog.h:82
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue