68 lines
1.6 KiB
C++
68 lines
1.6 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/personalize/Personalize_EXPORTS.h>
|
|
#include <aws/personalize/model/Campaign.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
template<typename RESULT_TYPE>
|
|
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<Aws::Utils::Json::JsonValue>& result);
|
|
DescribeCampaignResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|
|
|
|
|
/**
|
|
* <p>The properties of the campaign.</p>
|
|
*/
|
|
inline const Campaign& GetCampaign() const{ return m_campaign; }
|
|
|
|
/**
|
|
* <p>The properties of the campaign.</p>
|
|
*/
|
|
inline void SetCampaign(const Campaign& value) { m_campaign = value; }
|
|
|
|
/**
|
|
* <p>The properties of the campaign.</p>
|
|
*/
|
|
inline void SetCampaign(Campaign&& value) { m_campaign = std::move(value); }
|
|
|
|
/**
|
|
* <p>The properties of the campaign.</p>
|
|
*/
|
|
inline DescribeCampaignResult& WithCampaign(const Campaign& value) { SetCampaign(value); return *this;}
|
|
|
|
/**
|
|
* <p>The properties of the campaign.</p>
|
|
*/
|
|
inline DescribeCampaignResult& WithCampaign(Campaign&& value) { SetCampaign(std::move(value)); return *this;}
|
|
|
|
private:
|
|
|
|
Campaign m_campaign;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace Personalize
|
|
} // namespace Aws
|