/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about the AWS Shield Advanced subscription for an
* account.See Also:
AWS
* API Reference
The start time of the subscription, in Unix time in seconds. For more * information see timestamp.
*/ inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } /** *The start time of the subscription, in Unix time in seconds. For more * information see timestamp.
*/ inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } /** *The start time of the subscription, in Unix time in seconds. For more * information see timestamp.
*/ inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; } /** *The start time of the subscription, in Unix time in seconds. For more * information see timestamp.
*/ inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); } /** *The start time of the subscription, in Unix time in seconds. For more * information see timestamp.
*/ inline Subscription& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} /** *The start time of the subscription, in Unix time in seconds. For more * information see timestamp.
*/ inline Subscription& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} /** *The date and time your subscription will end.
*/ inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; } /** *The date and time your subscription will end.
*/ inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; } /** *The date and time your subscription will end.
*/ inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; } /** *The date and time your subscription will end.
*/ inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); } /** *The date and time your subscription will end.
*/ inline Subscription& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;} /** *The date and time your subscription will end.
*/ inline Subscription& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;} /** *The length, in seconds, of the AWS Shield Advanced subscription for the * account.
*/ inline long long GetTimeCommitmentInSeconds() const{ return m_timeCommitmentInSeconds; } /** *The length, in seconds, of the AWS Shield Advanced subscription for the * account.
*/ inline bool TimeCommitmentInSecondsHasBeenSet() const { return m_timeCommitmentInSecondsHasBeenSet; } /** *The length, in seconds, of the AWS Shield Advanced subscription for the * account.
*/ inline void SetTimeCommitmentInSeconds(long long value) { m_timeCommitmentInSecondsHasBeenSet = true; m_timeCommitmentInSeconds = value; } /** *The length, in seconds, of the AWS Shield Advanced subscription for the * account.
*/ inline Subscription& WithTimeCommitmentInSeconds(long long value) { SetTimeCommitmentInSeconds(value); return *this;} /** *If ENABLED, the subscription will be automatically renewed at
* the end of the existing subscription period.
When you initally create a
* subscription, AutoRenew is set to ENABLED. You can
* change this by submitting an UpdateSubscription request. If the
* UpdateSubscription request does not included a value for
* AutoRenew, the existing value for AutoRenew remains
* unchanged.
If ENABLED, the subscription will be automatically renewed at
* the end of the existing subscription period.
When you initally create a
* subscription, AutoRenew is set to ENABLED. You can
* change this by submitting an UpdateSubscription request. If the
* UpdateSubscription request does not included a value for
* AutoRenew, the existing value for AutoRenew remains
* unchanged.
If ENABLED, the subscription will be automatically renewed at
* the end of the existing subscription period.
When you initally create a
* subscription, AutoRenew is set to ENABLED. You can
* change this by submitting an UpdateSubscription request. If the
* UpdateSubscription request does not included a value for
* AutoRenew, the existing value for AutoRenew remains
* unchanged.
If ENABLED, the subscription will be automatically renewed at
* the end of the existing subscription period.
When you initally create a
* subscription, AutoRenew is set to ENABLED. You can
* change this by submitting an UpdateSubscription request. If the
* UpdateSubscription request does not included a value for
* AutoRenew, the existing value for AutoRenew remains
* unchanged.
If ENABLED, the subscription will be automatically renewed at
* the end of the existing subscription period.
When you initally create a
* subscription, AutoRenew is set to ENABLED. You can
* change this by submitting an UpdateSubscription request. If the
* UpdateSubscription request does not included a value for
* AutoRenew, the existing value for AutoRenew remains
* unchanged.
If ENABLED, the subscription will be automatically renewed at
* the end of the existing subscription period.
When you initally create a
* subscription, AutoRenew is set to ENABLED. You can
* change this by submitting an UpdateSubscription request. If the
* UpdateSubscription request does not included a value for
* AutoRenew, the existing value for AutoRenew remains
* unchanged.
Specifies how many protections of a given type you can create.
*/ inline const Aws::VectorSpecifies how many protections of a given type you can create.
*/ inline bool LimitsHasBeenSet() const { return m_limitsHasBeenSet; } /** *Specifies how many protections of a given type you can create.
*/ inline void SetLimits(const Aws::VectorSpecifies how many protections of a given type you can create.
*/ inline void SetLimits(Aws::VectorSpecifies how many protections of a given type you can create.
*/ inline Subscription& WithLimits(const Aws::VectorSpecifies how many protections of a given type you can create.
*/ inline Subscription& WithLimits(Aws::VectorSpecifies how many protections of a given type you can create.
*/ inline Subscription& AddLimits(const Limit& value) { m_limitsHasBeenSet = true; m_limits.push_back(value); return *this; } /** *Specifies how many protections of a given type you can create.
*/ inline Subscription& AddLimits(Limit&& value) { m_limitsHasBeenSet = true; m_limits.push_back(std::move(value)); return *this; } /** *If ENABLED, the DDoS Response Team (DRT) will use email and
* phone to notify contacts about escalations to the DRT and to initiate proactive
* customer support.
If PENDING, you have requested proactive
* engagement and the request is pending. The status changes to
* ENABLED when your request is fully processed.
If
* DISABLED, the DRT will not proactively notify contacts about
* escalations or to initiate proactive customer support.
If ENABLED, the DDoS Response Team (DRT) will use email and
* phone to notify contacts about escalations to the DRT and to initiate proactive
* customer support.
If PENDING, you have requested proactive
* engagement and the request is pending. The status changes to
* ENABLED when your request is fully processed.
If
* DISABLED, the DRT will not proactively notify contacts about
* escalations or to initiate proactive customer support.
If ENABLED, the DDoS Response Team (DRT) will use email and
* phone to notify contacts about escalations to the DRT and to initiate proactive
* customer support.
If PENDING, you have requested proactive
* engagement and the request is pending. The status changes to
* ENABLED when your request is fully processed.
If
* DISABLED, the DRT will not proactively notify contacts about
* escalations or to initiate proactive customer support.
If ENABLED, the DDoS Response Team (DRT) will use email and
* phone to notify contacts about escalations to the DRT and to initiate proactive
* customer support.
If PENDING, you have requested proactive
* engagement and the request is pending. The status changes to
* ENABLED when your request is fully processed.
If
* DISABLED, the DRT will not proactively notify contacts about
* escalations or to initiate proactive customer support.
If ENABLED, the DDoS Response Team (DRT) will use email and
* phone to notify contacts about escalations to the DRT and to initiate proactive
* customer support.
If PENDING, you have requested proactive
* engagement and the request is pending. The status changes to
* ENABLED when your request is fully processed.
If
* DISABLED, the DRT will not proactively notify contacts about
* escalations or to initiate proactive customer support.
If ENABLED, the DDoS Response Team (DRT) will use email and
* phone to notify contacts about escalations to the DRT and to initiate proactive
* customer support.
If PENDING, you have requested proactive
* engagement and the request is pending. The status changes to
* ENABLED when your request is fully processed.
If
* DISABLED, the DRT will not proactively notify contacts about
* escalations or to initiate proactive customer support.