AWS SDK for C++  1.8.71
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 
43  inline const Aws::String& GetConfigurationSetName() const{ return m_configurationSetName; }
44 
49  inline bool ConfigurationSetNameHasBeenSet() const { return m_configurationSetNameHasBeenSet; }
50 
55  inline void SetConfigurationSetName(const Aws::String& value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName = value; }
56 
61  inline void SetConfigurationSetName(Aws::String&& value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName = std::move(value); }
62 
67  inline void SetConfigurationSetName(const char* value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName.assign(value); }
68 
73  inline PutConfigurationSetTrackingOptionsRequest& WithConfigurationSetName(const Aws::String& value) { SetConfigurationSetName(value); return *this;}
74 
79  inline PutConfigurationSetTrackingOptionsRequest& WithConfigurationSetName(Aws::String&& value) { SetConfigurationSetName(std::move(value)); return *this;}
80 
85  inline PutConfigurationSetTrackingOptionsRequest& WithConfigurationSetName(const char* value) { SetConfigurationSetName(value); return *this;}
86 
87 
91  inline const Aws::String& GetCustomRedirectDomain() const{ return m_customRedirectDomain; }
92 
96  inline bool CustomRedirectDomainHasBeenSet() const { return m_customRedirectDomainHasBeenSet; }
97 
101  inline void SetCustomRedirectDomain(const Aws::String& value) { m_customRedirectDomainHasBeenSet = true; m_customRedirectDomain = value; }
102 
106  inline void SetCustomRedirectDomain(Aws::String&& value) { m_customRedirectDomainHasBeenSet = true; m_customRedirectDomain = std::move(value); }
107 
111  inline void SetCustomRedirectDomain(const char* value) { m_customRedirectDomainHasBeenSet = true; m_customRedirectDomain.assign(value); }
112 
116  inline PutConfigurationSetTrackingOptionsRequest& WithCustomRedirectDomain(const Aws::String& value) { SetCustomRedirectDomain(value); return *this;}
117 
121  inline PutConfigurationSetTrackingOptionsRequest& WithCustomRedirectDomain(Aws::String&& value) { SetCustomRedirectDomain(std::move(value)); return *this;}
122 
126  inline PutConfigurationSetTrackingOptionsRequest& WithCustomRedirectDomain(const char* value) { SetCustomRedirectDomain(value); return *this;}
127 
128  private:
129 
130  Aws::String m_configurationSetName;
131  bool m_configurationSetNameHasBeenSet;
132 
133  Aws::String m_customRedirectDomain;
134  bool m_customRedirectDomainHasBeenSet;
135  };
136 
137 } // namespace Model
138 } // namespace SESV2
139 } // namespace Aws
PutConfigurationSetTrackingOptionsRequest & WithCustomRedirectDomain(Aws::String &&value)
PutConfigurationSetTrackingOptionsRequest & WithConfigurationSetName(Aws::String &&value)
PutConfigurationSetTrackingOptionsRequest & WithCustomRedirectDomain(const Aws::String &value)
PutConfigurationSetTrackingOptionsRequest & WithCustomRedirectDomain(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
PutConfigurationSetTrackingOptionsRequest & WithConfigurationSetName(const Aws::String &value)
PutConfigurationSetTrackingOptionsRequest & WithConfigurationSetName(const char *value)
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28