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>
20template<
typename RESULT_TYPE>
21class AmazonWebServiceResult;
30namespace InternetMonitor
47 template<
typename MonitorNameT = Aws::String>
48 void SetMonitorName(MonitorNameT&& value) { m_monitorNameHasBeenSet =
true; m_monitorName = std::forward<MonitorNameT>(value); }
49 template<
typename MonitorNameT = Aws::String>
58 template<
typename MonitorArnT = Aws::String>
59 void SetMonitorArn(MonitorArnT&& value) { m_monitorArnHasBeenSet =
true; m_monitorArn = std::forward<MonitorArnT>(value); }
60 template<
typename MonitorArnT = Aws::String>
70 template<
typename ResourcesT = Aws::Vector<Aws::String>>
71 void SetResources(ResourcesT&& value) { m_resourcesHasBeenSet =
true; m_resources = std::forward<ResourcesT>(value); }
72 template<
typename ResourcesT = Aws::Vector<Aws::String>>
74 template<
typename ResourcesT = Aws::String>
75 GetMonitorResult&
AddResources(ResourcesT&& value) { m_resourcesHasBeenSet =
true; m_resources.emplace_back(std::forward<ResourcesT>(value));
return *
this; }
92 template<
typename CreatedAtT = Aws::Utils::DateTime>
93 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
94 template<
typename CreatedAtT = Aws::Utils::DateTime>
103 template<
typename ModifiedAtT = Aws::Utils::DateTime>
104 void SetModifiedAt(ModifiedAtT&& value) { m_modifiedAtHasBeenSet =
true; m_modifiedAt = std::forward<ModifiedAtT>(value); }
105 template<
typename ModifiedAtT = Aws::Utils::DateTime>
124 template<
typename ProcessingStatusInfoT = Aws::String>
125 void SetProcessingStatusInfo(ProcessingStatusInfoT&& value) { m_processingStatusInfoHasBeenSet =
true; m_processingStatusInfo = std::forward<ProcessingStatusInfoT>(value); }
126 template<
typename ProcessingStatusInfoT = Aws::String>
135 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
136 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
137 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
139 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
141 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
168 template<
typename InternetMeasurementsLogDeliveryT = InternetMeasurementsLogDelivery>
169 void SetInternetMeasurementsLogDelivery(InternetMeasurementsLogDeliveryT&& value) { m_internetMeasurementsLogDeliveryHasBeenSet =
true; m_internetMeasurementsLogDelivery = std::forward<InternetMeasurementsLogDeliveryT>(value); }
170 template<
typename InternetMeasurementsLogDeliveryT = InternetMeasurementsLogDelivery>
199 template<
typename HealthEventsConfigT = HealthEventsConfig>
200 void SetHealthEventsConfig(HealthEventsConfigT&& value) { m_healthEventsConfigHasBeenSet =
true; m_healthEventsConfig = std::forward<HealthEventsConfigT>(value); }
201 template<
typename HealthEventsConfigT = HealthEventsConfig>
208 template<
typename RequestIdT = Aws::String>
209 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
210 template<
typename RequestIdT = Aws::String>
216 bool m_monitorNameHasBeenSet =
false;
219 bool m_monitorArnHasBeenSet =
false;
222 bool m_resourcesHasBeenSet =
false;
225 bool m_statusHasBeenSet =
false;
228 bool m_createdAtHasBeenSet =
false;
231 bool m_modifiedAtHasBeenSet =
false;
234 bool m_processingStatusHasBeenSet =
false;
237 bool m_processingStatusInfoHasBeenSet =
false;
240 bool m_tagsHasBeenSet =
false;
242 int m_maxCityNetworksToMonitor{0};
243 bool m_maxCityNetworksToMonitorHasBeenSet =
false;
245 InternetMeasurementsLogDelivery m_internetMeasurementsLogDelivery;
246 bool m_internetMeasurementsLogDeliveryHasBeenSet =
false;
248 int m_trafficPercentageToMonitor{0};
249 bool m_trafficPercentageToMonitorHasBeenSet =
false;
251 HealthEventsConfig m_healthEventsConfig;
252 bool m_healthEventsConfigHasBeenSet =
false;
255 bool m_requestIdHasBeenSet =
false;
void SetCreatedAt(CreatedAtT &&value)
void SetInternetMeasurementsLogDelivery(InternetMeasurementsLogDeliveryT &&value)
GetMonitorResult & WithMonitorName(MonitorNameT &&value)
GetMonitorResult & WithProcessingStatusInfo(ProcessingStatusInfoT &&value)
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