/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Shield { namespace Model { class AWS_SHIELD_API DescribeSubscriptionResult { public: DescribeSubscriptionResult(); DescribeSubscriptionResult(const Aws::AmazonWebServiceResult& result); DescribeSubscriptionResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The AWS Shield Advanced subscription details for an account.

*/ inline const Subscription& GetSubscription() const{ return m_subscription; } /** *

The AWS Shield Advanced subscription details for an account.

*/ inline void SetSubscription(const Subscription& value) { m_subscription = value; } /** *

The AWS Shield Advanced subscription details for an account.

*/ inline void SetSubscription(Subscription&& value) { m_subscription = std::move(value); } /** *

The AWS Shield Advanced subscription details for an account.

*/ inline DescribeSubscriptionResult& WithSubscription(const Subscription& value) { SetSubscription(value); return *this;} /** *

The AWS Shield Advanced subscription details for an account.

*/ inline DescribeSubscriptionResult& WithSubscription(Subscription&& value) { SetSubscription(std::move(value)); return *this;} private: Subscription m_subscription; }; } // namespace Model } // namespace Shield } // namespace Aws