AWS SDK for C++  1.9.161
AWS SDK for C++
UpdateConfigurationSetEventDestinationRequest.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 "UpdateConfigurationSetEventDestination"; }
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 UpdateConfigurationSetEventDestinationRequest& WithConfigurationSetName(const Aws::String& value) { SetConfigurationSetName(value); return *this;}
75 
80  inline UpdateConfigurationSetEventDestinationRequest& WithConfigurationSetName(Aws::String&& value) { SetConfigurationSetName(std::move(value)); return *this;}
81 
86  inline UpdateConfigurationSetEventDestinationRequest& WithConfigurationSetName(const char* value) { SetConfigurationSetName(value); return *this;}
87 
88 
92  inline const Aws::String& GetEventDestinationName() const{ return m_eventDestinationName; }
93 
97  inline bool EventDestinationNameHasBeenSet() const { return m_eventDestinationNameHasBeenSet; }
98 
102  inline void SetEventDestinationName(const Aws::String& value) { m_eventDestinationNameHasBeenSet = true; m_eventDestinationName = value; }
103 
107  inline void SetEventDestinationName(Aws::String&& value) { m_eventDestinationNameHasBeenSet = true; m_eventDestinationName = std::move(value); }
108 
112  inline void SetEventDestinationName(const char* value) { m_eventDestinationNameHasBeenSet = true; m_eventDestinationName.assign(value); }
113 
117  inline UpdateConfigurationSetEventDestinationRequest& WithEventDestinationName(const Aws::String& value) { SetEventDestinationName(value); return *this;}
118 
122  inline UpdateConfigurationSetEventDestinationRequest& WithEventDestinationName(Aws::String&& value) { SetEventDestinationName(std::move(value)); return *this;}
123 
127  inline UpdateConfigurationSetEventDestinationRequest& 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 UpdateConfigurationSetEventDestinationRequest& WithEventDestination(const EventDestinationDefinition& value) { SetEventDestination(value); return *this;}
154 
158  inline UpdateConfigurationSetEventDestinationRequest& 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::UpdateConfigurationSetEventDestinationRequest::WithEventDestination
UpdateConfigurationSetEventDestinationRequest & WithEventDestination(const EventDestinationDefinition &value)
Definition: UpdateConfigurationSetEventDestinationRequest.h:153
Aws::SESV2::Model::EventDestinationDefinition
Definition: EventDestinationDefinition.h:40
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::SESV2::Model::UpdateConfigurationSetEventDestinationRequest
Definition: UpdateConfigurationSetEventDestinationRequest.h:27
Aws::SESV2::Model::UpdateConfigurationSetEventDestinationRequest::SetEventDestination
void SetEventDestination(const EventDestinationDefinition &value)
Definition: UpdateConfigurationSetEventDestinationRequest.h:143
Aws::SESV2::Model::UpdateConfigurationSetEventDestinationRequest::SetEventDestinationName
void SetEventDestinationName(Aws::String &&value)
Definition: UpdateConfigurationSetEventDestinationRequest.h:107
Aws::SESV2::Model::UpdateConfigurationSetEventDestinationRequest::WithConfigurationSetName
UpdateConfigurationSetEventDestinationRequest & WithConfigurationSetName(Aws::String &&value)
Definition: UpdateConfigurationSetEventDestinationRequest.h:80
Aws::SESV2::Model::UpdateConfigurationSetEventDestinationRequest::WithEventDestination
UpdateConfigurationSetEventDestinationRequest & WithEventDestination(EventDestinationDefinition &&value)
Definition: UpdateConfigurationSetEventDestinationRequest.h:158
Aws::SESV2::Model::UpdateConfigurationSetEventDestinationRequest::UpdateConfigurationSetEventDestinationRequest
UpdateConfigurationSetEventDestinationRequest()
Aws::SESV2::Model::UpdateConfigurationSetEventDestinationRequest::EventDestinationHasBeenSet
bool EventDestinationHasBeenSet() const
Definition: UpdateConfigurationSetEventDestinationRequest.h:138
Aws::SESV2::Model::UpdateConfigurationSetEventDestinationRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SESV2::Model::UpdateConfigurationSetEventDestinationRequest::WithEventDestinationName
UpdateConfigurationSetEventDestinationRequest & WithEventDestinationName(const char *value)
Definition: UpdateConfigurationSetEventDestinationRequest.h:127
Aws::SESV2::Model::UpdateConfigurationSetEventDestinationRequest::GetEventDestinationName
const Aws::String & GetEventDestinationName() const
Definition: UpdateConfigurationSetEventDestinationRequest.h:92
Aws::SESV2::Model::UpdateConfigurationSetEventDestinationRequest::WithConfigurationSetName
UpdateConfigurationSetEventDestinationRequest & WithConfigurationSetName(const char *value)
Definition: UpdateConfigurationSetEventDestinationRequest.h:86
Aws::SESV2::Model::UpdateConfigurationSetEventDestinationRequest::SetEventDestinationName
void SetEventDestinationName(const Aws::String &value)
Definition: UpdateConfigurationSetEventDestinationRequest.h:102
Aws::SESV2::Model::UpdateConfigurationSetEventDestinationRequest::SetEventDestination
void SetEventDestination(EventDestinationDefinition &&value)
Definition: UpdateConfigurationSetEventDestinationRequest.h:148
Aws::SESV2::SESV2Request
Definition: SESV2Request.h:17
Aws::SESV2::Model::UpdateConfigurationSetEventDestinationRequest::SetEventDestinationName
void SetEventDestinationName(const char *value)
Definition: UpdateConfigurationSetEventDestinationRequest.h:112
Aws::SESV2::Model::UpdateConfigurationSetEventDestinationRequest::SetConfigurationSetName
void SetConfigurationSetName(const char *value)
Definition: UpdateConfigurationSetEventDestinationRequest.h:68
AWSString.h
Aws::SESV2::Model::UpdateConfigurationSetEventDestinationRequest::GetConfigurationSetName
const Aws::String & GetConfigurationSetName() const
Definition: UpdateConfigurationSetEventDestinationRequest.h:44
SESV2_EXPORTS.h
Aws::SESV2::Model::UpdateConfigurationSetEventDestinationRequest::GetEventDestination
const EventDestinationDefinition & GetEventDestination() const
Definition: UpdateConfigurationSetEventDestinationRequest.h:133
Aws::SESV2::Model::UpdateConfigurationSetEventDestinationRequest::EventDestinationNameHasBeenSet
bool EventDestinationNameHasBeenSet() const
Definition: UpdateConfigurationSetEventDestinationRequest.h:97
Aws::SESV2::Model::UpdateConfigurationSetEventDestinationRequest::WithConfigurationSetName
UpdateConfigurationSetEventDestinationRequest & WithConfigurationSetName(const Aws::String &value)
Definition: UpdateConfigurationSetEventDestinationRequest.h:74
Aws::SESV2::Model::UpdateConfigurationSetEventDestinationRequest::SetConfigurationSetName
void SetConfigurationSetName(const Aws::String &value)
Definition: UpdateConfigurationSetEventDestinationRequest.h:56
Aws
Definition: AccessManagementClient.h:15
Aws::SESV2::Model::UpdateConfigurationSetEventDestinationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateConfigurationSetEventDestinationRequest.h:35
Aws::SESV2::Model::UpdateConfigurationSetEventDestinationRequest::ConfigurationSetNameHasBeenSet
bool ConfigurationSetNameHasBeenSet() const
Definition: UpdateConfigurationSetEventDestinationRequest.h:50
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
SESV2Request.h
Aws::SESV2::Model::UpdateConfigurationSetEventDestinationRequest::SetConfigurationSetName
void SetConfigurationSetName(Aws::String &&value)
Definition: UpdateConfigurationSetEventDestinationRequest.h:62
EventDestinationDefinition.h
Aws::SESV2::Model::UpdateConfigurationSetEventDestinationRequest::WithEventDestinationName
UpdateConfigurationSetEventDestinationRequest & WithEventDestinationName(const Aws::String &value)
Definition: UpdateConfigurationSetEventDestinationRequest.h:117
Aws::SESV2::Model::UpdateConfigurationSetEventDestinationRequest::WithEventDestinationName
UpdateConfigurationSetEventDestinationRequest & WithEventDestinationName(Aws::String &&value)
Definition: UpdateConfigurationSetEventDestinationRequest.h:122