AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
PutConfigurationSetDeliveryOptionsRequest.h
1
6#pragma once
7#include <aws/pinpoint-email/PinpointEmail_EXPORTS.h>
8#include <aws/pinpoint-email/PinpointEmailRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/pinpoint-email/model/TlsPolicy.h>
11#include <utility>
12
13namespace Aws
14{
15namespace PinpointEmail
16{
17namespace Model
18{
19
27 {
28 public:
29 AWS_PINPOINTEMAIL_API PutConfigurationSetDeliveryOptionsRequest() = default;
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_PINPOINTEMAIL_API Aws::String SerializePayload() const override;
38
39
41
45 inline const Aws::String& GetConfigurationSetName() const { return m_configurationSetName; }
46 inline bool ConfigurationSetNameHasBeenSet() const { return m_configurationSetNameHasBeenSet; }
47 template<typename ConfigurationSetNameT = Aws::String>
48 void SetConfigurationSetName(ConfigurationSetNameT&& value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName = std::forward<ConfigurationSetNameT>(value); }
49 template<typename ConfigurationSetNameT = Aws::String>
50 PutConfigurationSetDeliveryOptionsRequest& WithConfigurationSetName(ConfigurationSetNameT&& value) { SetConfigurationSetName(std::forward<ConfigurationSetNameT>(value)); return *this;}
52
54
61 inline TlsPolicy GetTlsPolicy() const { return m_tlsPolicy; }
62 inline bool TlsPolicyHasBeenSet() const { return m_tlsPolicyHasBeenSet; }
63 inline void SetTlsPolicy(TlsPolicy value) { m_tlsPolicyHasBeenSet = true; m_tlsPolicy = value; }
66
68
72 inline const Aws::String& GetSendingPoolName() const { return m_sendingPoolName; }
73 inline bool SendingPoolNameHasBeenSet() const { return m_sendingPoolNameHasBeenSet; }
74 template<typename SendingPoolNameT = Aws::String>
75 void SetSendingPoolName(SendingPoolNameT&& value) { m_sendingPoolNameHasBeenSet = true; m_sendingPoolName = std::forward<SendingPoolNameT>(value); }
76 template<typename SendingPoolNameT = Aws::String>
77 PutConfigurationSetDeliveryOptionsRequest& WithSendingPoolName(SendingPoolNameT&& value) { SetSendingPoolName(std::forward<SendingPoolNameT>(value)); return *this;}
79 private:
80
81 Aws::String m_configurationSetName;
82 bool m_configurationSetNameHasBeenSet = false;
83
84 TlsPolicy m_tlsPolicy{TlsPolicy::NOT_SET};
85 bool m_tlsPolicyHasBeenSet = false;
86
87 Aws::String m_sendingPoolName;
88 bool m_sendingPoolNameHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace PinpointEmail
93} // namespace Aws
PutConfigurationSetDeliveryOptionsRequest & WithSendingPoolName(SendingPoolNameT &&value)
PutConfigurationSetDeliveryOptionsRequest & WithConfigurationSetName(ConfigurationSetNameT &&value)
AWS_PINPOINTEMAIL_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String