7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/shield/Shield_EXPORTS.h>
10#include <aws/shield/model/ApplicationLayerAutomaticResponseConfiguration.h>
43 template <
typename IdT = Aws::String>
45 m_idHasBeenSet =
true;
46 m_id = std::forward<IdT>(value);
48 template <
typename IdT = Aws::String>
50 SetId(std::forward<IdT>(value));
62 template <
typename NameT = Aws::String>
64 m_nameHasBeenSet =
true;
65 m_name = std::forward<NameT>(value);
67 template <
typename NameT = Aws::String>
69 SetName(std::forward<NameT>(value));
81 template <
typename ResourceArnT = Aws::String>
83 m_resourceArnHasBeenSet =
true;
84 m_resourceArn = std::forward<ResourceArnT>(value);
86 template <
typename ResourceArnT = Aws::String>
100 template <
typename HealthCheckIdsT = Aws::Vector<Aws::String>>
102 m_healthCheckIdsHasBeenSet =
true;
103 m_healthCheckIds = std::forward<HealthCheckIdsT>(value);
105 template <
typename HealthCheckIdsT = Aws::Vector<Aws::String>>
110 template <
typename HealthCheckIdsT = Aws::String>
112 m_healthCheckIdsHasBeenSet =
true;
113 m_healthCheckIds.emplace_back(std::forward<HealthCheckIdsT>(value));
124 template <
typename ProtectionArnT = Aws::String>
126 m_protectionArnHasBeenSet =
true;
127 m_protectionArn = std::forward<ProtectionArnT>(value);
129 template <
typename ProtectionArnT = Aws::String>
144 return m_applicationLayerAutomaticResponseConfiguration;
147 return m_applicationLayerAutomaticResponseConfigurationHasBeenSet;
149 template <
typename ApplicationLayerAutomaticResponseConfigurationT = ApplicationLayerAutomaticResponseConfiguration>
151 m_applicationLayerAutomaticResponseConfigurationHasBeenSet =
true;
152 m_applicationLayerAutomaticResponseConfiguration = std::forward<ApplicationLayerAutomaticResponseConfigurationT>(value);
154 template <
typename ApplicationLayerAutomaticResponseConfigurationT = ApplicationLayerAutomaticResponseConfiguration>
172 bool m_idHasBeenSet =
false;
173 bool m_nameHasBeenSet =
false;
174 bool m_resourceArnHasBeenSet =
false;
175 bool m_healthCheckIdsHasBeenSet =
false;
176 bool m_protectionArnHasBeenSet =
false;
177 bool m_applicationLayerAutomaticResponseConfigurationHasBeenSet =
false;
const Aws::String & GetName() const
Protection & WithResourceArn(ResourceArnT &&value)
bool ResourceArnHasBeenSet() const
AWS_SHIELD_API Protection(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetHealthCheckIds() const
bool ApplicationLayerAutomaticResponseConfigurationHasBeenSet() const
void SetProtectionArn(ProtectionArnT &&value)
const ApplicationLayerAutomaticResponseConfiguration & GetApplicationLayerAutomaticResponseConfiguration() const
bool ProtectionArnHasBeenSet() const
Protection & WithApplicationLayerAutomaticResponseConfiguration(ApplicationLayerAutomaticResponseConfigurationT &&value)
void SetResourceArn(ResourceArnT &&value)
bool HealthCheckIdsHasBeenSet() const
Protection & WithProtectionArn(ProtectionArnT &&value)
void SetName(NameT &&value)
AWS_SHIELD_API Protection & operator=(Aws::Utils::Json::JsonView jsonValue)
Protection & WithId(IdT &&value)
AWS_SHIELD_API Protection()=default
const Aws::String & GetProtectionArn() const
const Aws::String & GetResourceArn() const
void SetHealthCheckIds(HealthCheckIdsT &&value)
Protection & AddHealthCheckIds(HealthCheckIdsT &&value)
Protection & WithHealthCheckIds(HealthCheckIdsT &&value)
bool NameHasBeenSet() const
AWS_SHIELD_API Aws::Utils::Json::JsonValue Jsonize() const
Protection & WithName(NameT &&value)
const Aws::String & GetId() const
bool IdHasBeenSet() const
void SetApplicationLayerAutomaticResponseConfiguration(ApplicationLayerAutomaticResponseConfigurationT &&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