AWS SDK for C++  1.9.67
AWS SDK for C++
Public Member Functions | List of all members
Aws::Shield::Model::Subscription Class Reference

#include <Subscription.h>

Public Member Functions

 Subscription ()
 
 Subscription (Aws::Utils::Json::JsonView jsonValue)
 
Subscriptionoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::Utils::DateTimeGetStartTime () const
 
bool StartTimeHasBeenSet () const
 
void SetStartTime (const Aws::Utils::DateTime &value)
 
void SetStartTime (Aws::Utils::DateTime &&value)
 
SubscriptionWithStartTime (const Aws::Utils::DateTime &value)
 
SubscriptionWithStartTime (Aws::Utils::DateTime &&value)
 
const Aws::Utils::DateTimeGetEndTime () const
 
bool EndTimeHasBeenSet () const
 
void SetEndTime (const Aws::Utils::DateTime &value)
 
void SetEndTime (Aws::Utils::DateTime &&value)
 
SubscriptionWithEndTime (const Aws::Utils::DateTime &value)
 
SubscriptionWithEndTime (Aws::Utils::DateTime &&value)
 
long long GetTimeCommitmentInSeconds () const
 
bool TimeCommitmentInSecondsHasBeenSet () const
 
void SetTimeCommitmentInSeconds (long long value)
 
SubscriptionWithTimeCommitmentInSeconds (long long value)
 
const AutoRenewGetAutoRenew () const
 
bool AutoRenewHasBeenSet () const
 
void SetAutoRenew (const AutoRenew &value)
 
void SetAutoRenew (AutoRenew &&value)
 
SubscriptionWithAutoRenew (const AutoRenew &value)
 
SubscriptionWithAutoRenew (AutoRenew &&value)
 
const Aws::Vector< Limit > & GetLimits () const
 
bool LimitsHasBeenSet () const
 
void SetLimits (const Aws::Vector< Limit > &value)
 
void SetLimits (Aws::Vector< Limit > &&value)
 
SubscriptionWithLimits (const Aws::Vector< Limit > &value)
 
SubscriptionWithLimits (Aws::Vector< Limit > &&value)
 
SubscriptionAddLimits (const Limit &value)
 
SubscriptionAddLimits (Limit &&value)
 
const ProactiveEngagementStatusGetProactiveEngagementStatus () const
 
bool ProactiveEngagementStatusHasBeenSet () const
 
void SetProactiveEngagementStatus (const ProactiveEngagementStatus &value)
 
void SetProactiveEngagementStatus (ProactiveEngagementStatus &&value)
 
SubscriptionWithProactiveEngagementStatus (const ProactiveEngagementStatus &value)
 
SubscriptionWithProactiveEngagementStatus (ProactiveEngagementStatus &&value)
 
const SubscriptionLimitsGetSubscriptionLimits () const
 
bool SubscriptionLimitsHasBeenSet () const
 
void SetSubscriptionLimits (const SubscriptionLimits &value)
 
void SetSubscriptionLimits (SubscriptionLimits &&value)
 
SubscriptionWithSubscriptionLimits (const SubscriptionLimits &value)
 
SubscriptionWithSubscriptionLimits (SubscriptionLimits &&value)
 
const Aws::StringGetSubscriptionArn () const
 
bool SubscriptionArnHasBeenSet () const
 
void SetSubscriptionArn (const Aws::String &value)
 
void SetSubscriptionArn (Aws::String &&value)
 
void SetSubscriptionArn (const char *value)
 
SubscriptionWithSubscriptionArn (const Aws::String &value)
 
SubscriptionWithSubscriptionArn (Aws::String &&value)
 
SubscriptionWithSubscriptionArn (const char *value)
 

Detailed Description

Information about the AWS Shield Advanced subscription for an account.

See Also:

AWS API Reference

Definition at line 38 of file Subscription.h.

Constructor & Destructor Documentation

◆ Subscription() [1/2]

Aws::Shield::Model::Subscription::Subscription ( )

◆ Subscription() [2/2]

Aws::Shield::Model::Subscription::Subscription ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ AddLimits() [1/2]

