/** * 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 GetSubscriptionStateResult { public: GetSubscriptionStateResult(); GetSubscriptionStateResult(const Aws::AmazonWebServiceResult& result); GetSubscriptionStateResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The status of the subscription.

*/ inline const SubscriptionState& GetSubscriptionState() const{ return m_subscriptionState; } /** *

The status of the subscription.

*/ inline void SetSubscriptionState(const SubscriptionState& value) { m_subscriptionState = value; } /** *

The status of the subscription.

*/ inline void SetSubscriptionState(SubscriptionState&& value) { m_subscriptionState = std::move(value); } /** *

The status of the subscription.

*/ inline GetSubscriptionStateResult& WithSubscriptionState(const SubscriptionState& value) { SetSubscriptionState(value); return *this;} /** *

The status of the subscription.

*/ inline GetSubscriptionStateResult& WithSubscriptionState(SubscriptionState&& value) { SetSubscriptionState(std::move(value)); return *this;} private: SubscriptionState m_subscriptionState; }; } // namespace Model } // namespace Shield } // namespace Aws