AWS SDK for C++  1.9.158
AWS SDK for C++
PutConfigurationSetSendingOptionsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace SESV2
15 {
16 namespace Model
17 {
18 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "PutConfigurationSetSendingOptions"; }
35 
36  Aws::String SerializePayload() const override;
37 
38 
42  inline const Aws::String& GetConfigurationSetName() const{ return m_configurationSetName; }
43 
47  inline bool ConfigurationSetNameHasBeenSet() const { return m_configurationSetNameHasBeenSet; }
48 
52  inline void SetConfigurationSetName(const Aws::String& value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName = value; }
53 
57  inline void SetConfigurationSetName(Aws::String&& value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName = std::move(value); }
58 
62  inline void SetConfigurationSetName(const char* value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName.assign(value); }
63 
67  inline PutConfigurationSetSendingOptionsRequest& WithConfigurationSetName(const Aws::String& value) { SetConfigurationSetName(value); return *this;}
68 
72  inline PutConfigurationSetSendingOptionsRequest& WithConfigurationSetName(Aws::String&& value) { SetConfigurationSetName(std::move(value)); return *this;}
73 
77  inline PutConfigurationSetSendingOptionsRequest& WithConfigurationSetName(const char* value) { SetConfigurationSetName(value); return *this;}
78 
79 
84  inline bool GetSendingEnabled() const{ return m_sendingEnabled; }
85 
90  inline bool SendingEnabledHasBeenSet() const { return m_sendingEnabledHasBeenSet; }
91 
96  inline void SetSendingEnabled(bool value) { m_sendingEnabledHasBeenSet = true; m_sendingEnabled = value; }
97 
102  inline PutConfigurationSetSendingOptionsRequest& WithSendingEnabled(bool value) { SetSendingEnabled(value); return *this;}
103 
104  private:
105 
106  Aws::String m_configurationSetName;
107  bool m_configurationSetNameHasBeenSet;
108 
109  bool m_sendingEnabled;
110  bool m_sendingEnabledHasBeenSet;
111  };
112 
113 } // namespace Model
114 } // namespace SESV2
115 } // namespace Aws
Aws::SESV2::Model::PutConfigurationSetSendingOptionsRequest::GetConfigurationSetName
const Aws::String & GetConfigurationSetName() const
Definition: PutConfigurationSetSendingOptionsRequest.h:42
Aws::SESV2::Model::PutConfigurationSetSendingOptionsRequest::GetSendingEnabled
bool GetSendingEnabled() const
Definition: PutConfigurationSetSendingOptionsRequest.h:84
Aws::SESV2::Model::PutConfigurationSetSendingOptionsRequest::WithSendingEnabled
PutConfigurationSetSendingOptionsRequest & WithSendingEnabled(bool value)
Definition: PutConfigurationSetSendingOptionsRequest.h:102
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::SESV2::Model::PutConfigurationSetSendingOptionsRequest::WithConfigurationSetName
PutConfigurationSetSendingOptionsRequest & WithConfigurationSetName(Aws::String &&value)
Definition: PutConfigurationSetSendingOptionsRequest.h:72
Aws::SESV2::Model::PutConfigurationSetSendingOptionsRequest::WithConfigurationSetName
PutConfigurationSetSendingOptionsRequest & WithConfigurationSetName(const char *value)
Definition: PutConfigurationSetSendingOptionsRequest.h:77
Aws::SESV2::Model::PutConfigurationSetSendingOptionsRequest::ConfigurationSetNameHasBeenSet
bool ConfigurationSetNameHasBeenSet() const
Definition: PutConfigurationSetSendingOptionsRequest.h:47
Aws::SESV2::Model::PutConfigurationSetSendingOptionsRequest::SetConfigurationSetName
void SetConfigurationSetName(Aws::String &&value)
Definition: PutConfigurationSetSendingOptionsRequest.h:57
Aws::SESV2::Model::PutConfigurationSetSendingOptionsRequest::PutConfigurationSetSendingOptionsRequest
PutConfigurationSetSendingOptionsRequest()
Aws::SESV2::Model::PutConfigurationSetSendingOptionsRequest::SetConfigurationSetName
void SetConfigurationSetName(const Aws::String &value)
Definition: PutConfigurationSetSendingOptionsRequest.h:52
Aws::SESV2::Model::PutConfigurationSetSendingOptionsRequest::SetSendingEnabled
void SetSendingEnabled(bool value)
Definition: PutConfigurationSetSendingOptionsRequest.h:96
Aws::SESV2::Model::PutConfigurationSetSendingOptionsRequest::SendingEnabledHasBeenSet
bool SendingEnabledHasBeenSet() const
Definition: PutConfigurationSetSendingOptionsRequest.h:90
Aws::SESV2::SESV2Request
Definition: SESV2Request.h:17
Aws::SESV2::Model::PutConfigurationSetSendingOptionsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: PutConfigurationSetSendingOptionsRequest.h:34
AWSString.h
SESV2_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
Aws::SESV2::Model::PutConfigurationSetSendingOptionsRequest
Definition: PutConfigurationSetSendingOptionsRequest.h:26
Aws::SESV2::Model::PutConfigurationSetSendingOptionsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
SESV2Request.h
Aws::SESV2::Model::PutConfigurationSetSendingOptionsRequest::SetConfigurationSetName
void SetConfigurationSetName(const char *value)
Definition: PutConfigurationSetSendingOptionsRequest.h:62
Aws::SESV2::Model::PutConfigurationSetSendingOptionsRequest::WithConfigurationSetName
PutConfigurationSetSendingOptionsRequest & WithConfigurationSetName(const Aws::String &value)
Definition: PutConfigurationSetSendingOptionsRequest.h:67