336 lines
14 KiB
C++
336 lines
14 KiB
C++
/**
|
||
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||
* SPDX-License-Identifier: Apache-2.0.
|
||
*/
|
||
|
||
#pragma once
|
||
#include <aws/sesv2/SESV2_EXPORTS.h>
|
||
#include <aws/sesv2/model/MailType.h>
|
||
#include <aws/core/utils/memory/stl/AWSString.h>
|
||
#include <aws/sesv2/model/ContactLanguage.h>
|
||
#include <aws/core/utils/memory/stl/AWSVector.h>
|
||
#include <aws/sesv2/model/ReviewDetails.h>
|
||
#include <utility>
|
||
|
||
namespace Aws
|
||
{
|
||
namespace Utils
|
||
{
|
||
namespace Json
|
||
{
|
||
class JsonValue;
|
||
class JsonView;
|
||
} // namespace Json
|
||
} // namespace Utils
|
||
namespace SESV2
|
||
{
|
||
namespace Model
|
||
{
|
||
|
||
/**
|
||
* <p>An object that contains information about your account details.</p><p><h3>See
|
||
* Also:</h3> <a
|
||
* href="http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/AccountDetails">AWS
|
||
* API Reference</a></p>
|
||
*/
|
||
class AWS_SESV2_API AccountDetails
|
||
{
|
||
public:
|
||
AccountDetails();
|
||
AccountDetails(Aws::Utils::Json::JsonView jsonValue);
|
||
AccountDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
|
||
Aws::Utils::Json::JsonValue Jsonize() const;
|
||
|
||
|
||
/**
|
||
* <p>The type of email your account is sending. The mail type can be one of the
|
||
* following:</p> <ul> <li> <p> <code>MARKETING</code> – Most of your sending
|
||
* traffic is to keep your customers informed of your latest offering.</p> </li>
|
||
* <li> <p> <code>TRANSACTIONAL</code> – Most of your sending traffic is to
|
||
* communicate during a transaction with a customer.</p> </li> </ul>
|
||
*/
|
||
inline const MailType& GetMailType() const{ return m_mailType; }
|
||
|
||
/**
|
||
* <p>The type of email your account is sending. The mail type can be one of the
|
||
* following:</p> <ul> <li> <p> <code>MARKETING</code> – Most of your sending
|
||
* traffic is to keep your customers informed of your latest offering.</p> </li>
|
||
* <li> <p> <code>TRANSACTIONAL</code> – Most of your sending traffic is to
|
||
* communicate during a transaction with a customer.</p> </li> </ul>
|
||
*/
|
||
inline bool MailTypeHasBeenSet() const { return m_mailTypeHasBeenSet; }
|
||
|
||
/**
|
||
* <p>The type of email your account is sending. The mail type can be one of the
|
||
* following:</p> <ul> <li> <p> <code>MARKETING</code> – Most of your sending
|
||
* traffic is to keep your customers informed of your latest offering.</p> </li>
|
||
* <li> <p> <code>TRANSACTIONAL</code> – Most of your sending traffic is to
|
||
* communicate during a transaction with a customer.</p> </li> </ul>
|
||
*/
|
||
inline void SetMailType(const MailType& value) { m_mailTypeHasBeenSet = true; m_mailType = value; }
|
||
|
||
/**
|
||
* <p>The type of email your account is sending. The mail type can be one of the
|
||
* following:</p> <ul> <li> <p> <code>MARKETING</code> – Most of your sending
|
||
* traffic is to keep your customers informed of your latest offering.</p> </li>
|
||
* <li> <p> <code>TRANSACTIONAL</code> – Most of your sending traffic is to
|
||
* communicate during a transaction with a customer.</p> </li> </ul>
|
||
*/
|
||
inline void SetMailType(MailType&& value) { m_mailTypeHasBeenSet = true; m_mailType = std::move(value); }
|
||
|
||
/**
|
||
* <p>The type of email your account is sending. The mail type can be one of the
|
||
* following:</p> <ul> <li> <p> <code>MARKETING</code> – Most of your sending
|
||
* traffic is to keep your customers informed of your latest offering.</p> </li>
|
||
* <li> <p> <code>TRANSACTIONAL</code> – Most of your sending traffic is to
|
||
* communicate during a transaction with a customer.</p> </li> </ul>
|
||
*/
|
||
inline AccountDetails& WithMailType(const MailType& value) { SetMailType(value); return *this;}
|
||
|
||
/**
|
||
* <p>The type of email your account is sending. The mail type can be one of the
|
||
* following:</p> <ul> <li> <p> <code>MARKETING</code> – Most of your sending
|
||
* traffic is to keep your customers informed of your latest offering.</p> </li>
|
||
* <li> <p> <code>TRANSACTIONAL</code> – Most of your sending traffic is to
|
||
* communicate during a transaction with a customer.</p> </li> </ul>
|
||
*/
|
||
inline AccountDetails& WithMailType(MailType&& value) { SetMailType(std::move(value)); return *this;}
|
||
|
||
|
||
/**
|
||
* <p>The URL of your website. This information helps us better understand the type
|
||
* of content that you plan to send.</p>
|
||
*/
|
||
inline const Aws::String& GetWebsiteURL() const{ return m_websiteURL; }
|
||
|
||
/**
|
||
* <p>The URL of your website. This information helps us better understand the type
|
||
* of content that you plan to send.</p>
|
||
*/
|
||
inline bool WebsiteURLHasBeenSet() const { return m_websiteURLHasBeenSet; }
|
||
|
||
/**
|
||
* <p>The URL of your website. This information helps us better understand the type
|
||
* of content that you plan to send.</p>
|
||
*/
|
||
inline void SetWebsiteURL(const Aws::String& value) { m_websiteURLHasBeenSet = true; m_websiteURL = value; }
|
||
|
||
/**
|
||
* <p>The URL of your website. This information helps us better understand the type
|
||
* of content that you plan to send.</p>
|
||
*/
|
||
inline void SetWebsiteURL(Aws::String&& value) { m_websiteURLHasBeenSet = true; m_websiteURL = std::move(value); }
|
||
|
||
/**
|
||
* <p>The URL of your website. This information helps us better understand the type
|
||
* of content that you plan to send.</p>
|
||
*/
|
||
inline void SetWebsiteURL(const char* value) { m_websiteURLHasBeenSet = true; m_websiteURL.assign(value); }
|
||
|
||
/**
|
||
* <p>The URL of your website. This information helps us better understand the type
|
||
* of content that you plan to send.</p>
|
||
*/
|
||
inline AccountDetails& WithWebsiteURL(const Aws::String& value) { SetWebsiteURL(value); return *this;}
|
||
|
||
/**
|
||
* <p>The URL of your website. This information helps us better understand the type
|
||
* of content that you plan to send.</p>
|
||
*/
|
||
inline AccountDetails& WithWebsiteURL(Aws::String&& value) { SetWebsiteURL(std::move(value)); return *this;}
|
||
|
||
/**
|
||
* <p>The URL of your website. This information helps us better understand the type
|
||
* of content that you plan to send.</p>
|
||
*/
|
||
inline AccountDetails& WithWebsiteURL(const char* value) { SetWebsiteURL(value); return *this;}
|
||
|
||
|
||
/**
|
||
* <p>The language you would prefer for the case. The contact language can be one
|
||
* of <code>ENGLISH</code> or <code>JAPANESE</code>.</p>
|
||
*/
|
||
inline const ContactLanguage& GetContactLanguage() const{ return m_contactLanguage; }
|
||
|
||
/**
|
||
* <p>The language you would prefer for the case. The contact language can be one
|
||
* of <code>ENGLISH</code> or <code>JAPANESE</code>.</p>
|
||
*/
|
||
inline bool ContactLanguageHasBeenSet() const { return m_contactLanguageHasBeenSet; }
|
||
|
||
/**
|
||
* <p>The language you would prefer for the case. The contact language can be one
|
||
* of <code>ENGLISH</code> or <code>JAPANESE</code>.</p>
|
||
*/
|
||
inline void SetContactLanguage(const ContactLanguage& value) { m_contactLanguageHasBeenSet = true; m_contactLanguage = value; }
|
||
|
||
/**
|
||
* <p>The language you would prefer for the case. The contact language can be one
|
||
* of <code>ENGLISH</code> or <code>JAPANESE</code>.</p>
|
||
*/
|
||
inline void SetContactLanguage(ContactLanguage&& value) { m_contactLanguageHasBeenSet = true; m_contactLanguage = std::move(value); }
|
||
|
||
/**
|
||
* <p>The language you would prefer for the case. The contact language can be one
|
||
* of <code>ENGLISH</code> or <code>JAPANESE</code>.</p>
|
||
*/
|
||
inline AccountDetails& WithContactLanguage(const ContactLanguage& value) { SetContactLanguage(value); return *this;}
|
||
|
||
/**
|
||
* <p>The language you would prefer for the case. The contact language can be one
|
||
* of <code>ENGLISH</code> or <code>JAPANESE</code>.</p>
|
||
*/
|
||
inline AccountDetails& WithContactLanguage(ContactLanguage&& value) { SetContactLanguage(std::move(value)); return *this;}
|
||
|
||
|
||
/**
|
||
* <p>A description of the types of email that you plan to send.</p>
|
||
*/
|
||
inline const Aws::String& GetUseCaseDescription() const{ return m_useCaseDescription; }
|
||
|
||
/**
|
||
* <p>A description of the types of email that you plan to send.</p>
|
||
*/
|
||
inline bool UseCaseDescriptionHasBeenSet() const { return m_useCaseDescriptionHasBeenSet; }
|
||
|
||
/**
|
||
* <p>A description of the types of email that you plan to send.</p>
|
||
*/
|
||
inline void SetUseCaseDescription(const Aws::String& value) { m_useCaseDescriptionHasBeenSet = true; m_useCaseDescription = value; }
|
||
|
||
/**
|
||
* <p>A description of the types of email that you plan to send.</p>
|
||
*/
|
||
inline void SetUseCaseDescription(Aws::String&& value) { m_useCaseDescriptionHasBeenSet = true; m_useCaseDescription = std::move(value); }
|
||
|
||
/**
|
||
* <p>A description of the types of email that you plan to send.</p>
|
||
*/
|
||
inline void SetUseCaseDescription(const char* value) { m_useCaseDescriptionHasBeenSet = true; m_useCaseDescription.assign(value); }
|
||
|
||
/**
|
||
* <p>A description of the types of email that you plan to send.</p>
|
||
*/
|
||
inline AccountDetails& WithUseCaseDescription(const Aws::String& value) { SetUseCaseDescription(value); return *this;}
|
||
|
||
/**
|
||
* <p>A description of the types of email that you plan to send.</p>
|
||
*/
|
||
inline AccountDetails& WithUseCaseDescription(Aws::String&& value) { SetUseCaseDescription(std::move(value)); return *this;}
|
||
|
||
/**
|
||
* <p>A description of the types of email that you plan to send.</p>
|
||
*/
|
||
inline AccountDetails& WithUseCaseDescription(const char* value) { SetUseCaseDescription(value); return *this;}
|
||
|
||
|
||
/**
|
||
* <p>Additional email addresses where updates are sent about your account review
|
||
* process.</p>
|
||
*/
|
||
inline const Aws::Vector<Aws::String>& GetAdditionalContactEmailAddresses() const{ return m_additionalContactEmailAddresses; }
|
||
|
||
/**
|
||
* <p>Additional email addresses where updates are sent about your account review
|
||
* process.</p>
|
||
*/
|
||
inline bool AdditionalContactEmailAddressesHasBeenSet() const { return m_additionalContactEmailAddressesHasBeenSet; }
|
||
|
||
/**
|
||
* <p>Additional email addresses where updates are sent about your account review
|
||
* process.</p>
|
||
*/
|
||
inline void SetAdditionalContactEmailAddresses(const Aws::Vector<Aws::String>& value) { m_additionalContactEmailAddressesHasBeenSet = true; m_additionalContactEmailAddresses = value; }
|
||
|
||
/**
|
||
* <p>Additional email addresses where updates are sent about your account review
|
||
* process.</p>
|
||
*/
|
||
inline void SetAdditionalContactEmailAddresses(Aws::Vector<Aws::String>&& value) { m_additionalContactEmailAddressesHasBeenSet = true; m_additionalContactEmailAddresses = std::move(value); }
|
||
|
||
/**
|
||
* <p>Additional email addresses where updates are sent about your account review
|
||
* process.</p>
|
||
*/
|
||
inline AccountDetails& WithAdditionalContactEmailAddresses(const Aws::Vector<Aws::String>& value) { SetAdditionalContactEmailAddresses(value); return *this;}
|
||
|
||
/**
|
||
* <p>Additional email addresses where updates are sent about your account review
|
||
* process.</p>
|
||
*/
|
||
inline AccountDetails& WithAdditionalContactEmailAddresses(Aws::Vector<Aws::String>&& value) { SetAdditionalContactEmailAddresses(std::move(value)); return *this;}
|
||
|
||
/**
|
||
* <p>Additional email addresses where updates are sent about your account review
|
||
* process.</p>
|
||
*/
|
||
inline AccountDetails& AddAdditionalContactEmailAddresses(const Aws::String& value) { m_additionalContactEmailAddressesHasBeenSet = true; m_additionalContactEmailAddresses.push_back(value); return *this; }
|
||
|
||
/**
|
||
* <p>Additional email addresses where updates are sent about your account review
|
||
* process.</p>
|
||
*/
|
||
inline AccountDetails& AddAdditionalContactEmailAddresses(Aws::String&& value) { m_additionalContactEmailAddressesHasBeenSet = true; m_additionalContactEmailAddresses.push_back(std::move(value)); return *this; }
|
||
|
||
/**
|
||
* <p>Additional email addresses where updates are sent about your account review
|
||
* process.</p>
|
||
*/
|
||
inline AccountDetails& AddAdditionalContactEmailAddresses(const char* value) { m_additionalContactEmailAddressesHasBeenSet = true; m_additionalContactEmailAddresses.push_back(value); return *this; }
|
||
|
||
|
||
/**
|
||
* <p>Information about the review of the latest details you submitted.</p>
|
||
*/
|
||
inline const ReviewDetails& GetReviewDetails() const{ return m_reviewDetails; }
|
||
|
||
/**
|
||
* <p>Information about the review of the latest details you submitted.</p>
|
||
*/
|
||
inline bool ReviewDetailsHasBeenSet() const { return m_reviewDetailsHasBeenSet; }
|
||
|
||
/**
|
||
* <p>Information about the review of the latest details you submitted.</p>
|
||
*/
|
||
inline void SetReviewDetails(const ReviewDetails& value) { m_reviewDetailsHasBeenSet = true; m_reviewDetails = value; }
|
||
|
||
/**
|
||
* <p>Information about the review of the latest details you submitted.</p>
|
||
*/
|
||
inline void SetReviewDetails(ReviewDetails&& value) { m_reviewDetailsHasBeenSet = true; m_reviewDetails = std::move(value); }
|
||
|
||
/**
|
||
* <p>Information about the review of the latest details you submitted.</p>
|
||
*/
|
||
inline AccountDetails& WithReviewDetails(const ReviewDetails& value) { SetReviewDetails(value); return *this;}
|
||
|
||
/**
|
||
* <p>Information about the review of the latest details you submitted.</p>
|
||
*/
|
||
inline AccountDetails& WithReviewDetails(ReviewDetails&& value) { SetReviewDetails(std::move(value)); return *this;}
|
||
|
||
private:
|
||
|
||
MailType m_mailType;
|
||
bool m_mailTypeHasBeenSet;
|
||
|
||
Aws::String m_websiteURL;
|
||
bool m_websiteURLHasBeenSet;
|
||
|
||
ContactLanguage m_contactLanguage;
|
||
bool m_contactLanguageHasBeenSet;
|
||
|
||
Aws::String m_useCaseDescription;
|
||
bool m_useCaseDescriptionHasBeenSet;
|
||
|
||
Aws::Vector<Aws::String> m_additionalContactEmailAddresses;
|
||
bool m_additionalContactEmailAddressesHasBeenSet;
|
||
|
||
ReviewDetails m_reviewDetails;
|
||
bool m_reviewDetailsHasBeenSet;
|
||
};
|
||
|
||
} // namespace Model
|
||
} // namespace SESV2
|
||
} // namespace Aws
|