AWS SDK for C++  1.8.184
AWS SDK for C++
CreateConfigurationSetEventDestinationRequest.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 
32  {
33  public:
35 
36  // Service request name is the Operation name which will send this request out,
37  // each operation should has unique request name, so that we can get operation's name from this request.
38  // Note: this is not true for response, multiple operations may have the same response name,
39  // so we can not get operation's name from response.
40  inline virtual const char* GetServiceRequestName() const override { return "CreateConfigurationSetEventDestination"; }
41 
42  Aws::String SerializePayload() const override;
43 
44  protected:
45  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
46 
47  public:
48 
53  inline const Aws::String& GetConfigurationSetName() const{ return m_configurationSetName; }
54 
59  inline bool ConfigurationSetNameHasBeenSet() const { return m_configurationSetNameHasBeenSet; }
60 
65  inline void SetConfigurationSetName(const Aws::String& value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName = value; }
66 
71  inline void SetConfigurationSetName(Aws::String&& value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName = std::move(value); }
72 
77  inline void SetConfigurationSetName(const char* value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName.assign(value); }
78 
83  inline CreateConfigurationSetEventDestinationRequest& WithConfigurationSetName(const Aws::String& value) { SetConfigurationSetName(value); return *this;}
84 
89  inline CreateConfigurationSetEventDestinationRequest& WithConfigurationSetName(Aws::String&& value) { SetConfigurationSetName(std::move(value)); return *this;}
90 
95  inline CreateConfigurationSetEventDestinationRequest& WithConfigurationSetName(const char* value) { SetConfigurationSetName(value); return *this;}
96 
97 
102  inline const EventDestination& GetEventDestination() const{ return m_eventDestination; }
103 
108  inline bool EventDestinationHasBeenSet() const { return m_eventDestinationHasBeenSet; }
109 
114  inline void SetEventDestination(const EventDestination& value) { m_eventDestinationHasBeenSet = true; m_eventDestination = value; }
115 
120  inline void SetEventDestination(EventDestination&& value) { m_eventDestinationHasBeenSet = true; m_eventDestination = std::move(value); }
121 
126  inline CreateConfigurationSetEventDestinationRequest& WithEventDestination(const EventDestination& value) { SetEventDestination(value); return *this;}
127 
132  inline CreateConfigurationSetEventDestinationRequest& WithEventDestination(EventDestination&& value) { SetEventDestination(std::move(value)); return *this;}
133 
134  private:
135 
136  Aws::String m_configurationSetName;
137  bool m_configurationSetNameHasBeenSet;
138 
139  EventDestination m_eventDestination;
140  bool m_eventDestinationHasBeenSet;
141  };
142 
143 } // namespace Model
144 } // namespace SES
145 } // namespace Aws
Aws::SES::Model::CreateConfigurationSetEventDestinationRequest::SetEventDestination
void SetEventDestination(EventDestination &&value)
Definition: CreateConfigurationSetEventDestinationRequest.h:120
Aws::Http::URI
Definition: URI.h:32
Aws::SES::Model::CreateConfigurationSetEventDestinationRequest::GetConfigurationSetName
const Aws::String & GetConfigurationSetName() const
Definition: CreateConfigurationSetEventDestinationRequest.h:53
Aws::SES::Model::CreateConfigurationSetEventDestinationRequest::WithConfigurationSetName
CreateConfigurationSetEventDestinationRequest & WithConfigurationSetName(const Aws::String &value)
Definition: CreateConfigurationSetEventDestinationRequest.h:83
Aws::SES::Model::CreateConfigurationSetEventDestinationRequest::ConfigurationSetNameHasBeenSet
bool ConfigurationSetNameHasBeenSet() const
Definition: CreateConfigurationSetEventDestinationRequest.h:59
Aws::SES::Model::CreateConfigurationSetEventDestinationRequest::WithEventDestination
CreateConfigurationSetEventDestinationRequest & WithEventDestination(const EventDestination &value)
Definition: CreateConfigurationSetEventDestinationRequest.h:126
Aws::SES::Model::CreateConfigurationSetEventDestinationRequest::GetEventDestination
const EventDestination & GetEventDestination() const
Definition: CreateConfigurationSetEventDestinationRequest.h:102
Aws::SES::Model::CreateConfigurationSetEventDestinationRequest
Definition: CreateConfigurationSetEventDestinationRequest.h:32
Aws::SES::Model::CreateConfigurationSetEventDestinationRequest::SetConfigurationSetName
void SetConfigurationSetName(const char *value)
Definition: CreateConfigurationSetEventDestinationRequest.h:77
Aws::SES::Model::CreateConfigurationSetEventDestinationRequest::EventDestinationHasBeenSet
bool EventDestinationHasBeenSet() const
Definition: CreateConfigurationSetEventDestinationRequest.h:108
Aws::SES::Model::EventDestination
Definition: EventDestination.h:47
Aws::SES::Model::CreateConfigurationSetEventDestinationRequest::WithConfigurationSetName
CreateConfigurationSetEventDestinationRequest & WithConfigurationSetName(const char *value)
Definition: CreateConfigurationSetEventDestinationRequest.h:95
Aws::SES::Model::CreateConfigurationSetEventDestinationRequest::SetConfigurationSetName
void SetConfigurationSetName(const Aws::String &value)
Definition: CreateConfigurationSetEventDestinationRequest.h:65
Aws::SES::Model::CreateConfigurationSetEventDestinationRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
SESRequest.h
Aws::SES::Model::CreateConfigurationSetEventDestinationRequest::WithEventDestination
CreateConfigurationSetEventDestinationRequest & WithEventDestination(EventDestination &&value)
Definition: CreateConfigurationSetEventDestinationRequest.h:132
AWSString.h
Aws::SES::Model::CreateConfigurationSetEventDestinationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateConfigurationSetEventDestinationRequest.h:40
SES_EXPORTS.h
AWS_SES_API
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
Aws::SES::SESRequest
Definition: SESRequest.h:17
Aws::SES::Model::CreateConfigurationSetEventDestinationRequest::SetConfigurationSetName
void SetConfigurationSetName(Aws::String &&value)
Definition: CreateConfigurationSetEventDestinationRequest.h:71
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SES::Model::CreateConfigurationSetEventDestinationRequest::WithConfigurationSetName
CreateConfigurationSetEventDestinationRequest & WithConfigurationSetName(Aws::String &&value)
Definition: CreateConfigurationSetEventDestinationRequest.h:89
EventDestination.h
Aws::SES::Model::CreateConfigurationSetEventDestinationRequest::CreateConfigurationSetEventDestinationRequest
CreateConfigurationSetEventDestinationRequest()
Aws::SES::Model::CreateConfigurationSetEventDestinationRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SES::Model::CreateConfigurationSetEventDestinationRequest::SetEventDestination
void SetEventDestination(const EventDestination &value)
Definition: CreateConfigurationSetEventDestinationRequest.h:114