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/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 CreateConfigurationSetEventDestinationRequest() = 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 "CreateConfigurationSetEventDestination"; }
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 CreateConfigurationSetEventDestinationRequest& WithConfigurationSetName(ConfigurationSetNameT&& value) { SetConfigurationSetName(std::forward<ConfigurationSetNameT>(value)); return *this;}
52
54
58 inline const Aws::String& GetEventDestinationName() const { return m_eventDestinationName; }
59 inline bool EventDestinationNameHasBeenSet() const { return m_eventDestinationNameHasBeenSet; }
60 template<typename EventDestinationNameT = Aws::String>
61 void SetEventDestinationName(EventDestinationNameT&& value) { m_eventDestinationNameHasBeenSet = true; m_eventDestinationName = std::forward<EventDestinationNameT>(value); }
62 template<typename EventDestinationNameT = Aws::String>
63 CreateConfigurationSetEventDestinationRequest& WithEventDestinationName(EventDestinationNameT&& value) { SetEventDestinationName(std::forward<EventDestinationNameT>(value)); return *this;}
65
67
70 inline const EventDestinationDefinition& GetEventDestination() const { return m_eventDestination; }
71 inline bool EventDestinationHasBeenSet() const { return m_eventDestinationHasBeenSet; }
72 template<typename EventDestinationT = EventDestinationDefinition>
73 void SetEventDestination(EventDestinationT&& value) { m_eventDestinationHasBeenSet = true; m_eventDestination = std::forward<EventDestinationT>(value); }
74 template<typename EventDestinationT = EventDestinationDefinition>
75 CreateConfigurationSetEventDestinationRequest& WithEventDestination(EventDestinationT&& value) { SetEventDestination(std::forward<EventDestinationT>(value)); return *this;}
77 private:
78
79 Aws::String m_configurationSetName;
80 bool m_configurationSetNameHasBeenSet = false;
81
82 Aws::String m_eventDestinationName;
83 bool m_eventDestinationNameHasBeenSet = false;
84
85 EventDestinationDefinition m_eventDestination;
86 bool m_eventDestinationHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace PinpointEmail
91} // namespace Aws
CreateConfigurationSetEventDestinationRequest & WithConfigurationSetName(ConfigurationSetNameT &&value)
CreateConfigurationSetEventDestinationRequest & WithEventDestinationName(EventDestinationNameT &&value)
CreateConfigurationSetEventDestinationRequest & WithEventDestination(EventDestinationT &&value)
AWS_PINPOINTEMAIL_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String