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

The Amazon Resource Name (ARN) of the campaign.

*/ inline const Aws::String& GetCampaignArn() const{ return m_campaignArn; } /** *

The Amazon Resource Name (ARN) of the campaign.

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

The Amazon Resource Name (ARN) of the campaign.

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

The Amazon Resource Name (ARN) of the campaign.

*/ inline void SetCampaignArn(const char* value) { m_campaignArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the campaign.

*/ inline CreateCampaignResult& WithCampaignArn(const Aws::String& value) { SetCampaignArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the campaign.

*/ inline CreateCampaignResult& WithCampaignArn(Aws::String&& value) { SetCampaignArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the campaign.

*/ inline CreateCampaignResult& WithCampaignArn(const char* value) { SetCampaignArn(value); return *this;} private: Aws::String m_campaignArn; }; } // namespace Model } // namespace Personalize } // namespace Aws