AWS SDK for C++  1.9.161
AWS SDK for C++
PutAccountSendingAttributesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
9 
10 namespace Aws
11 {
12 namespace SESV2
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 "PutAccountSendingAttributes"; }
33 
34  Aws::String SerializePayload() const override;
35 
36 
44  inline bool GetSendingEnabled() const{ return m_sendingEnabled; }
45 
53  inline bool SendingEnabledHasBeenSet() const { return m_sendingEnabledHasBeenSet; }
54 
62  inline void SetSendingEnabled(bool value) { m_sendingEnabledHasBeenSet = true; m_sendingEnabled = value; }
63 
71  inline PutAccountSendingAttributesRequest& WithSendingEnabled(bool value) { SetSendingEnabled(value); return *this;}
72 
73  private:
74 
75  bool m_sendingEnabled;
76  bool m_sendingEnabledHasBeenSet;
77  };
78 
79 } // namespace Model
80 } // namespace SESV2
81 } // namespace Aws
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::SESV2::Model::PutAccountSendingAttributesRequest
Definition: PutAccountSendingAttributesRequest.h:24
Aws::SESV2::Model::PutAccountSendingAttributesRequest::WithSendingEnabled
PutAccountSendingAttributesRequest & WithSendingEnabled(bool value)
Definition: PutAccountSendingAttributesRequest.h:71
Aws::SESV2::Model::PutAccountSendingAttributesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SESV2::Model::PutAccountSendingAttributesRequest::SendingEnabledHasBeenSet
bool SendingEnabledHasBeenSet() const
Definition: PutAccountSendingAttributesRequest.h:53
Aws::SESV2::Model::PutAccountSendingAttributesRequest::SetSendingEnabled
void SetSendingEnabled(bool value)
Definition: PutAccountSendingAttributesRequest.h:62
Aws::SESV2::SESV2Request
Definition: SESV2Request.h:17
SESV2_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
Aws::SESV2::Model::PutAccountSendingAttributesRequest::GetSendingEnabled
bool GetSendingEnabled() const
Definition: PutAccountSendingAttributesRequest.h:44
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SESV2::Model::PutAccountSendingAttributesRequest::PutAccountSendingAttributesRequest
PutAccountSendingAttributesRequest()
SESV2Request.h
Aws::SESV2::Model::PutAccountSendingAttributesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: PutAccountSendingAttributesRequest.h:32