AWS SDK for C++  1.8.71
AWS SDK for C++
PutConfigurationSetDeliveryOptionsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace SESV2
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 
44  inline const Aws::String& GetConfigurationSetName() const{ return m_configurationSetName; }
45 
50  inline bool ConfigurationSetNameHasBeenSet() const { return m_configurationSetNameHasBeenSet; }
51 
56  inline void SetConfigurationSetName(const Aws::String& value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName = value; }
57 
62  inline void SetConfigurationSetName(Aws::String&& value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName = std::move(value); }
63 
68  inline void SetConfigurationSetName(const char* value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName.assign(value); }
69 
74  inline PutConfigurationSetDeliveryOptionsRequest& WithConfigurationSetName(const Aws::String& value) { SetConfigurationSetName(value); return *this;}
75 
80  inline PutConfigurationSetDeliveryOptionsRequest& WithConfigurationSetName(Aws::String&& value) { SetConfigurationSetName(std::move(value)); return *this;}
81 
86  inline PutConfigurationSetDeliveryOptionsRequest& WithConfigurationSetName(const char* value) { SetConfigurationSetName(value); return *this;}
87 
88 
96  inline const TlsPolicy& GetTlsPolicy() const{ return m_tlsPolicy; }
97 
105  inline bool TlsPolicyHasBeenSet() const { return m_tlsPolicyHasBeenSet; }
106 
114  inline void SetTlsPolicy(const TlsPolicy& value) { m_tlsPolicyHasBeenSet = true; m_tlsPolicy = value; }
115 
123  inline void SetTlsPolicy(TlsPolicy&& value) { m_tlsPolicyHasBeenSet = true; m_tlsPolicy = std::move(value); }
124 
132  inline PutConfigurationSetDeliveryOptionsRequest& WithTlsPolicy(const TlsPolicy& value) { SetTlsPolicy(value); return *this;}
133 
141  inline PutConfigurationSetDeliveryOptionsRequest& WithTlsPolicy(TlsPolicy&& value) { SetTlsPolicy(std::move(value)); return *this;}
142 
143 
148  inline const Aws::String& GetSendingPoolName() const{ return m_sendingPoolName; }
149 
154  inline bool SendingPoolNameHasBeenSet() const { return m_sendingPoolNameHasBeenSet; }
155 
160  inline void SetSendingPoolName(const Aws::String& value) { m_sendingPoolNameHasBeenSet = true; m_sendingPoolName = value; }
161 
166  inline void SetSendingPoolName(Aws::String&& value) { m_sendingPoolNameHasBeenSet = true; m_sendingPoolName = std::move(value); }
167 
172  inline void SetSendingPoolName(const char* value) { m_sendingPoolNameHasBeenSet = true; m_sendingPoolName.assign(value); }
173 
178  inline PutConfigurationSetDeliveryOptionsRequest& WithSendingPoolName(const Aws::String& value) { SetSendingPoolName(value); return *this;}
179 
184  inline PutConfigurationSetDeliveryOptionsRequest& WithSendingPoolName(Aws::String&& value) { SetSendingPoolName(std::move(value)); return *this;}
185 
190  inline PutConfigurationSetDeliveryOptionsRequest& WithSendingPoolName(const char* value) { SetSendingPoolName(value); return *this;}
191 
192  private:
193 
194  Aws::String m_configurationSetName;
195  bool m_configurationSetNameHasBeenSet;
196 
197  TlsPolicy m_tlsPolicy;
198  bool m_tlsPolicyHasBeenSet;
199 
200  Aws::String m_sendingPoolName;
201  bool m_sendingPoolNameHasBeenSet;
202  };
203 
204 } // namespace Model
205 } // namespace SESV2
206 } // namespace Aws
PutConfigurationSetDeliveryOptionsRequest & WithSendingPoolName(const Aws::String &value)
PutConfigurationSetDeliveryOptionsRequest & WithTlsPolicy(const TlsPolicy &value)
PutConfigurationSetDeliveryOptionsRequest & WithSendingPoolName(const char *value)
PutConfigurationSetDeliveryOptionsRequest & WithConfigurationSetName(Aws::String &&value)
PutConfigurationSetDeliveryOptionsRequest & WithTlsPolicy(TlsPolicy &&value)
PutConfigurationSetDeliveryOptionsRequest & WithSendingPoolName(Aws::String &&value)
PutConfigurationSetDeliveryOptionsRequest & WithConfigurationSetName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
PutConfigurationSetDeliveryOptionsRequest & WithConfigurationSetName(const char *value)
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28