AWS SDK for C++  1.8.127
AWS SDK for C++
UpdateAccountSendingEnabledRequest.h
Go to the documentation of this file.
1 
6 #pragma once
8 #include <aws/email/SESRequest.h>
9 
10 namespace Aws
11 {
12 namespace SES
13 {
14 namespace Model
15 {
16 
24  {
25  public:
27 
28  // Service request name is the Operation name which will send this request out,
29  // each operation should has unique request name, so that we can get operation's name from this request.
30  // Note: this is not true for response, multiple operations may have the same response name,
31  // so we can not get operation's name from response.
32  inline virtual const char* GetServiceRequestName() const override { return "UpdateAccountSendingEnabled"; }
33 
34  Aws::String SerializePayload() const override;
35 
36  protected:
37  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
38 
39  public:
40 
45  inline bool GetEnabled() const{ return m_enabled; }
46 
51  inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
52 
57  inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
58 
63  inline UpdateAccountSendingEnabledRequest& WithEnabled(bool value) { SetEnabled(value); return *this;}
64 
65  private:
66 
67  bool m_enabled;
68  bool m_enabledHasBeenSet;
69  };
70 
71 } // namespace Model
72 } // namespace SES
73 } // namespace Aws
Aws::SES::Model::UpdateAccountSendingEnabledRequest::WithEnabled
UpdateAccountSendingEnabledRequest & WithEnabled(bool value)
Definition: UpdateAccountSendingEnabledRequest.h:63
Aws::Http::URI
Definition: URI.h:32
Aws::SES::Model::UpdateAccountSendingEnabledRequest::EnabledHasBeenSet
bool EnabledHasBeenSet() const
Definition: UpdateAccountSendingEnabledRequest.h:51
SESRequest.h
Aws::SES::Model::UpdateAccountSendingEnabledRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateAccountSendingEnabledRequest.h:32
SES_EXPORTS.h
AWS_SES_API
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
Aws::SES::SESRequest
Definition: SESRequest.h:17
Aws::SES::Model::UpdateAccountSendingEnabledRequest::GetEnabled
bool GetEnabled() const
Definition: UpdateAccountSendingEnabledRequest.h:45
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SES::Model::UpdateAccountSendingEnabledRequest
Definition: UpdateAccountSendingEnabledRequest.h:24
Aws::SES::Model::UpdateAccountSendingEnabledRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::SES::Model::UpdateAccountSendingEnabledRequest::SetEnabled
void SetEnabled(bool value)
Definition: UpdateAccountSendingEnabledRequest.h:57
Aws::SES::Model::UpdateAccountSendingEnabledRequest::UpdateAccountSendingEnabledRequest
UpdateAccountSendingEnabledRequest()
Aws::SES::Model::UpdateAccountSendingEnabledRequest::SerializePayload
Aws::String SerializePayload() const override