AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ConfigurationEvent.h
1
6#pragma once
7#include <aws/application-insights/ApplicationInsights_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/application-insights/model/ConfigurationEventStatus.h>
10#include <aws/application-insights/model/ConfigurationEventResourceType.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 ApplicationInsights
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_APPLICATIONINSIGHTS_API ConfigurationEvent();
38 AWS_APPLICATIONINSIGHTS_API ConfigurationEvent(Aws::Utils::Json::JsonView jsonValue);
39 AWS_APPLICATIONINSIGHTS_API ConfigurationEvent& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_APPLICATIONINSIGHTS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::String& GetResourceGroupName() const{ return m_resourceGroupName; }
49 inline bool ResourceGroupNameHasBeenSet() const { return m_resourceGroupNameHasBeenSet; }
50 inline void SetResourceGroupName(const Aws::String& value) { m_resourceGroupNameHasBeenSet = true; m_resourceGroupName = value; }
51 inline void SetResourceGroupName(Aws::String&& value) { m_resourceGroupNameHasBeenSet = true; m_resourceGroupName = std::move(value); }
52 inline void SetResourceGroupName(const char* value) { m_resourceGroupNameHasBeenSet = true; m_resourceGroupName.assign(value); }
53 inline ConfigurationEvent& WithResourceGroupName(const Aws::String& value) { SetResourceGroupName(value); return *this;}
54 inline ConfigurationEvent& WithResourceGroupName(Aws::String&& value) { SetResourceGroupName(std::move(value)); return *this;}
55 inline ConfigurationEvent& WithResourceGroupName(const char* value) { SetResourceGroupName(value); return *this;}
57
59
63 inline const Aws::String& GetAccountId() const{ return m_accountId; }
64 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
65 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
66 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
67 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
68 inline ConfigurationEvent& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
69 inline ConfigurationEvent& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
70 inline ConfigurationEvent& WithAccountId(const char* value) { SetAccountId(value); return *this;}
72
74
77 inline const Aws::String& GetMonitoredResourceARN() const{ return m_monitoredResourceARN; }
78 inline bool MonitoredResourceARNHasBeenSet() const { return m_monitoredResourceARNHasBeenSet; }
79 inline void SetMonitoredResourceARN(const Aws::String& value) { m_monitoredResourceARNHasBeenSet = true; m_monitoredResourceARN = value; }
80 inline void SetMonitoredResourceARN(Aws::String&& value) { m_monitoredResourceARNHasBeenSet = true; m_monitoredResourceARN = std::move(value); }
81 inline void SetMonitoredResourceARN(const char* value) { m_monitoredResourceARNHasBeenSet = true; m_monitoredResourceARN.assign(value); }
83 inline ConfigurationEvent& WithMonitoredResourceARN(Aws::String&& value) { SetMonitoredResourceARN(std::move(value)); return *this;}
84 inline ConfigurationEvent& WithMonitoredResourceARN(const char* value) { SetMonitoredResourceARN(value); return *this;}
86
88
92 inline const ConfigurationEventStatus& GetEventStatus() const{ return m_eventStatus; }
93 inline bool EventStatusHasBeenSet() const { return m_eventStatusHasBeenSet; }
94 inline void SetEventStatus(const ConfigurationEventStatus& value) { m_eventStatusHasBeenSet = true; m_eventStatus = value; }
95 inline void SetEventStatus(ConfigurationEventStatus&& value) { m_eventStatusHasBeenSet = true; m_eventStatus = std::move(value); }
96 inline ConfigurationEvent& WithEventStatus(const ConfigurationEventStatus& value) { SetEventStatus(value); return *this;}
97 inline ConfigurationEvent& WithEventStatus(ConfigurationEventStatus&& value) { SetEventStatus(std::move(value)); return *this;}
99
101
105 inline const ConfigurationEventResourceType& GetEventResourceType() const{ return m_eventResourceType; }
106 inline bool EventResourceTypeHasBeenSet() const { return m_eventResourceTypeHasBeenSet; }
107 inline void SetEventResourceType(const ConfigurationEventResourceType& value) { m_eventResourceTypeHasBeenSet = true; m_eventResourceType = value; }
108 inline void SetEventResourceType(ConfigurationEventResourceType&& value) { m_eventResourceTypeHasBeenSet = true; m_eventResourceType = std::move(value); }
112
114
117 inline const Aws::Utils::DateTime& GetEventTime() const{ return m_eventTime; }
118 inline bool EventTimeHasBeenSet() const { return m_eventTimeHasBeenSet; }
119 inline void SetEventTime(const Aws::Utils::DateTime& value) { m_eventTimeHasBeenSet = true; m_eventTime = value; }
120 inline void SetEventTime(Aws::Utils::DateTime&& value) { m_eventTimeHasBeenSet = true; m_eventTime = std::move(value); }
121 inline ConfigurationEvent& WithEventTime(const Aws::Utils::DateTime& value) { SetEventTime(value); return *this;}
122 inline ConfigurationEvent& WithEventTime(Aws::Utils::DateTime&& value) { SetEventTime(std::move(value)); return *this;}
124
126
129 inline const Aws::String& GetEventDetail() const{ return m_eventDetail; }
130 inline bool EventDetailHasBeenSet() const { return m_eventDetailHasBeenSet; }
131 inline void SetEventDetail(const Aws::String& value) { m_eventDetailHasBeenSet = true; m_eventDetail = value; }
132 inline void SetEventDetail(Aws::String&& value) { m_eventDetailHasBeenSet = true; m_eventDetail = std::move(value); }
133 inline void SetEventDetail(const char* value) { m_eventDetailHasBeenSet = true; m_eventDetail.assign(value); }
134 inline ConfigurationEvent& WithEventDetail(const Aws::String& value) { SetEventDetail(value); return *this;}
135 inline ConfigurationEvent& WithEventDetail(Aws::String&& value) { SetEventDetail(std::move(value)); return *this;}
136 inline ConfigurationEvent& WithEventDetail(const char* value) { SetEventDetail(value); return *this;}
138
140
143 inline const Aws::String& GetEventResourceName() const{ return m_eventResourceName; }
144 inline bool EventResourceNameHasBeenSet() const { return m_eventResourceNameHasBeenSet; }
145 inline void SetEventResourceName(const Aws::String& value) { m_eventResourceNameHasBeenSet = true; m_eventResourceName = value; }
146 inline void SetEventResourceName(Aws::String&& value) { m_eventResourceNameHasBeenSet = true; m_eventResourceName = std::move(value); }
147 inline void SetEventResourceName(const char* value) { m_eventResourceNameHasBeenSet = true; m_eventResourceName.assign(value); }
148 inline ConfigurationEvent& WithEventResourceName(const Aws::String& value) { SetEventResourceName(value); return *this;}
149 inline ConfigurationEvent& WithEventResourceName(Aws::String&& value) { SetEventResourceName(std::move(value)); return *this;}
150 inline ConfigurationEvent& WithEventResourceName(const char* value) { SetEventResourceName(value); return *this;}
152 private:
153
154 Aws::String m_resourceGroupName;
155 bool m_resourceGroupNameHasBeenSet = false;
156
157 Aws::String m_accountId;
158 bool m_accountIdHasBeenSet = false;
159
160 Aws::String m_monitoredResourceARN;
161 bool m_monitoredResourceARNHasBeenSet = false;
162
163 ConfigurationEventStatus m_eventStatus;
164 bool m_eventStatusHasBeenSet = false;
165
166 ConfigurationEventResourceType m_eventResourceType;
167 bool m_eventResourceTypeHasBeenSet = false;
168
169 Aws::Utils::DateTime m_eventTime;
170 bool m_eventTimeHasBeenSet = false;
171
172 Aws::String m_eventDetail;
173 bool m_eventDetailHasBeenSet = false;
174
175 Aws::String m_eventResourceName;
176 bool m_eventResourceNameHasBeenSet = false;
177 };
178
179} // namespace Model
180} // namespace ApplicationInsights
181} // namespace Aws
ConfigurationEvent & WithMonitoredResourceARN(const char *value)
AWS_APPLICATIONINSIGHTS_API ConfigurationEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
ConfigurationEvent & WithResourceGroupName(Aws::String &&value)
ConfigurationEvent & WithEventStatus(const ConfigurationEventStatus &value)
ConfigurationEvent & WithEventResourceName(Aws::String &&value)
AWS_APPLICATIONINSIGHTS_API Aws::Utils::Json::JsonValue Jsonize() const
ConfigurationEvent & WithAccountId(const char *value)
ConfigurationEvent & WithEventDetail(Aws::String &&value)
ConfigurationEvent & WithEventTime(Aws::Utils::DateTime &&value)
ConfigurationEvent & WithEventResourceName(const char *value)
ConfigurationEvent & WithMonitoredResourceARN(const Aws::String &value)
ConfigurationEvent & WithEventTime(const Aws::Utils::DateTime &value)
const ConfigurationEventStatus & GetEventStatus() const
ConfigurationEvent & WithEventDetail(const Aws::String &value)
ConfigurationEvent & WithEventDetail(const char *value)
ConfigurationEvent & WithMonitoredResourceARN(Aws::String &&value)
ConfigurationEvent & WithResourceGroupName(const Aws::String &value)
ConfigurationEvent & WithEventResourceType(const ConfigurationEventResourceType &value)
void SetEventTime(const Aws::Utils::DateTime &value)
void SetEventResourceType(const ConfigurationEventResourceType &value)
const ConfigurationEventResourceType & GetEventResourceType() const
AWS_APPLICATIONINSIGHTS_API ConfigurationEvent()
ConfigurationEvent & WithEventResourceType(ConfigurationEventResourceType &&value)
ConfigurationEvent & WithResourceGroupName(const char *value)
void SetEventStatus(const ConfigurationEventStatus &value)
const Aws::Utils::DateTime & GetEventTime() const
ConfigurationEvent & WithAccountId(Aws::String &&value)
AWS_APPLICATIONINSIGHTS_API ConfigurationEvent(Aws::Utils::Json::JsonView jsonValue)
void SetEventResourceType(ConfigurationEventResourceType &&value)
ConfigurationEvent & WithEventResourceName(const Aws::String &value)
ConfigurationEvent & WithEventStatus(ConfigurationEventStatus &&value)
void SetEventStatus(ConfigurationEventStatus &&value)
ConfigurationEvent & WithAccountId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue