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

Information about a configuration set.

See Also:

AWS * API Reference

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

The name of the configuration set.

*/ inline const Aws::String& GetConfigurationSetName() const{ return m_configurationSetName; } /** *

The name of the configuration set.

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

The name of the configuration set.

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

The name of the configuration set.

*/ inline void SetConfigurationSetName(const char* value) { m_configurationSetName.assign(value); } /** *

The name of the configuration set.

*/ inline GetConfigurationSetResult& WithConfigurationSetName(const Aws::String& value) { SetConfigurationSetName(value); return *this;} /** *

The name of the configuration set.

*/ inline GetConfigurationSetResult& WithConfigurationSetName(Aws::String&& value) { SetConfigurationSetName(std::move(value)); return *this;} /** *

The name of the configuration set.

*/ inline GetConfigurationSetResult& WithConfigurationSetName(const char* value) { SetConfigurationSetName(value); return *this;} /** *

An object that defines the open and click tracking options for emails that * you send using the configuration set.

*/ inline const TrackingOptions& GetTrackingOptions() const{ return m_trackingOptions; } /** *

An object that defines the open and click tracking options for emails that * you send using the configuration set.

*/ inline void SetTrackingOptions(const TrackingOptions& value) { m_trackingOptions = value; } /** *

An object that defines the open and click tracking options for emails that * you send using the configuration set.

*/ inline void SetTrackingOptions(TrackingOptions&& value) { m_trackingOptions = std::move(value); } /** *

An object that defines the open and click tracking options for emails that * you send using the configuration set.

*/ inline GetConfigurationSetResult& WithTrackingOptions(const TrackingOptions& value) { SetTrackingOptions(value); return *this;} /** *

An object that defines the open and click tracking options for emails that * you send using the configuration set.

*/ inline GetConfigurationSetResult& WithTrackingOptions(TrackingOptions&& value) { SetTrackingOptions(std::move(value)); return *this;} /** *

An object that defines the dedicated IP pool that is used to send emails that * you send using the configuration set.

*/ inline const DeliveryOptions& GetDeliveryOptions() const{ return m_deliveryOptions; } /** *

An object that defines the dedicated IP pool that is used to send emails that * you send using the configuration set.

*/ inline void SetDeliveryOptions(const DeliveryOptions& value) { m_deliveryOptions = value; } /** *

An object that defines the dedicated IP pool that is used to send emails that * you send using the configuration set.

*/ inline void SetDeliveryOptions(DeliveryOptions&& value) { m_deliveryOptions = std::move(value); } /** *

An object that defines the dedicated IP pool that is used to send emails that * you send using the configuration set.

*/ inline GetConfigurationSetResult& WithDeliveryOptions(const DeliveryOptions& value) { SetDeliveryOptions(value); return *this;} /** *

An object that defines the dedicated IP pool that is used to send emails that * you send using the configuration set.

*/ inline GetConfigurationSetResult& WithDeliveryOptions(DeliveryOptions&& value) { SetDeliveryOptions(std::move(value)); return *this;} /** *

An object that defines whether or not Amazon SES collects reputation metrics * for the emails that you send that use the configuration set.

*/ inline const ReputationOptions& GetReputationOptions() const{ return m_reputationOptions; } /** *

An object that defines whether or not Amazon SES collects reputation metrics * for the emails that you send that use the configuration set.

*/ inline void SetReputationOptions(const ReputationOptions& value) { m_reputationOptions = value; } /** *

An object that defines whether or not Amazon SES collects reputation metrics * for the emails that you send that use the configuration set.

*/ inline void SetReputationOptions(ReputationOptions&& value) { m_reputationOptions = std::move(value); } /** *

An object that defines whether or not Amazon SES collects reputation metrics * for the emails that you send that use the configuration set.

*/ inline GetConfigurationSetResult& WithReputationOptions(const ReputationOptions& value) { SetReputationOptions(value); return *this;} /** *

An object that defines whether or not Amazon SES collects reputation metrics * for the emails that you send that use the configuration set.

*/ inline GetConfigurationSetResult& WithReputationOptions(ReputationOptions&& value) { SetReputationOptions(std::move(value)); return *this;} /** *

An object that defines whether or not Amazon SES can send email that you send * using the configuration set.

*/ inline const SendingOptions& GetSendingOptions() const{ return m_sendingOptions; } /** *

An object that defines whether or not Amazon SES can send email that you send * using the configuration set.

*/ inline void SetSendingOptions(const SendingOptions& value) { m_sendingOptions = value; } /** *

An object that defines whether or not Amazon SES can send email that you send * using the configuration set.

*/ inline void SetSendingOptions(SendingOptions&& value) { m_sendingOptions = std::move(value); } /** *

An object that defines whether or not Amazon SES can send email that you send * using the configuration set.

*/ inline GetConfigurationSetResult& WithSendingOptions(const SendingOptions& value) { SetSendingOptions(value); return *this;} /** *

An object that defines whether or not Amazon SES can send email that you send * using the configuration set.

*/ inline GetConfigurationSetResult& WithSendingOptions(SendingOptions&& value) { SetSendingOptions(std::move(value)); return *this;} /** *

An array of objects that define the tags (keys and values) that are * associated with the configuration set.

*/ inline const Aws::Vector& GetTags() const{ return m_tags; } /** *

An array of objects that define the tags (keys and values) that are * associated with the configuration set.

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

An array of objects that define the tags (keys and values) that are * associated with the configuration set.

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

An array of objects that define the tags (keys and values) that are * associated with the configuration set.

*/ inline GetConfigurationSetResult& WithTags(const Aws::Vector& value) { SetTags(value); return *this;} /** *

An array of objects that define the tags (keys and values) that are * associated with the configuration set.

*/ inline GetConfigurationSetResult& WithTags(Aws::Vector&& value) { SetTags(std::move(value)); return *this;} /** *

An array of objects that define the tags (keys and values) that are * associated with the configuration set.

*/ inline GetConfigurationSetResult& AddTags(const Tag& value) { m_tags.push_back(value); return *this; } /** *

An array of objects that define the tags (keys and values) that are * associated with the configuration set.

*/ inline GetConfigurationSetResult& AddTags(Tag&& value) { m_tags.push_back(std::move(value)); return *this; } /** *

An object that contains information about the suppression list preferences * for your account.

*/ inline const SuppressionOptions& GetSuppressionOptions() const{ return m_suppressionOptions; } /** *

An object that contains information about the suppression list preferences * for your account.

*/ inline void SetSuppressionOptions(const SuppressionOptions& value) { m_suppressionOptions = value; } /** *

An object that contains information about the suppression list preferences * for your account.

*/ inline void SetSuppressionOptions(SuppressionOptions&& value) { m_suppressionOptions = std::move(value); } /** *

An object that contains information about the suppression list preferences * for your account.

*/ inline GetConfigurationSetResult& WithSuppressionOptions(const SuppressionOptions& value) { SetSuppressionOptions(value); return *this;} /** *

An object that contains information about the suppression list preferences * for your account.

*/ inline GetConfigurationSetResult& WithSuppressionOptions(SuppressionOptions&& value) { SetSuppressionOptions(std::move(value)); return *this;} /** *

An object that contains information about the VDM preferences for your * configuration set.

*/ inline const VdmOptions& GetVdmOptions() const{ return m_vdmOptions; } /** *

An object that contains information about the VDM preferences for your * configuration set.

*/ inline void SetVdmOptions(const VdmOptions& value) { m_vdmOptions = value; } /** *

An object that contains information about the VDM preferences for your * configuration set.

*/ inline void SetVdmOptions(VdmOptions&& value) { m_vdmOptions = std::move(value); } /** *

An object that contains information about the VDM preferences for your * configuration set.

*/ inline GetConfigurationSetResult& WithVdmOptions(const VdmOptions& value) { SetVdmOptions(value); return *this;} /** *

An object that contains information about the VDM preferences for your * configuration set.

*/ inline GetConfigurationSetResult& WithVdmOptions(VdmOptions&& value) { SetVdmOptions(std::move(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 GetConfigurationSetResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetConfigurationSetResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetConfigurationSetResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_configurationSetName; TrackingOptions m_trackingOptions; DeliveryOptions m_deliveryOptions; ReputationOptions m_reputationOptions; SendingOptions m_sendingOptions; Aws::Vector m_tags; SuppressionOptions m_suppressionOptions; VdmOptions m_vdmOptions; Aws::String m_requestId; }; } // namespace Model } // namespace SESV2 } // namespace Aws