AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetConfigurationSetName(const Aws::String& value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName = value; }
48 inline void SetConfigurationSetName(Aws::String&& value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName = std::move(value); }
49 inline void SetConfigurationSetName(const char* value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName.assign(value); }
54
56
60 inline const Aws::String& GetEventDestinationName() const{ return m_eventDestinationName; }
61 inline bool EventDestinationNameHasBeenSet() const { return m_eventDestinationNameHasBeenSet; }
62 inline void SetEventDestinationName(const Aws::String& value) { m_eventDestinationNameHasBeenSet = true; m_eventDestinationName = value; }
63 inline void SetEventDestinationName(Aws::String&& value) { m_eventDestinationNameHasBeenSet = true; m_eventDestinationName = std::move(value); }
64 inline void SetEventDestinationName(const char* value) { m_eventDestinationNameHasBeenSet = true; m_eventDestinationName.assign(value); }
69
71
74 inline const EventDestinationDefinition& GetEventDestination() const{ return m_eventDestination; }
75 inline bool EventDestinationHasBeenSet() const { return m_eventDestinationHasBeenSet; }
76 inline void SetEventDestination(const EventDestinationDefinition& value) { m_eventDestinationHasBeenSet = true; m_eventDestination = value; }
77 inline void SetEventDestination(EventDestinationDefinition&& value) { m_eventDestinationHasBeenSet = true; m_eventDestination = std::move(value); }
81 private:
82
83 Aws::String m_configurationSetName;
84 bool m_configurationSetNameHasBeenSet = false;
85
86 Aws::String m_eventDestinationName;
87 bool m_eventDestinationNameHasBeenSet = false;
88
89 EventDestinationDefinition m_eventDestination;
90 bool m_eventDestinationHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace PinpointEmail
95} // namespace Aws
CreateConfigurationSetEventDestinationRequest & WithEventDestinationName(const char *value)
CreateConfigurationSetEventDestinationRequest & WithConfigurationSetName(Aws::String &&value)
CreateConfigurationSetEventDestinationRequest & WithEventDestination(const EventDestinationDefinition &value)
CreateConfigurationSetEventDestinationRequest & WithConfigurationSetName(const char *value)
CreateConfigurationSetEventDestinationRequest & WithEventDestinationName(Aws::String &&value)
AWS_PINPOINTEMAIL_API Aws::String SerializePayload() const override
CreateConfigurationSetEventDestinationRequest & WithConfigurationSetName(const Aws::String &value)
CreateConfigurationSetEventDestinationRequest & WithEventDestinationName(const Aws::String &value)
CreateConfigurationSetEventDestinationRequest & WithEventDestination(EventDestinationDefinition &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String