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/email/SES_EXPORTS.h>
8#include <aws/email/SESRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/email/model/DeliveryOptions.h>
11#include <utility>
12
13namespace Aws
14{
15namespace SES
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_SES_API Aws::String SerializePayload() const override;
38
39 protected:
40 AWS_SES_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
41
42 public:
43
45
48 inline const Aws::String& GetConfigurationSetName() const { return m_configurationSetName; }
49 inline bool ConfigurationSetNameHasBeenSet() const { return m_configurationSetNameHasBeenSet; }
50 template<typename ConfigurationSetNameT = Aws::String>
51 void SetConfigurationSetName(ConfigurationSetNameT&& value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName = std::forward<ConfigurationSetNameT>(value); }
52 template<typename ConfigurationSetNameT = Aws::String>
53 PutConfigurationSetDeliveryOptionsRequest& WithConfigurationSetName(ConfigurationSetNameT&& value) { SetConfigurationSetName(std::forward<ConfigurationSetNameT>(value)); return *this;}
55
57
61 inline const DeliveryOptions& GetDeliveryOptions() const { return m_deliveryOptions; }
62 inline bool DeliveryOptionsHasBeenSet() const { return m_deliveryOptionsHasBeenSet; }
63 template<typename DeliveryOptionsT = DeliveryOptions>
64 void SetDeliveryOptions(DeliveryOptionsT&& value) { m_deliveryOptionsHasBeenSet = true; m_deliveryOptions = std::forward<DeliveryOptionsT>(value); }
65 template<typename DeliveryOptionsT = DeliveryOptions>
66 PutConfigurationSetDeliveryOptionsRequest& WithDeliveryOptions(DeliveryOptionsT&& value) { SetDeliveryOptions(std::forward<DeliveryOptionsT>(value)); return *this;}
68 private:
69
70 Aws::String m_configurationSetName;
71 bool m_configurationSetNameHasBeenSet = false;
72
73 DeliveryOptions m_deliveryOptions;
74 bool m_deliveryOptionsHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace SES
79} // namespace Aws
AWS_SES_API Aws::String SerializePayload() const override
PutConfigurationSetDeliveryOptionsRequest & WithConfigurationSetName(ConfigurationSetNameT &&value)
PutConfigurationSetDeliveryOptionsRequest & WithDeliveryOptions(DeliveryOptionsT &&value)
AWS_SES_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String