AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AccountDetails.h
1
6#pragma once
7#include <aws/sesv2/SESV2_EXPORTS.h>
8#include <aws/sesv2/model/MailType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sesv2/model/ContactLanguage.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/sesv2/model/ReviewDetails.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace SESV2
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_SESV2_API AccountDetails();
42 AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
53 inline const MailType& GetMailType() const{ return m_mailType; }
54 inline bool MailTypeHasBeenSet() const { return m_mailTypeHasBeenSet; }
55 inline void SetMailType(const MailType& value) { m_mailTypeHasBeenSet = true; m_mailType = value; }
56 inline void SetMailType(MailType&& value) { m_mailTypeHasBeenSet = true; m_mailType = std::move(value); }
57 inline AccountDetails& WithMailType(const MailType& value) { SetMailType(value); return *this;}
58 inline AccountDetails& WithMailType(MailType&& value) { SetMailType(std::move(value)); return *this;}
60
62
66 inline const Aws::String& GetWebsiteURL() const{ return m_websiteURL; }
67 inline bool WebsiteURLHasBeenSet() const { return m_websiteURLHasBeenSet; }
68 inline void SetWebsiteURL(const Aws::String& value) { m_websiteURLHasBeenSet = true; m_websiteURL = value; }
69 inline void SetWebsiteURL(Aws::String&& value) { m_websiteURLHasBeenSet = true; m_websiteURL = std::move(value); }
70 inline void SetWebsiteURL(const char* value) { m_websiteURLHasBeenSet = true; m_websiteURL.assign(value); }
71 inline AccountDetails& WithWebsiteURL(const Aws::String& value) { SetWebsiteURL(value); return *this;}
72 inline AccountDetails& WithWebsiteURL(Aws::String&& value) { SetWebsiteURL(std::move(value)); return *this;}
73 inline AccountDetails& WithWebsiteURL(const char* value) { SetWebsiteURL(value); return *this;}
75
77
81 inline const ContactLanguage& GetContactLanguage() const{ return m_contactLanguage; }
82 inline bool ContactLanguageHasBeenSet() const { return m_contactLanguageHasBeenSet; }
83 inline void SetContactLanguage(const ContactLanguage& value) { m_contactLanguageHasBeenSet = true; m_contactLanguage = value; }
84 inline void SetContactLanguage(ContactLanguage&& value) { m_contactLanguageHasBeenSet = true; m_contactLanguage = std::move(value); }
85 inline AccountDetails& WithContactLanguage(const ContactLanguage& value) { SetContactLanguage(value); return *this;}
86 inline AccountDetails& WithContactLanguage(ContactLanguage&& value) { SetContactLanguage(std::move(value)); return *this;}
88
90
93 inline const Aws::String& GetUseCaseDescription() const{ return m_useCaseDescription; }
94 inline bool UseCaseDescriptionHasBeenSet() const { return m_useCaseDescriptionHasBeenSet; }
95 inline void SetUseCaseDescription(const Aws::String& value) { m_useCaseDescriptionHasBeenSet = true; m_useCaseDescription = value; }
96 inline void SetUseCaseDescription(Aws::String&& value) { m_useCaseDescriptionHasBeenSet = true; m_useCaseDescription = std::move(value); }
97 inline void SetUseCaseDescription(const char* value) { m_useCaseDescriptionHasBeenSet = true; m_useCaseDescription.assign(value); }
98 inline AccountDetails& WithUseCaseDescription(const Aws::String& value) { SetUseCaseDescription(value); return *this;}
99 inline AccountDetails& WithUseCaseDescription(Aws::String&& value) { SetUseCaseDescription(std::move(value)); return *this;}
100 inline AccountDetails& WithUseCaseDescription(const char* value) { SetUseCaseDescription(value); return *this;}
102
104
108 inline const Aws::Vector<Aws::String>& GetAdditionalContactEmailAddresses() const{ return m_additionalContactEmailAddresses; }
109 inline bool AdditionalContactEmailAddressesHasBeenSet() const { return m_additionalContactEmailAddressesHasBeenSet; }
110 inline void SetAdditionalContactEmailAddresses(const Aws::Vector<Aws::String>& value) { m_additionalContactEmailAddressesHasBeenSet = true; m_additionalContactEmailAddresses = value; }
111 inline void SetAdditionalContactEmailAddresses(Aws::Vector<Aws::String>&& value) { m_additionalContactEmailAddressesHasBeenSet = true; m_additionalContactEmailAddresses = std::move(value); }
114 inline AccountDetails& AddAdditionalContactEmailAddresses(const Aws::String& value) { m_additionalContactEmailAddressesHasBeenSet = true; m_additionalContactEmailAddresses.push_back(value); return *this; }
115 inline AccountDetails& AddAdditionalContactEmailAddresses(Aws::String&& value) { m_additionalContactEmailAddressesHasBeenSet = true; m_additionalContactEmailAddresses.push_back(std::move(value)); return *this; }
116 inline AccountDetails& AddAdditionalContactEmailAddresses(const char* value) { m_additionalContactEmailAddressesHasBeenSet = true; m_additionalContactEmailAddresses.push_back(value); return *this; }
118
120
123 inline const ReviewDetails& GetReviewDetails() const{ return m_reviewDetails; }
124 inline bool ReviewDetailsHasBeenSet() const { return m_reviewDetailsHasBeenSet; }
125 inline void SetReviewDetails(const ReviewDetails& value) { m_reviewDetailsHasBeenSet = true; m_reviewDetails = value; }
126 inline void SetReviewDetails(ReviewDetails&& value) { m_reviewDetailsHasBeenSet = true; m_reviewDetails = std::move(value); }
127 inline AccountDetails& WithReviewDetails(const ReviewDetails& value) { SetReviewDetails(value); return *this;}
128 inline AccountDetails& WithReviewDetails(ReviewDetails&& value) { SetReviewDetails(std::move(value)); return *this;}
130 private:
131
132 MailType m_mailType;
133 bool m_mailTypeHasBeenSet = false;
134
135 Aws::String m_websiteURL;
136 bool m_websiteURLHasBeenSet = false;
137
138 ContactLanguage m_contactLanguage;
139 bool m_contactLanguageHasBeenSet = false;
140
141 Aws::String m_useCaseDescription;
142 bool m_useCaseDescriptionHasBeenSet = false;
143
144 Aws::Vector<Aws::String> m_additionalContactEmailAddresses;
145 bool m_additionalContactEmailAddressesHasBeenSet = false;
146
147 ReviewDetails m_reviewDetails;
148 bool m_reviewDetailsHasBeenSet = false;
149 };
150
151} // namespace Model
152} // namespace SESV2
153} // namespace Aws
AccountDetails & WithWebsiteURL(Aws::String &&value)
AccountDetails & WithUseCaseDescription(const Aws::String &value)
AccountDetails & WithUseCaseDescription(Aws::String &&value)
void SetReviewDetails(ReviewDetails &&value)
AWS_SESV2_API AccountDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AccountDetails & WithUseCaseDescription(const char *value)
AccountDetails & AddAdditionalContactEmailAddresses(const char *value)
AccountDetails & WithAdditionalContactEmailAddresses(Aws::Vector< Aws::String > &&value)
AccountDetails & WithContactLanguage(ContactLanguage &&value)
const Aws::String & GetUseCaseDescription() const
AccountDetails & WithAdditionalContactEmailAddresses(const Aws::Vector< Aws::String > &value)
AccountDetails & AddAdditionalContactEmailAddresses(Aws::String &&value)
void SetAdditionalContactEmailAddresses(Aws::Vector< Aws::String > &&value)
const ReviewDetails & GetReviewDetails() const
void SetReviewDetails(const ReviewDetails &value)
void SetContactLanguage(const ContactLanguage &value)
const MailType & GetMailType() const
AccountDetails & WithMailType(MailType &&value)
void SetMailType(const MailType &value)
AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const
AccountDetails & WithWebsiteURL(const char *value)
void SetWebsiteURL(const char *value)
AccountDetails & WithReviewDetails(const ReviewDetails &value)
AccountDetails & WithContactLanguage(const ContactLanguage &value)
AWS_SESV2_API AccountDetails(Aws::Utils::Json::JsonView jsonValue)
void SetUseCaseDescription(Aws::String &&value)
const Aws::Vector< Aws::String > & GetAdditionalContactEmailAddresses() const
void SetAdditionalContactEmailAddresses(const Aws::Vector< Aws::String > &value)
void SetUseCaseDescription(const char *value)
const Aws::String & GetWebsiteURL() const
AccountDetails & WithWebsiteURL(const Aws::String &value)
void SetMailType(MailType &&value)
bool AdditionalContactEmailAddressesHasBeenSet() const
void SetContactLanguage(ContactLanguage &&value)
void SetWebsiteURL(Aws::String &&value)
AccountDetails & WithMailType(const MailType &value)
AccountDetails & WithReviewDetails(ReviewDetails &&value)
void SetUseCaseDescription(const Aws::String &value)
AccountDetails & AddAdditionalContactEmailAddresses(const Aws::String &value)
void SetWebsiteURL(const Aws::String &value)
const ContactLanguage & GetContactLanguage() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue