AWS SDK for C++  1.8.129
AWS SDK for C++
TrackingOptions.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Xml
17 {
18  class XmlNode;
19 } // namespace Xml
20 } // namespace Utils
21 namespace SES
22 {
23 namespace Model
24 {
25 
37  {
38  public:
42 
43  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
44  void OutputToStream(Aws::OStream& oStream, const char* location) const;
45 
46 
51  inline const Aws::String& GetCustomRedirectDomain() const{ return m_customRedirectDomain; }
52 
57  inline bool CustomRedirectDomainHasBeenSet() const { return m_customRedirectDomainHasBeenSet; }
58 
63  inline void SetCustomRedirectDomain(const Aws::String& value) { m_customRedirectDomainHasBeenSet = true; m_customRedirectDomain = value; }
64 
69  inline void SetCustomRedirectDomain(Aws::String&& value) { m_customRedirectDomainHasBeenSet = true; m_customRedirectDomain = std::move(value); }
70 
75  inline void SetCustomRedirectDomain(const char* value) { m_customRedirectDomainHasBeenSet = true; m_customRedirectDomain.assign(value); }
76 
81  inline TrackingOptions& WithCustomRedirectDomain(const Aws::String& value) { SetCustomRedirectDomain(value); return *this;}
82 
87  inline TrackingOptions& WithCustomRedirectDomain(Aws::String&& value) { SetCustomRedirectDomain(std::move(value)); return *this;}
88 
93  inline TrackingOptions& WithCustomRedirectDomain(const char* value) { SetCustomRedirectDomain(value); return *this;}
94 
95  private:
96 
97  Aws::String m_customRedirectDomain;
98  bool m_customRedirectDomainHasBeenSet;
99  };
100 
101 } // namespace Model
102 } // namespace SES
103 } // namespace Aws
Aws::SES::Model::TrackingOptions::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::SES::Model::TrackingOptions::SetCustomRedirectDomain
void SetCustomRedirectDomain(const Aws::String &value)
Definition: TrackingOptions.h:63
Aws::SES::Model::TrackingOptions::CustomRedirectDomainHasBeenSet
bool CustomRedirectDomainHasBeenSet() const
Definition: TrackingOptions.h:57
Aws::SES::Model::TrackingOptions::SetCustomRedirectDomain
void SetCustomRedirectDomain(const char *value)
Definition: TrackingOptions.h:75
Aws::SES::Model::TrackingOptions::TrackingOptions
TrackingOptions()
Aws::SES::Model::TrackingOptions::SetCustomRedirectDomain
void SetCustomRedirectDomain(Aws::String &&value)
Definition: TrackingOptions.h:69
AWSStreamFwd.h
Aws::SES::Model::TrackingOptions::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::SES::Model::TrackingOptions::operator=
TrackingOptions & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::SES::Model::TrackingOptions::WithCustomRedirectDomain
TrackingOptions & WithCustomRedirectDomain(const Aws::String &value)
Definition: TrackingOptions.h:81
Aws::SES::Model::TrackingOptions::WithCustomRedirectDomain
TrackingOptions & WithCustomRedirectDomain(const char *value)
Definition: TrackingOptions.h:93
AWSString.h
SES_EXPORTS.h
Aws::SES::Model::TrackingOptions::WithCustomRedirectDomain
TrackingOptions & WithCustomRedirectDomain(Aws::String &&value)
Definition: TrackingOptions.h:87
AWS_SES_API
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
Aws::SES::Model::TrackingOptions
Definition: TrackingOptions.h:37
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
index
int index
Definition: cJSON.h:171
Aws::SES::Model::TrackingOptions::TrackingOptions
TrackingOptions(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::SES::Model::TrackingOptions::GetCustomRedirectDomain
const Aws::String & GetCustomRedirectDomain() const
Definition: TrackingOptions.h:51