AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetConfigurationSetName(const Aws::String& value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName = value; }
48 inline void SetConfigurationSetName(Aws::String&& value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName = std::move(value); }
49 inline void SetConfigurationSetName(const char* value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName.assign(value); }
54
56
63 inline const TlsPolicy& GetTlsPolicy() const{ return m_tlsPolicy; }
64 inline bool TlsPolicyHasBeenSet() const { return m_tlsPolicyHasBeenSet; }
65 inline void SetTlsPolicy(const TlsPolicy& value) { m_tlsPolicyHasBeenSet = true; m_tlsPolicy = value; }
66 inline void SetTlsPolicy(TlsPolicy&& value) { m_tlsPolicyHasBeenSet = true; m_tlsPolicy = std::move(value); }
68 inline PutConfigurationSetDeliveryOptionsRequest& WithTlsPolicy(TlsPolicy&& value) { SetTlsPolicy(std::move(value)); return *this;}
70
72
76 inline const Aws::String& GetSendingPoolName() const{ return m_sendingPoolName; }
77 inline bool SendingPoolNameHasBeenSet() const { return m_sendingPoolNameHasBeenSet; }
78 inline void SetSendingPoolName(const Aws::String& value) { m_sendingPoolNameHasBeenSet = true; m_sendingPoolName = value; }
79 inline void SetSendingPoolName(Aws::String&& value) { m_sendingPoolNameHasBeenSet = true; m_sendingPoolName = std::move(value); }
80 inline void SetSendingPoolName(const char* value) { m_sendingPoolNameHasBeenSet = true; m_sendingPoolName.assign(value); }
83 inline PutConfigurationSetDeliveryOptionsRequest& WithSendingPoolName(const char* value) { SetSendingPoolName(value); return *this;}
85 private:
86
87 Aws::String m_configurationSetName;
88 bool m_configurationSetNameHasBeenSet = false;
89
90 TlsPolicy m_tlsPolicy;
91 bool m_tlsPolicyHasBeenSet = false;
92
93 Aws::String m_sendingPoolName;
94 bool m_sendingPoolNameHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace PinpointEmail
99} // namespace Aws
PutConfigurationSetDeliveryOptionsRequest & WithSendingPoolName(const Aws::String &value)
PutConfigurationSetDeliveryOptionsRequest & WithConfigurationSetName(const Aws::String &value)
PutConfigurationSetDeliveryOptionsRequest & WithSendingPoolName(Aws::String &&value)
PutConfigurationSetDeliveryOptionsRequest & WithTlsPolicy(TlsPolicy &&value)
AWS_PINPOINTEMAIL_API Aws::String SerializePayload() const override
PutConfigurationSetDeliveryOptionsRequest & WithConfigurationSetName(const char *value)
PutConfigurationSetDeliveryOptionsRequest & WithTlsPolicy(const TlsPolicy &value)
PutConfigurationSetDeliveryOptionsRequest & WithConfigurationSetName(Aws::String &&value)
PutConfigurationSetDeliveryOptionsRequest & WithSendingPoolName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String