AWS SDK for C++  1.9.102
AWS SDK for C++
DescribeCampaignResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace Personalize
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const Campaign& GetCampaign() const{ return m_campaign; }
39 
43  inline void SetCampaign(const Campaign& value) { m_campaign = value; }
44 
48  inline void SetCampaign(Campaign&& value) { m_campaign = std::move(value); }
49 
53  inline DescribeCampaignResult& WithCampaign(const Campaign& value) { SetCampaign(value); return *this;}
54 
58  inline DescribeCampaignResult& WithCampaign(Campaign&& value) { SetCampaign(std::move(value)); return *this;}
59 
60  private:
61 
62  Campaign m_campaign;
63  };
64 
65 } // namespace Model
66 } // namespace Personalize
67 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Campaign.h
AWS_PERSONALIZE_API
#define AWS_PERSONALIZE_API
Definition: Personalize_EXPORTS.h:28
Aws::Personalize::Model::DescribeCampaignResult::WithCampaign
DescribeCampaignResult & WithCampaign(Campaign &&value)
Definition: DescribeCampaignResult.h:58
Aws::Personalize::Model::DescribeCampaignResult
Definition: DescribeCampaignResult.h:28
Aws::Personalize::Model::DescribeCampaignResult::SetCampaign
void SetCampaign(Campaign &&value)
Definition: DescribeCampaignResult.h:48
Aws::Personalize::Model::DescribeCampaignResult::operator=
DescribeCampaignResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Personalize::Model::DescribeCampaignResult::DescribeCampaignResult
DescribeCampaignResult()
Aws::Personalize::Model::Campaign
Definition: Campaign.h:37
Aws::Personalize::Model::DescribeCampaignResult::GetCampaign
const Campaign & GetCampaign() const
Definition: DescribeCampaignResult.h:38
Aws::Personalize::Model::DescribeCampaignResult::SetCampaign
void SetCampaign(const Campaign &value)
Definition: DescribeCampaignResult.h:43
Aws
Definition: AccessManagementClient.h:15
Aws::Personalize::Model::DescribeCampaignResult::DescribeCampaignResult
DescribeCampaignResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Personalize_EXPORTS.h
Aws::Personalize::Model::DescribeCampaignResult::WithCampaign
DescribeCampaignResult & WithCampaign(const Campaign &value)
Definition: DescribeCampaignResult.h:53