/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An object that represents a resource that is under DDoS
* protection.See Also:
AWS
* API Reference
The unique identifier (ID) of the protection.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *The unique identifier (ID) of the protection.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *The unique identifier (ID) of the protection.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *The unique identifier (ID) of the protection.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *The unique identifier (ID) of the protection.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *The unique identifier (ID) of the protection.
*/ inline Protection& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The unique identifier (ID) of the protection.
*/ inline Protection& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The unique identifier (ID) of the protection.
*/ inline Protection& WithId(const char* value) { SetId(value); return *this;} /** *The friendly name of the protection. For example, My CloudFront
* distributions.
The friendly name of the protection. For example, My CloudFront
* distributions.
The friendly name of the protection. For example, My CloudFront
* distributions.
The friendly name of the protection. For example, My CloudFront
* distributions.
The friendly name of the protection. For example, My CloudFront
* distributions.
The friendly name of the protection. For example, My CloudFront
* distributions.
The friendly name of the protection. For example, My CloudFront
* distributions.
The friendly name of the protection. For example, My CloudFront
* distributions.
The ARN (Amazon Resource Name) of the AWS resource that is protected.
*/ inline const Aws::String& GetResourceArn() const{ return m_resourceArn; } /** *The ARN (Amazon Resource Name) of the AWS resource that is protected.
*/ inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; } /** *The ARN (Amazon Resource Name) of the AWS resource that is protected.
*/ inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; } /** *The ARN (Amazon Resource Name) of the AWS resource that is protected.
*/ inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); } /** *The ARN (Amazon Resource Name) of the AWS resource that is protected.
*/ inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); } /** *The ARN (Amazon Resource Name) of the AWS resource that is protected.
*/ inline Protection& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;} /** *The ARN (Amazon Resource Name) of the AWS resource that is protected.
*/ inline Protection& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;} /** *The ARN (Amazon Resource Name) of the AWS resource that is protected.
*/ inline Protection& WithResourceArn(const char* value) { SetResourceArn(value); return *this;} /** *The unique identifier (ID) for the Route 53 health check that's associated * with the protection.
*/ inline const Aws::VectorThe unique identifier (ID) for the Route 53 health check that's associated * with the protection.
*/ inline bool HealthCheckIdsHasBeenSet() const { return m_healthCheckIdsHasBeenSet; } /** *The unique identifier (ID) for the Route 53 health check that's associated * with the protection.
*/ inline void SetHealthCheckIds(const Aws::VectorThe unique identifier (ID) for the Route 53 health check that's associated * with the protection.
*/ inline void SetHealthCheckIds(Aws::VectorThe unique identifier (ID) for the Route 53 health check that's associated * with the protection.
*/ inline Protection& WithHealthCheckIds(const Aws::VectorThe unique identifier (ID) for the Route 53 health check that's associated * with the protection.
*/ inline Protection& WithHealthCheckIds(Aws::VectorThe unique identifier (ID) for the Route 53 health check that's associated * with the protection.
*/ inline Protection& AddHealthCheckIds(const Aws::String& value) { m_healthCheckIdsHasBeenSet = true; m_healthCheckIds.push_back(value); return *this; } /** *The unique identifier (ID) for the Route 53 health check that's associated * with the protection.
*/ inline Protection& AddHealthCheckIds(Aws::String&& value) { m_healthCheckIdsHasBeenSet = true; m_healthCheckIds.push_back(std::move(value)); return *this; } /** *The unique identifier (ID) for the Route 53 health check that's associated * with the protection.
*/ inline Protection& AddHealthCheckIds(const char* value) { m_healthCheckIdsHasBeenSet = true; m_healthCheckIds.push_back(value); return *this; } private: Aws::String m_id; bool m_idHasBeenSet; Aws::String m_name; bool m_nameHasBeenSet; Aws::String m_resourceArn; bool m_resourceArnHasBeenSet; Aws::Vector