7#include <aws/shield/Shield_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/shield/model/ApplicationLayerAutomaticResponseConfiguration.h>
50 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
51 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
66 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
81 inline void SetResourceArn(
const char* value) { m_resourceArnHasBeenSet =
true; m_resourceArn.assign(value); }
111 inline void SetProtectionArn(
const char* value) { m_protectionArnHasBeenSet =
true; m_protectionArn.assign(value); }
134 bool m_idHasBeenSet =
false;
137 bool m_nameHasBeenSet =
false;
140 bool m_resourceArnHasBeenSet =
false;
143 bool m_healthCheckIdsHasBeenSet =
false;
146 bool m_protectionArnHasBeenSet =
false;
149 bool m_applicationLayerAutomaticResponseConfigurationHasBeenSet =
false;
const Aws::String & GetName() const
bool ResourceArnHasBeenSet() const
AWS_SHIELD_API Protection(Aws::Utils::Json::JsonView jsonValue)
void SetHealthCheckIds(Aws::Vector< Aws::String > &&value)
void SetProtectionArn(const char *value)
const Aws::Vector< Aws::String > & GetHealthCheckIds() const
void SetResourceArn(const Aws::String &value)
void SetProtectionArn(const Aws::String &value)
Protection & WithId(const char *value)
bool ApplicationLayerAutomaticResponseConfigurationHasBeenSet() const
Protection & WithName(Aws::String &&value)
Protection & WithHealthCheckIds(Aws::Vector< Aws::String > &&value)
void SetId(const char *value)
void SetProtectionArn(Aws::String &&value)
const ApplicationLayerAutomaticResponseConfiguration & GetApplicationLayerAutomaticResponseConfiguration() const
void SetHealthCheckIds(const Aws::Vector< Aws::String > &value)
bool ProtectionArnHasBeenSet() const
Protection & WithResourceArn(const Aws::String &value)
void SetApplicationLayerAutomaticResponseConfiguration(const ApplicationLayerAutomaticResponseConfiguration &value)
Protection & AddHealthCheckIds(const Aws::String &value)
void SetName(const char *value)
Protection & WithApplicationLayerAutomaticResponseConfiguration(const ApplicationLayerAutomaticResponseConfiguration &value)
bool HealthCheckIdsHasBeenSet() const
void SetId(const Aws::String &value)
Protection & WithId(Aws::String &&value)
AWS_SHIELD_API Protection & operator=(Aws::Utils::Json::JsonView jsonValue)
Protection & WithProtectionArn(const char *value)
Protection & WithResourceArn(Aws::String &&value)
Protection & WithProtectionArn(Aws::String &&value)
const Aws::String & GetProtectionArn() const
const Aws::String & GetResourceArn() const
bool NameHasBeenSet() const
Protection & AddHealthCheckIds(Aws::String &&value)
AWS_SHIELD_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(const Aws::String &value)
Protection & WithHealthCheckIds(const Aws::Vector< Aws::String > &value)
Protection & WithProtectionArn(const Aws::String &value)
Protection & WithName(const char *value)
Protection & WithResourceArn(const char *value)
void SetResourceArn(const char *value)
AWS_SHIELD_API Protection()
const Aws::String & GetId() const
Protection & WithId(const Aws::String &value)
bool IdHasBeenSet() const
void SetId(Aws::String &&value)
void SetResourceArn(Aws::String &&value)
void SetName(Aws::String &&value)
void SetApplicationLayerAutomaticResponseConfiguration(ApplicationLayerAutomaticResponseConfiguration &&value)
Protection & WithApplicationLayerAutomaticResponseConfiguration(ApplicationLayerAutomaticResponseConfiguration &&value)
Protection & AddHealthCheckIds(const char *value)
Protection & WithName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue