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/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/EventDestinationDefinition.h>
11#include <utility>
12
13namespace Aws
14{
15namespace PinpointEmail
16{
17namespace Model
18{
19
27 {
28 public:
29 AWS_PINPOINTEMAIL_API UpdateConfigurationSetEventDestinationRequest() = 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 "UpdateConfigurationSetEventDestination"; }
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 UpdateConfigurationSetEventDestinationRequest& WithConfigurationSetName(ConfigurationSetNameT&& value) { SetConfigurationSetName(std::forward<ConfigurationSetNameT>(value)); return *this;}
52
54
57 inline const Aws::String& GetEventDestinationName() const { return m_eventDestinationName; }
58 inline bool EventDestinationNameHasBeenSet() const { return m_eventDestinationNameHasBeenSet; }
59 template<typename EventDestinationNameT = Aws::String>
60 void SetEventDestinationName(EventDestinationNameT&& value) { m_eventDestinationNameHasBeenSet = true; m_eventDestinationName = std::forward<EventDestinationNameT>(value); }
61 template<typename EventDestinationNameT = Aws::String>
62 UpdateConfigurationSetEventDestinationRequest& WithEventDestinationName(EventDestinationNameT&& value) { SetEventDestinationName(std::forward<EventDestinationNameT>(value)); return *this;}
64
66
69 inline const EventDestinationDefinition& GetEventDestination() const { return m_eventDestination; }
70 inline bool EventDestinationHasBeenSet() const { return m_eventDestinationHasBeenSet; }
71 template<typename EventDestinationT = EventDestinationDefinition>
72 void SetEventDestination(EventDestinationT&& value) { m_eventDestinationHasBeenSet = true; m_eventDestination = std::forward<EventDestinationT>(value); }
73 template<typename EventDestinationT = EventDestinationDefinition>
74 UpdateConfigurationSetEventDestinationRequest& WithEventDestination(EventDestinationT&& value) { SetEventDestination(std::forward<EventDestinationT>(value)); return *this;}
76 private:
77
78 Aws::String m_configurationSetName;
79 bool m_configurationSetNameHasBeenSet = false;
80
81 Aws::String m_eventDestinationName;
82 bool m_eventDestinationNameHasBeenSet = false;
83
84 EventDestinationDefinition m_eventDestination;
85 bool m_eventDestinationHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace PinpointEmail
90} // namespace Aws
UpdateConfigurationSetEventDestinationRequest & WithEventDestinationName(EventDestinationNameT &&value)
AWS_PINPOINTEMAIL_API Aws::String SerializePayload() const override
UpdateConfigurationSetEventDestinationRequest & WithConfigurationSetName(ConfigurationSetNameT &&value)
UpdateConfigurationSetEventDestinationRequest & WithEventDestination(EventDestinationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String