AWS SDK for C++  1.9.156
AWS SDK for C++
PutConfigurationSetTrackingOptionsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace SESV2
15 {
16 namespace Model
17 {
18 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "PutConfigurationSetTrackingOptions"; }
35 
36  Aws::String SerializePayload() const override;
37 
38 
42  inline const Aws::String& GetConfigurationSetName() const{ return m_configurationSetName; }
43 
47  inline bool ConfigurationSetNameHasBeenSet() const { return m_configurationSetNameHasBeenSet; }
48 
52  inline void SetConfigurationSetName(const Aws::String& value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName = value; }
53 
57  inline void SetConfigurationSetName(Aws::String&& value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName = std::move(value); }
58 
62  inline void SetConfigurationSetName(const char* value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName.assign(value); }
63 
67  inline PutConfigurationSetTrackingOptionsRequest& WithConfigurationSetName(const Aws::String& value) { SetConfigurationSetName(value); return *this;}
68 
72  inline PutConfigurationSetTrackingOptionsRequest& WithConfigurationSetName(Aws::String&& value) { SetConfigurationSetName(std::move(value)); return *this;}
73 
77  inline PutConfigurationSetTrackingOptionsRequest& WithConfigurationSetName(const char* value) { SetConfigurationSetName(value); return *this;}
78 
79 
83  inline const Aws::String& GetCustomRedirectDomain() const{ return m_customRedirectDomain; }
84 
88  inline bool CustomRedirectDomainHasBeenSet() const { return m_customRedirectDomainHasBeenSet; }
89 
93  inline void SetCustomRedirectDomain(const Aws::String& value) { m_customRedirectDomainHasBeenSet = true; m_customRedirectDomain = value; }
94 
98  inline void SetCustomRedirectDomain(Aws::String&& value) { m_customRedirectDomainHasBeenSet = true; m_customRedirectDomain = std::move(value); }
99 
103  inline void SetCustomRedirectDomain(const char* value) { m_customRedirectDomainHasBeenSet = true; m_customRedirectDomain.assign(value); }
104 
108  inline PutConfigurationSetTrackingOptionsRequest& WithCustomRedirectDomain(const Aws::String& value) { SetCustomRedirectDomain(value); return *this;}
109 
113  inline PutConfigurationSetTrackingOptionsRequest& WithCustomRedirectDomain(Aws::String&& value) { SetCustomRedirectDomain(std::move(value)); return *this;}
114 
118  inline PutConfigurationSetTrackingOptionsRequest& WithCustomRedirectDomain(const char* value) { SetCustomRedirectDomain(value); return *this;}
119 
120  private:
121 
122  Aws::String m_configurationSetName;
123  bool m_configurationSetNameHasBeenSet;
124 
125  Aws::String m_customRedirectDomain;
126  bool m_customRedirectDomainHasBeenSet;
127  };
128 
129 } // namespace Model
130 } // namespace SESV2
131 } // namespace Aws
Aws::SESV2::Model::PutConfigurationSetTrackingOptionsRequest::SetCustomRedirectDomain
void SetCustomRedirectDomain(Aws::String &&value)
Definition: PutConfigurationSetTrackingOptionsRequest.h:98
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::SESV2::Model::PutConfigurationSetTrackingOptionsRequest::WithCustomRedirectDomain
PutConfigurationSetTrackingOptionsRequest & WithCustomRedirectDomain(Aws::String &&value)
Definition: PutConfigurationSetTrackingOptionsRequest.h:113
Aws::SESV2::Model::PutConfigurationSetTrackingOptionsRequest::SetConfigurationSetName
void SetConfigurationSetName(Aws::String &&value)
Definition: PutConfigurationSetTrackingOptionsRequest.h:57
Aws::SESV2::Model::PutConfigurationSetTrackingOptionsRequest::WithCustomRedirectDomain
PutConfigurationSetTrackingOptionsRequest & WithCustomRedirectDomain(const Aws::String &value)
Definition: PutConfigurationSetTrackingOptionsRequest.h:108
Aws::SESV2::Model::PutConfigurationSetTrackingOptionsRequest::CustomRedirectDomainHasBeenSet
bool CustomRedirectDomainHasBeenSet() const
Definition: PutConfigurationSetTrackingOptionsRequest.h:88
Aws::SESV2::Model::PutConfigurationSetTrackingOptionsRequest::SetConfigurationSetName
void SetConfigurationSetName(const char *value)
Definition: PutConfigurationSetTrackingOptionsRequest.h:62
Aws::SESV2::Model::PutConfigurationSetTrackingOptionsRequest::WithCustomRedirectDomain
PutConfigurationSetTrackingOptionsRequest & WithCustomRedirectDomain(const char *value)
Definition: PutConfigurationSetTrackingOptionsRequest.h:118
Aws::SESV2::Model::PutConfigurationSetTrackingOptionsRequest::PutConfigurationSetTrackingOptionsRequest
PutConfigurationSetTrackingOptionsRequest()
Aws::SESV2::Model::PutConfigurationSetTrackingOptionsRequest::WithConfigurationSetName
PutConfigurationSetTrackingOptionsRequest & WithConfigurationSetName(const Aws::String &value)
Definition: PutConfigurationSetTrackingOptionsRequest.h:67
Aws::SESV2::Model::PutConfigurationSetTrackingOptionsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: PutConfigurationSetTrackingOptionsRequest.h:34
Aws::SESV2::Model::PutConfigurationSetTrackingOptionsRequest::WithConfigurationSetName
PutConfigurationSetTrackingOptionsRequest & WithConfigurationSetName(Aws::String &&value)
Definition: PutConfigurationSetTrackingOptionsRequest.h:72
Aws::SESV2::SESV2Request
Definition: SESV2Request.h:17
AWSString.h
Aws::SESV2::Model::PutConfigurationSetTrackingOptionsRequest::SetCustomRedirectDomain
void SetCustomRedirectDomain(const char *value)
Definition: PutConfigurationSetTrackingOptionsRequest.h:103
SESV2_EXPORTS.h
Aws::SESV2::Model::PutConfigurationSetTrackingOptionsRequest::SetCustomRedirectDomain
void SetCustomRedirectDomain(const Aws::String &value)
Definition: PutConfigurationSetTrackingOptionsRequest.h:93
Aws::SESV2::Model::PutConfigurationSetTrackingOptionsRequest::GetConfigurationSetName
const Aws::String & GetConfigurationSetName() const
Definition: PutConfigurationSetTrackingOptionsRequest.h:42
Aws::SESV2::Model::PutConfigurationSetTrackingOptionsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws
Definition: AccessManagementClient.h:15
Aws::SESV2::Model::PutConfigurationSetTrackingOptionsRequest::WithConfigurationSetName
PutConfigurationSetTrackingOptionsRequest & WithConfigurationSetName(const char *value)
Definition: PutConfigurationSetTrackingOptionsRequest.h:77
Aws::SESV2::Model::PutConfigurationSetTrackingOptionsRequest::GetCustomRedirectDomain
const Aws::String & GetCustomRedirectDomain() const
Definition: PutConfigurationSetTrackingOptionsRequest.h:83
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SESV2::Model::PutConfigurationSetTrackingOptionsRequest::SetConfigurationSetName
void SetConfigurationSetName(const Aws::String &value)
Definition: PutConfigurationSetTrackingOptionsRequest.h:52
SESV2Request.h
Aws::SESV2::Model::PutConfigurationSetTrackingOptionsRequest
Definition: PutConfigurationSetTrackingOptionsRequest.h:26
Aws::SESV2::Model::PutConfigurationSetTrackingOptionsRequest::ConfigurationSetNameHasBeenSet
bool ConfigurationSetNameHasBeenSet() const
Definition: PutConfigurationSetTrackingOptionsRequest.h:47