AWS SDK for C++

AWS SDK for C++ Version 1.11.768

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