AWS SDK for C++  1.9.40
AWS SDK for C++
CreateConfigurationSetEventDestinationRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace PinpointEmail
16 {
17 namespace 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::String SerializePayload() const override;
38 
39 
44  inline const Aws::String& GetConfigurationSetName() const{ return m_configurationSetName; }
45 
50  inline bool ConfigurationSetNameHasBeenSet() const { return m_configurationSetNameHasBeenSet; }
51 
56  inline void SetConfigurationSetName(const Aws::String& value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName = value; }
57 
62  inline void SetConfigurationSetName(Aws::String&& value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName = std::move(value); }
63 
68  inline void SetConfigurationSetName(const char* value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName.assign(value); }
69 
74  inline CreateConfigurationSetEventDestinationRequest& WithConfigurationSetName(const Aws::String& value) { SetConfigurationSetName(value); return *this;}
75 
80  inline CreateConfigurationSetEventDestinationRequest& WithConfigurationSetName(Aws::String&& value) { SetConfigurationSetName(std::move(value)); return *this;}
81 
86  inline CreateConfigurationSetEventDestinationRequest& WithConfigurationSetName(const char* value) { SetConfigurationSetName(value); return *this;}
87 
88 
93  inline const Aws::String& GetEventDestinationName() const{ return m_eventDestinationName; }
94 
99  inline bool EventDestinationNameHasBeenSet() const { return m_eventDestinationNameHasBeenSet; }
100 
105  inline void SetEventDestinationName(const Aws::String& value) { m_eventDestinationNameHasBeenSet = true; m_eventDestinationName = value; }
106 
111  inline void SetEventDestinationName(Aws::String&& value) { m_eventDestinationNameHasBeenSet = true; m_eventDestinationName = std::move(value); }
112 
117  inline void SetEventDestinationName(const char* value) { m_eventDestinationNameHasBeenSet = true; m_eventDestinationName.assign(value); }
118 
123  inline CreateConfigurationSetEventDestinationRequest& WithEventDestinationName(const Aws::String& value) { SetEventDestinationName(value); return *this;}
124 
129  inline CreateConfigurationSetEventDestinationRequest& WithEventDestinationName(Aws::String&& value) { SetEventDestinationName(std::move(value)); return *this;}
130 
135  inline CreateConfigurationSetEventDestinationRequest& WithEventDestinationName(const char* value) { SetEventDestinationName(value); return *this;}
136 
137 
141  inline const EventDestinationDefinition& GetEventDestination() const{ return m_eventDestination; }
142 
146  inline bool EventDestinationHasBeenSet() const { return m_eventDestinationHasBeenSet; }
147 
151  inline void SetEventDestination(const EventDestinationDefinition& value) { m_eventDestinationHasBeenSet = true; m_eventDestination = value; }
152 
156  inline void SetEventDestination(EventDestinationDefinition&& value) { m_eventDestinationHasBeenSet = true; m_eventDestination = std::move(value); }
157 
161  inline CreateConfigurationSetEventDestinationRequest& WithEventDestination(const EventDestinationDefinition& value) { SetEventDestination(value); return *this;}
162 
166  inline CreateConfigurationSetEventDestinationRequest& WithEventDestination(EventDestinationDefinition&& value) { SetEventDestination(std::move(value)); return *this;}
167 
168  private:
169 
170  Aws::String m_configurationSetName;
171  bool m_configurationSetNameHasBeenSet;
172 
173  Aws::String m_eventDestinationName;
174  bool m_eventDestinationNameHasBeenSet;
175 
176  EventDestinationDefinition m_eventDestination;
177  bool m_eventDestinationHasBeenSet;
178  };
179 
180 } // namespace Model
181 } // namespace PinpointEmail
182 } // namespace Aws
Aws::PinpointEmail::Model::CreateConfigurationSetEventDestinationRequest::SetEventDestinationName
void SetEventDestinationName(const char *value)
Definition: CreateConfigurationSetEventDestinationRequest.h:117
Aws::PinpointEmail::Model::EventDestinationDefinition
Definition: EventDestinationDefinition.h:40
Aws::PinpointEmail::PinpointEmailRequest
Definition: PinpointEmailRequest.h:17
Aws::PinpointEmail::Model::CreateConfigurationSetEventDestinationRequest::SetEventDestinationName
void SetEventDestinationName(const Aws::String &value)
Definition: CreateConfigurationSetEventDestinationRequest.h:105
Aws::PinpointEmail::Model::CreateConfigurationSetEventDestinationRequest::SetConfigurationSetName
void SetConfigurationSetName(const Aws::String &value)
Definition: CreateConfigurationSetEventDestinationRequest.h:56
PinpointEmailRequest.h
Aws::PinpointEmail::Model::CreateConfigurationSetEventDestinationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateConfigurationSetEventDestinationRequest.h:35
Aws::PinpointEmail::Model::CreateConfigurationSetEventDestinationRequest
Definition: CreateConfigurationSetEventDestinationRequest.h:27
Aws::PinpointEmail::Model::CreateConfigurationSetEventDestinationRequest::WithConfigurationSetName
CreateConfigurationSetEventDestinationRequest & WithConfigurationSetName(const Aws::String &value)
Definition: CreateConfigurationSetEventDestinationRequest.h:74
Aws::PinpointEmail::Model::CreateConfigurationSetEventDestinationRequest::SetConfigurationSetName
void SetConfigurationSetName(const char *value)
Definition: CreateConfigurationSetEventDestinationRequest.h:68
Aws::PinpointEmail::Model::CreateConfigurationSetEventDestinationRequest::WithEventDestination
CreateConfigurationSetEventDestinationRequest & WithEventDestination(const EventDestinationDefinition &value)
Definition: CreateConfigurationSetEventDestinationRequest.h:161
Aws::PinpointEmail::Model::CreateConfigurationSetEventDestinationRequest::WithEventDestination
CreateConfigurationSetEventDestinationRequest & WithEventDestination(EventDestinationDefinition &&value)
Definition: CreateConfigurationSetEventDestinationRequest.h:166
Aws::PinpointEmail::Model::CreateConfigurationSetEventDestinationRequest::SetConfigurationSetName
void SetConfigurationSetName(Aws::String &&value)
Definition: CreateConfigurationSetEventDestinationRequest.h:62
Aws::PinpointEmail::Model::CreateConfigurationSetEventDestinationRequest::SetEventDestination
void SetEventDestination(EventDestinationDefinition &&value)
Definition: CreateConfigurationSetEventDestinationRequest.h:156
Aws::PinpointEmail::Model::CreateConfigurationSetEventDestinationRequest::WithEventDestinationName
CreateConfigurationSetEventDestinationRequest & WithEventDestinationName(Aws::String &&value)
Definition: CreateConfigurationSetEventDestinationRequest.h:129
Aws::PinpointEmail::Model::CreateConfigurationSetEventDestinationRequest::SetEventDestination
void SetEventDestination(const EventDestinationDefinition &value)
Definition: CreateConfigurationSetEventDestinationRequest.h:151
Aws::PinpointEmail::Model::CreateConfigurationSetEventDestinationRequest::WithEventDestinationName
CreateConfigurationSetEventDestinationRequest & WithEventDestinationName(const char *value)
Definition: CreateConfigurationSetEventDestinationRequest.h:135
AWSString.h
Aws::PinpointEmail::Model::CreateConfigurationSetEventDestinationRequest::WithConfigurationSetName
CreateConfigurationSetEventDestinationRequest & WithConfigurationSetName(const char *value)
Definition: CreateConfigurationSetEventDestinationRequest.h:86
PinpointEmail_EXPORTS.h
Aws::PinpointEmail::Model::CreateConfigurationSetEventDestinationRequest::GetEventDestination
const EventDestinationDefinition & GetEventDestination() const
Definition: CreateConfigurationSetEventDestinationRequest.h:141
Aws::PinpointEmail::Model::CreateConfigurationSetEventDestinationRequest::GetConfigurationSetName
const Aws::String & GetConfigurationSetName() const
Definition: CreateConfigurationSetEventDestinationRequest.h:44
Aws::PinpointEmail::Model::CreateConfigurationSetEventDestinationRequest::WithConfigurationSetName
CreateConfigurationSetEventDestinationRequest & WithConfigurationSetName(Aws::String &&value)
Definition: CreateConfigurationSetEventDestinationRequest.h:80
Aws::PinpointEmail::Model::CreateConfigurationSetEventDestinationRequest::EventDestinationHasBeenSet
bool EventDestinationHasBeenSet() const
Definition: CreateConfigurationSetEventDestinationRequest.h:146
Aws::PinpointEmail::Model::CreateConfigurationSetEventDestinationRequest::SetEventDestinationName
void SetEventDestinationName(Aws::String &&value)
Definition: CreateConfigurationSetEventDestinationRequest.h:111
Aws::PinpointEmail::Model::CreateConfigurationSetEventDestinationRequest::ConfigurationSetNameHasBeenSet
bool ConfigurationSetNameHasBeenSet() const
Definition: CreateConfigurationSetEventDestinationRequest.h:50
Aws
Definition: AccessManagementClient.h:15
Aws::PinpointEmail::Model::CreateConfigurationSetEventDestinationRequest::EventDestinationNameHasBeenSet
bool EventDestinationNameHasBeenSet() const
Definition: CreateConfigurationSetEventDestinationRequest.h:99
Aws::PinpointEmail::Model::CreateConfigurationSetEventDestinationRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::PinpointEmail::Model::CreateConfigurationSetEventDestinationRequest::WithEventDestinationName
CreateConfigurationSetEventDestinationRequest & WithEventDestinationName(const Aws::String &value)
Definition: CreateConfigurationSetEventDestinationRequest.h:123
Aws::PinpointEmail::Model::CreateConfigurationSetEventDestinationRequest::GetEventDestinationName
const Aws::String & GetEventDestinationName() const
Definition: CreateConfigurationSetEventDestinationRequest.h:93
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
EventDestinationDefinition.h
Aws::PinpointEmail::Model::CreateConfigurationSetEventDestinationRequest::CreateConfigurationSetEventDestinationRequest
CreateConfigurationSetEventDestinationRequest()
AWS_PINPOINTEMAIL_API
#define AWS_PINPOINTEMAIL_API
Definition: PinpointEmail_EXPORTS.h:28