AWS SDK for C++  1.9.157
AWS SDK for C++
ConfigurationEvent.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21  class JsonView;
22 } // namespace Json
23 } // namespace Utils
24 namespace ApplicationInsights
25 {
26 namespace Model
27 {
28 
35  {
36  public:
41 
42 
46  inline const Aws::String& GetMonitoredResourceARN() const{ return m_monitoredResourceARN; }
47 
51  inline bool MonitoredResourceARNHasBeenSet() const { return m_monitoredResourceARNHasBeenSet; }
52 
56  inline void SetMonitoredResourceARN(const Aws::String& value) { m_monitoredResourceARNHasBeenSet = true; m_monitoredResourceARN = value; }
57 
61  inline void SetMonitoredResourceARN(Aws::String&& value) { m_monitoredResourceARNHasBeenSet = true; m_monitoredResourceARN = std::move(value); }
62 
66  inline void SetMonitoredResourceARN(const char* value) { m_monitoredResourceARNHasBeenSet = true; m_monitoredResourceARN.assign(value); }
67 
71  inline ConfigurationEvent& WithMonitoredResourceARN(const Aws::String& value) { SetMonitoredResourceARN(value); return *this;}
72 
76  inline ConfigurationEvent& WithMonitoredResourceARN(Aws::String&& value) { SetMonitoredResourceARN(std::move(value)); return *this;}
77 
81  inline ConfigurationEvent& WithMonitoredResourceARN(const char* value) { SetMonitoredResourceARN(value); return *this;}
82 
83 
88  inline const ConfigurationEventStatus& GetEventStatus() const{ return m_eventStatus; }
89 
94  inline bool EventStatusHasBeenSet() const { return m_eventStatusHasBeenSet; }
95 
100  inline void SetEventStatus(const ConfigurationEventStatus& value) { m_eventStatusHasBeenSet = true; m_eventStatus = value; }
101 
106  inline void SetEventStatus(ConfigurationEventStatus&& value) { m_eventStatusHasBeenSet = true; m_eventStatus = std::move(value); }
107 
112  inline ConfigurationEvent& WithEventStatus(const ConfigurationEventStatus& value) { SetEventStatus(value); return *this;}
113 
118  inline ConfigurationEvent& WithEventStatus(ConfigurationEventStatus&& value) { SetEventStatus(std::move(value)); return *this;}
119 
120 
125  inline const ConfigurationEventResourceType& GetEventResourceType() const{ return m_eventResourceType; }
126 
131  inline bool EventResourceTypeHasBeenSet() const { return m_eventResourceTypeHasBeenSet; }
132 
137  inline void SetEventResourceType(const ConfigurationEventResourceType& value) { m_eventResourceTypeHasBeenSet = true; m_eventResourceType = value; }
138 
143  inline void SetEventResourceType(ConfigurationEventResourceType&& value) { m_eventResourceTypeHasBeenSet = true; m_eventResourceType = std::move(value); }
144 
149  inline ConfigurationEvent& WithEventResourceType(const ConfigurationEventResourceType& value) { SetEventResourceType(value); return *this;}
150 
155  inline ConfigurationEvent& WithEventResourceType(ConfigurationEventResourceType&& value) { SetEventResourceType(std::move(value)); return *this;}
156 
157 
161  inline const Aws::Utils::DateTime& GetEventTime() const{ return m_eventTime; }
162 
166  inline bool EventTimeHasBeenSet() const { return m_eventTimeHasBeenSet; }
167 
171  inline void SetEventTime(const Aws::Utils::DateTime& value) { m_eventTimeHasBeenSet = true; m_eventTime = value; }
172 
176  inline void SetEventTime(Aws::Utils::DateTime&& value) { m_eventTimeHasBeenSet = true; m_eventTime = std::move(value); }
177 
181  inline ConfigurationEvent& WithEventTime(const Aws::Utils::DateTime& value) { SetEventTime(value); return *this;}
182 
186  inline ConfigurationEvent& WithEventTime(Aws::Utils::DateTime&& value) { SetEventTime(std::move(value)); return *this;}
187 
188 
192  inline const Aws::String& GetEventDetail() const{ return m_eventDetail; }
193 
197  inline bool EventDetailHasBeenSet() const { return m_eventDetailHasBeenSet; }
198 
202  inline void SetEventDetail(const Aws::String& value) { m_eventDetailHasBeenSet = true; m_eventDetail = value; }
203 
207  inline void SetEventDetail(Aws::String&& value) { m_eventDetailHasBeenSet = true; m_eventDetail = std::move(value); }
208 
212  inline void SetEventDetail(const char* value) { m_eventDetailHasBeenSet = true; m_eventDetail.assign(value); }
213 
217  inline ConfigurationEvent& WithEventDetail(const Aws::String& value) { SetEventDetail(value); return *this;}
218 
222  inline ConfigurationEvent& WithEventDetail(Aws::String&& value) { SetEventDetail(std::move(value)); return *this;}
223 
227  inline ConfigurationEvent& WithEventDetail(const char* value) { SetEventDetail(value); return *this;}
228 
229 
233  inline const Aws::String& GetEventResourceName() const{ return m_eventResourceName; }
234 
238  inline bool EventResourceNameHasBeenSet() const { return m_eventResourceNameHasBeenSet; }
239 
243  inline void SetEventResourceName(const Aws::String& value) { m_eventResourceNameHasBeenSet = true; m_eventResourceName = value; }
244 
248  inline void SetEventResourceName(Aws::String&& value) { m_eventResourceNameHasBeenSet = true; m_eventResourceName = std::move(value); }
249 
253  inline void SetEventResourceName(const char* value) { m_eventResourceNameHasBeenSet = true; m_eventResourceName.assign(value); }
254 
258  inline ConfigurationEvent& WithEventResourceName(const Aws::String& value) { SetEventResourceName(value); return *this;}
259 
263  inline ConfigurationEvent& WithEventResourceName(Aws::String&& value) { SetEventResourceName(std::move(value)); return *this;}
264 
268  inline ConfigurationEvent& WithEventResourceName(const char* value) { SetEventResourceName(value); return *this;}
269 
270  private:
271 
272  Aws::String m_monitoredResourceARN;
273  bool m_monitoredResourceARNHasBeenSet;
274 
275  ConfigurationEventStatus m_eventStatus;
276  bool m_eventStatusHasBeenSet;
277 
278  ConfigurationEventResourceType m_eventResourceType;
279  bool m_eventResourceTypeHasBeenSet;
280 
281  Aws::Utils::DateTime m_eventTime;
282  bool m_eventTimeHasBeenSet;
283 
284  Aws::String m_eventDetail;
285  bool m_eventDetailHasBeenSet;
286 
287  Aws::String m_eventResourceName;
288  bool m_eventResourceNameHasBeenSet;
289  };
290 
291 } // namespace Model
292 } // namespace ApplicationInsights
293 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::ApplicationInsights::Model::ConfigurationEvent::WithEventResourceType
ConfigurationEvent & WithEventResourceType(ConfigurationEventResourceType &&value)
Definition: ConfigurationEvent.h:155
Aws::ApplicationInsights::Model::ConfigurationEvent::SetEventResourceName
void SetEventResourceName(const char *value)
Definition: ConfigurationEvent.h:253
Aws::ApplicationInsights::Model::ConfigurationEvent::SetEventResourceName
void SetEventResourceName(Aws::String &&value)
Definition: ConfigurationEvent.h:248
Aws::ApplicationInsights::Model::ConfigurationEvent::GetMonitoredResourceARN
const Aws::String & GetMonitoredResourceARN() const
Definition: ConfigurationEvent.h:46
Aws::ApplicationInsights::Model::ConfigurationEvent::WithEventResourceName
ConfigurationEvent & WithEventResourceName(const char *value)
Definition: ConfigurationEvent.h:268
Aws::ApplicationInsights::Model::ConfigurationEvent::MonitoredResourceARNHasBeenSet
bool MonitoredResourceARNHasBeenSet() const
Definition: ConfigurationEvent.h:51
Aws::ApplicationInsights::Model::ConfigurationEvent::WithEventStatus
ConfigurationEvent & WithEventStatus(const ConfigurationEventStatus &value)
Definition: ConfigurationEvent.h:112
Aws::ApplicationInsights::Model::ConfigurationEvent::WithEventResourceName
ConfigurationEvent & WithEventResourceName(const Aws::String &value)
Definition: ConfigurationEvent.h:258
DateTime.h
Aws::ApplicationInsights::Model::ConfigurationEvent::SetEventTime
void SetEventTime(Aws::Utils::DateTime &&value)
Definition: ConfigurationEvent.h:176
Aws::ApplicationInsights::Model::ConfigurationEvent::WithEventDetail
ConfigurationEvent & WithEventDetail(const Aws::String &value)
Definition: ConfigurationEvent.h:217
Aws::ApplicationInsights::Model::ConfigurationEvent::SetEventResourceType
void SetEventResourceType(ConfigurationEventResourceType &&value)
Definition: ConfigurationEvent.h:143
Aws::ApplicationInsights::Model::ConfigurationEvent::WithMonitoredResourceARN
ConfigurationEvent & WithMonitoredResourceARN(const Aws::String &value)
Definition: ConfigurationEvent.h:71
Aws::ApplicationInsights::Model::ConfigurationEvent::SetMonitoredResourceARN
void SetMonitoredResourceARN(Aws::String &&value)
Definition: ConfigurationEvent.h:61
ConfigurationEventStatus.h
Aws::ApplicationInsights::Model::ConfigurationEvent::GetEventResourceName
const Aws::String & GetEventResourceName() const
Definition: ConfigurationEvent.h:233
Aws::ApplicationInsights::Model::ConfigurationEvent::GetEventStatus
const ConfigurationEventStatus & GetEventStatus() const
Definition: ConfigurationEvent.h:88
Aws::ApplicationInsights::Model::ConfigurationEvent::WithEventTime
ConfigurationEvent & WithEventTime(const Aws::Utils::DateTime &value)
Definition: ConfigurationEvent.h:181
Aws::ApplicationInsights::Model::ConfigurationEvent::SetEventDetail
void SetEventDetail(const Aws::String &value)
Definition: ConfigurationEvent.h:202
Aws::ApplicationInsights::Model::ConfigurationEvent::SetEventDetail
void SetEventDetail(Aws::String &&value)
Definition: ConfigurationEvent.h:207
Aws::ApplicationInsights::Model::ConfigurationEvent::operator=
ConfigurationEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ApplicationInsights::Model::ConfigurationEvent::SetEventResourceName
void SetEventResourceName(const Aws::String &value)
Definition: ConfigurationEvent.h:243
Aws::ApplicationInsights::Model::ConfigurationEvent::SetEventDetail
void SetEventDetail(const char *value)
Definition: ConfigurationEvent.h:212
AWS_APPLICATIONINSIGHTS_API
#define AWS_APPLICATIONINSIGHTS_API
Definition: ApplicationInsights_EXPORTS.h:28
Aws::ApplicationInsights::Model::ConfigurationEvent::EventResourceTypeHasBeenSet
bool EventResourceTypeHasBeenSet() const
Definition: ConfigurationEvent.h:131
Aws::ApplicationInsights::Model::ConfigurationEvent::SetMonitoredResourceARN
void SetMonitoredResourceARN(const char *value)
Definition: ConfigurationEvent.h:66
Aws::ApplicationInsights::Model::ConfigurationEvent::EventResourceNameHasBeenSet
bool EventResourceNameHasBeenSet() const
Definition: ConfigurationEvent.h:238
Aws::ApplicationInsights::Model::ConfigurationEvent::WithEventDetail
ConfigurationEvent & WithEventDetail(Aws::String &&value)
Definition: ConfigurationEvent.h:222
Aws::ApplicationInsights::Model::ConfigurationEvent::ConfigurationEvent
ConfigurationEvent()
Aws::ApplicationInsights::Model::ConfigurationEvent::WithEventResourceType
ConfigurationEvent & WithEventResourceType(const ConfigurationEventResourceType &value)
Definition: ConfigurationEvent.h:149
Aws::ApplicationInsights::Model::ConfigurationEvent::WithEventStatus
ConfigurationEvent & WithEventStatus(ConfigurationEventStatus &&value)
Definition: ConfigurationEvent.h:118
Aws::ApplicationInsights::Model::ConfigurationEvent::SetEventStatus
void SetEventStatus(const ConfigurationEventStatus &value)
Definition: ConfigurationEvent.h:100
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::ApplicationInsights::Model::ConfigurationEvent::EventStatusHasBeenSet
bool EventStatusHasBeenSet() const
Definition: ConfigurationEvent.h:94
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ApplicationInsights::Model::ConfigurationEventStatus
ConfigurationEventStatus
Definition: ConfigurationEventStatus.h:17
Aws::ApplicationInsights::Model::ConfigurationEvent::WithEventDetail
ConfigurationEvent & WithEventDetail(const char *value)
Definition: ConfigurationEvent.h:227
Aws::ApplicationInsights::Model::ConfigurationEvent::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::ApplicationInsights::Model::ConfigurationEvent
Definition: ConfigurationEvent.h:35
Aws::ApplicationInsights::Model::ConfigurationEvent::GetEventResourceType
const ConfigurationEventResourceType & GetEventResourceType() const
Definition: ConfigurationEvent.h:125
Aws::ApplicationInsights::Model::ConfigurationEvent::EventDetailHasBeenSet
bool EventDetailHasBeenSet() const
Definition: ConfigurationEvent.h:197
Aws::ApplicationInsights::Model::ConfigurationEvent::WithMonitoredResourceARN
ConfigurationEvent & WithMonitoredResourceARN(Aws::String &&value)
Definition: ConfigurationEvent.h:76
Aws::ApplicationInsights::Model::ConfigurationEvent::EventTimeHasBeenSet
bool EventTimeHasBeenSet() const
Definition: ConfigurationEvent.h:166
Aws::ApplicationInsights::Model::ConfigurationEvent::SetEventTime
void SetEventTime(const Aws::Utils::DateTime &value)
Definition: ConfigurationEvent.h:171
Aws::ApplicationInsights::Model::ConfigurationEvent::WithEventTime
ConfigurationEvent & WithEventTime(Aws::Utils::DateTime &&value)
Definition: ConfigurationEvent.h:186
Aws::ApplicationInsights::Model::ConfigurationEvent::GetEventDetail
const Aws::String & GetEventDetail() const
Definition: ConfigurationEvent.h:192
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::ApplicationInsights::Model::ConfigurationEvent::ConfigurationEvent
ConfigurationEvent(Aws::Utils::Json::JsonView jsonValue)
Aws::ApplicationInsights::Model::ConfigurationEventResourceType
ConfigurationEventResourceType
Definition: ConfigurationEventResourceType.h:17
Aws::ApplicationInsights::Model::ConfigurationEvent::SetEventResourceType
void SetEventResourceType(const ConfigurationEventResourceType &value)
Definition: ConfigurationEvent.h:137
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ApplicationInsights::Model::ConfigurationEvent::SetMonitoredResourceARN
void SetMonitoredResourceARN(const Aws::String &value)
Definition: ConfigurationEvent.h:56
Aws::ApplicationInsights::Model::ConfigurationEvent::WithEventResourceName
ConfigurationEvent & WithEventResourceName(Aws::String &&value)
Definition: ConfigurationEvent.h:263
Aws::ApplicationInsights::Model::ConfigurationEvent::GetEventTime
const Aws::Utils::DateTime & GetEventTime() const
Definition: ConfigurationEvent.h:161
Aws::ApplicationInsights::Model::ConfigurationEvent::SetEventStatus
void SetEventStatus(ConfigurationEventStatus &&value)
Definition: ConfigurationEvent.h:106
ApplicationInsights_EXPORTS.h
ConfigurationEventResourceType.h
Aws::ApplicationInsights::Model::ConfigurationEvent::WithMonitoredResourceARN
ConfigurationEvent & WithMonitoredResourceARN(const char *value)
Definition: ConfigurationEvent.h:81