AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Notification.h
1
6#pragma once
7#include <aws/auditmanager/AuditManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.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 AuditManager
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_AUDITMANAGER_API Notification();
38 AWS_AUDITMANAGER_API Notification(Aws::Utils::Json::JsonView jsonValue);
39 AWS_AUDITMANAGER_API Notification& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetId() const{ return m_id; }
48 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
49 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
50 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
51 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
52 inline Notification& WithId(const Aws::String& value) { SetId(value); return *this;}
53 inline Notification& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
54 inline Notification& WithId(const char* value) { SetId(value); return *this;}
56
58
61 inline const Aws::String& GetAssessmentId() const{ return m_assessmentId; }
62 inline bool AssessmentIdHasBeenSet() const { return m_assessmentIdHasBeenSet; }
63 inline void SetAssessmentId(const Aws::String& value) { m_assessmentIdHasBeenSet = true; m_assessmentId = value; }
64 inline void SetAssessmentId(Aws::String&& value) { m_assessmentIdHasBeenSet = true; m_assessmentId = std::move(value); }
65 inline void SetAssessmentId(const char* value) { m_assessmentIdHasBeenSet = true; m_assessmentId.assign(value); }
66 inline Notification& WithAssessmentId(const Aws::String& value) { SetAssessmentId(value); return *this;}
67 inline Notification& WithAssessmentId(Aws::String&& value) { SetAssessmentId(std::move(value)); return *this;}
68 inline Notification& WithAssessmentId(const char* value) { SetAssessmentId(value); return *this;}
70
72
75 inline const Aws::String& GetAssessmentName() const{ return m_assessmentName; }
76 inline bool AssessmentNameHasBeenSet() const { return m_assessmentNameHasBeenSet; }
77 inline void SetAssessmentName(const Aws::String& value) { m_assessmentNameHasBeenSet = true; m_assessmentName = value; }
78 inline void SetAssessmentName(Aws::String&& value) { m_assessmentNameHasBeenSet = true; m_assessmentName = std::move(value); }
79 inline void SetAssessmentName(const char* value) { m_assessmentNameHasBeenSet = true; m_assessmentName.assign(value); }
80 inline Notification& WithAssessmentName(const Aws::String& value) { SetAssessmentName(value); return *this;}
81 inline Notification& WithAssessmentName(Aws::String&& value) { SetAssessmentName(std::move(value)); return *this;}
82 inline Notification& WithAssessmentName(const char* value) { SetAssessmentName(value); return *this;}
84
86
89 inline const Aws::String& GetControlSetId() const{ return m_controlSetId; }
90 inline bool ControlSetIdHasBeenSet() const { return m_controlSetIdHasBeenSet; }
91 inline void SetControlSetId(const Aws::String& value) { m_controlSetIdHasBeenSet = true; m_controlSetId = value; }
92 inline void SetControlSetId(Aws::String&& value) { m_controlSetIdHasBeenSet = true; m_controlSetId = std::move(value); }
93 inline void SetControlSetId(const char* value) { m_controlSetIdHasBeenSet = true; m_controlSetId.assign(value); }
94 inline Notification& WithControlSetId(const Aws::String& value) { SetControlSetId(value); return *this;}
95 inline Notification& WithControlSetId(Aws::String&& value) { SetControlSetId(std::move(value)); return *this;}
96 inline Notification& WithControlSetId(const char* value) { SetControlSetId(value); return *this;}
98
100
103 inline const Aws::String& GetControlSetName() const{ return m_controlSetName; }
104 inline bool ControlSetNameHasBeenSet() const { return m_controlSetNameHasBeenSet; }
105 inline void SetControlSetName(const Aws::String& value) { m_controlSetNameHasBeenSet = true; m_controlSetName = value; }
106 inline void SetControlSetName(Aws::String&& value) { m_controlSetNameHasBeenSet = true; m_controlSetName = std::move(value); }
107 inline void SetControlSetName(const char* value) { m_controlSetNameHasBeenSet = true; m_controlSetName.assign(value); }
108 inline Notification& WithControlSetName(const Aws::String& value) { SetControlSetName(value); return *this;}
109 inline Notification& WithControlSetName(Aws::String&& value) { SetControlSetName(std::move(value)); return *this;}
110 inline Notification& WithControlSetName(const char* value) { SetControlSetName(value); return *this;}
112
114
117 inline const Aws::String& GetDescription() const{ return m_description; }
118 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
119 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
120 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
121 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
122 inline Notification& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
123 inline Notification& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
124 inline Notification& WithDescription(const char* value) { SetDescription(value); return *this;}
126
128
131 inline const Aws::Utils::DateTime& GetEventTime() const{ return m_eventTime; }
132 inline bool EventTimeHasBeenSet() const { return m_eventTimeHasBeenSet; }
133 inline void SetEventTime(const Aws::Utils::DateTime& value) { m_eventTimeHasBeenSet = true; m_eventTime = value; }
134 inline void SetEventTime(Aws::Utils::DateTime&& value) { m_eventTimeHasBeenSet = true; m_eventTime = std::move(value); }
135 inline Notification& WithEventTime(const Aws::Utils::DateTime& value) { SetEventTime(value); return *this;}
136 inline Notification& WithEventTime(Aws::Utils::DateTime&& value) { SetEventTime(std::move(value)); return *this;}
138
140
143 inline const Aws::String& GetSource() const{ return m_source; }
144 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
145 inline void SetSource(const Aws::String& value) { m_sourceHasBeenSet = true; m_source = value; }
146 inline void SetSource(Aws::String&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); }
147 inline void SetSource(const char* value) { m_sourceHasBeenSet = true; m_source.assign(value); }
148 inline Notification& WithSource(const Aws::String& value) { SetSource(value); return *this;}
149 inline Notification& WithSource(Aws::String&& value) { SetSource(std::move(value)); return *this;}
150 inline Notification& WithSource(const char* value) { SetSource(value); return *this;}
152 private:
153
154 Aws::String m_id;
155 bool m_idHasBeenSet = false;
156
157 Aws::String m_assessmentId;
158 bool m_assessmentIdHasBeenSet = false;
159
160 Aws::String m_assessmentName;
161 bool m_assessmentNameHasBeenSet = false;
162
163 Aws::String m_controlSetId;
164 bool m_controlSetIdHasBeenSet = false;
165
166 Aws::String m_controlSetName;
167 bool m_controlSetNameHasBeenSet = false;
168
169 Aws::String m_description;
170 bool m_descriptionHasBeenSet = false;
171
172 Aws::Utils::DateTime m_eventTime;
173 bool m_eventTimeHasBeenSet = false;
174
175 Aws::String m_source;
176 bool m_sourceHasBeenSet = false;
177 };
178
179} // namespace Model
180} // namespace AuditManager
181} // namespace Aws
Notification & WithControlSetId(Aws::String &&value)
void SetControlSetId(const Aws::String &value)
void SetAssessmentName(const char *value)
void SetControlSetId(Aws::String &&value)
void SetDescription(const Aws::String &value)
AWS_AUDITMANAGER_API Notification & operator=(Aws::Utils::Json::JsonView jsonValue)
Notification & WithDescription(const Aws::String &value)
void SetControlSetName(const char *value)
void SetId(const Aws::String &value)
void SetAssessmentId(Aws::String &&value)
void SetControlSetName(const Aws::String &value)
void SetDescription(const char *value)
void SetSource(Aws::String &&value)
const Aws::String & GetControlSetId() const
void SetAssessmentName(const Aws::String &value)
const Aws::String & GetId() const
const Aws::String & GetAssessmentId() const
Notification & WithAssessmentId(const Aws::String &value)
Notification & WithSource(const char *value)
Notification & WithControlSetId(const char *value)
void SetSource(const Aws::String &value)
Notification & WithAssessmentName(const char *value)
const Aws::String & GetAssessmentName() const
Notification & WithControlSetName(const char *value)
AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetControlSetId(const char *value)
const Aws::String & GetSource() const
Notification & WithControlSetId(const Aws::String &value)
void SetAssessmentId(const Aws::String &value)
Notification & WithEventTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetEventTime() const
Notification & WithControlSetName(Aws::String &&value)
Notification & WithAssessmentName(Aws::String &&value)
Notification & WithDescription(const char *value)
const Aws::String & GetDescription() const
Notification & WithId(const char *value)
Notification & WithSource(Aws::String &&value)
Notification & WithAssessmentName(const Aws::String &value)
Notification & WithAssessmentId(const char *value)
void SetId(Aws::String &&value)
void SetEventTime(const Aws::Utils::DateTime &value)
Notification & WithDescription(Aws::String &&value)
void SetAssessmentName(Aws::String &&value)
void SetAssessmentId(const char *value)
AWS_AUDITMANAGER_API Notification(Aws::Utils::Json::JsonView jsonValue)
AWS_AUDITMANAGER_API Notification()
Notification & WithSource(const Aws::String &value)
void SetControlSetName(Aws::String &&value)
Notification & WithControlSetName(const Aws::String &value)
Notification & WithAssessmentId(Aws::String &&value)
Notification & WithId(Aws::String &&value)
Notification & WithId(const Aws::String &value)
void SetDescription(Aws::String &&value)
const Aws::String & GetControlSetName() const
Notification & WithEventTime(const Aws::Utils::DateTime &value)
void SetEventTime(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue