AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetMonitorResult.h
1
6#pragma once
7#include <aws/internetmonitor/InternetMonitor_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/internetmonitor/model/MonitorConfigState.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/internetmonitor/model/MonitorProcessingStatusCode.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/internetmonitor/model/InternetMeasurementsLogDelivery.h>
15#include <aws/internetmonitor/model/HealthEventsConfig.h>
16#include <utility>
17
18namespace Aws
19{
20template<typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils
24{
25namespace Json
26{
27 class JsonValue;
28} // namespace Json
29} // namespace Utils
30namespace InternetMonitor
31{
32namespace Model
33{
35 {
36 public:
37 AWS_INTERNETMONITOR_API GetMonitorResult();
40
41
43
46 inline const Aws::String& GetMonitorName() const{ return m_monitorName; }
47 inline void SetMonitorName(const Aws::String& value) { m_monitorName = value; }
48 inline void SetMonitorName(Aws::String&& value) { m_monitorName = std::move(value); }
49 inline void SetMonitorName(const char* value) { m_monitorName.assign(value); }
50 inline GetMonitorResult& WithMonitorName(const Aws::String& value) { SetMonitorName(value); return *this;}
51 inline GetMonitorResult& WithMonitorName(Aws::String&& value) { SetMonitorName(std::move(value)); return *this;}
52 inline GetMonitorResult& WithMonitorName(const char* value) { SetMonitorName(value); return *this;}
54
56
59 inline const Aws::String& GetMonitorArn() const{ return m_monitorArn; }
60 inline void SetMonitorArn(const Aws::String& value) { m_monitorArn = value; }
61 inline void SetMonitorArn(Aws::String&& value) { m_monitorArn = std::move(value); }
62 inline void SetMonitorArn(const char* value) { m_monitorArn.assign(value); }
63 inline GetMonitorResult& WithMonitorArn(const Aws::String& value) { SetMonitorArn(value); return *this;}
64 inline GetMonitorResult& WithMonitorArn(Aws::String&& value) { SetMonitorArn(std::move(value)); return *this;}
65 inline GetMonitorResult& WithMonitorArn(const char* value) { SetMonitorArn(value); return *this;}
67
69
73 inline const Aws::Vector<Aws::String>& GetResources() const{ return m_resources; }
74 inline void SetResources(const Aws::Vector<Aws::String>& value) { m_resources = value; }
75 inline void SetResources(Aws::Vector<Aws::String>&& value) { m_resources = std::move(value); }
76 inline GetMonitorResult& WithResources(const Aws::Vector<Aws::String>& value) { SetResources(value); return *this;}
77 inline GetMonitorResult& WithResources(Aws::Vector<Aws::String>&& value) { SetResources(std::move(value)); return *this;}
78 inline GetMonitorResult& AddResources(const Aws::String& value) { m_resources.push_back(value); return *this; }
79 inline GetMonitorResult& AddResources(Aws::String&& value) { m_resources.push_back(std::move(value)); return *this; }
80 inline GetMonitorResult& AddResources(const char* value) { m_resources.push_back(value); return *this; }
82
84
87 inline const MonitorConfigState& GetStatus() const{ return m_status; }
88 inline void SetStatus(const MonitorConfigState& value) { m_status = value; }
89 inline void SetStatus(MonitorConfigState&& value) { m_status = std::move(value); }
90 inline GetMonitorResult& WithStatus(const MonitorConfigState& value) { SetStatus(value); return *this;}
91 inline GetMonitorResult& WithStatus(MonitorConfigState&& value) { SetStatus(std::move(value)); return *this;}
93
95
98 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
99 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
100 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
101 inline GetMonitorResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
102 inline GetMonitorResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
104
106
109 inline const Aws::Utils::DateTime& GetModifiedAt() const{ return m_modifiedAt; }
110 inline void SetModifiedAt(const Aws::Utils::DateTime& value) { m_modifiedAt = value; }
111 inline void SetModifiedAt(Aws::Utils::DateTime&& value) { m_modifiedAt = std::move(value); }
112 inline GetMonitorResult& WithModifiedAt(const Aws::Utils::DateTime& value) { SetModifiedAt(value); return *this;}
113 inline GetMonitorResult& WithModifiedAt(Aws::Utils::DateTime&& value) { SetModifiedAt(std::move(value)); return *this;}
115
117
120 inline const MonitorProcessingStatusCode& GetProcessingStatus() const{ return m_processingStatus; }
121 inline void SetProcessingStatus(const MonitorProcessingStatusCode& value) { m_processingStatus = value; }
122 inline void SetProcessingStatus(MonitorProcessingStatusCode&& value) { m_processingStatus = std::move(value); }
126
128
132 inline const Aws::String& GetProcessingStatusInfo() const{ return m_processingStatusInfo; }
133 inline void SetProcessingStatusInfo(const Aws::String& value) { m_processingStatusInfo = value; }
134 inline void SetProcessingStatusInfo(Aws::String&& value) { m_processingStatusInfo = std::move(value); }
135 inline void SetProcessingStatusInfo(const char* value) { m_processingStatusInfo.assign(value); }
137 inline GetMonitorResult& WithProcessingStatusInfo(Aws::String&& value) { SetProcessingStatusInfo(std::move(value)); return *this;}
138 inline GetMonitorResult& WithProcessingStatusInfo(const char* value) { SetProcessingStatusInfo(value); return *this;}
140
142
145 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
146 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
147 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
148 inline GetMonitorResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
149 inline GetMonitorResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
150 inline GetMonitorResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
151 inline GetMonitorResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
152 inline GetMonitorResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
153 inline GetMonitorResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
154 inline GetMonitorResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
155 inline GetMonitorResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
156 inline GetMonitorResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
158
160
170 inline int GetMaxCityNetworksToMonitor() const{ return m_maxCityNetworksToMonitor; }
171 inline void SetMaxCityNetworksToMonitor(int value) { m_maxCityNetworksToMonitor = value; }
174
176
181 inline const InternetMeasurementsLogDelivery& GetInternetMeasurementsLogDelivery() const{ return m_internetMeasurementsLogDelivery; }
182 inline void SetInternetMeasurementsLogDelivery(const InternetMeasurementsLogDelivery& value) { m_internetMeasurementsLogDelivery = value; }
183 inline void SetInternetMeasurementsLogDelivery(InternetMeasurementsLogDelivery&& value) { m_internetMeasurementsLogDelivery = std::move(value); }
187
189
197 inline int GetTrafficPercentageToMonitor() const{ return m_trafficPercentageToMonitor; }
198 inline void SetTrafficPercentageToMonitor(int value) { m_trafficPercentageToMonitor = value; }
201
203
212 inline const HealthEventsConfig& GetHealthEventsConfig() const{ return m_healthEventsConfig; }
213 inline void SetHealthEventsConfig(const HealthEventsConfig& value) { m_healthEventsConfig = value; }
214 inline void SetHealthEventsConfig(HealthEventsConfig&& value) { m_healthEventsConfig = std::move(value); }
216 inline GetMonitorResult& WithHealthEventsConfig(HealthEventsConfig&& value) { SetHealthEventsConfig(std::move(value)); return *this;}
218
220
221 inline const Aws::String& GetRequestId() const{ return m_requestId; }
222 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
223 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
224 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
225 inline GetMonitorResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
226 inline GetMonitorResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
227 inline GetMonitorResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
229 private:
230
231 Aws::String m_monitorName;
232
233 Aws::String m_monitorArn;
234
235 Aws::Vector<Aws::String> m_resources;
236
237 MonitorConfigState m_status;
238
239 Aws::Utils::DateTime m_createdAt;
240
241 Aws::Utils::DateTime m_modifiedAt;
242
243 MonitorProcessingStatusCode m_processingStatus;
244
245 Aws::String m_processingStatusInfo;
246
248
249 int m_maxCityNetworksToMonitor;
250
251 InternetMeasurementsLogDelivery m_internetMeasurementsLogDelivery;
252
253 int m_trafficPercentageToMonitor;
254
255 HealthEventsConfig m_healthEventsConfig;
256
257 Aws::String m_requestId;
258 };
259
260} // namespace Model
261} // namespace InternetMonitor
262} // namespace Aws
void SetHealthEventsConfig(HealthEventsConfig &&value)
GetMonitorResult & AddTags(Aws::String &&key, Aws::String &&value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetRequestId(const Aws::String &value)
GetMonitorResult & AddResources(const Aws::String &value)
GetMonitorResult & WithMonitorName(const char *value)
GetMonitorResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
GetMonitorResult & WithRequestId(Aws::String &&value)
GetMonitorResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
GetMonitorResult & AddResources(Aws::String &&value)
GetMonitorResult & WithResources(Aws::Vector< Aws::String > &&value)
GetMonitorResult & AddTags(const char *key, Aws::String &&value)
GetMonitorResult & WithProcessingStatusInfo(const char *value)
GetMonitorResult & WithProcessingStatus(const MonitorProcessingStatusCode &value)
GetMonitorResult & WithRequestId(const char *value)
GetMonitorResult & WithHealthEventsConfig(const HealthEventsConfig &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
GetMonitorResult & AddTags(const Aws::String &key, const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
GetMonitorResult & WithTrafficPercentageToMonitor(int value)
AWS_INTERNETMONITOR_API GetMonitorResult()
GetMonitorResult & WithMonitorName(const Aws::String &value)
void SetProcessingStatusInfo(const Aws::String &value)
void SetStatus(const MonitorConfigState &value)
GetMonitorResult & WithRequestId(const Aws::String &value)
void SetModifiedAt(const Aws::Utils::DateTime &value)
GetMonitorResult & WithModifiedAt(const Aws::Utils::DateTime &value)
void SetMonitorArn(const Aws::String &value)
void SetMonitorName(const Aws::String &value)
GetMonitorResult & WithResources(const Aws::Vector< Aws::String > &value)
void SetModifiedAt(Aws::Utils::DateTime &&value)
GetMonitorResult & AddResources(const char *value)
void SetProcessingStatus(const MonitorProcessingStatusCode &value)
GetMonitorResult & WithHealthEventsConfig(HealthEventsConfig &&value)
GetMonitorResult & WithMaxCityNetworksToMonitor(int value)
GetMonitorResult & WithCreatedAt(const Aws::Utils::DateTime &value)
GetMonitorResult & WithProcessingStatusInfo(Aws::String &&value)
GetMonitorResult & WithMonitorArn(Aws::String &&value)
void SetInternetMeasurementsLogDelivery(const InternetMeasurementsLogDelivery &value)
GetMonitorResult & WithStatus(const MonitorConfigState &value)
GetMonitorResult & WithMonitorArn(const char *value)
GetMonitorResult & WithModifiedAt(Aws::Utils::DateTime &&value)
const HealthEventsConfig & GetHealthEventsConfig() const
GetMonitorResult & WithInternetMeasurementsLogDelivery(const InternetMeasurementsLogDelivery &value)
const Aws::Utils::DateTime & GetModifiedAt() const
GetMonitorResult & AddTags(const char *key, const char *value)
const MonitorProcessingStatusCode & GetProcessingStatus() const
AWS_INTERNETMONITOR_API GetMonitorResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetMonitorResult & WithCreatedAt(Aws::Utils::DateTime &&value)
GetMonitorResult & WithInternetMeasurementsLogDelivery(InternetMeasurementsLogDelivery &&value)
const MonitorConfigState & GetStatus() const
void SetResources(Aws::Vector< Aws::String > &&value)
GetMonitorResult & WithStatus(MonitorConfigState &&value)
AWS_INTERNETMONITOR_API GetMonitorResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetCreatedAt() const
GetMonitorResult & WithMonitorArn(const Aws::String &value)
void SetResources(const Aws::Vector< Aws::String > &value)
GetMonitorResult & AddTags(const Aws::String &key, Aws::String &&value)
void SetHealthEventsConfig(const HealthEventsConfig &value)
GetMonitorResult & WithMonitorName(Aws::String &&value)
void SetStatus(MonitorConfigState &&value)
GetMonitorResult & WithProcessingStatus(MonitorProcessingStatusCode &&value)
const Aws::Vector< Aws::String > & GetResources() const
const Aws::String & GetProcessingStatusInfo() const
const InternetMeasurementsLogDelivery & GetInternetMeasurementsLogDelivery() const
void SetInternetMeasurementsLogDelivery(InternetMeasurementsLogDelivery &&value)
void SetProcessingStatus(MonitorProcessingStatusCode &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
GetMonitorResult & WithProcessingStatusInfo(const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
GetMonitorResult & AddTags(Aws::String &&key, const Aws::String &value)
GetMonitorResult & AddTags(Aws::String &&key, const char *value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue