AWS SDK for C++  1.9.153
AWS SDK for C++
PutAccountDetailsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace SESV2
18 {
19 namespace Model
20 {
21 
28  {
29  public:
31 
32  // Service request name is the Operation name which will send this request out,
33  // each operation should has unique request name, so that we can get operation's name from this request.
34  // Note: this is not true for response, multiple operations may have the same response name,
35  // so we can not get operation's name from response.
36  inline virtual const char* GetServiceRequestName() const override { return "PutAccountDetails"; }
37 
38  Aws::String SerializePayload() const override;
39 
40 
44  inline const MailType& GetMailType() const{ return m_mailType; }
45 
49  inline bool MailTypeHasBeenSet() const { return m_mailTypeHasBeenSet; }
50 
54  inline void SetMailType(const MailType& value) { m_mailTypeHasBeenSet = true; m_mailType = value; }
55 
59  inline void SetMailType(MailType&& value) { m_mailTypeHasBeenSet = true; m_mailType = std::move(value); }
60 
64  inline PutAccountDetailsRequest& WithMailType(const MailType& value) { SetMailType(value); return *this;}
65 
69  inline PutAccountDetailsRequest& WithMailType(MailType&& value) { SetMailType(std::move(value)); return *this;}
70 
71 
76  inline const Aws::String& GetWebsiteURL() const{ return m_websiteURL; }
77 
82  inline bool WebsiteURLHasBeenSet() const { return m_websiteURLHasBeenSet; }
83 
88  inline void SetWebsiteURL(const Aws::String& value) { m_websiteURLHasBeenSet = true; m_websiteURL = value; }
89 
94  inline void SetWebsiteURL(Aws::String&& value) { m_websiteURLHasBeenSet = true; m_websiteURL = std::move(value); }
95 
100  inline void SetWebsiteURL(const char* value) { m_websiteURLHasBeenSet = true; m_websiteURL.assign(value); }
101 
106  inline PutAccountDetailsRequest& WithWebsiteURL(const Aws::String& value) { SetWebsiteURL(value); return *this;}
107 
112  inline PutAccountDetailsRequest& WithWebsiteURL(Aws::String&& value) { SetWebsiteURL(std::move(value)); return *this;}
113 
118  inline PutAccountDetailsRequest& WithWebsiteURL(const char* value) { SetWebsiteURL(value); return *this;}
119 
120 
124  inline const ContactLanguage& GetContactLanguage() const{ return m_contactLanguage; }
125 
129  inline bool ContactLanguageHasBeenSet() const { return m_contactLanguageHasBeenSet; }
130 
134  inline void SetContactLanguage(const ContactLanguage& value) { m_contactLanguageHasBeenSet = true; m_contactLanguage = value; }
135 
139  inline void SetContactLanguage(ContactLanguage&& value) { m_contactLanguageHasBeenSet = true; m_contactLanguage = std::move(value); }
140 
144  inline PutAccountDetailsRequest& WithContactLanguage(const ContactLanguage& value) { SetContactLanguage(value); return *this;}
145 
149  inline PutAccountDetailsRequest& WithContactLanguage(ContactLanguage&& value) { SetContactLanguage(std::move(value)); return *this;}
150 
151 
155  inline const Aws::String& GetUseCaseDescription() const{ return m_useCaseDescription; }
156 
160  inline bool UseCaseDescriptionHasBeenSet() const { return m_useCaseDescriptionHasBeenSet; }
161 
165  inline void SetUseCaseDescription(const Aws::String& value) { m_useCaseDescriptionHasBeenSet = true; m_useCaseDescription = value; }
166 
170  inline void SetUseCaseDescription(Aws::String&& value) { m_useCaseDescriptionHasBeenSet = true; m_useCaseDescription = std::move(value); }
171 
175  inline void SetUseCaseDescription(const char* value) { m_useCaseDescriptionHasBeenSet = true; m_useCaseDescription.assign(value); }
176 
180  inline PutAccountDetailsRequest& WithUseCaseDescription(const Aws::String& value) { SetUseCaseDescription(value); return *this;}
181 
185  inline PutAccountDetailsRequest& WithUseCaseDescription(Aws::String&& value) { SetUseCaseDescription(std::move(value)); return *this;}
186 
190  inline PutAccountDetailsRequest& WithUseCaseDescription(const char* value) { SetUseCaseDescription(value); return *this;}
191 
192 
197  inline const Aws::Vector<Aws::String>& GetAdditionalContactEmailAddresses() const{ return m_additionalContactEmailAddresses; }
198 
203  inline bool AdditionalContactEmailAddressesHasBeenSet() const { return m_additionalContactEmailAddressesHasBeenSet; }
204 
209  inline void SetAdditionalContactEmailAddresses(const Aws::Vector<Aws::String>& value) { m_additionalContactEmailAddressesHasBeenSet = true; m_additionalContactEmailAddresses = value; }
210 
215  inline void SetAdditionalContactEmailAddresses(Aws::Vector<Aws::String>&& value) { m_additionalContactEmailAddressesHasBeenSet = true; m_additionalContactEmailAddresses = std::move(value); }
216 
221  inline PutAccountDetailsRequest& WithAdditionalContactEmailAddresses(const Aws::Vector<Aws::String>& value) { SetAdditionalContactEmailAddresses(value); return *this;}
222 
227  inline PutAccountDetailsRequest& WithAdditionalContactEmailAddresses(Aws::Vector<Aws::String>&& value) { SetAdditionalContactEmailAddresses(std::move(value)); return *this;}
228 
233  inline PutAccountDetailsRequest& AddAdditionalContactEmailAddresses(const Aws::String& value) { m_additionalContactEmailAddressesHasBeenSet = true; m_additionalContactEmailAddresses.push_back(value); return *this; }
234 
239  inline PutAccountDetailsRequest& AddAdditionalContactEmailAddresses(Aws::String&& value) { m_additionalContactEmailAddressesHasBeenSet = true; m_additionalContactEmailAddresses.push_back(std::move(value)); return *this; }
240 
245  inline PutAccountDetailsRequest& AddAdditionalContactEmailAddresses(const char* value) { m_additionalContactEmailAddressesHasBeenSet = true; m_additionalContactEmailAddresses.push_back(value); return *this; }
246 
247 
260  inline bool GetProductionAccessEnabled() const{ return m_productionAccessEnabled; }
261 
274  inline bool ProductionAccessEnabledHasBeenSet() const { return m_productionAccessEnabledHasBeenSet; }
275 
288  inline void SetProductionAccessEnabled(bool value) { m_productionAccessEnabledHasBeenSet = true; m_productionAccessEnabled = value; }
289 
302  inline PutAccountDetailsRequest& WithProductionAccessEnabled(bool value) { SetProductionAccessEnabled(value); return *this;}
303 
304  private:
305 
306  MailType m_mailType;
307  bool m_mailTypeHasBeenSet;
308 
309  Aws::String m_websiteURL;
310  bool m_websiteURLHasBeenSet;
311 
312  ContactLanguage m_contactLanguage;
313  bool m_contactLanguageHasBeenSet;
314 
315  Aws::String m_useCaseDescription;
316  bool m_useCaseDescriptionHasBeenSet;
317 
318  Aws::Vector<Aws::String> m_additionalContactEmailAddresses;
319  bool m_additionalContactEmailAddressesHasBeenSet;
320 
321  bool m_productionAccessEnabled;
322  bool m_productionAccessEnabledHasBeenSet;
323  };
324 
325 } // namespace Model
326 } // namespace SESV2
327 } // namespace Aws
Aws::SESV2::Model::PutAccountDetailsRequest::SetMailType
void SetMailType(const MailType &value)
Definition: PutAccountDetailsRequest.h:54
Aws::SESV2::Model::PutAccountDetailsRequest::AddAdditionalContactEmailAddresses
PutAccountDetailsRequest & AddAdditionalContactEmailAddresses(const Aws::String &value)
Definition: PutAccountDetailsRequest.h:233
Aws::SESV2::Model::PutAccountDetailsRequest::GetWebsiteURL
const Aws::String & GetWebsiteURL() const
Definition: PutAccountDetailsRequest.h:76
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::SESV2::Model::PutAccountDetailsRequest::SetContactLanguage
void SetContactLanguage(const ContactLanguage &value)
Definition: PutAccountDetailsRequest.h:134
Aws::SESV2::Model::PutAccountDetailsRequest::MailTypeHasBeenSet
bool MailTypeHasBeenSet() const
Definition: PutAccountDetailsRequest.h:49
MailType.h
Aws::SESV2::Model::PutAccountDetailsRequest::WithWebsiteURL
PutAccountDetailsRequest & WithWebsiteURL(Aws::String &&value)
Definition: PutAccountDetailsRequest.h:112
Aws::SESV2::Model::PutAccountDetailsRequest::AddAdditionalContactEmailAddresses
PutAccountDetailsRequest & AddAdditionalContactEmailAddresses(Aws::String &&value)
Definition: PutAccountDetailsRequest.h:239
Aws::SESV2::Model::PutAccountDetailsRequest
Definition: PutAccountDetailsRequest.h:28
Aws::SESV2::Model::PutAccountDetailsRequest::SetUseCaseDescription
void SetUseCaseDescription(Aws::String &&value)
Definition: PutAccountDetailsRequest.h:170
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
ContactLanguage.h
AWSVector.h
Aws::SESV2::Model::PutAccountDetailsRequest::SetWebsiteURL
void SetWebsiteURL(const Aws::String &value)
Definition: PutAccountDetailsRequest.h:88
Aws::SESV2::Model::MailType
MailType
Definition: MailType.h:17
Aws::SESV2::Model::PutAccountDetailsRequest::ContactLanguageHasBeenSet
bool ContactLanguageHasBeenSet() const
Definition: PutAccountDetailsRequest.h:129
Aws::SESV2::Model::PutAccountDetailsRequest::SetWebsiteURL
void SetWebsiteURL(const char *value)
Definition: PutAccountDetailsRequest.h:100
Aws::SESV2::Model::PutAccountDetailsRequest::WithWebsiteURL
PutAccountDetailsRequest & WithWebsiteURL(const char *value)
Definition: PutAccountDetailsRequest.h:118
Aws::SESV2::Model::ContactLanguage
ContactLanguage
Definition: ContactLanguage.h:17
Aws::SESV2::Model::PutAccountDetailsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: PutAccountDetailsRequest.h:36
Aws::SESV2::Model::PutAccountDetailsRequest::AdditionalContactEmailAddressesHasBeenSet
bool AdditionalContactEmailAddressesHasBeenSet() const
Definition: PutAccountDetailsRequest.h:203
Aws::SESV2::Model::PutAccountDetailsRequest::WithProductionAccessEnabled
PutAccountDetailsRequest & WithProductionAccessEnabled(bool value)
Definition: PutAccountDetailsRequest.h:302
Aws::SESV2::Model::PutAccountDetailsRequest::WithAdditionalContactEmailAddresses
PutAccountDetailsRequest & WithAdditionalContactEmailAddresses(Aws::Vector< Aws::String > &&value)
Definition: PutAccountDetailsRequest.h:227
Aws::SESV2::Model::PutAccountDetailsRequest::WithUseCaseDescription
PutAccountDetailsRequest & WithUseCaseDescription(const char *value)
Definition: PutAccountDetailsRequest.h:190
Aws::SESV2::Model::PutAccountDetailsRequest::WithWebsiteURL
PutAccountDetailsRequest & WithWebsiteURL(const Aws::String &value)
Definition: PutAccountDetailsRequest.h:106
Aws::SESV2::Model::PutAccountDetailsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SESV2::SESV2Request
Definition: SESV2Request.h:17
Aws::SESV2::Model::PutAccountDetailsRequest::WithUseCaseDescription
PutAccountDetailsRequest & WithUseCaseDescription(Aws::String &&value)
Definition: PutAccountDetailsRequest.h:185
AWSString.h
Aws::SESV2::Model::PutAccountDetailsRequest::SetWebsiteURL
void SetWebsiteURL(Aws::String &&value)
Definition: PutAccountDetailsRequest.h:94
Aws::SESV2::Model::PutAccountDetailsRequest::GetProductionAccessEnabled
bool GetProductionAccessEnabled() const
Definition: PutAccountDetailsRequest.h:260
Aws::SESV2::Model::PutAccountDetailsRequest::WithContactLanguage
PutAccountDetailsRequest & WithContactLanguage(ContactLanguage &&value)
Definition: PutAccountDetailsRequest.h:149
SESV2_EXPORTS.h
Aws::SESV2::Model::PutAccountDetailsRequest::WithMailType
PutAccountDetailsRequest & WithMailType(const MailType &value)
Definition: PutAccountDetailsRequest.h:64
Aws::SESV2::Model::PutAccountDetailsRequest::WithContactLanguage
PutAccountDetailsRequest & WithContactLanguage(const ContactLanguage &value)
Definition: PutAccountDetailsRequest.h:144
Aws::SESV2::Model::PutAccountDetailsRequest::SetMailType
void SetMailType(MailType &&value)
Definition: PutAccountDetailsRequest.h:59
Aws::SESV2::Model::PutAccountDetailsRequest::GetUseCaseDescription
const Aws::String & GetUseCaseDescription() const
Definition: PutAccountDetailsRequest.h:155
Aws::SESV2::Model::PutAccountDetailsRequest::GetMailType
const MailType & GetMailType() const
Definition: PutAccountDetailsRequest.h:44
Aws::SESV2::Model::PutAccountDetailsRequest::SetAdditionalContactEmailAddresses
void SetAdditionalContactEmailAddresses(const Aws::Vector< Aws::String > &value)
Definition: PutAccountDetailsRequest.h:209
Aws::SESV2::Model::PutAccountDetailsRequest::SetUseCaseDescription
void SetUseCaseDescription(const char *value)
Definition: PutAccountDetailsRequest.h:175
Aws::SESV2::Model::PutAccountDetailsRequest::GetContactLanguage
const ContactLanguage & GetContactLanguage() const
Definition: PutAccountDetailsRequest.h:124
Aws::SESV2::Model::PutAccountDetailsRequest::SetProductionAccessEnabled
void SetProductionAccessEnabled(bool value)
Definition: PutAccountDetailsRequest.h:288
Aws
Definition: AccessManagementClient.h:15
Aws::SESV2::Model::PutAccountDetailsRequest::WithUseCaseDescription
PutAccountDetailsRequest & WithUseCaseDescription(const Aws::String &value)
Definition: PutAccountDetailsRequest.h:180
Aws::SESV2::Model::PutAccountDetailsRequest::SetUseCaseDescription
void SetUseCaseDescription(const Aws::String &value)
Definition: PutAccountDetailsRequest.h:165
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SESV2::Model::PutAccountDetailsRequest::ProductionAccessEnabledHasBeenSet
bool ProductionAccessEnabledHasBeenSet() const
Definition: PutAccountDetailsRequest.h:274
Aws::SESV2::Model::PutAccountDetailsRequest::PutAccountDetailsRequest
PutAccountDetailsRequest()
Aws::SESV2::Model::PutAccountDetailsRequest::AddAdditionalContactEmailAddresses
PutAccountDetailsRequest & AddAdditionalContactEmailAddresses(const char *value)
Definition: PutAccountDetailsRequest.h:245
Aws::SESV2::Model::PutAccountDetailsRequest::WebsiteURLHasBeenSet
bool WebsiteURLHasBeenSet() const
Definition: PutAccountDetailsRequest.h:82
Aws::SESV2::Model::PutAccountDetailsRequest::GetAdditionalContactEmailAddresses
const Aws::Vector< Aws::String > & GetAdditionalContactEmailAddresses() const
Definition: PutAccountDetailsRequest.h:197
SESV2Request.h
Aws::SESV2::Model::PutAccountDetailsRequest::SetContactLanguage
void SetContactLanguage(ContactLanguage &&value)
Definition: PutAccountDetailsRequest.h:139
Aws::SESV2::Model::PutAccountDetailsRequest::WithMailType
PutAccountDetailsRequest & WithMailType(MailType &&value)
Definition: PutAccountDetailsRequest.h:69
Aws::SESV2::Model::PutAccountDetailsRequest::SetAdditionalContactEmailAddresses
void SetAdditionalContactEmailAddresses(Aws::Vector< Aws::String > &&value)
Definition: PutAccountDetailsRequest.h:215
Aws::SESV2::Model::PutAccountDetailsRequest::UseCaseDescriptionHasBeenSet
bool UseCaseDescriptionHasBeenSet() const
Definition: PutAccountDetailsRequest.h:160
Aws::SESV2::Model::PutAccountDetailsRequest::WithAdditionalContactEmailAddresses
PutAccountDetailsRequest & WithAdditionalContactEmailAddresses(const Aws::Vector< Aws::String > &value)
Definition: PutAccountDetailsRequest.h:221