AWS SDK for C++  1.8.129
AWS SDK for C++
UpdateConfigurationSetEventDestinationRequest.h
Go to the documentation of this file.
1 
6 #pragma once
8 #include <aws/email/SESRequest.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace SES
16 {
17 namespace Model
18 {
19 
30  {
31  public:
33 
34  // Service request name is the Operation name which will send this request out,
35  // each operation should has unique request name, so that we can get operation's name from this request.
36  // Note: this is not true for response, multiple operations may have the same response name,
37  // so we can not get operation's name from response.
38  inline virtual const char* GetServiceRequestName() const override { return "UpdateConfigurationSetEventDestination"; }
39 
40  Aws::String SerializePayload() const override;
41 
42  protected:
43  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
44 
45  public:
46 
51  inline const Aws::String& GetConfigurationSetName() const{ return m_configurationSetName; }
52 
57  inline bool ConfigurationSetNameHasBeenSet() const { return m_configurationSetNameHasBeenSet; }
58 
63  inline void SetConfigurationSetName(const Aws::String& value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName = value; }
64 
69  inline void SetConfigurationSetName(Aws::String&& value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName = std::move(value); }
70 
75  inline void SetConfigurationSetName(const char* value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName.assign(value); }
76 
81  inline UpdateConfigurationSetEventDestinationRequest& WithConfigurationSetName(const Aws::String& value) { SetConfigurationSetName(value); return *this;}
82 
87  inline UpdateConfigurationSetEventDestinationRequest& WithConfigurationSetName(Aws::String&& value) { SetConfigurationSetName(std::move(value)); return *this;}
88 
93  inline UpdateConfigurationSetEventDestinationRequest& WithConfigurationSetName(const char* value) { SetConfigurationSetName(value); return *this;}
94 
95 
100  inline const EventDestination& GetEventDestination() const{ return m_eventDestination; }
101 
106  inline bool EventDestinationHasBeenSet() const { return m_eventDestinationHasBeenSet; }
107 
112  inline void SetEventDestination(const EventDestination& value) { m_eventDestinationHasBeenSet = true; m_eventDestination = value; }
113 
118  inline void SetEventDestination(EventDestination&& value) { m_eventDestinationHasBeenSet = true; m_eventDestination = std::move(value); }
119 
124  inline UpdateConfigurationSetEventDestinationRequest& WithEventDestination(const EventDestination& value) { SetEventDestination(value); return *this;}
125 
130  inline UpdateConfigurationSetEventDestinationRequest& WithEventDestination(EventDestination&& value) { SetEventDestination(std::move(value)); return *this;}
131 
132  private:
133 
134  Aws::String m_configurationSetName;
135  bool m_configurationSetNameHasBeenSet;
136 
137  EventDestination m_eventDestination;
138  bool m_eventDestinationHasBeenSet;
139  };
140 
141 } // namespace Model
142 } // namespace SES
143 } // namespace Aws
Aws::SES::Model::UpdateConfigurationSetEventDestinationRequest::WithConfigurationSetName
UpdateConfigurationSetEventDestinationRequest & WithConfigurationSetName(Aws::String &&value)
Definition: UpdateConfigurationSetEventDestinationRequest.h:87
Aws::Http::URI
Definition: URI.h:32
Aws::SES::Model::UpdateConfigurationSetEventDestinationRequest::WithConfigurationSetName
UpdateConfigurationSetEventDestinationRequest & WithConfigurationSetName(const char *value)
Definition: UpdateConfigurationSetEventDestinationRequest.h:93
Aws::SES::Model::UpdateConfigurationSetEventDestinationRequest::SetConfigurationSetName
void SetConfigurationSetName(Aws::String &&value)
Definition: UpdateConfigurationSetEventDestinationRequest.h:69
Aws::SES::Model::UpdateConfigurationSetEventDestinationRequest::GetConfigurationSetName
const Aws::String & GetConfigurationSetName() const
Definition: UpdateConfigurationSetEventDestinationRequest.h:51
Aws::SES::Model::UpdateConfigurationSetEventDestinationRequest::SetConfigurationSetName
void SetConfigurationSetName(const Aws::String &value)
Definition: UpdateConfigurationSetEventDestinationRequest.h:63
Aws::SES::Model::UpdateConfigurationSetEventDestinationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateConfigurationSetEventDestinationRequest.h:38
Aws::SES::Model::EventDestination
Definition: EventDestination.h:47
SESRequest.h
Aws::SES::Model::UpdateConfigurationSetEventDestinationRequest::GetEventDestination
const EventDestination & GetEventDestination() const
Definition: UpdateConfigurationSetEventDestinationRequest.h:100
Aws::SES::Model::UpdateConfigurationSetEventDestinationRequest::WithConfigurationSetName
UpdateConfigurationSetEventDestinationRequest & WithConfigurationSetName(const Aws::String &value)
Definition: UpdateConfigurationSetEventDestinationRequest.h:81
Aws::SES::Model::UpdateConfigurationSetEventDestinationRequest::SerializePayload
Aws::String SerializePayload() const override
AWSString.h
Aws::SES::Model::UpdateConfigurationSetEventDestinationRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
SES_EXPORTS.h
Aws::SES::Model::UpdateConfigurationSetEventDestinationRequest::SetConfigurationSetName
void SetConfigurationSetName(const char *value)
Definition: UpdateConfigurationSetEventDestinationRequest.h:75
AWS_SES_API
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
Aws::SES::Model::UpdateConfigurationSetEventDestinationRequest
Definition: UpdateConfigurationSetEventDestinationRequest.h:30
Aws::SES::SESRequest
Definition: SESRequest.h:17
Aws
Definition: AccessManagementClient.h:15
Aws::SES::Model::UpdateConfigurationSetEventDestinationRequest::SetEventDestination
void SetEventDestination(const EventDestination &value)
Definition: UpdateConfigurationSetEventDestinationRequest.h:112
Aws::SES::Model::UpdateConfigurationSetEventDestinationRequest::UpdateConfigurationSetEventDestinationRequest
UpdateConfigurationSetEventDestinationRequest()
Aws::SES::Model::UpdateConfigurationSetEventDestinationRequest::ConfigurationSetNameHasBeenSet
bool ConfigurationSetNameHasBeenSet() const
Definition: UpdateConfigurationSetEventDestinationRequest.h:57
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SES::Model::UpdateConfigurationSetEventDestinationRequest::WithEventDestination
UpdateConfigurationSetEventDestinationRequest & WithEventDestination(const EventDestination &value)
Definition: UpdateConfigurationSetEventDestinationRequest.h:124
Aws::SES::Model::UpdateConfigurationSetEventDestinationRequest::WithEventDestination
UpdateConfigurationSetEventDestinationRequest & WithEventDestination(EventDestination &&value)
Definition: UpdateConfigurationSetEventDestinationRequest.h:130
Aws::SES::Model::UpdateConfigurationSetEventDestinationRequest::SetEventDestination
void SetEventDestination(EventDestination &&value)
Definition: UpdateConfigurationSetEventDestinationRequest.h:118
Aws::SES::Model::UpdateConfigurationSetEventDestinationRequest::EventDestinationHasBeenSet
bool EventDestinationHasBeenSet() const
Definition: UpdateConfigurationSetEventDestinationRequest.h:106
EventDestination.h