7#include <aws/internetmonitor/InternetMonitor_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/internetmonitor/model/HealthEventStatus.h>
12#include <aws/internetmonitor/model/HealthEventImpactType.h>
13#include <aws/internetmonitor/model/ImpactedLocation.h>
18template<
typename RESULT_TYPE>
19class AmazonWebServiceResult;
28namespace InternetMonitor
47 inline void SetEventArn(
const char* value) { m_eventArn.assign(value); }
60 inline void SetEventId(
const char* value) { m_eventId.assign(value); }
175 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
198 double m_percentOfTotalTrafficImpacted;
202 double m_healthScoreThreshold;
void SetImpactedLocations(const Aws::Vector< ImpactedLocation > &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
GetHealthEventResult & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
void SetRequestId(const Aws::String &value)
GetHealthEventResult & WithStatus(HealthEventStatus &&value)
GetHealthEventResult & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
void SetRequestId(Aws::String &&value)
void SetLastUpdatedAt(Aws::Utils::DateTime &&value)
GetHealthEventResult & WithEndedAt(Aws::Utils::DateTime &&value)
GetHealthEventResult & WithStartedAt(Aws::Utils::DateTime &&value)
GetHealthEventResult & WithImpactType(const HealthEventImpactType &value)
GetHealthEventResult & WithEventId(const Aws::String &value)
void SetHealthScoreThreshold(double value)
void SetEventArn(const Aws::String &value)
GetHealthEventResult & WithImpactType(HealthEventImpactType &&value)
GetHealthEventResult & WithEventArn(const char *value)
GetHealthEventResult & WithRequestId(const char *value)
GetHealthEventResult & WithStartedAt(const Aws::Utils::DateTime &value)
void SetRequestId(const char *value)
GetHealthEventResult & WithRequestId(const Aws::String &value)
const Aws::String & GetRequestId() const
GetHealthEventResult & AddImpactedLocations(const ImpactedLocation &value)
const Aws::Utils::DateTime & GetStartedAt() const
GetHealthEventResult & WithImpactedLocations(Aws::Vector< ImpactedLocation > &&value)
const Aws::String & GetEventId() const
GetHealthEventResult & WithEventId(const char *value)
const Aws::Vector< ImpactedLocation > & GetImpactedLocations() const
GetHealthEventResult & AddImpactedLocations(ImpactedLocation &&value)
GetHealthEventResult & WithCreatedAt(const Aws::Utils::DateTime &value)
GetHealthEventResult & WithEventArn(const Aws::String &value)
void SetEndedAt(const Aws::Utils::DateTime &value)
GetHealthEventResult & WithRequestId(Aws::String &&value)
double GetHealthScoreThreshold() const
const HealthEventImpactType & GetImpactType() const
void SetEventArn(const char *value)
void SetEventId(const char *value)
double GetPercentOfTotalTrafficImpacted() const
void SetStartedAt(Aws::Utils::DateTime &&value)
const Aws::String & GetEventArn() const
AWS_INTERNETMONITOR_API GetHealthEventResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetHealthEventResult & WithEventId(Aws::String &&value)
void SetImpactedLocations(Aws::Vector< ImpactedLocation > &&value)
GetHealthEventResult & WithStatus(const HealthEventStatus &value)
GetHealthEventResult & WithCreatedAt(Aws::Utils::DateTime &&value)
GetHealthEventResult & WithHealthScoreThreshold(double value)
void SetLastUpdatedAt(const Aws::Utils::DateTime &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
GetHealthEventResult & WithPercentOfTotalTrafficImpacted(double value)
void SetEventArn(Aws::String &&value)
void SetStartedAt(const Aws::Utils::DateTime &value)
void SetStatus(const HealthEventStatus &value)
void SetEventId(const Aws::String &value)
void SetEventId(Aws::String &&value)
void SetStatus(HealthEventStatus &&value)
void SetPercentOfTotalTrafficImpacted(double value)
GetHealthEventResult & WithImpactedLocations(const Aws::Vector< ImpactedLocation > &value)
GetHealthEventResult & WithEndedAt(const Aws::Utils::DateTime &value)
AWS_INTERNETMONITOR_API GetHealthEventResult()
const HealthEventStatus & GetStatus() const
void SetEndedAt(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetEndedAt() const
const Aws::Utils::DateTime & GetCreatedAt() const
GetHealthEventResult & WithEventArn(Aws::String &&value)
void SetImpactType(const HealthEventImpactType &value)
void SetImpactType(HealthEventImpactType &&value)
AWS_INTERNETMONITOR_API GetHealthEventResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue