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/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();
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 inline void SetCustomRedirectDomain(const Aws::String& value) { m_customRedirectDomainHasBeenSet = true; m_customRedirectDomain = value; }
53 inline void SetCustomRedirectDomain(Aws::String&& value) { m_customRedirectDomainHasBeenSet = true; m_customRedirectDomain = std::move(value); }
54 inline void SetCustomRedirectDomain(const char* value) { m_customRedirectDomainHasBeenSet = true; m_customRedirectDomain.assign(value); }
55 inline TrackingOptions& WithCustomRedirectDomain(const Aws::String& value) { SetCustomRedirectDomain(value); return *this;}
56 inline TrackingOptions& WithCustomRedirectDomain(Aws::String&& value) { SetCustomRedirectDomain(std::move(value)); return *this;}
57 inline TrackingOptions& WithCustomRedirectDomain(const char* value) { SetCustomRedirectDomain(value); return *this;}
59 private:
60
61 Aws::String m_customRedirectDomain;
62 bool m_customRedirectDomainHasBeenSet = false;
63 };
64
65} // namespace Model
66} // namespace PinpointEmail
67} // namespace Aws
TrackingOptions & WithCustomRedirectDomain(Aws::String &&value)
AWS_PINPOINTEMAIL_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCustomRedirectDomain(const char *value)
TrackingOptions & WithCustomRedirectDomain(const char *value)
void SetCustomRedirectDomain(Aws::String &&value)
AWS_PINPOINTEMAIL_API TrackingOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
TrackingOptions & WithCustomRedirectDomain(const Aws::String &value)
const Aws::String & GetCustomRedirectDomain() const
void SetCustomRedirectDomain(const Aws::String &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