AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCustomRedirectDomain(const Aws::String& value) { m_customRedirectDomainHasBeenSet = true; m_customRedirectDomain = value; }
55 inline void SetCustomRedirectDomain(Aws::String&& value) { m_customRedirectDomainHasBeenSet = true; m_customRedirectDomain = std::move(value); }
56 inline void SetCustomRedirectDomain(const char* value) { m_customRedirectDomainHasBeenSet = true; m_customRedirectDomain.assign(value); }
57 inline TrackingOptions& WithCustomRedirectDomain(const Aws::String& value) { SetCustomRedirectDomain(value); return *this;}
58 inline TrackingOptions& WithCustomRedirectDomain(Aws::String&& value) { SetCustomRedirectDomain(std::move(value)); return *this;}
59 inline TrackingOptions& WithCustomRedirectDomain(const char* value) { SetCustomRedirectDomain(value); return *this;}
61 private:
62
63 Aws::String m_customRedirectDomain;
64 bool m_customRedirectDomainHasBeenSet = false;
65 };
66
67} // namespace Model
68} // namespace SES
69} // namespace Aws
void SetCustomRedirectDomain(Aws::String &&value)
void SetCustomRedirectDomain(const Aws::String &value)
TrackingOptions & WithCustomRedirectDomain(Aws::String &&value)
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
void SetCustomRedirectDomain(const char *value)
AWS_SES_API TrackingOptions & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetCustomRedirectDomain() const
TrackingOptions & WithCustomRedirectDomain(const char *value)
TrackingOptions & WithCustomRedirectDomain(const Aws::String &value)
AWS_SES_API void OutputToStream(Aws::OStream &oStream, const char *location) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream