AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutAccountDetailsRequest.h
1
6#pragma once
7#include <aws/sesv2/SESV2_EXPORTS.h>
8#include <aws/sesv2/SESV2Request.h>
9#include <aws/sesv2/model/MailType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/sesv2/model/ContactLanguage.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <utility>
14
15namespace Aws
16{
17namespace SESV2
18{
19namespace Model
20{
21
28 {
29 public:
30 AWS_SESV2_API PutAccountDetailsRequest();
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_SESV2_API Aws::String SerializePayload() const override;
39
40
42
45 inline const MailType& GetMailType() const{ return m_mailType; }
46 inline bool MailTypeHasBeenSet() const { return m_mailTypeHasBeenSet; }
47 inline void SetMailType(const MailType& value) { m_mailTypeHasBeenSet = true; m_mailType = value; }
48 inline void SetMailType(MailType&& value) { m_mailTypeHasBeenSet = true; m_mailType = std::move(value); }
49 inline PutAccountDetailsRequest& WithMailType(const MailType& value) { SetMailType(value); return *this;}
50 inline PutAccountDetailsRequest& WithMailType(MailType&& value) { SetMailType(std::move(value)); return *this;}
52
54
58 inline const Aws::String& GetWebsiteURL() const{ return m_websiteURL; }
59 inline bool WebsiteURLHasBeenSet() const { return m_websiteURLHasBeenSet; }
60 inline void SetWebsiteURL(const Aws::String& value) { m_websiteURLHasBeenSet = true; m_websiteURL = value; }
61 inline void SetWebsiteURL(Aws::String&& value) { m_websiteURLHasBeenSet = true; m_websiteURL = std::move(value); }
62 inline void SetWebsiteURL(const char* value) { m_websiteURLHasBeenSet = true; m_websiteURL.assign(value); }
63 inline PutAccountDetailsRequest& WithWebsiteURL(const Aws::String& value) { SetWebsiteURL(value); return *this;}
64 inline PutAccountDetailsRequest& WithWebsiteURL(Aws::String&& value) { SetWebsiteURL(std::move(value)); return *this;}
65 inline PutAccountDetailsRequest& WithWebsiteURL(const char* value) { SetWebsiteURL(value); return *this;}
67
69
72 inline const ContactLanguage& GetContactLanguage() const{ return m_contactLanguage; }
73 inline bool ContactLanguageHasBeenSet() const { return m_contactLanguageHasBeenSet; }
74 inline void SetContactLanguage(const ContactLanguage& value) { m_contactLanguageHasBeenSet = true; m_contactLanguage = value; }
75 inline void SetContactLanguage(ContactLanguage&& value) { m_contactLanguageHasBeenSet = true; m_contactLanguage = std::move(value); }
77 inline PutAccountDetailsRequest& WithContactLanguage(ContactLanguage&& value) { SetContactLanguage(std::move(value)); return *this;}
79
81
84 inline const Aws::String& GetUseCaseDescription() const{ return m_useCaseDescription; }
85 inline bool UseCaseDescriptionHasBeenSet() const { return m_useCaseDescriptionHasBeenSet; }
86 inline void SetUseCaseDescription(const Aws::String& value) { m_useCaseDescriptionHasBeenSet = true; m_useCaseDescription = value; }
87 inline void SetUseCaseDescription(Aws::String&& value) { m_useCaseDescriptionHasBeenSet = true; m_useCaseDescription = std::move(value); }
88 inline void SetUseCaseDescription(const char* value) { m_useCaseDescriptionHasBeenSet = true; m_useCaseDescription.assign(value); }
90 inline PutAccountDetailsRequest& WithUseCaseDescription(Aws::String&& value) { SetUseCaseDescription(std::move(value)); return *this;}
91 inline PutAccountDetailsRequest& WithUseCaseDescription(const char* value) { SetUseCaseDescription(value); return *this;}
93
95
99 inline const Aws::Vector<Aws::String>& GetAdditionalContactEmailAddresses() const{ return m_additionalContactEmailAddresses; }
100 inline bool AdditionalContactEmailAddressesHasBeenSet() const { return m_additionalContactEmailAddressesHasBeenSet; }
101 inline void SetAdditionalContactEmailAddresses(const Aws::Vector<Aws::String>& value) { m_additionalContactEmailAddressesHasBeenSet = true; m_additionalContactEmailAddresses = value; }
102 inline void SetAdditionalContactEmailAddresses(Aws::Vector<Aws::String>&& value) { m_additionalContactEmailAddressesHasBeenSet = true; m_additionalContactEmailAddresses = std::move(value); }
105 inline PutAccountDetailsRequest& AddAdditionalContactEmailAddresses(const Aws::String& value) { m_additionalContactEmailAddressesHasBeenSet = true; m_additionalContactEmailAddresses.push_back(value); return *this; }
106 inline PutAccountDetailsRequest& AddAdditionalContactEmailAddresses(Aws::String&& value) { m_additionalContactEmailAddressesHasBeenSet = true; m_additionalContactEmailAddresses.push_back(std::move(value)); return *this; }
107 inline PutAccountDetailsRequest& AddAdditionalContactEmailAddresses(const char* value) { m_additionalContactEmailAddressesHasBeenSet = true; m_additionalContactEmailAddresses.push_back(value); return *this; }
109
111
120 inline bool GetProductionAccessEnabled() const{ return m_productionAccessEnabled; }
121 inline bool ProductionAccessEnabledHasBeenSet() const { return m_productionAccessEnabledHasBeenSet; }
122 inline void SetProductionAccessEnabled(bool value) { m_productionAccessEnabledHasBeenSet = true; m_productionAccessEnabled = value; }
125 private:
126
127 MailType m_mailType;
128 bool m_mailTypeHasBeenSet = false;
129
130 Aws::String m_websiteURL;
131 bool m_websiteURLHasBeenSet = false;
132
133 ContactLanguage m_contactLanguage;
134 bool m_contactLanguageHasBeenSet = false;
135
136 Aws::String m_useCaseDescription;
137 bool m_useCaseDescriptionHasBeenSet = false;
138
139 Aws::Vector<Aws::String> m_additionalContactEmailAddresses;
140 bool m_additionalContactEmailAddressesHasBeenSet = false;
141
142 bool m_productionAccessEnabled;
143 bool m_productionAccessEnabledHasBeenSet = false;
144 };
145
146} // namespace Model
147} // namespace SESV2
148} // namespace Aws
PutAccountDetailsRequest & WithAdditionalContactEmailAddresses(const Aws::Vector< Aws::String > &value)
void SetContactLanguage(const ContactLanguage &value)
PutAccountDetailsRequest & WithUseCaseDescription(const Aws::String &value)
PutAccountDetailsRequest & AddAdditionalContactEmailAddresses(const Aws::String &value)
PutAccountDetailsRequest & AddAdditionalContactEmailAddresses(Aws::String &&value)
void SetAdditionalContactEmailAddresses(const Aws::Vector< Aws::String > &value)
PutAccountDetailsRequest & WithWebsiteURL(Aws::String &&value)
PutAccountDetailsRequest & WithProductionAccessEnabled(bool value)
AWS_SESV2_API Aws::String SerializePayload() const override
void SetAdditionalContactEmailAddresses(Aws::Vector< Aws::String > &&value)
PutAccountDetailsRequest & WithUseCaseDescription(Aws::String &&value)
PutAccountDetailsRequest & WithMailType(const MailType &value)
PutAccountDetailsRequest & AddAdditionalContactEmailAddresses(const char *value)
PutAccountDetailsRequest & WithWebsiteURL(const Aws::String &value)
PutAccountDetailsRequest & WithAdditionalContactEmailAddresses(Aws::Vector< Aws::String > &&value)
PutAccountDetailsRequest & WithUseCaseDescription(const char *value)
const Aws::Vector< Aws::String > & GetAdditionalContactEmailAddresses() const
PutAccountDetailsRequest & WithContactLanguage(ContactLanguage &&value)
PutAccountDetailsRequest & WithWebsiteURL(const char *value)
PutAccountDetailsRequest & WithMailType(MailType &&value)
virtual const char * GetServiceRequestName() const override
PutAccountDetailsRequest & WithContactLanguage(const ContactLanguage &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector