7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/wafv2/WAFV2_EXPORTS.h>
9#include <aws/wafv2/model/DataProtection.h>
50 template <
typename DataProtectionsT = Aws::Vector<DataProtection>>
52 m_dataProtectionsHasBeenSet =
true;
53 m_dataProtections = std::forward<DataProtectionsT>(value);
55 template <
typename DataProtectionsT = Aws::Vector<DataProtection>>
60 template <
typename DataProtectionsT = DataProtection>
62 m_dataProtectionsHasBeenSet =
true;
63 m_dataProtections.emplace_back(std::forward<DataProtectionsT>(value));
69 bool m_dataProtectionsHasBeenSet =
false;
AWS_WAFV2_API DataProtectionConfig()=default
bool DataProtectionsHasBeenSet() const
AWS_WAFV2_API DataProtectionConfig(Aws::Utils::Json::JsonView jsonValue)
void SetDataProtections(DataProtectionsT &&value)
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_WAFV2_API DataProtectionConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< DataProtection > & GetDataProtections() const
DataProtectionConfig & WithDataProtections(DataProtectionsT &&value)
DataProtectionConfig & AddDataProtections(DataProtectionsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue