AWS SDK for C++  1.8.129
AWS SDK for C++
PutConfigurationSetDeliveryOptionsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
8 #include <aws/email/SESRequest.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace SES
16 {
17 namespace Model
18 {
19 
27  {
28  public:
30 
31  // Service request name is the Operation name which will send this request out,
32  // each operation should has unique request name, so that we can get operation's name from this request.
33  // Note: this is not true for response, multiple operations may have the same response name,
34  // so we can not get operation's name from response.
35  inline virtual const char* GetServiceRequestName() const override { return "PutConfigurationSetDeliveryOptions"; }
36 
37  Aws::String SerializePayload() const override;
38 
39  protected:
40  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
41 
42  public:
43 
48  inline const Aws::String& GetConfigurationSetName() const{ return m_configurationSetName; }
49 
54  inline bool ConfigurationSetNameHasBeenSet() const { return m_configurationSetNameHasBeenSet; }
55 
60  inline void SetConfigurationSetName(const Aws::String& value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName = value; }
61 
66  inline void SetConfigurationSetName(Aws::String&& value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName = std::move(value); }
67 
72  inline void SetConfigurationSetName(const char* value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName.assign(value); }
73 
78  inline PutConfigurationSetDeliveryOptionsRequest& WithConfigurationSetName(const Aws::String& value) { SetConfigurationSetName(value); return *this;}
79 
84  inline PutConfigurationSetDeliveryOptionsRequest& WithConfigurationSetName(Aws::String&& value) { SetConfigurationSetName(std::move(value)); return *this;}
85 
90  inline PutConfigurationSetDeliveryOptionsRequest& WithConfigurationSetName(const char* value) { SetConfigurationSetName(value); return *this;}
91 
92 
97  inline const DeliveryOptions& GetDeliveryOptions() const{ return m_deliveryOptions; }
98 
103  inline bool DeliveryOptionsHasBeenSet() const { return m_deliveryOptionsHasBeenSet; }
104 
109  inline void SetDeliveryOptions(const DeliveryOptions& value) { m_deliveryOptionsHasBeenSet = true; m_deliveryOptions = value; }
110 
115  inline void SetDeliveryOptions(DeliveryOptions&& value) { m_deliveryOptionsHasBeenSet = true; m_deliveryOptions = std::move(value); }
116 
121  inline PutConfigurationSetDeliveryOptionsRequest& WithDeliveryOptions(const DeliveryOptions& value) { SetDeliveryOptions(value); return *this;}
122 
127  inline PutConfigurationSetDeliveryOptionsRequest& WithDeliveryOptions(DeliveryOptions&& value) { SetDeliveryOptions(std::move(value)); return *this;}
128 
129  private:
130 
131  Aws::String m_configurationSetName;
132  bool m_configurationSetNameHasBeenSet;
133 
134  DeliveryOptions m_deliveryOptions;
135  bool m_deliveryOptionsHasBeenSet;
136  };
137 
138 } // namespace Model
139 } // namespace SES
140 } // namespace Aws
Aws::SES::Model::PutConfigurationSetDeliveryOptionsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: PutConfigurationSetDeliveryOptionsRequest.h:35
Aws::SES::Model::PutConfigurationSetDeliveryOptionsRequest::WithConfigurationSetName
PutConfigurationSetDeliveryOptionsRequest & WithConfigurationSetName(const char *value)
Definition: PutConfigurationSetDeliveryOptionsRequest.h:90
Aws::Http::URI
Definition: URI.h:32
Aws::SES::Model::PutConfigurationSetDeliveryOptionsRequest::SetDeliveryOptions
void SetDeliveryOptions(DeliveryOptions &&value)
Definition: PutConfigurationSetDeliveryOptionsRequest.h:115
Aws::SES::Model::PutConfigurationSetDeliveryOptionsRequest::SetConfigurationSetName
void SetConfigurationSetName(Aws::String &&value)
Definition: PutConfigurationSetDeliveryOptionsRequest.h:66
Aws::SES::Model::DeliveryOptions
Definition: DeliveryOptions.h:33
Aws::SES::Model::PutConfigurationSetDeliveryOptionsRequest::GetConfigurationSetName
const Aws::String & GetConfigurationSetName() const
Definition: PutConfigurationSetDeliveryOptionsRequest.h:48
Aws::SES::Model::PutConfigurationSetDeliveryOptionsRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::SES::Model::PutConfigurationSetDeliveryOptionsRequest::SerializePayload
Aws::String SerializePayload() const override
DeliveryOptions.h
SESRequest.h
Aws::SES::Model::PutConfigurationSetDeliveryOptionsRequest::SetConfigurationSetName
void SetConfigurationSetName(const Aws::String &value)
Definition: PutConfigurationSetDeliveryOptionsRequest.h:60
Aws::SES::Model::PutConfigurationSetDeliveryOptionsRequest::GetDeliveryOptions
const DeliveryOptions & GetDeliveryOptions() const
Definition: PutConfigurationSetDeliveryOptionsRequest.h:97
Aws::SES::Model::PutConfigurationSetDeliveryOptionsRequest::WithConfigurationSetName
PutConfigurationSetDeliveryOptionsRequest & WithConfigurationSetName(Aws::String &&value)
Definition: PutConfigurationSetDeliveryOptionsRequest.h:84
Aws::SES::Model::PutConfigurationSetDeliveryOptionsRequest::WithDeliveryOptions
PutConfigurationSetDeliveryOptionsRequest & WithDeliveryOptions(DeliveryOptions &&value)
Definition: PutConfigurationSetDeliveryOptionsRequest.h:127
AWSString.h
SES_EXPORTS.h
Aws::SES::Model::PutConfigurationSetDeliveryOptionsRequest
Definition: PutConfigurationSetDeliveryOptionsRequest.h:27
AWS_SES_API
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
Aws::SES::SESRequest
Definition: SESRequest.h:17
Aws::SES::Model::PutConfigurationSetDeliveryOptionsRequest::ConfigurationSetNameHasBeenSet
bool ConfigurationSetNameHasBeenSet() const
Definition: PutConfigurationSetDeliveryOptionsRequest.h:54
Aws::SES::Model::PutConfigurationSetDeliveryOptionsRequest::DeliveryOptionsHasBeenSet
bool DeliveryOptionsHasBeenSet() const
Definition: PutConfigurationSetDeliveryOptionsRequest.h:103
Aws::SES::Model::PutConfigurationSetDeliveryOptionsRequest::PutConfigurationSetDeliveryOptionsRequest
PutConfigurationSetDeliveryOptionsRequest()
Aws::SES::Model::PutConfigurationSetDeliveryOptionsRequest::SetConfigurationSetName
void SetConfigurationSetName(const char *value)
Definition: PutConfigurationSetDeliveryOptionsRequest.h:72
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::PutConfigurationSetDeliveryOptionsRequest::WithConfigurationSetName
PutConfigurationSetDeliveryOptionsRequest & WithConfigurationSetName(const Aws::String &value)
Definition: PutConfigurationSetDeliveryOptionsRequest.h:78
Aws::SES::Model::PutConfigurationSetDeliveryOptionsRequest::WithDeliveryOptions
PutConfigurationSetDeliveryOptionsRequest & WithDeliveryOptions(const DeliveryOptions &value)
Definition: PutConfigurationSetDeliveryOptionsRequest.h:121
Aws::SES::Model::PutConfigurationSetDeliveryOptionsRequest::SetDeliveryOptions
void SetDeliveryOptions(const DeliveryOptions &value)
Definition: PutConfigurationSetDeliveryOptionsRequest.h:109