AWS SDK for C++  1.9.109
AWS SDK for C++
PutEmailIdentityConfigurationSetAttributesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace SESV2
15 {
16 namespace Model
17 {
18 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "PutEmailIdentityConfigurationSetAttributes"; }
35 
36  Aws::String SerializePayload() const override;
37 
38 
43  inline const Aws::String& GetEmailIdentity() const{ return m_emailIdentity; }
44 
49  inline bool EmailIdentityHasBeenSet() const { return m_emailIdentityHasBeenSet; }
50 
55  inline void SetEmailIdentity(const Aws::String& value) { m_emailIdentityHasBeenSet = true; m_emailIdentity = value; }
56 
61  inline void SetEmailIdentity(Aws::String&& value) { m_emailIdentityHasBeenSet = true; m_emailIdentity = std::move(value); }
62 
67  inline void SetEmailIdentity(const char* value) { m_emailIdentityHasBeenSet = true; m_emailIdentity.assign(value); }
68 
73  inline PutEmailIdentityConfigurationSetAttributesRequest& WithEmailIdentity(const Aws::String& value) { SetEmailIdentity(value); return *this;}
74 
79  inline PutEmailIdentityConfigurationSetAttributesRequest& WithEmailIdentity(Aws::String&& value) { SetEmailIdentity(std::move(value)); return *this;}
80 
85  inline PutEmailIdentityConfigurationSetAttributesRequest& WithEmailIdentity(const char* value) { SetEmailIdentity(value); return *this;}
86 
87 
91  inline const Aws::String& GetConfigurationSetName() const{ return m_configurationSetName; }
92 
96  inline bool ConfigurationSetNameHasBeenSet() const { return m_configurationSetNameHasBeenSet; }
97 
101  inline void SetConfigurationSetName(const Aws::String& value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName = value; }
102 
106  inline void SetConfigurationSetName(Aws::String&& value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName = std::move(value); }
107 
111  inline void SetConfigurationSetName(const char* value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName.assign(value); }
112 
116  inline PutEmailIdentityConfigurationSetAttributesRequest& WithConfigurationSetName(const Aws::String& value) { SetConfigurationSetName(value); return *this;}
117 
121  inline PutEmailIdentityConfigurationSetAttributesRequest& WithConfigurationSetName(Aws::String&& value) { SetConfigurationSetName(std::move(value)); return *this;}
122 
126  inline PutEmailIdentityConfigurationSetAttributesRequest& WithConfigurationSetName(const char* value) { SetConfigurationSetName(value); return *this;}
127 
128  private:
129 
130  Aws::String m_emailIdentity;
131  bool m_emailIdentityHasBeenSet;
132 
133  Aws::String m_configurationSetName;
134  bool m_configurationSetNameHasBeenSet;
135  };
136 
137 } // namespace Model
138 } // namespace SESV2
139 } // namespace Aws
Aws::SESV2::Model::PutEmailIdentityConfigurationSetAttributesRequest::GetEmailIdentity
const Aws::String & GetEmailIdentity() const
Definition: PutEmailIdentityConfigurationSetAttributesRequest.h:43
Aws::SESV2::Model::PutEmailIdentityConfigurationSetAttributesRequest::SetEmailIdentity
void SetEmailIdentity(const char *value)
Definition: PutEmailIdentityConfigurationSetAttributesRequest.h:67
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::SESV2::Model::PutEmailIdentityConfigurationSetAttributesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: PutEmailIdentityConfigurationSetAttributesRequest.h:34
Aws::SESV2::Model::PutEmailIdentityConfigurationSetAttributesRequest::SetConfigurationSetName
void SetConfigurationSetName(const char *value)
Definition: PutEmailIdentityConfigurationSetAttributesRequest.h:111
Aws::SESV2::Model::PutEmailIdentityConfigurationSetAttributesRequest::GetConfigurationSetName
const Aws::String & GetConfigurationSetName() const
Definition: PutEmailIdentityConfigurationSetAttributesRequest.h:91
Aws::SESV2::Model::PutEmailIdentityConfigurationSetAttributesRequest::WithEmailIdentity
PutEmailIdentityConfigurationSetAttributesRequest & WithEmailIdentity(const char *value)
Definition: PutEmailIdentityConfigurationSetAttributesRequest.h:85
Aws::SESV2::Model::PutEmailIdentityConfigurationSetAttributesRequest::ConfigurationSetNameHasBeenSet
bool ConfigurationSetNameHasBeenSet() const
Definition: PutEmailIdentityConfigurationSetAttributesRequest.h:96
Aws::SESV2::Model::PutEmailIdentityConfigurationSetAttributesRequest::WithEmailIdentity
PutEmailIdentityConfigurationSetAttributesRequest & WithEmailIdentity(Aws::String &&value)
Definition: PutEmailIdentityConfigurationSetAttributesRequest.h:79
Aws::SESV2::SESV2Request
Definition: SESV2Request.h:17
Aws::SESV2::Model::PutEmailIdentityConfigurationSetAttributesRequest::WithConfigurationSetName
PutEmailIdentityConfigurationSetAttributesRequest & WithConfigurationSetName(const Aws::String &value)
Definition: PutEmailIdentityConfigurationSetAttributesRequest.h:116
Aws::SESV2::Model::PutEmailIdentityConfigurationSetAttributesRequest::WithConfigurationSetName
PutEmailIdentityConfigurationSetAttributesRequest & WithConfigurationSetName(const char *value)
Definition: PutEmailIdentityConfigurationSetAttributesRequest.h:126
AWSString.h
Aws::SESV2::Model::PutEmailIdentityConfigurationSetAttributesRequest::SetEmailIdentity
void SetEmailIdentity(Aws::String &&value)
Definition: PutEmailIdentityConfigurationSetAttributesRequest.h:61
Aws::SESV2::Model::PutEmailIdentityConfigurationSetAttributesRequest::WithEmailIdentity
PutEmailIdentityConfigurationSetAttributesRequest & WithEmailIdentity(const Aws::String &value)
Definition: PutEmailIdentityConfigurationSetAttributesRequest.h:73
SESV2_EXPORTS.h
Aws::SESV2::Model::PutEmailIdentityConfigurationSetAttributesRequest::SetEmailIdentity
void SetEmailIdentity(const Aws::String &value)
Definition: PutEmailIdentityConfigurationSetAttributesRequest.h:55
Aws::SESV2::Model::PutEmailIdentityConfigurationSetAttributesRequest::EmailIdentityHasBeenSet
bool EmailIdentityHasBeenSet() const
Definition: PutEmailIdentityConfigurationSetAttributesRequest.h:49
Aws
Definition: AccessManagementClient.h:15
Aws::SESV2::Model::PutEmailIdentityConfigurationSetAttributesRequest
Definition: PutEmailIdentityConfigurationSetAttributesRequest.h:26
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SESV2::Model::PutEmailIdentityConfigurationSetAttributesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SESV2::Model::PutEmailIdentityConfigurationSetAttributesRequest::SetConfigurationSetName
void SetConfigurationSetName(Aws::String &&value)
Definition: PutEmailIdentityConfigurationSetAttributesRequest.h:106
SESV2Request.h
Aws::SESV2::Model::PutEmailIdentityConfigurationSetAttributesRequest::PutEmailIdentityConfigurationSetAttributesRequest
PutEmailIdentityConfigurationSetAttributesRequest()
Aws::SESV2::Model::PutEmailIdentityConfigurationSetAttributesRequest::SetConfigurationSetName
void SetConfigurationSetName(const Aws::String &value)
Definition: PutEmailIdentityConfigurationSetAttributesRequest.h:101
Aws::SESV2::Model::PutEmailIdentityConfigurationSetAttributesRequest::WithConfigurationSetName
PutEmailIdentityConfigurationSetAttributesRequest & WithConfigurationSetName(Aws::String &&value)
Definition: PutEmailIdentityConfigurationSetAttributesRequest.h:121