86 lines
2.7 KiB
C++
86 lines
2.7 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/PersonalizeRequest.h>
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace Personalize
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
*/
|
|
class AWS_PERSONALIZE_API DescribeCampaignRequest : public PersonalizeRequest
|
|
{
|
|
public:
|
|
DescribeCampaignRequest();
|
|
|
|
// Service request name is the Operation name which will send this request out,
|
|
// each operation should has unique request name, so that we can get operation's name from this request.
|
|
// Note: this is not true for response, multiple operations may have the same response name,
|
|
// so we can not get operation's name from response.
|
|
inline virtual const char* GetServiceRequestName() const override { return "DescribeCampaign"; }
|
|
|
|
Aws::String SerializePayload() const override;
|
|
|
|
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
|
|
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the campaign.</p>
|
|
*/
|
|
inline const Aws::String& GetCampaignArn() const{ return m_campaignArn; }
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the campaign.</p>
|
|
*/
|
|
inline bool CampaignArnHasBeenSet() const { return m_campaignArnHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the campaign.</p>
|
|
*/
|
|
inline void SetCampaignArn(const Aws::String& value) { m_campaignArnHasBeenSet = true; m_campaignArn = value; }
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the campaign.</p>
|
|
*/
|
|
inline void SetCampaignArn(Aws::String&& value) { m_campaignArnHasBeenSet = true; m_campaignArn = std::move(value); }
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the campaign.</p>
|
|
*/
|
|
inline void SetCampaignArn(const char* value) { m_campaignArnHasBeenSet = true; m_campaignArn.assign(value); }
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the campaign.</p>
|
|
*/
|
|
inline DescribeCampaignRequest& WithCampaignArn(const Aws::String& value) { SetCampaignArn(value); return *this;}
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the campaign.</p>
|
|
*/
|
|
inline DescribeCampaignRequest& WithCampaignArn(Aws::String&& value) { SetCampaignArn(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the campaign.</p>
|
|
*/
|
|
inline DescribeCampaignRequest& WithCampaignArn(const char* value) { SetCampaignArn(value); return *this;}
|
|
|
|
private:
|
|
|
|
Aws::String m_campaignArn;
|
|
bool m_campaignArnHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace Personalize
|
|
} // namespace Aws
|