AWS SDK for C++  1.9.159
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 SESV2
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 
43  inline const Aws::String& GetConfigurationSetName() const{ return m_configurationSetName; }
44 
48  inline bool ConfigurationSetNameHasBeenSet() const { return m_configurationSetNameHasBeenSet; }
49 
53  inline void SetConfigurationSetName(const Aws::String& value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName = value; }
54 
58  inline void SetConfigurationSetName(Aws::String&& value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName = std::move(value); }
59 
63  inline void SetConfigurationSetName(const char* value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName.assign(value); }
64 
68  inline CreateConfigurationSetEventDestinationRequest& WithConfigurationSetName(const Aws::String& value) { SetConfigurationSetName(value); return *this;}
69 
73  inline CreateConfigurationSetEventDestinationRequest& WithConfigurationSetName(Aws::String&& value) { SetConfigurationSetName(std::move(value)); return *this;}
74 
78  inline CreateConfigurationSetEventDestinationRequest& WithConfigurationSetName(const char* value) { SetConfigurationSetName(value); return *this;}
79 
80 
85  inline const Aws::String& GetEventDestinationName() const{ return m_eventDestinationName; }
86 
91  inline bool EventDestinationNameHasBeenSet() const { return m_eventDestinationNameHasBeenSet; }
92 
97  inline void SetEventDestinationName(const Aws::String& value) { m_eventDestinationNameHasBeenSet = true; m_eventDestinationName = value; }
98 
103  inline void SetEventDestinationName(Aws::String&& value) { m_eventDestinationNameHasBeenSet = true; m_eventDestinationName = std::move(value); }
104 
109  inline void SetEventDestinationName(const char* value) { m_eventDestinationNameHasBeenSet = true; m_eventDestinationName.assign(value); }
110 
115  inline CreateConfigurationSetEventDestinationRequest& WithEventDestinationName(const Aws::String& value) { SetEventDestinationName(value); return *this;}
116 
121  inline CreateConfigurationSetEventDestinationRequest& WithEventDestinationName(Aws::String&& value) { SetEventDestinationName(std::move(value)); return *this;}
122 
127  inline CreateConfigurationSetEventDestinationRequest& WithEventDestinationName(const char* value) { SetEventDestinationName(value); return *this;}
128 
129 
133  inline const EventDestinationDefinition& GetEventDestination() const{ return m_eventDestination; }
134 
138  inline bool EventDestinationHasBeenSet() const { return m_eventDestinationHasBeenSet; }
139 
143  inline void SetEventDestination(const EventDestinationDefinition& value) { m_eventDestinationHasBeenSet = true; m_eventDestination = value; }
144 
148  inline void SetEventDestination(EventDestinationDefinition&& value) { m_eventDestinationHasBeenSet = true; m_eventDestination = std::move(value); }
149 
153  inline CreateConfigurationSetEventDestinationRequest& WithEventDestination(const EventDestinationDefinition& value) { SetEventDestination(value); return *this;}
154 
158  inline CreateConfigurationSetEventDestinationRequest& WithEventDestination(EventDestinationDefinition&& value) { SetEventDestination(std::move(value)); return *this;}
159 
160  private:
161 
162  Aws::String m_configurationSetName;
163  bool m_configurationSetNameHasBeenSet;
164 
165  Aws::String m_eventDestinationName;
166  bool m_eventDestinationNameHasBeenSet;
167 
168  EventDestinationDefinition m_eventDestination;
169  bool m_eventDestinationHasBeenSet;
170  };
171 
172 } // namespace Model
173 } // namespace SESV2
174 } // namespace Aws
Aws::SESV2::Model::EventDestinationDefinition
Definition: EventDestinationDefinition.h:40
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::SESV2::Model::CreateConfigurationSetEventDestinationRequest::WithEventDestinationName
CreateConfigurationSetEventDestinationRequest & WithEventDestinationName(Aws::String &&value)
Definition: CreateConfigurationSetEventDestinationRequest.h:121
Aws::SESV2::Model::CreateConfigurationSetEventDestinationRequest::GetEventDestination
const EventDestinationDefinition & GetEventDestination() const
Definition: CreateConfigurationSetEventDestinationRequest.h:133
Aws::SESV2::Model::CreateConfigurationSetEventDestinationRequest::SetEventDestination
void SetEventDestination(EventDestinationDefinition &&value)
Definition: CreateConfigurationSetEventDestinationRequest.h:148
Aws::SESV2::Model::CreateConfigurationSetEventDestinationRequest::WithEventDestinationName
CreateConfigurationSetEventDestinationRequest & WithEventDestinationName(const Aws::String &value)
Definition: CreateConfigurationSetEventDestinationRequest.h:115
Aws::SESV2::Model::CreateConfigurationSetEventDestinationRequest::SetEventDestinationName
void SetEventDestinationName(const Aws::String &value)
Definition: CreateConfigurationSetEventDestinationRequest.h:97
Aws::SESV2::Model::CreateConfigurationSetEventDestinationRequest::EventDestinationHasBeenSet
bool EventDestinationHasBeenSet() const
Definition: CreateConfigurationSetEventDestinationRequest.h:138
Aws::SESV2::Model::CreateConfigurationSetEventDestinationRequest::SetEventDestinationName
void SetEventDestinationName(Aws::String &&value)
Definition: CreateConfigurationSetEventDestinationRequest.h:103
Aws::SESV2::Model::CreateConfigurationSetEventDestinationRequest::SetEventDestinationName
void SetEventDestinationName(const char *value)
Definition: CreateConfigurationSetEventDestinationRequest.h:109
Aws::SESV2::Model::CreateConfigurationSetEventDestinationRequest::SetConfigurationSetName
void SetConfigurationSetName(const char *value)
Definition: CreateConfigurationSetEventDestinationRequest.h:63
Aws::SESV2::Model::CreateConfigurationSetEventDestinationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateConfigurationSetEventDestinationRequest.h:35
Aws::SESV2::Model::CreateConfigurationSetEventDestinationRequest::SetConfigurationSetName
void SetConfigurationSetName(const Aws::String &value)
Definition: CreateConfigurationSetEventDestinationRequest.h:53
Aws::SESV2::Model::CreateConfigurationSetEventDestinationRequest::SetEventDestination
void SetEventDestination(const EventDestinationDefinition &value)
Definition: CreateConfigurationSetEventDestinationRequest.h:143
Aws::SESV2::Model::CreateConfigurationSetEventDestinationRequest::EventDestinationNameHasBeenSet
bool EventDestinationNameHasBeenSet() const
Definition: CreateConfigurationSetEventDestinationRequest.h:91
Aws::SESV2::Model::CreateConfigurationSetEventDestinationRequest::WithEventDestination
CreateConfigurationSetEventDestinationRequest & WithEventDestination(const EventDestinationDefinition &value)
Definition: CreateConfigurationSetEventDestinationRequest.h:153
Aws::SESV2::SESV2Request
Definition: SESV2Request.h:17
Aws::SESV2::Model::CreateConfigurationSetEventDestinationRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SESV2::Model::CreateConfigurationSetEventDestinationRequest::WithConfigurationSetName
CreateConfigurationSetEventDestinationRequest & WithConfigurationSetName(const char *value)
Definition: CreateConfigurationSetEventDestinationRequest.h:78
Aws::SESV2::Model::CreateConfigurationSetEventDestinationRequest::WithEventDestination
CreateConfigurationSetEventDestinationRequest & WithEventDestination(EventDestinationDefinition &&value)
Definition: CreateConfigurationSetEventDestinationRequest.h:158
AWSString.h
Aws::SESV2::Model::CreateConfigurationSetEventDestinationRequest::WithConfigurationSetName
CreateConfigurationSetEventDestinationRequest & WithConfigurationSetName(Aws::String &&value)
Definition: CreateConfigurationSetEventDestinationRequest.h:73
SESV2_EXPORTS.h
Aws::SESV2::Model::CreateConfigurationSetEventDestinationRequest::SetConfigurationSetName
void SetConfigurationSetName(Aws::String &&value)
Definition: CreateConfigurationSetEventDestinationRequest.h:58
Aws::SESV2::Model::CreateConfigurationSetEventDestinationRequest::GetConfigurationSetName
const Aws::String & GetConfigurationSetName() const
Definition: CreateConfigurationSetEventDestinationRequest.h:43
Aws
Definition: AccessManagementClient.h:15
Aws::SESV2::Model::CreateConfigurationSetEventDestinationRequest::GetEventDestinationName
const Aws::String & GetEventDestinationName() const
Definition: CreateConfigurationSetEventDestinationRequest.h:85
Aws::SESV2::Model::CreateConfigurationSetEventDestinationRequest::ConfigurationSetNameHasBeenSet
bool ConfigurationSetNameHasBeenSet() const
Definition: CreateConfigurationSetEventDestinationRequest.h:48
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
SESV2Request.h
Aws::SESV2::Model::CreateConfigurationSetEventDestinationRequest::WithEventDestinationName
CreateConfigurationSetEventDestinationRequest & WithEventDestinationName(const char *value)
Definition: CreateConfigurationSetEventDestinationRequest.h:127
Aws::SESV2::Model::CreateConfigurationSetEventDestinationRequest
Definition: CreateConfigurationSetEventDestinationRequest.h:27
Aws::SESV2::Model::CreateConfigurationSetEventDestinationRequest::WithConfigurationSetName
CreateConfigurationSetEventDestinationRequest & WithConfigurationSetName(const Aws::String &value)
Definition: CreateConfigurationSetEventDestinationRequest.h:68
EventDestinationDefinition.h
Aws::SESV2::Model::CreateConfigurationSetEventDestinationRequest::CreateConfigurationSetEventDestinationRequest
CreateConfigurationSetEventDestinationRequest()