7#include <aws/shield/Shield_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/shield/model/AutoRenew.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/shield/model/ProactiveEngagementStatus.h>
12#include <aws/shield/model/SubscriptionLimits.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/shield/model/Limit.h>
78 inline void SetTimeCommitmentInSeconds(
long long value) { m_timeCommitmentInSecondsHasBeenSet =
true; m_timeCommitmentInSeconds = value; }
152 inline void SetSubscriptionArn(
const char* value) { m_subscriptionArnHasBeenSet =
true; m_subscriptionArn.assign(value); }
160 bool m_startTimeHasBeenSet =
false;
163 bool m_endTimeHasBeenSet =
false;
165 long long m_timeCommitmentInSeconds;
166 bool m_timeCommitmentInSecondsHasBeenSet =
false;
169 bool m_autoRenewHasBeenSet =
false;
172 bool m_limitsHasBeenSet =
false;
175 bool m_proactiveEngagementStatusHasBeenSet =
false;
178 bool m_subscriptionLimitsHasBeenSet =
false;
181 bool m_subscriptionArnHasBeenSet =
false;
Subscription & WithTimeCommitmentInSeconds(long long value)
AWS_SHIELD_API Subscription & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAutoRenew(AutoRenew &&value)
AWS_SHIELD_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetEndTime() const
AWS_SHIELD_API Subscription(Aws::Utils::Json::JsonView jsonValue)
Subscription & WithEndTime(Aws::Utils::DateTime &&value)
bool StartTimeHasBeenSet() const
Subscription & WithAutoRenew(const AutoRenew &value)
void SetSubscriptionLimits(SubscriptionLimits &&value)
bool ProactiveEngagementStatusHasBeenSet() const
void SetLimits(const Aws::Vector< Limit > &value)
void SetSubscriptionArn(Aws::String &&value)
bool TimeCommitmentInSecondsHasBeenSet() const
void SetProactiveEngagementStatus(ProactiveEngagementStatus &&value)
void SetEndTime(const Aws::Utils::DateTime &value)
Subscription & WithLimits(Aws::Vector< Limit > &&value)
const Aws::Vector< Limit > & GetLimits() const
const SubscriptionLimits & GetSubscriptionLimits() const
Subscription & WithSubscriptionArn(Aws::String &&value)
void SetSubscriptionArn(const Aws::String &value)
Subscription & WithAutoRenew(AutoRenew &&value)
Subscription & WithProactiveEngagementStatus(const ProactiveEngagementStatus &value)
void SetSubscriptionArn(const char *value)
void SetStartTime(Aws::Utils::DateTime &&value)
void SetTimeCommitmentInSeconds(long long value)
Subscription & WithLimits(const Aws::Vector< Limit > &value)
Subscription & WithSubscriptionLimits(const SubscriptionLimits &value)
long long GetTimeCommitmentInSeconds() const
Subscription & WithSubscriptionArn(const Aws::String &value)
const AutoRenew & GetAutoRenew() const
bool EndTimeHasBeenSet() const
Subscription & WithEndTime(const Aws::Utils::DateTime &value)
void SetAutoRenew(const AutoRenew &value)
Subscription & AddLimits(const Limit &value)
bool SubscriptionLimitsHasBeenSet() const
Subscription & WithSubscriptionLimits(SubscriptionLimits &&value)
bool AutoRenewHasBeenSet() const
Subscription & WithStartTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetStartTime() const
void SetEndTime(Aws::Utils::DateTime &&value)
Subscription & WithSubscriptionArn(const char *value)
Subscription & WithProactiveEngagementStatus(ProactiveEngagementStatus &&value)
Subscription & AddLimits(Limit &&value)
const Aws::String & GetSubscriptionArn() const
void SetProactiveEngagementStatus(const ProactiveEngagementStatus &value)
AWS_SHIELD_API Subscription()
Subscription & WithStartTime(const Aws::Utils::DateTime &value)
void SetStartTime(const Aws::Utils::DateTime &value)
void SetLimits(Aws::Vector< Limit > &&value)
void SetSubscriptionLimits(const SubscriptionLimits &value)
bool LimitsHasBeenSet() const
const ProactiveEngagementStatus & GetProactiveEngagementStatus() const
bool SubscriptionArnHasBeenSet() const
ProactiveEngagementStatus
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue