AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
GetEmailIdentityRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/pinpoint-email/PinpointEmailRequest.h>
9#include <aws/pinpoint-email/PinpointEmail_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace PinpointEmail {
15namespace Model {
16
24 public:
25 AWS_PINPOINTEMAIL_API GetEmailIdentityRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "GetEmailIdentity"; }
32
33 AWS_PINPOINTEMAIL_API Aws::String SerializePayload() const override;
34
36
39 inline const Aws::String& GetEmailIdentity() const { return m_emailIdentity; }
40 inline bool EmailIdentityHasBeenSet() const { return m_emailIdentityHasBeenSet; }
41 template <typename EmailIdentityT = Aws::String>
42 void SetEmailIdentity(EmailIdentityT&& value) {
43 m_emailIdentityHasBeenSet = true;
44 m_emailIdentity = std::forward<EmailIdentityT>(value);
45 }
46 template <typename EmailIdentityT = Aws::String>
47 GetEmailIdentityRequest& WithEmailIdentity(EmailIdentityT&& value) {
48 SetEmailIdentity(std::forward<EmailIdentityT>(value));
49 return *this;
50 }
52 private:
53 Aws::String m_emailIdentity;
54 bool m_emailIdentityHasBeenSet = false;
55};
56
57} // namespace Model
58} // namespace PinpointEmail
59} // namespace Aws
AWS_PINPOINTEMAIL_API Aws::String SerializePayload() const override
GetEmailIdentityRequest & WithEmailIdentity(EmailIdentityT &&value)
AWS_PINPOINTEMAIL_API GetEmailIdentityRequest()=default
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String