Subscription& Aws::Shield::Model::Subscription::AddLimits ( const Limit value)
inline

Specifies how many protections of a given type you can create.

Definition at line 246 of file Subscription.h.

◆ AddLimits() [2/2]

Subscription& Aws::Shield::Model::Subscription::AddLimits ( Limit &&  value)
inline

Specifies how many protections of a given type you can create.

Definition at line 251 of file Subscription.h.

◆ AutoRenewHasBeenSet()

bool Aws::Shield::Model::Subscription::AutoRenewHasBeenSet ( ) const
inline

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.

Definition at line 166 of file Subscription.h.

◆ EndTimeHasBeenSet()

bool Aws::Shield::Model::Subscription::EndTimeHasBeenSet ( ) const
inline

The date and time your subscription will end.

Definition at line 98 of file Subscription.h.

◆ GetAutoRenew()

const AutoRenew& Aws::Shield::Model::Subscription::GetAutoRenew ( ) const
inline

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.

Definition at line 155 of file Subscription.h.

◆ GetEndTime()

const Aws::Utils::DateTime& Aws::Shield::Model::Subscription::GetEndTime ( ) const
inline

The date and time your subscription will end.

Definition at line 93 of file Subscription.h.

◆ GetLimits()

const Aws::Vector<Limit>& Aws::Shield::Model::Subscription::GetLimits ( ) const
inline

Specifies how many protections of a given type you can create.

Definition at line 216 of file Subscription.h.

◆ GetProactiveEngagementStatus()

const ProactiveEngagementStatus& Aws::Shield::Model::Subscription::GetProactiveEngagementStatus ( ) const
inline

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.

Definition at line 263 of file Subscription.h.

◆ GetStartTime()

const Aws::Utils::DateTime& Aws::Shield::Model::Subscription::GetStartTime ( ) const
inline

The start time of the subscription, in Unix time in seconds. For more information see timestamp.

Definition at line 52 of file Subscription.h.

◆ GetSubscriptionArn()

const Aws::String& Aws::Shield::Model::Subscription::GetSubscriptionArn ( ) const
inline

The ARN (Amazon Resource Name) of the subscription.

Definition at line 355 of file Subscription.h.

◆ GetSubscriptionLimits()

const SubscriptionLimits& Aws::Shield::Model::Subscription::GetSubscriptionLimits ( ) const
inline

Limits settings for your subscription.

Definition at line 324 of file Subscription.h.

◆ GetTimeCommitmentInSeconds()

long long Aws::Shield::Model::Subscription::GetTimeCommitmentInSeconds ( ) const
inline

The length, in seconds, of the AWS Shield Advanced subscription for the account.

Definition at line 125 of file Subscription.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::Shield::Model::Subscription::Jsonize ( ) const

◆ LimitsHasBeenSet()

bool Aws::Shield::Model::Subscription::LimitsHasBeenSet ( ) const
inline

Specifies how many protections of a given type you can create.

Definition at line 221 of file Subscription.h.

◆ operator=()

Subscription& Aws::Shield::Model::Subscription::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ ProactiveEngagementStatusHasBeenSet()

bool Aws::Shield::Model::Subscription::ProactiveEngagementStatusHasBeenSet ( ) const
inline

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.

Definition at line 274 of file Subscription.h.

◆ SetAutoRenew() [1/2]

void Aws::Shield::Model::Subscription::SetAutoRenew ( AutoRenew &&  value)
inline

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.

Definition at line 188 of file Subscription.h.

◆ SetAutoRenew() [2/2]

void Aws::Shield::Model::Subscription::SetAutoRenew ( const AutoRenew value)
inline

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.

Definition at line 177 of file Subscription.h.

◆ SetEndTime() [1/2]

void Aws::Shield::Model::Subscription::SetEndTime ( Aws::Utils::DateTime &&  value)
inline

The date and time your subscription will end.

Definition at line 108 of file Subscription.h.

◆ SetEndTime() [2/2]

void Aws::Shield::Model::Subscription::SetEndTime ( const Aws::Utils::DateTime value)
inline

The date and time your subscription will end.

Definition at line 103 of file Subscription.h.

◆ SetLimits() [1/2]

void Aws::Shield::Model::Subscription::SetLimits ( Aws::Vector< Limit > &&  value)
inline

Specifies how many protections of a given type you can create.

Definition at line 231 of file Subscription.h.

◆ SetLimits() [2/2]

void Aws::Shield::Model::Subscription::SetLimits ( const Aws::Vector< Limit > &  value)
inline

Specifies how many protections of a given type you can create.

Definition at line 226 of file Subscription.h.

◆ SetProactiveEngagementStatus() [1/2]

void Aws::Shield::Model::Subscription::SetProactiveEngagementStatus ( const ProactiveEngagementStatus value)
inline

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.

Definition at line 285 of file Subscription.h.

◆ SetProactiveEngagementStatus() [2/2]

void Aws::Shield::Model::Subscription::SetProactiveEngagementStatus ( ProactiveEngagementStatus &&  value)
inline

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.

Definition at line 296 of file Subscription.h.

◆ SetStartTime() [1/2]

void Aws::Shield::Model::Subscription::SetStartTime ( Aws::Utils::DateTime &&  value)
inline

The start time of the subscription, in Unix time in seconds. For more information see timestamp.

Definition at line 73 of file Subscription.h.

◆ SetStartTime() [2/2]

void Aws::Shield::Model::Subscription::SetStartTime ( const Aws::Utils::DateTime value)
inline

The start time of the subscription, in Unix time in seconds. For more information see timestamp.

Definition at line 66 of file Subscription.h.

◆ SetSubscriptionArn() [1/3]

void Aws::Shield::Model::Subscription::SetSubscriptionArn ( Aws::String &&  value)
inline

The ARN (Amazon Resource Name) of the subscription.

Definition at line 370 of file Subscription.h.

◆ SetSubscriptionArn() [2/3]

void Aws::Shield::Model::Subscription::SetSubscriptionArn ( const Aws::String value)
inline

The ARN (Amazon Resource Name) of the subscription.

Definition at line 365 of file Subscription.h.

◆ SetSubscriptionArn() [3/3]

void Aws::Shield::Model::Subscription::SetSubscriptionArn ( const char *  value)
inline

The ARN (Amazon Resource Name) of the subscription.

Definition at line 375 of file Subscription.h.

◆ SetSubscriptionLimits() [1/2]

void Aws::Shield::Model::Subscription::SetSubscriptionLimits ( const SubscriptionLimits value)
inline

Limits settings for your subscription.

Definition at line 334 of file Subscription.h.

◆ SetSubscriptionLimits() [2/2]

void Aws::Shield::Model::Subscription::SetSubscriptionLimits ( SubscriptionLimits &&  value)
inline

Limits settings for your subscription.

Definition at line 339 of file Subscription.h.

◆ SetTimeCommitmentInSeconds()

void Aws::Shield::Model::Subscription::SetTimeCommitmentInSeconds ( long long  value)
inline

The length, in seconds, of the AWS Shield Advanced subscription for the account.

Definition at line 137 of file Subscription.h.

◆ StartTimeHasBeenSet()

bool Aws::Shield::Model::Subscription::StartTimeHasBeenSet ( ) const
inline

The start time of the subscription, in Unix time in seconds. For more information see timestamp.

Definition at line 59 of file Subscription.h.

◆ SubscriptionArnHasBeenSet()

bool Aws::Shield::Model::Subscription::SubscriptionArnHasBeenSet ( ) const
inline

The ARN (Amazon Resource Name) of the subscription.

Definition at line 360 of file Subscription.h.

◆ SubscriptionLimitsHasBeenSet()

bool Aws::Shield::Model::Subscription::SubscriptionLimitsHasBeenSet ( ) const
inline

Limits settings for your subscription.

Definition at line 329 of file Subscription.h.

◆ TimeCommitmentInSecondsHasBeenSet()

bool Aws::Shield::Model::Subscription::TimeCommitmentInSecondsHasBeenSet ( ) const
inline

The length, in seconds, of the AWS Shield Advanced subscription for the account.

Definition at line 131 of file Subscription.h.

◆ WithAutoRenew() [1/2]

Subscription& Aws::Shield::Model::Subscription::WithAutoRenew ( AutoRenew &&  value)
inline

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.

Definition at line 210 of file Subscription.h.

◆ WithAutoRenew() [2/2]

Subscription& Aws::Shield::Model::Subscription::WithAutoRenew ( const AutoRenew value)
inline

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.

Definition at line 199 of file Subscription.h.

◆ WithEndTime() [1/2]

Subscription& Aws::Shield::Model::Subscription::WithEndTime ( Aws::Utils::DateTime &&  value)
inline

The date and time your subscription will end.

Definition at line 118 of file Subscription.h.

◆ WithEndTime() [2/2]

Subscription& Aws::Shield::Model::Subscription::WithEndTime ( const Aws::Utils::DateTime value)
inline

The date and time your subscription will end.

Definition at line 113 of file Subscription.h.

◆ WithLimits() [1/2]

Subscription& Aws::Shield::Model::Subscription::WithLimits ( Aws::Vector< Limit > &&  value)
inline

Specifies how many protections of a given type you can create.

Definition at line 241 of file Subscription.h.

◆ WithLimits() [2/2]

Subscription& Aws::Shield::Model::Subscription::WithLimits ( const Aws::Vector< Limit > &  value)
inline

Specifies how many protections of a given type you can create.

Definition at line 236 of file Subscription.h.

◆ WithProactiveEngagementStatus() [1/2]

Subscription& Aws::Shield::Model::Subscription::WithProactiveEngagementStatus ( const ProactiveEngagementStatus value)
inline

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.

Definition at line 307 of file Subscription.h.

◆ WithProactiveEngagementStatus() [2/2]

Subscription& Aws::Shield::Model::Subscription::WithProactiveEngagementStatus ( ProactiveEngagementStatus &&  value)
inline

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.

Definition at line 318 of file Subscription.h.

◆ WithStartTime() [1/2]

Subscription& Aws::Shield::Model::Subscription::WithStartTime ( Aws::Utils::DateTime &&  value)
inline

The start time of the subscription, in Unix time in seconds. For more information see timestamp.

Definition at line 87 of file Subscription.h.

◆ WithStartTime() [2/2]

Subscription& Aws::Shield::Model::Subscription::WithStartTime ( const Aws::Utils::DateTime value)
inline

The start time of the subscription, in Unix time in seconds. For more information see timestamp.

Definition at line 80 of file Subscription.h.

◆ WithSubscriptionArn() [1/3]

Subscription& Aws::Shield::Model::Subscription::WithSubscriptionArn ( Aws::String &&  value)
inline

The ARN (Amazon Resource Name) of the subscription.

Definition at line 385 of file Subscription.h.

◆ WithSubscriptionArn() [2/3]

Subscription& Aws::Shield::Model::Subscription::WithSubscriptionArn ( const Aws::String value)
inline

The ARN (Amazon Resource Name) of the subscription.

Definition at line 380 of file Subscription.h.

◆ WithSubscriptionArn() [3/3]

Subscription& Aws::Shield::Model::Subscription::WithSubscriptionArn ( const char *  value)
inline

The ARN (Amazon Resource Name) of the subscription.

Definition at line 390 of file Subscription.h.

◆ WithSubscriptionLimits() [1/2]

Subscription& Aws::Shield::Model::Subscription::WithSubscriptionLimits ( const SubscriptionLimits value)
inline

Limits settings for your subscription.

Definition at line 344 of file Subscription.h.

◆ WithSubscriptionLimits() [2/2]

Subscription& Aws::Shield::Model::Subscription::WithSubscriptionLimits ( SubscriptionLimits &&  value)
inline

Limits settings for your subscription.

Definition at line 349 of file Subscription.h.

◆ WithTimeCommitmentInSeconds()

Subscription& Aws::Shield::Model::Subscription::WithTimeCommitmentInSeconds ( long long  value)
inline

The length, in seconds, of the AWS Shield Advanced subscription for the account.

Definition at line 143 of file Subscription.h.


The documentation for this class was generated from the following file: