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/internetmonitor/model/MonitorConfigState.h>
12#include <aws/internetmonitor/model/InternetMeasurementsLogDelivery.h>
13#include <aws/internetmonitor/model/HealthEventsConfig.h>
15#include <aws/core/utils/UUID.h>
19namespace InternetMonitor
48 inline void SetMonitorName(
const char* value) { m_monitorNameHasBeenSet =
true; m_monitorName.assign(value); }
117 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
187 bool m_monitorNameHasBeenSet =
false;
190 bool m_resourcesToAddHasBeenSet =
false;
193 bool m_resourcesToRemoveHasBeenSet =
false;
196 bool m_statusHasBeenSet =
false;
199 bool m_clientTokenHasBeenSet =
false;
201 int m_maxCityNetworksToMonitor;
202 bool m_maxCityNetworksToMonitorHasBeenSet =
false;
205 bool m_internetMeasurementsLogDeliveryHasBeenSet =
false;
207 int m_trafficPercentageToMonitor;
208 bool m_trafficPercentageToMonitorHasBeenSet =
false;
211 bool m_healthEventsConfigHasBeenSet =
false;
UpdateMonitorRequest & WithStatus(const MonitorConfigState &value)
const MonitorConfigState & GetStatus() const
virtual const char * GetServiceRequestName() const override
bool InternetMeasurementsLogDeliveryHasBeenSet() const
bool HealthEventsConfigHasBeenSet() const
UpdateMonitorRequest & WithInternetMeasurementsLogDelivery(InternetMeasurementsLogDelivery &&value)
bool MaxCityNetworksToMonitorHasBeenSet() const
void SetHealthEventsConfig(const HealthEventsConfig &value)
void SetTrafficPercentageToMonitor(int value)
UpdateMonitorRequest & WithClientToken(Aws::String &&value)
const Aws::Vector< Aws::String > & GetResourcesToRemove() const
UpdateMonitorRequest & WithMonitorName(const char *value)
UpdateMonitorRequest & WithClientToken(const Aws::String &value)
void SetClientToken(const char *value)
void SetMonitorName(Aws::String &&value)
UpdateMonitorRequest & WithStatus(MonitorConfigState &&value)
bool ResourcesToAddHasBeenSet() const
const Aws::String & GetClientToken() const
UpdateMonitorRequest & WithResourcesToAdd(Aws::Vector< Aws::String > &&value)
UpdateMonitorRequest & AddResourcesToAdd(const char *value)
void SetResourcesToAdd(const Aws::Vector< Aws::String > &value)
UpdateMonitorRequest & AddResourcesToRemove(const char *value)
UpdateMonitorRequest & AddResourcesToAdd(Aws::String &&value)
UpdateMonitorRequest & WithMaxCityNetworksToMonitor(int value)
bool StatusHasBeenSet() const
UpdateMonitorRequest & AddResourcesToRemove(const Aws::String &value)
void SetStatus(const MonitorConfigState &value)
void SetInternetMeasurementsLogDelivery(const InternetMeasurementsLogDelivery &value)
UpdateMonitorRequest & WithResourcesToAdd(const Aws::Vector< Aws::String > &value)
bool ResourcesToRemoveHasBeenSet() const
bool ClientTokenHasBeenSet() const
UpdateMonitorRequest & WithMonitorName(const Aws::String &value)
void SetClientToken(Aws::String &&value)
UpdateMonitorRequest & WithTrafficPercentageToMonitor(int value)
UpdateMonitorRequest & WithResourcesToRemove(const Aws::Vector< Aws::String > &value)
void SetHealthEventsConfig(HealthEventsConfig &&value)
UpdateMonitorRequest & AddResourcesToRemove(Aws::String &&value)
bool TrafficPercentageToMonitorHasBeenSet() const
const Aws::Vector< Aws::String > & GetResourcesToAdd() const
void SetMonitorName(const char *value)
void SetMonitorName(const Aws::String &value)
AWS_INTERNETMONITOR_API Aws::String SerializePayload() const override
int GetMaxCityNetworksToMonitor() const
UpdateMonitorRequest & WithHealthEventsConfig(const HealthEventsConfig &value)
const HealthEventsConfig & GetHealthEventsConfig() const
void SetResourcesToAdd(Aws::Vector< Aws::String > &&value)
UpdateMonitorRequest & WithHealthEventsConfig(HealthEventsConfig &&value)
void SetResourcesToRemove(Aws::Vector< Aws::String > &&value)
AWS_INTERNETMONITOR_API UpdateMonitorRequest()
int GetTrafficPercentageToMonitor() const
void SetMaxCityNetworksToMonitor(int value)
const InternetMeasurementsLogDelivery & GetInternetMeasurementsLogDelivery() const
void SetInternetMeasurementsLogDelivery(InternetMeasurementsLogDelivery &&value)
bool MonitorNameHasBeenSet() const
void SetClientToken(const Aws::String &value)
void SetStatus(MonitorConfigState &&value)
UpdateMonitorRequest & WithMonitorName(Aws::String &&value)
UpdateMonitorRequest & WithInternetMeasurementsLogDelivery(const InternetMeasurementsLogDelivery &value)
const Aws::String & GetMonitorName() const
void SetResourcesToRemove(const Aws::Vector< Aws::String > &value)
UpdateMonitorRequest & AddResourcesToAdd(const Aws::String &value)
UpdateMonitorRequest & WithClientToken(const char *value)
UpdateMonitorRequest & WithResourcesToRemove(Aws::Vector< Aws::String > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector