AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
TrackingOptions.h
1
6#pragma once
7#include <aws/email/SES_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace SES
22{
23namespace Model
24{
25
37 {
38 public:
39 AWS_SES_API TrackingOptions() = default;
40 AWS_SES_API TrackingOptions(const Aws::Utils::Xml::XmlNode& xmlNode);
42
43 AWS_SES_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
44 AWS_SES_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
45
46
48
52 inline const Aws::String& GetCustomRedirectDomain() const { return m_customRedirectDomain; }
53 inline bool CustomRedirectDomainHasBeenSet() const { return m_customRedirectDomainHasBeenSet; }
54 template<typename CustomRedirectDomainT = Aws::String>
55 void SetCustomRedirectDomain(CustomRedirectDomainT&& value) { m_customRedirectDomainHasBeenSet = true; m_customRedirectDomain = std::forward<CustomRedirectDomainT>(value); }
56 template<typename CustomRedirectDomainT = Aws::String>
57 TrackingOptions& WithCustomRedirectDomain(CustomRedirectDomainT&& value) { SetCustomRedirectDomain(std::forward<CustomRedirectDomainT>(value)); return *this;}
59 private:
60
61 Aws::String m_customRedirectDomain;
62 bool m_customRedirectDomainHasBeenSet = false;
63 };
64
65} // namespace Model
66} // namespace SES
67} // namespace Aws
AWS_SES_API TrackingOptions()=default
AWS_SES_API TrackingOptions(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_SES_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
TrackingOptions & WithCustomRedirectDomain(CustomRedirectDomainT &&value)
AWS_SES_API TrackingOptions & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetCustomRedirectDomain() const
AWS_SES_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetCustomRedirectDomain(CustomRedirectDomainT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream