AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateConfigurationSetEventDestinationRequest.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
32 {
33 public:
35
36 // Service request name is the Operation name which will send this request out,
37 // each operation should has unique request name, so that we can get operation's name from this request.
38 // Note: this is not true for response, multiple operations may have the same response name,
39 // so we can not get operation's name from response.
40 inline virtual const char* GetServiceRequestName() const override { return "CreateConfigurationSetEventDestination"; }
41
42 AWS_SES_API Aws::String SerializePayload() const override;
43
44 protected:
45 AWS_SES_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
46
47 public:
48
50
54 inline const Aws::String& GetConfigurationSetName() const { return m_configurationSetName; }
55 inline bool ConfigurationSetNameHasBeenSet() const { return m_configurationSetNameHasBeenSet; }
56 template<typename ConfigurationSetNameT = Aws::String>
57 void SetConfigurationSetName(ConfigurationSetNameT&& value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName = std::forward<ConfigurationSetNameT>(value); }
58 template<typename ConfigurationSetNameT = Aws::String>
59 CreateConfigurationSetEventDestinationRequest& WithConfigurationSetName(ConfigurationSetNameT&& value) { SetConfigurationSetName(std::forward<ConfigurationSetNameT>(value)); return *this;}
61
63
67 inline const EventDestination& GetEventDestination() const { return m_eventDestination; }
68 inline bool EventDestinationHasBeenSet() const { return m_eventDestinationHasBeenSet; }
69 template<typename EventDestinationT = EventDestination>
70 void SetEventDestination(EventDestinationT&& value) { m_eventDestinationHasBeenSet = true; m_eventDestination = std::forward<EventDestinationT>(value); }
71 template<typename EventDestinationT = EventDestination>
72 CreateConfigurationSetEventDestinationRequest& WithEventDestination(EventDestinationT&& value) { SetEventDestination(std::forward<EventDestinationT>(value)); return *this;}
74 private:
75
76 Aws::String m_configurationSetName;
77 bool m_configurationSetNameHasBeenSet = false;
78
79 EventDestination m_eventDestination;
80 bool m_eventDestinationHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace SES
85} // namespace Aws
AWS_SES_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
CreateConfigurationSetEventDestinationRequest & WithConfigurationSetName(ConfigurationSetNameT &&value)
CreateConfigurationSetEventDestinationRequest & WithEventDestination(EventDestinationT &&value)
AWS_SES_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String