AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
DeleteSuppressedDestinationRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sesv2/SESV2Request.h>
9#include <aws/sesv2/SESV2_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace SESV2 {
18namespace Model {
19
27 public:
28 AWS_SESV2_API DeleteSuppressedDestinationRequest() = default;
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_SESV2_API Aws::String SerializePayload() const override;
37
38 AWS_SESV2_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
41
45 inline const Aws::String& GetEmailAddress() const { return m_emailAddress; }
46 inline bool EmailAddressHasBeenSet() const { return m_emailAddressHasBeenSet; }
47 template <typename EmailAddressT = Aws::String>
48 void SetEmailAddress(EmailAddressT&& value) {
49 m_emailAddressHasBeenSet = true;
50 m_emailAddress = std::forward<EmailAddressT>(value);
51 }
52 template <typename EmailAddressT = Aws::String>
54 SetEmailAddress(std::forward<EmailAddressT>(value));
55 return *this;
56 }
58
60
65 inline const Aws::String& GetTenantName() const { return m_tenantName; }
66 inline bool TenantNameHasBeenSet() const { return m_tenantNameHasBeenSet; }
67 template <typename TenantNameT = Aws::String>
68 void SetTenantName(TenantNameT&& value) {
69 m_tenantNameHasBeenSet = true;
70 m_tenantName = std::forward<TenantNameT>(value);
71 }
72 template <typename TenantNameT = Aws::String>
74 SetTenantName(std::forward<TenantNameT>(value));
75 return *this;
76 }
78 private:
79 Aws::String m_emailAddress;
80
81 Aws::String m_tenantName;
82 bool m_emailAddressHasBeenSet = false;
83 bool m_tenantNameHasBeenSet = false;
84};
85
86} // namespace Model
87} // namespace SESV2
88} // namespace Aws
AWS_SESV2_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
DeleteSuppressedDestinationRequest & WithEmailAddress(EmailAddressT &&value)
DeleteSuppressedDestinationRequest & WithTenantName(TenantNameT &&value)
AWS_SESV2_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String