7#include <aws/internetmonitor/InternetMonitor_EXPORTS.h>
8#include <aws/internetmonitor/InternetMonitorRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/internetmonitor/model/InternetMeasurementsLogDelivery.h>
13#include <aws/internetmonitor/model/HealthEventsConfig.h>
15#include <aws/core/utils/UUID.h>
19namespace InternetMonitor
46 template<
typename MonitorNameT = Aws::String>
47 void SetMonitorName(MonitorNameT&& value) { m_monitorNameHasBeenSet =
true; m_monitorName = std::forward<MonitorNameT>(value); }
48 template<
typename MonitorNameT = Aws::String>
65 template<
typename ResourcesT = Aws::Vector<Aws::String>>
66 void SetResources(ResourcesT&& value) { m_resourcesHasBeenSet =
true; m_resources = std::forward<ResourcesT>(value); }
67 template<
typename ResourcesT = Aws::Vector<Aws::String>>
69 template<
typename ResourcesT = Aws::String>
81 template<
typename ClientTokenT = Aws::String>
82 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
83 template<
typename ClientTokenT = Aws::String>
94 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
95 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
96 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
98 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
100 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
128 template<
typename InternetMeasurementsLogDeliveryT = InternetMeasurementsLogDelivery>
129 void SetInternetMeasurementsLogDelivery(InternetMeasurementsLogDeliveryT&& value) { m_internetMeasurementsLogDeliveryHasBeenSet =
true; m_internetMeasurementsLogDelivery = std::forward<InternetMeasurementsLogDeliveryT>(value); }
130 template<
typename InternetMeasurementsLogDeliveryT = InternetMeasurementsLogDelivery>
164 template<
typename HealthEventsConfigT = HealthEventsConfig>
165 void SetHealthEventsConfig(HealthEventsConfigT&& value) { m_healthEventsConfigHasBeenSet =
true; m_healthEventsConfig = std::forward<HealthEventsConfigT>(value); }
166 template<
typename HealthEventsConfigT = HealthEventsConfig>
172 bool m_monitorNameHasBeenSet =
false;
175 bool m_resourcesHasBeenSet =
false;
178 bool m_clientTokenHasBeenSet =
true;
181 bool m_tagsHasBeenSet =
false;
183 int m_maxCityNetworksToMonitor{0};
184 bool m_maxCityNetworksToMonitorHasBeenSet =
false;
186 InternetMeasurementsLogDelivery m_internetMeasurementsLogDelivery;
187 bool m_internetMeasurementsLogDeliveryHasBeenSet =
false;
189 int m_trafficPercentageToMonitor{0};
190 bool m_trafficPercentageToMonitorHasBeenSet =
false;
192 HealthEventsConfig m_healthEventsConfig;
193 bool m_healthEventsConfigHasBeenSet =
false;
int GetTrafficPercentageToMonitor() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetInternetMeasurementsLogDelivery(InternetMeasurementsLogDeliveryT &&value)
CreateMonitorRequest & WithMonitorName(MonitorNameT &&value)
const Aws::String & GetClientToken() const
int GetMaxCityNetworksToMonitor() const
void SetMaxCityNetworksToMonitor(int value)
CreateMonitorRequest & WithInternetMeasurementsLogDelivery(InternetMeasurementsLogDeliveryT &&value)
AWS_INTERNETMONITOR_API CreateMonitorRequest()=default
bool InternetMeasurementsLogDeliveryHasBeenSet() const
CreateMonitorRequest & WithClientToken(ClientTokenT &&value)
const Aws::String & GetMonitorName() const
const HealthEventsConfig & GetHealthEventsConfig() const
void SetClientToken(ClientTokenT &&value)
CreateMonitorRequest & WithTags(TagsT &&value)
const InternetMeasurementsLogDelivery & GetInternetMeasurementsLogDelivery() const
bool ClientTokenHasBeenSet() const
AWS_INTERNETMONITOR_API Aws::String SerializePayload() const override
void SetMonitorName(MonitorNameT &&value)
bool TagsHasBeenSet() const
virtual const char * GetServiceRequestName() const override
bool HealthEventsConfigHasBeenSet() const
bool TrafficPercentageToMonitorHasBeenSet() const
CreateMonitorRequest & WithResources(ResourcesT &&value)
const Aws::Vector< Aws::String > & GetResources() const
CreateMonitorRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateMonitorRequest & WithTrafficPercentageToMonitor(int value)
CreateMonitorRequest & WithHealthEventsConfig(HealthEventsConfigT &&value)
bool MonitorNameHasBeenSet() const
void SetTags(TagsT &&value)
void SetHealthEventsConfig(HealthEventsConfigT &&value)
CreateMonitorRequest & WithMaxCityNetworksToMonitor(int value)
void SetResources(ResourcesT &&value)
CreateMonitorRequest & AddResources(ResourcesT &&value)
bool MaxCityNetworksToMonitorHasBeenSet() const
void SetTrafficPercentageToMonitor(int value)
bool ResourcesHasBeenSet() const
static Aws::Utils::UUID PseudoRandomUUID()
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