AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateConfigurationSetEventDestinationRequest.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/EventDestination.h>
11#include <utility>
12
13namespace Aws
14{
15namespace SES
16{
17namespace Model
18{
19
30 {
31 public:
33
34 // Service request name is the Operation name which will send this request out,
35 // each operation should has unique request name, so that we can get operation's name from this request.
36 // Note: this is not true for response, multiple operations may have the same response name,
37 // so we can not get operation's name from response.
38 inline virtual const char* GetServiceRequestName() const override { return "UpdateConfigurationSetEventDestination"; }
39
40 AWS_SES_API Aws::String SerializePayload() const override;
41
42 protected:
43 AWS_SES_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
44
45 public:
46
48
51 inline const Aws::String& GetConfigurationSetName() const { return m_configurationSetName; }
52 inline bool ConfigurationSetNameHasBeenSet() const { return m_configurationSetNameHasBeenSet; }
53 template<typename ConfigurationSetNameT = Aws::String>
54 void SetConfigurationSetName(ConfigurationSetNameT&& value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName = std::forward<ConfigurationSetNameT>(value); }
55 template<typename ConfigurationSetNameT = Aws::String>
56 UpdateConfigurationSetEventDestinationRequest& WithConfigurationSetName(ConfigurationSetNameT&& value) { SetConfigurationSetName(std::forward<ConfigurationSetNameT>(value)); return *this;}
58
60
63 inline const EventDestination& GetEventDestination() const { return m_eventDestination; }
64 inline bool EventDestinationHasBeenSet() const { return m_eventDestinationHasBeenSet; }
65 template<typename EventDestinationT = EventDestination>
66 void SetEventDestination(EventDestinationT&& value) { m_eventDestinationHasBeenSet = true; m_eventDestination = std::forward<EventDestinationT>(value); }
67 template<typename EventDestinationT = EventDestination>
68 UpdateConfigurationSetEventDestinationRequest& WithEventDestination(EventDestinationT&& value) { SetEventDestination(std::forward<EventDestinationT>(value)); return *this;}
70 private:
71
72 Aws::String m_configurationSetName;
73 bool m_configurationSetNameHasBeenSet = false;
74
75 EventDestination m_eventDestination;
76 bool m_eventDestinationHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace SES
81} // namespace Aws
UpdateConfigurationSetEventDestinationRequest & WithConfigurationSetName(ConfigurationSetNameT &&value)
AWS_SES_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWS_SES_API Aws::String SerializePayload() const override
UpdateConfigurationSetEventDestinationRequest & WithEventDestination(EventDestinationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String