7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/internetmonitor/InternetMonitor_EXPORTS.h>
13#include <aws/internetmonitor/model/HealthEventsConfig.h>
14#include <aws/internetmonitor/model/InternetMeasurementsLogDelivery.h>
15#include <aws/internetmonitor/model/MonitorConfigState.h>
16#include <aws/internetmonitor/model/MonitorProcessingStatusCode.h>
21template <
typename RESULT_TYPE>
22class AmazonWebServiceResult;
29namespace InternetMonitor {
42 template <
typename MonitorNameT = Aws::String>
44 m_monitorNameHasBeenSet =
true;
45 m_monitorName = std::forward<MonitorNameT>(value);
47 template <
typename MonitorNameT = Aws::String>
59 template <
typename MonitorArnT = Aws::String>
61 m_monitorArnHasBeenSet =
true;
62 m_monitorArn = std::forward<MonitorArnT>(value);
64 template <
typename MonitorArnT = Aws::String>
77 template <
typename ResourcesT = Aws::Vector<Aws::String>>
79 m_resourcesHasBeenSet =
true;
80 m_resources = std::forward<ResourcesT>(value);
82 template <
typename ResourcesT = Aws::Vector<Aws::String>>
87 template <
typename ResourcesT = Aws::String>
89 m_resourcesHasBeenSet =
true;
90 m_resources.emplace_back(std::forward<ResourcesT>(value));
101 m_statusHasBeenSet =
true;
115 template <
typename CreatedAtT = Aws::Utils::DateTime>
117 m_createdAtHasBeenSet =
true;
118 m_createdAt = std::forward<CreatedAtT>(value);
120 template <
typename CreatedAtT = Aws::Utils::DateTime>
132 template <
typename ModifiedAtT = Aws::Utils::DateTime>
134 m_modifiedAtHasBeenSet =
true;
135 m_modifiedAt = std::forward<ModifiedAtT>(value);
137 template <
typename ModifiedAtT = Aws::Utils::DateTime>
150 m_processingStatusHasBeenSet =
true;
151 m_processingStatus = value;
165 template <
typename ProcessingStatusInfoT = Aws::String>
167 m_processingStatusInfoHasBeenSet =
true;
168 m_processingStatusInfo = std::forward<ProcessingStatusInfoT>(value);
170 template <
typename ProcessingStatusInfoT = Aws::String>
182 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
184 m_tagsHasBeenSet =
true;
185 m_tags = std::forward<TagsT>(value);
187 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
189 SetTags(std::forward<TagsT>(value));
192 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
194 m_tagsHasBeenSet =
true;
195 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
213 m_maxCityNetworksToMonitorHasBeenSet =
true;
214 m_maxCityNetworksToMonitor = value;
229 template <
typename InternetMeasurementsLogDeliveryT = InternetMeasurementsLogDelivery>
231 m_internetMeasurementsLogDeliveryHasBeenSet =
true;
232 m_internetMeasurementsLogDelivery = std::forward<InternetMeasurementsLogDeliveryT>(value);
234 template <
typename InternetMeasurementsLogDeliveryT = InternetMeasurementsLogDelivery>
252 m_trafficPercentageToMonitorHasBeenSet =
true;
253 m_trafficPercentageToMonitor = value;
272 template <
typename HealthEventsConfigT = HealthEventsConfig>
274 m_healthEventsConfigHasBeenSet =
true;
275 m_healthEventsConfig = std::forward<HealthEventsConfigT>(value);
277 template <
typename HealthEventsConfigT = HealthEventsConfig>
287 template <
typename RequestIdT = Aws::String>
289 m_requestIdHasBeenSet =
true;
290 m_requestId = std::forward<RequestIdT>(value);
292 template <
typename RequestIdT = Aws::String>
319 int m_maxCityNetworksToMonitor{0};
321 InternetMeasurementsLogDelivery m_internetMeasurementsLogDelivery;
323 int m_trafficPercentageToMonitor{0};
325 HealthEventsConfig m_healthEventsConfig;
329 bool m_monitorNameHasBeenSet =
false;
330 bool m_monitorArnHasBeenSet =
false;
331 bool m_resourcesHasBeenSet =
false;
332 bool m_statusHasBeenSet =
false;
333 bool m_createdAtHasBeenSet =
false;
334 bool m_modifiedAtHasBeenSet =
false;
335 bool m_processingStatusHasBeenSet =
false;
336 bool m_processingStatusInfoHasBeenSet =
false;
337 bool m_tagsHasBeenSet =
false;
338 bool m_maxCityNetworksToMonitorHasBeenSet =
false;
339 bool m_internetMeasurementsLogDeliveryHasBeenSet =
false;
340 bool m_trafficPercentageToMonitorHasBeenSet =
false;
341 bool m_healthEventsConfigHasBeenSet =
false;
342 bool m_requestIdHasBeenSet =
false;
void SetCreatedAt(CreatedAtT &&value)
void SetInternetMeasurementsLogDelivery(InternetMeasurementsLogDeliveryT &&value)
GetMonitorResult & WithMonitorName(MonitorNameT &&value)
GetMonitorResult & WithProcessingStatusInfo(ProcessingStatusInfoT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetResources(ResourcesT &&value)
int GetTrafficPercentageToMonitor() const
const Aws::String & GetMonitorName() const
void SetTags(TagsT &&value)
GetMonitorResult & WithResources(ResourcesT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetProcessingStatusInfo(ProcessingStatusInfoT &&value)
void SetMonitorName(MonitorNameT &&value)
void SetHealthEventsConfig(HealthEventsConfigT &&value)
const Aws::String & GetRequestId() const
MonitorConfigState GetStatus() const
GetMonitorResult & WithStatus(MonitorConfigState value)
GetMonitorResult & WithTrafficPercentageToMonitor(int value)
const Aws::String & GetMonitorArn() const
GetMonitorResult & WithMonitorArn(MonitorArnT &&value)
GetMonitorResult & WithCreatedAt(CreatedAtT &&value)
GetMonitorResult & WithTags(TagsT &&value)
void SetRequestId(RequestIdT &&value)
MonitorProcessingStatusCode GetProcessingStatus() const
void SetMaxCityNetworksToMonitor(int value)
int GetMaxCityNetworksToMonitor() const
GetMonitorResult & WithRequestId(RequestIdT &&value)
GetMonitorResult & WithMaxCityNetworksToMonitor(int value)
void SetMonitorArn(MonitorArnT &&value)
void SetModifiedAt(ModifiedAtT &&value)
void SetProcessingStatus(MonitorProcessingStatusCode value)
AWS_INTERNETMONITOR_API GetMonitorResult()=default
void SetStatus(MonitorConfigState value)
const HealthEventsConfig & GetHealthEventsConfig() const
GetMonitorResult & WithModifiedAt(ModifiedAtT &&value)
const Aws::Utils::DateTime & GetModifiedAt() const
GetMonitorResult & WithInternetMeasurementsLogDelivery(InternetMeasurementsLogDeliveryT &&value)
AWS_INTERNETMONITOR_API GetMonitorResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetMonitorResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_INTERNETMONITOR_API GetMonitorResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetCreatedAt() const
GetMonitorResult & WithProcessingStatus(MonitorProcessingStatusCode value)
GetMonitorResult & WithHealthEventsConfig(HealthEventsConfigT &&value)
const Aws::Vector< Aws::String > & GetResources() const
const Aws::String & GetProcessingStatusInfo() const
const InternetMeasurementsLogDelivery & GetInternetMeasurementsLogDelivery() const
GetMonitorResult & AddResources(ResourcesT &&value)
void SetTrafficPercentageToMonitor(int value)
MonitorProcessingStatusCode
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