AWS SDK for C++

AWS SDK for C++ Version 1.11.767

Loading...
Searching...
No Matches
UpdateAccountSendingEnabledRequest.h
1
6#pragma once
7#include <aws/email/SESRequest.h>
8#include <aws/email/SES_EXPORTS.h>
9
10namespace Aws {
11namespace SES {
12namespace Model {
13
21 public:
22 AWS_SES_API UpdateAccountSendingEnabledRequest() = 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 "UpdateAccountSendingEnabled"; }
29
30 AWS_SES_API Aws::String SerializePayload() const override;
31
32 protected:
33 AWS_SES_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
34
35 public:
37
41 inline bool GetEnabled() const { return m_enabled; }
42 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
43 inline void SetEnabled(bool value) {
44 m_enabledHasBeenSet = true;
45 m_enabled = value;
46 }
48 SetEnabled(value);
49 return *this;
50 }
52 private:
53 bool m_enabled{false};
54 bool m_enabledHasBeenSet = false;
55};
56
57} // namespace Model
58} // namespace SES
59} // namespace Aws
AWS_SES_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWS_SES_API Aws::String SerializePayload() const override
UpdateAccountSendingEnabledRequest & WithEnabled(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String