/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the destination of the message, consisting of To:, CC:, and BCC:
* fields. Amazon SES does not support the SMTPUTF8 extension, as
* described in RFC6531. For this
* reason, the local part of a destination email address (the part of the
* email address that precedes the @ sign) may only contain 7-bit ASCII
* characters. If the domain part of an address (the part after the @
* sign) contains non-ASCII characters, they must be encoded using Punycode, as
* described in RFC3492.See Also:
AWS
* API Reference
The recipients to place on the To: line of the message.
*/ inline const Aws::VectorThe recipients to place on the To: line of the message.
*/ inline bool ToAddressesHasBeenSet() const { return m_toAddressesHasBeenSet; } /** *The recipients to place on the To: line of the message.
*/ inline void SetToAddresses(const Aws::VectorThe recipients to place on the To: line of the message.
*/ inline void SetToAddresses(Aws::VectorThe recipients to place on the To: line of the message.
*/ inline Destination& WithToAddresses(const Aws::VectorThe recipients to place on the To: line of the message.
*/ inline Destination& WithToAddresses(Aws::VectorThe recipients to place on the To: line of the message.
*/ inline Destination& AddToAddresses(const Aws::String& value) { m_toAddressesHasBeenSet = true; m_toAddresses.push_back(value); return *this; } /** *The recipients to place on the To: line of the message.
*/ inline Destination& AddToAddresses(Aws::String&& value) { m_toAddressesHasBeenSet = true; m_toAddresses.push_back(std::move(value)); return *this; } /** *The recipients to place on the To: line of the message.
*/ inline Destination& AddToAddresses(const char* value) { m_toAddressesHasBeenSet = true; m_toAddresses.push_back(value); return *this; } /** *The recipients to place on the CC: line of the message.
*/ inline const Aws::VectorThe recipients to place on the CC: line of the message.
*/ inline bool CcAddressesHasBeenSet() const { return m_ccAddressesHasBeenSet; } /** *The recipients to place on the CC: line of the message.
*/ inline void SetCcAddresses(const Aws::VectorThe recipients to place on the CC: line of the message.
*/ inline void SetCcAddresses(Aws::VectorThe recipients to place on the CC: line of the message.
*/ inline Destination& WithCcAddresses(const Aws::VectorThe recipients to place on the CC: line of the message.
*/ inline Destination& WithCcAddresses(Aws::VectorThe recipients to place on the CC: line of the message.
*/ inline Destination& AddCcAddresses(const Aws::String& value) { m_ccAddressesHasBeenSet = true; m_ccAddresses.push_back(value); return *this; } /** *The recipients to place on the CC: line of the message.
*/ inline Destination& AddCcAddresses(Aws::String&& value) { m_ccAddressesHasBeenSet = true; m_ccAddresses.push_back(std::move(value)); return *this; } /** *The recipients to place on the CC: line of the message.
*/ inline Destination& AddCcAddresses(const char* value) { m_ccAddressesHasBeenSet = true; m_ccAddresses.push_back(value); return *this; } /** *The recipients to place on the BCC: line of the message.
*/ inline const Aws::VectorThe recipients to place on the BCC: line of the message.
*/ inline bool BccAddressesHasBeenSet() const { return m_bccAddressesHasBeenSet; } /** *The recipients to place on the BCC: line of the message.
*/ inline void SetBccAddresses(const Aws::VectorThe recipients to place on the BCC: line of the message.
*/ inline void SetBccAddresses(Aws::VectorThe recipients to place on the BCC: line of the message.
*/ inline Destination& WithBccAddresses(const Aws::VectorThe recipients to place on the BCC: line of the message.
*/ inline Destination& WithBccAddresses(Aws::VectorThe recipients to place on the BCC: line of the message.
*/ inline Destination& AddBccAddresses(const Aws::String& value) { m_bccAddressesHasBeenSet = true; m_bccAddresses.push_back(value); return *this; } /** *The recipients to place on the BCC: line of the message.
*/ inline Destination& AddBccAddresses(Aws::String&& value) { m_bccAddressesHasBeenSet = true; m_bccAddresses.push_back(std::move(value)); return *this; } /** *The recipients to place on the BCC: line of the message.
*/ inline Destination& AddBccAddresses(const char* value) { m_bccAddressesHasBeenSet = true; m_bccAddresses.push_back(value); return *this; } private: Aws::Vector