AWS SDK for C++  1.9.104
AWS SDK for C++
DeleteSuppressedDestinationRequest.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 "DeleteSuppressedDestination"; }
35 
36  Aws::String SerializePayload() const override;
37 
38 
43  inline const Aws::String& GetEmailAddress() const{ return m_emailAddress; }
44 
49  inline bool EmailAddressHasBeenSet() const { return m_emailAddressHasBeenSet; }
50 
55  inline void SetEmailAddress(const Aws::String& value) { m_emailAddressHasBeenSet = true; m_emailAddress = value; }
56 
61  inline void SetEmailAddress(Aws::String&& value) { m_emailAddressHasBeenSet = true; m_emailAddress = std::move(value); }
62 
67  inline void SetEmailAddress(const char* value) { m_emailAddressHasBeenSet = true; m_emailAddress.assign(value); }
68 
73  inline DeleteSuppressedDestinationRequest& WithEmailAddress(const Aws::String& value) { SetEmailAddress(value); return *this;}
74 
79  inline DeleteSuppressedDestinationRequest& WithEmailAddress(Aws::String&& value) { SetEmailAddress(std::move(value)); return *this;}
80 
85  inline DeleteSuppressedDestinationRequest& WithEmailAddress(const char* value) { SetEmailAddress(value); return *this;}
86 
87  private:
88 
89  Aws::String m_emailAddress;
90  bool m_emailAddressHasBeenSet;
91  };
92 
93 } // namespace Model
94 } // namespace SESV2
95 } // namespace Aws
Aws::SESV2::Model::DeleteSuppressedDestinationRequest::SetEmailAddress
void SetEmailAddress(Aws::String &&value)
Definition: DeleteSuppressedDestinationRequest.h:61
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::SESV2::Model::DeleteSuppressedDestinationRequest::WithEmailAddress
DeleteSuppressedDestinationRequest & WithEmailAddress(const char *value)
Definition: DeleteSuppressedDestinationRequest.h:85
Aws::SESV2::Model::DeleteSuppressedDestinationRequest::DeleteSuppressedDestinationRequest
DeleteSuppressedDestinationRequest()
Aws::SESV2::Model::DeleteSuppressedDestinationRequest::GetEmailAddress
const Aws::String & GetEmailAddress() const
Definition: DeleteSuppressedDestinationRequest.h:43
Aws::SESV2::SESV2Request
Definition: SESV2Request.h:17
Aws::SESV2::Model::DeleteSuppressedDestinationRequest::SetEmailAddress
void SetEmailAddress(const char *value)
Definition: DeleteSuppressedDestinationRequest.h:67
AWSString.h
SESV2_EXPORTS.h
Aws::SESV2::Model::DeleteSuppressedDestinationRequest::SetEmailAddress
void SetEmailAddress(const Aws::String &value)
Definition: DeleteSuppressedDestinationRequest.h:55
Aws::SESV2::Model::DeleteSuppressedDestinationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteSuppressedDestinationRequest.h:34
Aws::SESV2::Model::DeleteSuppressedDestinationRequest::WithEmailAddress
DeleteSuppressedDestinationRequest & WithEmailAddress(const Aws::String &value)
Definition: DeleteSuppressedDestinationRequest.h:73
Aws::SESV2::Model::DeleteSuppressedDestinationRequest
Definition: DeleteSuppressedDestinationRequest.h:26
Aws::SESV2::Model::DeleteSuppressedDestinationRequest::SerializePayload
Aws::String SerializePayload() const override
Aws
Definition: AccessManagementClient.h:15
Aws::SESV2::Model::DeleteSuppressedDestinationRequest::EmailAddressHasBeenSet
bool EmailAddressHasBeenSet() const
Definition: DeleteSuppressedDestinationRequest.h:49
Aws::SESV2::Model::DeleteSuppressedDestinationRequest::WithEmailAddress
DeleteSuppressedDestinationRequest & WithEmailAddress(Aws::String &&value)
Definition: DeleteSuppressedDestinationRequest.h:79
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
SESV2Request.h