/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace SESV2 { namespace Model { /** *

An array of objects that provide deliverability data for all the campaigns * that used a specific domain to send email during a specified time range. This * data is available for a domain only if you enabled the Deliverability dashboard * for the domain.

See Also:

AWS * API Reference

*/ class ListDomainDeliverabilityCampaignsResult { public: AWS_SESV2_API ListDomainDeliverabilityCampaignsResult(); AWS_SESV2_API ListDomainDeliverabilityCampaignsResult(const Aws::AmazonWebServiceResult& result); AWS_SESV2_API ListDomainDeliverabilityCampaignsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

An array of responses, one for each campaign that used the domain to send * email during the specified time range.

*/ inline const Aws::Vector& GetDomainDeliverabilityCampaigns() const{ return m_domainDeliverabilityCampaigns; } /** *

An array of responses, one for each campaign that used the domain to send * email during the specified time range.

*/ inline void SetDomainDeliverabilityCampaigns(const Aws::Vector& value) { m_domainDeliverabilityCampaigns = value; } /** *

An array of responses, one for each campaign that used the domain to send * email during the specified time range.

*/ inline void SetDomainDeliverabilityCampaigns(Aws::Vector&& value) { m_domainDeliverabilityCampaigns = std::move(value); } /** *

An array of responses, one for each campaign that used the domain to send * email during the specified time range.

*/ inline ListDomainDeliverabilityCampaignsResult& WithDomainDeliverabilityCampaigns(const Aws::Vector& value) { SetDomainDeliverabilityCampaigns(value); return *this;} /** *

An array of responses, one for each campaign that used the domain to send * email during the specified time range.

*/ inline ListDomainDeliverabilityCampaignsResult& WithDomainDeliverabilityCampaigns(Aws::Vector&& value) { SetDomainDeliverabilityCampaigns(std::move(value)); return *this;} /** *

An array of responses, one for each campaign that used the domain to send * email during the specified time range.

*/ inline ListDomainDeliverabilityCampaignsResult& AddDomainDeliverabilityCampaigns(const DomainDeliverabilityCampaign& value) { m_domainDeliverabilityCampaigns.push_back(value); return *this; } /** *

An array of responses, one for each campaign that used the domain to send * email during the specified time range.

*/ inline ListDomainDeliverabilityCampaignsResult& AddDomainDeliverabilityCampaigns(DomainDeliverabilityCampaign&& value) { m_domainDeliverabilityCampaigns.push_back(std::move(value)); return *this; } /** *

A token that’s returned from a previous call to the * ListDomainDeliverabilityCampaigns operation. This token indicates * the position of the campaign in the list of campaigns.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

A token that’s returned from a previous call to the * ListDomainDeliverabilityCampaigns operation. This token indicates * the position of the campaign in the list of campaigns.

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

A token that’s returned from a previous call to the * ListDomainDeliverabilityCampaigns operation. This token indicates * the position of the campaign in the list of campaigns.

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

A token that’s returned from a previous call to the * ListDomainDeliverabilityCampaigns operation. This token indicates * the position of the campaign in the list of campaigns.

*/ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** *

A token that’s returned from a previous call to the * ListDomainDeliverabilityCampaigns operation. This token indicates * the position of the campaign in the list of campaigns.

*/ inline ListDomainDeliverabilityCampaignsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

A token that’s returned from a previous call to the * ListDomainDeliverabilityCampaigns operation. This token indicates * the position of the campaign in the list of campaigns.

*/ inline ListDomainDeliverabilityCampaignsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

A token that’s returned from a previous call to the * ListDomainDeliverabilityCampaigns operation. This token indicates * the position of the campaign in the list of campaigns.

*/ inline ListDomainDeliverabilityCampaignsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline ListDomainDeliverabilityCampaignsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListDomainDeliverabilityCampaignsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListDomainDeliverabilityCampaignsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_domainDeliverabilityCampaigns; Aws::String m_nextToken; Aws::String m_requestId; }; } // namespace Model } // namespace SESV2 } // namespace Aws