/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace SESV2 { namespace Model { /** *

Retrieve all the deliverability data for a specific campaign. This data is * available for a campaign only if the campaign sent email by using a domain that * the Deliverability dashboard is enabled for * (PutDeliverabilityDashboardOption operation).

See * Also:

AWS * API Reference

*/ class GetDomainDeliverabilityCampaignRequest : public SESV2Request { public: AWS_SESV2_API GetDomainDeliverabilityCampaignRequest(); // 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 "GetDomainDeliverabilityCampaign"; } AWS_SESV2_API Aws::String SerializePayload() const override; /** *

The unique identifier for the campaign. The Deliverability dashboard * automatically generates and assigns this identifier to a campaign.

*/ inline const Aws::String& GetCampaignId() const{ return m_campaignId; } /** *

The unique identifier for the campaign. The Deliverability dashboard * automatically generates and assigns this identifier to a campaign.

*/ inline bool CampaignIdHasBeenSet() const { return m_campaignIdHasBeenSet; } /** *

The unique identifier for the campaign. The Deliverability dashboard * automatically generates and assigns this identifier to a campaign.

*/ inline void SetCampaignId(const Aws::String& value) { m_campaignIdHasBeenSet = true; m_campaignId = value; } /** *

The unique identifier for the campaign. The Deliverability dashboard * automatically generates and assigns this identifier to a campaign.

*/ inline void SetCampaignId(Aws::String&& value) { m_campaignIdHasBeenSet = true; m_campaignId = std::move(value); } /** *

The unique identifier for the campaign. The Deliverability dashboard * automatically generates and assigns this identifier to a campaign.

*/ inline void SetCampaignId(const char* value) { m_campaignIdHasBeenSet = true; m_campaignId.assign(value); } /** *

The unique identifier for the campaign. The Deliverability dashboard * automatically generates and assigns this identifier to a campaign.

*/ inline GetDomainDeliverabilityCampaignRequest& WithCampaignId(const Aws::String& value) { SetCampaignId(value); return *this;} /** *

The unique identifier for the campaign. The Deliverability dashboard * automatically generates and assigns this identifier to a campaign.

*/ inline GetDomainDeliverabilityCampaignRequest& WithCampaignId(Aws::String&& value) { SetCampaignId(std::move(value)); return *this;} /** *

The unique identifier for the campaign. The Deliverability dashboard * automatically generates and assigns this identifier to a campaign.

*/ inline GetDomainDeliverabilityCampaignRequest& WithCampaignId(const char* value) { SetCampaignId(value); return *this;} private: Aws::String m_campaignId; bool m_campaignIdHasBeenSet = false; }; } // namespace Model } // namespace SESV2 } // namespace Aws