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/pinpoint-email/PinpointEmail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace PinpointEmail
22{
23namespace Model
24{
25
38 {
39 public:
40 AWS_PINPOINTEMAIL_API TrackingOptions() = default;
41 AWS_PINPOINTEMAIL_API TrackingOptions(Aws::Utils::Json::JsonView jsonValue);
42 AWS_PINPOINTEMAIL_API TrackingOptions& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_PINPOINTEMAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetCustomRedirectDomain() const { return m_customRedirectDomain; }
51 inline bool CustomRedirectDomainHasBeenSet() const { return m_customRedirectDomainHasBeenSet; }
52 template<typename CustomRedirectDomainT = Aws::String>
53 void SetCustomRedirectDomain(CustomRedirectDomainT&& value) { m_customRedirectDomainHasBeenSet = true; m_customRedirectDomain = std::forward<CustomRedirectDomainT>(value); }
54 template<typename CustomRedirectDomainT = Aws::String>
55 TrackingOptions& WithCustomRedirectDomain(CustomRedirectDomainT&& value) { SetCustomRedirectDomain(std::forward<CustomRedirectDomainT>(value)); return *this;}
57 private:
58
59 Aws::String m_customRedirectDomain;
60 bool m_customRedirectDomainHasBeenSet = false;
61 };
62
63} // namespace Model
64} // namespace PinpointEmail
65} // namespace Aws
TrackingOptions & WithCustomRedirectDomain(CustomRedirectDomainT &&value)
AWS_PINPOINTEMAIL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PINPOINTEMAIL_API TrackingOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PINPOINTEMAIL_API TrackingOptions()=default
const Aws::String & GetCustomRedirectDomain() const
void SetCustomRedirectDomain(CustomRedirectDomainT &&value)
AWS_PINPOINTEMAIL_API TrackingOptions(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue