AWS SDK for C++  1.9.161
AWS SDK for C++
CreateEmailIdentityRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <aws/sesv2/model/Tag.h>
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace SESV2
18 {
19 namespace Model
20 {
21 
29  {
30  public:
32 
33  // Service request name is the Operation name which will send this request out,
34  // each operation should has unique request name, so that we can get operation's name from this request.
35  // Note: this is not true for response, multiple operations may have the same response name,
36  // so we can not get operation's name from response.
37  inline virtual const char* GetServiceRequestName() const override { return "CreateEmailIdentity"; }
38 
39  Aws::String SerializePayload() const override;
40 
41 
45  inline const Aws::String& GetEmailIdentity() const{ return m_emailIdentity; }
46 
50  inline bool EmailIdentityHasBeenSet() const { return m_emailIdentityHasBeenSet; }
51 
55  inline void SetEmailIdentity(const Aws::String& value) { m_emailIdentityHasBeenSet = true; m_emailIdentity = value; }
56 
60  inline void SetEmailIdentity(Aws::String&& value) { m_emailIdentityHasBeenSet = true; m_emailIdentity = std::move(value); }
61 
65  inline void SetEmailIdentity(const char* value) { m_emailIdentityHasBeenSet = true; m_emailIdentity.assign(value); }
66 
70  inline CreateEmailIdentityRequest& WithEmailIdentity(const Aws::String& value) { SetEmailIdentity(value); return *this;}
71 
75  inline CreateEmailIdentityRequest& WithEmailIdentity(Aws::String&& value) { SetEmailIdentity(std::move(value)); return *this;}
76 
80  inline CreateEmailIdentityRequest& WithEmailIdentity(const char* value) { SetEmailIdentity(value); return *this;}
81 
82 
87  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
88 
93  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
94 
99  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
100 
105  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
106 
111  inline CreateEmailIdentityRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
112 
117  inline CreateEmailIdentityRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
118 
123  inline CreateEmailIdentityRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
124 
129  inline CreateEmailIdentityRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
130 
131 
140  inline const DkimSigningAttributes& GetDkimSigningAttributes() const{ return m_dkimSigningAttributes; }
141 
150  inline bool DkimSigningAttributesHasBeenSet() const { return m_dkimSigningAttributesHasBeenSet; }
151 
160  inline void SetDkimSigningAttributes(const DkimSigningAttributes& value) { m_dkimSigningAttributesHasBeenSet = true; m_dkimSigningAttributes = value; }
161 
170  inline void SetDkimSigningAttributes(DkimSigningAttributes&& value) { m_dkimSigningAttributesHasBeenSet = true; m_dkimSigningAttributes = std::move(value); }
171 
180  inline CreateEmailIdentityRequest& WithDkimSigningAttributes(const DkimSigningAttributes& value) { SetDkimSigningAttributes(value); return *this;}
181 
190  inline CreateEmailIdentityRequest& WithDkimSigningAttributes(DkimSigningAttributes&& value) { SetDkimSigningAttributes(std::move(value)); return *this;}
191 
192 
198  inline const Aws::String& GetConfigurationSetName() const{ return m_configurationSetName; }
199 
205  inline bool ConfigurationSetNameHasBeenSet() const { return m_configurationSetNameHasBeenSet; }
206 
212  inline void SetConfigurationSetName(const Aws::String& value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName = value; }
213 
219  inline void SetConfigurationSetName(Aws::String&& value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName = std::move(value); }
220 
226  inline void SetConfigurationSetName(const char* value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName.assign(value); }
227 
233  inline CreateEmailIdentityRequest& WithConfigurationSetName(const Aws::String& value) { SetConfigurationSetName(value); return *this;}
234 
240  inline CreateEmailIdentityRequest& WithConfigurationSetName(Aws::String&& value) { SetConfigurationSetName(std::move(value)); return *this;}
241 
247  inline CreateEmailIdentityRequest& WithConfigurationSetName(const char* value) { SetConfigurationSetName(value); return *this;}
248 
249  private:
250 
251  Aws::String m_emailIdentity;
252  bool m_emailIdentityHasBeenSet;
253 
254  Aws::Vector<Tag> m_tags;
255  bool m_tagsHasBeenSet;
256 
257  DkimSigningAttributes m_dkimSigningAttributes;
258  bool m_dkimSigningAttributesHasBeenSet;
259 
260  Aws::String m_configurationSetName;
261  bool m_configurationSetNameHasBeenSet;
262  };
263 
264 } // namespace Model
265 } // namespace SESV2
266 } // namespace Aws
Aws::SESV2::Model::CreateEmailIdentityRequest::WithConfigurationSetName
CreateEmailIdentityRequest & WithConfigurationSetName(const char *value)
Definition: CreateEmailIdentityRequest.h:247
Aws::SESV2::Model::CreateEmailIdentityRequest::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: CreateEmailIdentityRequest.h:105
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::SESV2::Model::CreateEmailIdentityRequest::SetEmailIdentity
void SetEmailIdentity(const Aws::String &value)
Definition: CreateEmailIdentityRequest.h:55
Aws::SESV2::Model::CreateEmailIdentityRequest::GetEmailIdentity
const Aws::String & GetEmailIdentity() const
Definition: CreateEmailIdentityRequest.h:45
Aws::SESV2::Model::CreateEmailIdentityRequest
Definition: CreateEmailIdentityRequest.h:29
Aws::SESV2::Model::CreateEmailIdentityRequest::AddTags
CreateEmailIdentityRequest & AddTags(Tag &&value)
Definition: CreateEmailIdentityRequest.h:129
Aws::SESV2::Model::CreateEmailIdentityRequest::SetConfigurationSetName
void SetConfigurationSetName(const Aws::String &value)
Definition: CreateEmailIdentityRequest.h:212
Aws::SESV2::Model::CreateEmailIdentityRequest::GetDkimSigningAttributes
const DkimSigningAttributes & GetDkimSigningAttributes() const
Definition: CreateEmailIdentityRequest.h:140
Aws::SESV2::Model::CreateEmailIdentityRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SESV2::Model::CreateEmailIdentityRequest::WithTags
CreateEmailIdentityRequest & WithTags(Aws::Vector< Tag > &&value)
Definition: CreateEmailIdentityRequest.h:117
DkimSigningAttributes.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Tag.h
Aws::SESV2::Model::CreateEmailIdentityRequest::WithTags
CreateEmailIdentityRequest & WithTags(const Aws::Vector< Tag > &value)
Definition: CreateEmailIdentityRequest.h:111
AWSVector.h
Aws::SESV2::Model::CreateEmailIdentityRequest::WithConfigurationSetName
CreateEmailIdentityRequest & WithConfigurationSetName(const Aws::String &value)
Definition: CreateEmailIdentityRequest.h:233
Aws::SESV2::Model::CreateEmailIdentityRequest::WithEmailIdentity
CreateEmailIdentityRequest & WithEmailIdentity(Aws::String &&value)
Definition: CreateEmailIdentityRequest.h:75
Aws::SESV2::Model::CreateEmailIdentityRequest::CreateEmailIdentityRequest
CreateEmailIdentityRequest()
Aws::SESV2::Model::CreateEmailIdentityRequest::SetConfigurationSetName
void SetConfigurationSetName(const char *value)
Definition: CreateEmailIdentityRequest.h:226
Aws::SESV2::Model::CreateEmailIdentityRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: CreateEmailIdentityRequest.h:93
Aws::SESV2::Model::CreateEmailIdentityRequest::WithEmailIdentity
CreateEmailIdentityRequest & WithEmailIdentity(const Aws::String &value)
Definition: CreateEmailIdentityRequest.h:70
Aws::SESV2::Model::CreateEmailIdentityRequest::SetDkimSigningAttributes
void SetDkimSigningAttributes(DkimSigningAttributes &&value)
Definition: CreateEmailIdentityRequest.h:170
Aws::SESV2::Model::DkimSigningAttributes
Definition: DkimSigningAttributes.h:34
Aws::SESV2::Model::CreateEmailIdentityRequest::ConfigurationSetNameHasBeenSet
bool ConfigurationSetNameHasBeenSet() const
Definition: CreateEmailIdentityRequest.h:205
Aws::SESV2::SESV2Request
Definition: SESV2Request.h:17
Aws::SESV2::Model::CreateEmailIdentityRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateEmailIdentityRequest.h:37
Aws::SESV2::Model::CreateEmailIdentityRequest::WithConfigurationSetName
CreateEmailIdentityRequest & WithConfigurationSetName(Aws::String &&value)
Definition: CreateEmailIdentityRequest.h:240
AWSString.h
Aws::SESV2::Model::CreateEmailIdentityRequest::WithEmailIdentity
CreateEmailIdentityRequest & WithEmailIdentity(const char *value)
Definition: CreateEmailIdentityRequest.h:80
SESV2_EXPORTS.h
Aws::SESV2::Model::CreateEmailIdentityRequest::WithDkimSigningAttributes
CreateEmailIdentityRequest & WithDkimSigningAttributes(DkimSigningAttributes &&value)
Definition: CreateEmailIdentityRequest.h:190
Aws::SESV2::Model::CreateEmailIdentityRequest::DkimSigningAttributesHasBeenSet
bool DkimSigningAttributesHasBeenSet() const
Definition: CreateEmailIdentityRequest.h:150
Aws::SESV2::Model::CreateEmailIdentityRequest::SetConfigurationSetName
void SetConfigurationSetName(Aws::String &&value)
Definition: CreateEmailIdentityRequest.h:219
Aws::SESV2::Model::CreateEmailIdentityRequest::EmailIdentityHasBeenSet
bool EmailIdentityHasBeenSet() const
Definition: CreateEmailIdentityRequest.h:50
Aws::SESV2::Model::CreateEmailIdentityRequest::SetEmailIdentity
void SetEmailIdentity(Aws::String &&value)
Definition: CreateEmailIdentityRequest.h:60
Aws::SESV2::Model::CreateEmailIdentityRequest::WithDkimSigningAttributes
CreateEmailIdentityRequest & WithDkimSigningAttributes(const DkimSigningAttributes &value)
Definition: CreateEmailIdentityRequest.h:180
Aws
Definition: AccessManagementClient.h:15
Aws::SESV2::Model::CreateEmailIdentityRequest::SetDkimSigningAttributes
void SetDkimSigningAttributes(const DkimSigningAttributes &value)
Definition: CreateEmailIdentityRequest.h:160
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SESV2::Model::Tag
Definition: Tag.h:53
Aws::SESV2::Model::CreateEmailIdentityRequest::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: CreateEmailIdentityRequest.h:99
SESV2Request.h
Aws::SESV2::Model::CreateEmailIdentityRequest::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: CreateEmailIdentityRequest.h:87
Aws::SESV2::Model::CreateEmailIdentityRequest::AddTags
CreateEmailIdentityRequest & AddTags(const Tag &value)
Definition: CreateEmailIdentityRequest.h:123
Aws::SESV2::Model::CreateEmailIdentityRequest::GetConfigurationSetName
const Aws::String & GetConfigurationSetName() const
Definition: CreateEmailIdentityRequest.h:198
Aws::SESV2::Model::CreateEmailIdentityRequest::SetEmailIdentity
void SetEmailIdentity(const char *value)
Definition: CreateEmailIdentityRequest.h:65