/** * 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 CodeCatalyst { namespace Model { class GetSubscriptionResult { public: AWS_CODECATALYST_API GetSubscriptionResult(); AWS_CODECATALYST_API GetSubscriptionResult(const Aws::AmazonWebServiceResult& result); AWS_CODECATALYST_API GetSubscriptionResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The type of the billing plan for the space.

*/ inline const Aws::String& GetSubscriptionType() const{ return m_subscriptionType; } /** *

The type of the billing plan for the space.

*/ inline void SetSubscriptionType(const Aws::String& value) { m_subscriptionType = value; } /** *

The type of the billing plan for the space.

*/ inline void SetSubscriptionType(Aws::String&& value) { m_subscriptionType = std::move(value); } /** *

The type of the billing plan for the space.

*/ inline void SetSubscriptionType(const char* value) { m_subscriptionType.assign(value); } /** *

The type of the billing plan for the space.

*/ inline GetSubscriptionResult& WithSubscriptionType(const Aws::String& value) { SetSubscriptionType(value); return *this;} /** *

The type of the billing plan for the space.

*/ inline GetSubscriptionResult& WithSubscriptionType(Aws::String&& value) { SetSubscriptionType(std::move(value)); return *this;} /** *

The type of the billing plan for the space.

*/ inline GetSubscriptionResult& WithSubscriptionType(const char* value) { SetSubscriptionType(value); return *this;} /** *

The display name of the Amazon Web Services account used for billing for the * space.

*/ inline const Aws::String& GetAwsAccountName() const{ return m_awsAccountName; } /** *

The display name of the Amazon Web Services account used for billing for the * space.

*/ inline void SetAwsAccountName(const Aws::String& value) { m_awsAccountName = value; } /** *

The display name of the Amazon Web Services account used for billing for the * space.

*/ inline void SetAwsAccountName(Aws::String&& value) { m_awsAccountName = std::move(value); } /** *

The display name of the Amazon Web Services account used for billing for the * space.

*/ inline void SetAwsAccountName(const char* value) { m_awsAccountName.assign(value); } /** *

The display name of the Amazon Web Services account used for billing for the * space.

*/ inline GetSubscriptionResult& WithAwsAccountName(const Aws::String& value) { SetAwsAccountName(value); return *this;} /** *

The display name of the Amazon Web Services account used for billing for the * space.

*/ inline GetSubscriptionResult& WithAwsAccountName(Aws::String&& value) { SetAwsAccountName(std::move(value)); return *this;} /** *

The display name of the Amazon Web Services account used for billing for the * space.

*/ inline GetSubscriptionResult& WithAwsAccountName(const char* value) { SetAwsAccountName(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetSubscriptionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetSubscriptionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetSubscriptionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_subscriptionType; Aws::String m_awsAccountName; Aws::String m_requestId; }; } // namespace Model } // namespace CodeCatalyst } // namespace Aws