AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
PutAccountSendingAttributesRequest.h
1
6#pragma once
7#include <aws/pinpoint-email/PinpointEmailRequest.h>
8#include <aws/pinpoint-email/PinpointEmail_EXPORTS.h>
9
10namespace Aws {
11namespace PinpointEmail {
12namespace Model {
13
21 public:
22 AWS_PINPOINTEMAIL_API PutAccountSendingAttributesRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "PutAccountSendingAttributes"; }
29
30 AWS_PINPOINTEMAIL_API Aws::String SerializePayload() const override;
31
33
40 inline bool GetSendingEnabled() const { return m_sendingEnabled; }
41 inline bool SendingEnabledHasBeenSet() const { return m_sendingEnabledHasBeenSet; }
42 inline void SetSendingEnabled(bool value) {
43 m_sendingEnabledHasBeenSet = true;
44 m_sendingEnabled = value;
45 }
47 SetSendingEnabled(value);
48 return *this;
49 }
51 private:
52 bool m_sendingEnabled{false};
53 bool m_sendingEnabledHasBeenSet = false;
54};
55
56} // namespace Model
57} // namespace PinpointEmail
58} // namespace Aws
AWS_PINPOINTEMAIL_API Aws::String SerializePayload() const override
AWS_PINPOINTEMAIL_API PutAccountSendingAttributesRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String