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

The properties of the campaign.

*/ inline const Campaign& GetCampaign() const{ return m_campaign; } /** *

The properties of the campaign.

*/ inline void SetCampaign(const Campaign& value) { m_campaign = value; } /** *

The properties of the campaign.

*/ inline void SetCampaign(Campaign&& value) { m_campaign = std::move(value); } /** *

The properties of the campaign.

*/ inline DescribeCampaignResult& WithCampaign(const Campaign& value) { SetCampaign(value); return *this;} /** *

The properties of the campaign.

*/ inline DescribeCampaignResult& WithCampaign(Campaign&& value) { SetCampaign(std::move(value)); return *this;} private: Campaign m_campaign; }; } // namespace Model } // namespace Personalize } // namespace Aws