AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
GetSuppressedDestinationRequest.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
28 public:
29 AWS_SESV2_API GetSuppressedDestinationRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "GetSuppressedDestination"; }
36
37 AWS_SESV2_API Aws::String SerializePayload() const override;
38
39 AWS_SESV2_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
42
46 inline const Aws::String& GetEmailAddress() const { return m_emailAddress; }
47 inline bool EmailAddressHasBeenSet() const { return m_emailAddressHasBeenSet; }
48 template <typename EmailAddressT = Aws::String>
49 void SetEmailAddress(EmailAddressT&& value) {
50 m_emailAddressHasBeenSet = true;
51 m_emailAddress = std::forward<EmailAddressT>(value);
52 }
53 template <typename EmailAddressT = Aws::String>
55 SetEmailAddress(std::forward<EmailAddressT>(value));
56 return *this;
57 }
59
61
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
GetSuppressedDestinationRequest & WithEmailAddress(EmailAddressT &&value)
AWS_SESV2_API Aws::String SerializePayload() const override
GetSuppressedDestinationRequest & WithTenantName(TenantNameT &&value)
AWS_SESV2_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String